• 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!

Solved [8.7] The Forgotten Server 0.2.9 Mystic Spirit OUTFITS

Jeremgod

New Member
Joined
Aug 9, 2007
Messages
93
Reaction score
3
Location
Quebec City, Canada
Okay so I have set my account as a god, I always get the god outfit when I relog, I have tried changing it in the database, I looked through the config.lua, looked in creature scripts, did I miss something or is it coded in C++?

To be clear here I want to be able to logout with looktype X and log back in with looktype X not with looktype 266
 
Last edited:
Nope I tried adding it in my config and putting it at "no" like the rest and it didnt work

Edit: even tried putting it at yes

Edit 2: tried putting it at true/false, none of them work so I'm assuming that function wasnt coded in the server
 
Last edited:
data/xml/groups.xml:
Remove red parts..
Code:
<?xml version="1.0" encoding="UTF-8"?>
<groups>
	<group id="1" name="Player"/>
	<group id="2" name="Tutor" flags="16809984" customFlags="2" access="1" violationReasons="4" nameViolationFlags="2"/>
	<group id="3" name="Senior Tutor" flags="68736352256" customFlags="14" access="2" violationReasons="10" nameViolationFlags="2" statementViolationFlags="63" maxVips="200"/>
	<group id="4" name="Gamemaster" flags="3808558964575" customFlags="257215" access="3" violationReasons="19" nameViolationFlags="10" statementViolationFlags="69" depotLimit="3000" maxVips="300" [COLOR="red"]outfit="75"[/COLOR]/>
	<group id="5" name="Community Manager" flags="3840774348794" customFlags="781823" access="4" violationReasons="20" nameViolationFlags="42" statementViolationFlags="213" depotLimit="4000" maxVips="400" [COLOR="red"]outfit="266"[/COLOR]/>
	<group id="6" name="God" flags="3845069447162" customFlags="50331647" access="5" violationReasons="20" nameViolationFlags="426" statementViolationFlags="469" depotLimit="5000" maxVips="500" [COLOR="red"]outfit="302"[/COLOR]/>
</groups>
 
Ah well didnt know 0.2.9 is so ....
You need source edit for that:
Replace:
[cpp] if(player->accessLevel > 0)
{
if(acc.accountType > 4)
player->defaultOutfit.lookType = 266;
else
player->defaultOutfit.lookType = 75;
}
else
player->defaultOutfit.lookType = result.getDataInt("looktype");
[/cpp]

with:
[cpp] player->defaultOutfit.lookType = result.getDataInt("looktype");
[/cpp]
 
Back
Top