Jump to content


Photo

Options Creatures/Other Players Health bars in el.ini?

el.ini options

8 replies to this topic

#1 Mazur

Mazur

    Rabbit

  • Members
  • 20 posts
  • Gender:Male
  • Location:Leiden, the Netherlands

Posted 02 May 2014 - 03:17 PM

Hello,

 

I prefer to have the options Creatures Health Bars and Other Players Health Bars on (they are under the HUD tab), so I've been trying to find how to include that into my el.ini.  Following the pattern of other options, I found something that looked like those options already in el.ini and defined that in mine, (thought I've forgotten which they were and can't seem to find them again), but they were never saved by the client.

 

So the question is: is there a way to set those options default to on, without rewriting part of the client?  If not, who do I have to pleasure to get these options included in el.ini?

 

Yours truly,

Mazur.



#2 revi

revi

    Skeleton

  • Moderators
  • 1034 posts
  • Gender:Not Telling

Posted 02 May 2014 - 04:55 PM

Normally, such settings are persistent (i.e. kept as you set them between runs), just not stored in the el.ini file. There's also a (binary) file el.cfg, which probably holds such information (and that one is not supposed to be edited by hand!)

 

So you just select the options in the dialog as you want them, and you should be all set, no need to modify the client.



#3 Mazur

Mazur

    Rabbit

  • Members
  • 20 posts
  • Gender:Male
  • Location:Leiden, the Netherlands

Posted 02 May 2014 - 07:22 PM

Ah, then perhaps my client fails to save that file, and removing the current version will fix it.  I'll see if that helps.



#4 bluap

bluap

    Feran

  • Moderators
  • 2227 posts
  • Gender:Male
  • Location:UK

Posted 02 May 2014 - 09:19 PM

If the client is failing to save the settings then there is something wrong on exit.  We should try to fine out what but until then, you can save your setting using the #save command within the client.



#5 Mazur

Mazur

    Rabbit

  • Members
  • 20 posts
  • Gender:Male
  • Location:Leiden, the Netherlands

Posted 25 May 2014 - 11:56 PM

#save does not change the failure, though it does appear to write the files, or pretends to.

 

Next test is starting without the pertinent file, logging in and setting all options right, then #save.  May take me a while to try it, as I'm quite busy (in game).



#6 bluap

bluap

    Feran

  • Moderators
  • 2227 posts
  • Gender:Male
  • Location:UK

Posted 26 May 2014 - 02:31 AM

If #save does not save then you have something fundamental wrong.  Check the error log for information.  Check the permissions on your config directories and files.  I do not know for sure which OS you are using but on Linux, the files are $HOME/.elc/main/el.ini and $HOME/.elc/main/el.cfg


Edited by bluap, 26 May 2014 - 02:32 AM.


#7 Mazur

Mazur

    Rabbit

  • Members
  • 20 posts
  • Gender:Male
  • Location:Leiden, the Netherlands

Posted 28 May 2014 - 02:55 AM

#save does write $HOME/.elc/[server]/el.cfg , and other options I change keep the changed state, but those two health bar ones are not permanent, not saved, apparently.



#8 bluap

bluap

    Feran

  • Moderators
  • 2227 posts
  • Gender:Male
  • Location:UK

Posted 28 May 2014 - 07:34 AM

OK, I must apologise.  There does appear to be a problem with just two of the instance mode optons.  I'll hunt the problem down and fix it.

 

Edit:

OK fixed in git.  The config code was doing a partial compare of the variable names, the two ending in _bar matched shorter versions and so appeared to not need saving.


Edited by bluap, 28 May 2014 - 10:59 PM.


#9 Mazur

Mazur

    Rabbit

  • Members
  • 20 posts
  • Gender:Male
  • Location:Leiden, the Netherlands

Posted 29 May 2014 - 11:20 PM

No apology necessary on my account, I never gave full information for you to act on until you asked.   :whistle:

Anyway, glad you found and fixed it. :pirate:





Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users