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

GM/CM Full light

Dreww

Banned User
Joined
Oct 7, 2011
Messages
252
Reaction score
409
Location
México
Hello how can i remove the full light from gamemasters/gods? I want it as a normal players
thank you in advance
 
Solution
i'm assuming you're using TFS 1.X since you didn't provide your tfs version (which you should do 100% of the time)
protocolgame.cpp inside of ProtocolGame::AddCreature
replace
C++:
msg.addByte(player->isAccessPlayer() ? 0xFF : lightInfo.level);
with this
C++:
msg.addByte(lightInfo.level);
i'm assuming you're using TFS 1.X since you didn't provide your tfs version (which you should do 100% of the time)
protocolgame.cpp inside of ProtocolGame::AddCreature
replace
C++:
msg.addByte(player->isAccessPlayer() ? 0xFF : lightInfo.level);
with this
C++:
msg.addByte(lightInfo.level);
 
Solution
i'm assuming you're using TFS 1.X since you didn't provide your tfs version (which you should do 100% of the time)
protocolgame.cpp inside of ProtocolGame::AddCreature
replace
C++:
msg.addByte(player->isAccessPlayer() ? 0xFF : lightInfo.level);
with this
C++:
msg.addByte(lightInfo.level);
Thanks im using Tfs 1.3 i can't find this line
C++:
msg.addByte(player->isAccessPlayer() ? 0xFF : lightInfo.level);
 
Back
Top