[TUTORIAL]Someting what i has not seen on other server

Results 1 to 3 of 3
  1. #1
    Ultimate Member flip123456 is offline
    MemberRank
    Dec 2010 Join Date
    RomaniaLocation
    157Posts

    big grin [TUTORIAL]Someting what i has not seen on other server


    RaGEZONE Recommends

    RaGEZONE Recommends

    Topday i made a Stall and i tink how about to change the model wen you are in stall and i got the answer.Now i gonna share this whit all of you.

    First of all Open:game_server\local\common\config\stall.lua or Open:game_server\local\mars\config\stall.lua
    There will be someting like this:OpenFlag = 1 --°Ú̯ϵͳÊÇ·ñ¿ª·Å, 1 : ¿ª·Å, 0 : ¹Ø±Õ

    MinStallLevel = 10 --°Ú̯×îСµÈ¼¶

    CanBuyWhenStall = 0 --°Ú̯ʱÊÇ·ñÔÊÐí¹ºÂòÆäËü̯λµÄ¶«Î÷£¬1 : ÔÊÐí, 0 : ²»ÔÊÐí

    MaxSloganTextSize = 24 --°Ú̯ÕÐÅƵÄ×î´ó×Ö½Ú³¤¶È

    MaxStallTalkPageItemSize = 255 --ÁôÑÔ×î´ó×Ö½Ú³¤¶È

    MaxStallTalkPageItemCount = 32 --×î´óÁôÑÔÌõÊý

    StallArea = {2} --¿ÉÒÔ°Ú̯µÄÇøÓòId

    MinStallInterval = 80 --°Ú̯×îС¼ä¸ô

    function OnStallStateChanged(nUserId, nStallState, nLevel, nSex)

    if nStallState == 1 then
    if nLevel < 30 then
    if nSex == 0 then
    SetModel(nUserId, 5063)
    else
    SetModel(nUserId, 5064)
    end
    elseif nLevel >= 30 then
    if nSex == 0 then
    SetModel(nUserId, 5065)
    else
    SetModel(nUserId, 5066)
    end
    end
    else
    ResetModel(nUserId)
    end

    end

    There Change what is write in red whit what model you want,you get the models in local/common/table/model.csv or model.dat depend on sever.
    Then Change the files in client to.and is done

    Thats all and ejoy your new Stall Models
    Last edited by flip123456; 16-07-11 at 08:55 PM.


  2. #2
    Account Inactive frfooosh is offline
    InactiveRank
    Sep 2010 Join Date
    467Posts

    Re: Someting what i has not seen on other server

    the model is so easy to change .. i tried change max price for items in stall, this need to try coz its useful more than change stall view ..

  3. #3
    Ultimate Member flip123456 is offline
    MemberRank
    Dec 2010 Join Date
    RomaniaLocation
    157Posts

    Re: Someting what i has not seen on other server

    Yea but i tink other people should know that




Advertisement