• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Removing outfit limit

Exiled Pain

Fervid Learner
Joined
Jan 8, 2008
Messages
552
Reaction score
4
Sup everyone.
Puting some new outfits on outfits.xml , but I notice that there is a limit to only 25 outfits, after that they won't show ingame on the outfit window. Doesn't matter the order of the outfits, but as soon as you get to 25 the rest won't show.

Is there a way to remove or overwrite this so you can add as many outfits as you like? Doesn't matter that the solution is to edit some source and compile, really need this.

Using TFS 3.3

Rep++ For anyone that helps me solve this.
Thanks in advance.:thumbup:
 
Look in constant, maybe you can add more there. If not, then yes its in source, I'm not sure where.

Lua:
maleOutfits = {128, 129, 130, 131, 132, 133, 134, 143, 144, 145, 146, 151, 152, 153, 154, 251, 268, 273, 278, 289, 325}
femaleOutfits = {136, 137, 138, 139, 140, 141, 142, 147, 148, 149, 150, 155, 156, 157, 158, 252, 269, 270, 279, 288, 324}
 
Yeah, thanks, had seen that in constant but mostly need to remove the outfit amount lock, anyone knows what needs to be modified and how to remove this?
 
Thank you so much...
=) rep++ for you

By the way seen some of your post seems you know your way arround source files..Do you know how to add custom spells to the source? cause I've tryed many things and been able to replace existing ones in dateditor and they work fine with the new graphics and stuff but havent been able to add new ones and making them work... is this also something that can be done in source and could you share and example?

Thanks in advance
 
I'm back asking for help for lattest versions.
This past metod worked perfect for the last version I used 8.4.
But now I'm using the source for 8.54 (.4 rev 3554) and for some reasson even do I modify the 000-constant.lua for male and female outfits plus in the source code the outfits.h file to:

#define OUTFITS_MAX_NUMBER 85

Whit this version it doesn't unblock the outfit limit, is there somewere else to mod with this new versions?

As soon as I try to change outfit it debugs the client:

Code:
Player Action: 049 057 050 046 049 054 056 046 049 046 054 053 058 055 049 055 050
Player.cpp 361: exception occurred,reason:
Network.cpp 992: exception occurred (ErrorCode=0), reason:
Control.cpp 1330: exception occurred(Type=200)(MainWindow=37911424), reason:
Communication.cpp 3069: exception occurred,reason:
Communication.cpp 3060:assertion failed(AvailableOutfits=46)reasson: In(AvailableOutfits,1,AVAILABLE_OUTFITS)

and when I remove the extra outfits it works well... even if I remove the tibia outfits and only place mine it works fine, just as long as I don't pass the regular amount limit.

So what else to modify so it works now with this version?
Thanks in advance, rep ++ if anyone helps.
 
From what I can recall elf saying, the outfit limit is 30. This is client based and cannot be changed unless you do some major hexedit in the client.
 
Back
Top