• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

Feature Outfit Quests!

look my error:



-- edit
Did i fix it...

Just edit globaloutfits.isInList to globalOutfits.isInList

:)
Working fine
 
Last edited:
i already compile it xdd thanks :)

P.S.: Actualize rook system for tfs u.u
 
I can not be made to the source code I TFS 0.3 Beta 2
Apparently this is already is. But how do I use it?
 
In outfits.xml you need to add

quest="Your_storage_value_number_here"
or
storage="Your_storage_value_number_here"

dont know which one, just try ;[
 
O EM GIE ^^

IN TFS 0.3:
This code is already in TFS 0.3 but a little bit changed.
You must add: quest="NUMBER HERE", for example:
<outfit type="1" looktype="325" enabled="1" name="Yalaharian" premium="1" quest="30015"/>
But in 0.3 you don't must do storagevalue 40+number of outfit like in slawkens script, you can set your own storagevalue.

IN TFS 0.2 WITH THIS CODE BY SLAWKENS:
You must add questOnly="1", for example:
<outfit type="1" looktype="289" enabled="1" name="Demonhunter" premium="1" questOnly="1"/>
and storagevalue of this outfit is: 40289 (40+outfit number).
 
I knwo that thread is a bit old but I'm trying to compile on linux that and I can't;/
on windows there isn't any error but on linux taht shit

Code:
ks26204:~/ots/sources2# make
g++ -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -Werror -Wall -O1 -D_THREAD_SAFE -D_REENTRANT -D__NO_HOMEDIR_CONF__ -D__USE_MYSQL__ -D__USE_SQLITE__ -c outfit.cpp
cc1plus: warnings being treated as errors
outfit.cpp: In member function 'bool OutfitList::isInList(uint32_t, uint32_t, bool, int32_t, int32_t) const':
outfit.cpp:99: error: suggest parentheses around && within ||
outfit.cpp:101: error: suggest parentheses around && within ||
make: *** [outfit.o] Błąd 1

please help;p
 
Back
Top Bottom