• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

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

Status
Not open for further replies.
Junior Spellweaver
Joined
Dec 4, 2010
Messages
156
Reaction score
26
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 :thumbup1:
 
Last edited:
Skilled Illusionist
Joined
Sep 7, 2010
Messages
322
Reaction score
42
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 ..
 
Junior Spellweaver
Joined
Dec 4, 2010
Messages
156
Reaction score
26
Re: Someting what i has not seen on other server

Yea but i tink other people should know that
 
Status
Not open for further replies.
Back
Top