• 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 Remove check for "Duplicate registered instant spell"

Snach

Sensei
Joined
Aug 8, 2009
Messages
1,694
Reaction score
84
Location
Estonia
Well I'm trying to make spells with 'lvls' so I need to duplicate spells. I get this error tho:
[Warning - Spells::registerEvent] Duplicate registered instant spell with words: xxxxxxx
How can I remove it? so it doesn't check if there's duplicated spells
thanks
 
Last edited:
just dont duplicate spells
create spell levels in one script
or youd need kinda big edit to make it work without this check if duplicated spell appears
 
just dont duplicate spells
create spell levels in one script
or youd need kinda big edit to make it work without this check if duplicated spell appears

I can't. I need to change the formulas and do smthing like:
if getPlayerItemCount(cid, 192) ~= 1 then
setConditionFormula(condition, 0.3, -24, 0.3, -24)
else
setConditionFormula(condition, 5.3, -24, 5.3, -24)
end
but I cant since it wants cid and I cant put it under onCastSpell
 
omg, whats the problem with changing formula depending on spell lvl in one script?
set every possible combat before function and then dependinng on all conditions just call proper combat
 
Glidarn, You just have exevo pan in your spells.xml twice.

Open it in notepad hit ctrl+f and search exevo pan, youll find two, remove or rename one.

What would be the problem with the first guy just using different words for each, like add a number, no one will really care.
 
Glidarn, You just have exevo pan in your spells.xml twice.

Open it in notepad hit ctrl+f and search exevo pan, youll find two, remove or rename one.

What would be the problem with the first guy just using different words for each, like add a number, no one will really care.

This isnt the case because i i have exevo pan on "support" and under "Conjure spells" and when i removed the one under conjure spells it was still the same :S
 
You must hit save.

Without a duplicate spell there wont be this warning.

These guys are having trouble because theyre pioneering a new spell system for their server.

Unless you need two exevo pan then just remove one. Otherwise rename it. (save the file!)
 
Back
Top