Jump to content
  • 0

Question

Posted (edited)

Hi there guys,

 

I have a question regarding about variables. As " # " is considered a permanent variable for all characters of that accounts and is highly not recommended,

 

what about using the command " set ".

 

Example,

 

set hello,1;

would this be considered bad memory for the server? or is it harmless?

 

Thanks!

Edited by ToiletMaster

2 answers to this question

Recommended Posts

Posted

only by saving $var, permanent server variable over hundred-thousands (100,000) lines will harm server
in fact, if you saving with player permanent variable, the server has already hard-coded a limit
http://www.eathena.ws/board/index.php?showtopic=153708&hl=
so the server will warn you about it when it reaches the limit
once it reaches the limit, that variable isn't save into memory, and discarded,
means the player can redo the quest again and again, always read the ( quest == 0 ) stuffs

since the server has already hard-coded a limit, so its harmless

  • Upvote 1
Posted

only by saving $var, permanent server variable over hundred-thousands (100,000) lines will harm server

in fact, if you saving with player permanent variable, the server has already hard-coded a limit

http://www.eathena.ws/board/index.php?showtopic=153708&hl=

so the server will warn you about it when it reaches the limit

once it reaches the limit, that variable isn't save into memory, and discarded,

means the player can redo the quest again and again, always read the ( quest == 0 ) stuffs

since the server has already hard-coded a limit, so its harmless

Thanks annie for clearing it up! Now at least i know that i can use set instead of #!

 

Cheers!

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.   Paste as plain text instead

  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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...