how to fix this 'Zeny'

N e s s

New member
Messages
202
Points
0
Age
33
whenever i login this error appears
default_sad.png
help me please
default_sad.png


error.JPG

 
In your cluckers script, find the line where it says zeny which should be change to Zeny..
default_smile.png


The error says it all..
default_smile.png


 
On your cluckers.txt script

Try to find and replace all "zeny" to"Zeny" and that will fix your problem

 
if your using notepad ++ try to replace zeny to Zeny, that will solve your problem

 
Yeah this case sensitivity for variables is a pain xD

although, if i might intrude, where does this originate from?

Code:
[Notice]: Conflicting item/script var 'Zeny', prioritising the script var
 
the problem is. their is no zeny in my cluckers.txt
default_sad.png
The reported filename may be incorrect. I just committed a patch that should lead to less misleading error reports (and now shows Unknown when it doesn't have a clue, rather than simply showing the last parsed script).
If it appears upon player login, it might not be related to any script at all. Doublecheck your SQL database (char_reg_num_db) to see if you have leftovers of a variable named 'zeny', and remove them.

Yeah this case sensitivity for variables is a pain xD

although, if i might intrude, where does this originate from?

Code:
[Notice]: Conflicting item/script var 'Zeny', prioritising the script var
This might now have anything to do with case sensitivity at all, but rather item name constants. If you have an item whose AegisName is 'Zeny' (guessing it's coming from a certain extended shop patch), change it to something else ('Zeny_' or 'Zeny_Token' are good options there). It's complaining because if you have an item with Zeny as AegisName, it'll never know if you want to use the item ID or the player parameter, in cases such as this:
Code:
if (Zeny < 10000) {    mes "You don't have enough money.";    close;}
 
so now to fix this is to find all zeny and change it to Zeny

I don't know an easier way to find all zeny in the script than go to your hercules folder using your windows explorer and press search and search all zeny from files and folder. then open the result one by one and and find zeny on each one you open and replace to them to Zeny

 
Back
Top