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

Magic Effects

KazzXD

New Member
Joined
Aug 31, 2007
Messages
63
Reaction score
0
I add more effects on the dat/spr..

And add on constant.lua for work..

But, the effect dont show!

I download sources, edit on const.h and try again.

Nothing, effects dont show again..

How to add more effects?


Thanks, Kazz.
 
had same problem

go to protocolgame.cpp

find this

and set limit to bigger (limit of effects) ;) hope i helped

void ProtocolGame::sendMagicEffect(const Position& pos, uint8_t type)
{
if(canSee(pos) && type <= 67)
{
NetworkMessage_ptr msg = getOutputBuffer();
if(msg)
{
TRACK_MESSAGE(msg);
AddMagicEffect(msg, pos, type);
}
}
}



I didn't add effects to const.h and they work perfectly ;p
 
Back
Top