Jump to content
  • 0
N e s s

how to fix this 'Zeny'

Question

7 answers to this question

Recommended Posts

  • 0

On your cluckers.txt script

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

Share this post


Link to post
Share on other sites
  • 0

Yeah this case sensitivity for variables is a pain xD

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

[Notice]: Conflicting item/script var 'Zeny', prioritising the script var

Share this post


Link to post
Share on other sites
  • 0

the problem is. their is no zeny in my cluckers.txt :(

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?

[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:
if (Zeny < 10000) {    mes "You don't have enough money.";    close;}

Share this post


Link to post
Share on other sites
  • 0

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.