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

Lua Hide spell animation and unhide with !command

MasterCommand

New Member
Joined
Jan 2, 2021
Messages
4
Reaction score
1
GitHub
Master
please long time i search for this one cant find it at all

i wish somne one help me for a command when players says like !spelleffects it hide whole spell animation for players and when they type it agine it make it visible


hope some one helps me
 
@AngeLOT its so the huge aoe animation sometimes players need to turn it off so they can see in quests or in team hunts
like if he says !spelleffects it turn it of he use the spell but no animation around so he can see ppl around him

and if he wants to turn it on same !spelleffects agine
 
yeah that would be useful just like the emote spell setting, there are indeed times where we would benefit from hidden effect (although it will look weird lol)

a tip for those whiling to do it:
 
Shouldn't something like that be done at client side? You want a player to not be able to see spells, right?

Not allowing others to see your spells would be broken.
 
Shouldn't something like that be done at client side? You want a player to not be able to see spells, right?

Not allowing others to see your spells would be broken.
Just don't send the effects to player that disabled showing them. That's why I linked protocolgame.cpp code, same deal with canSee check, use talkaction to set storage, check it there and return if storage value is equal to hide effects. It won't affect others, only the one that used the command. So you can use this with Cipsoft client and OTC (also v8, because sources are not needed).
 
Just don't send the effects to player that disabled showing them. That's why I linked protocolgame.cpp code, same deal with canSee check, use talkaction to set storage, check it there and return if storage value is equal to hide effects. It won't affect others, only the one that used the command. So you can use this with Cipsoft client and OTC (also v8, because sources are not needed).
I've been told that to do this on the cipsoft client, only with 'Dll inject'
to be able to catch the spectators, something like that they informed me
 
I've been told that to do this on the cipsoft client, only with 'Dll inject'
to be able to catch the spectators, something like that they informed me
No, it's not necessary to do anything on client side. It's not the client that knows what effects to create when spell is casted. If you don't send the opcode with effect, there will be no effect on client side, that simple.
 
Back
Top