Author Topic: Settings wont save  (Read 6362 times)

0 Members and 1 Guest are viewing this topic.

Offline Annie

  • Double Ace
  • *
  • Posts: 104
  • Karma: +13/-5
Settings wont save
« on: 16 March, 2009, 14:25:54 »
Hi,

I tried this with ptokax 4.1.1 and everytime i fill the settings in  they dont save.  I also get this error when i try to connect to the hub
...1.1 - 20-08-08/scripts/Terminator/Lua/Connected.lua:189: attempt to concatenate field 'iOpHubs' (a nil value)



Thanks

PtokaX forum

Settings wont save
« on: 16 March, 2009, 14:25:54 »

Offline Madman

  • Moderator
  • Emperor
  • *****
  • Posts: 1 316
  • Karma: +75/-1
Re: Settings wont save
« Reply #1 on: 16 March, 2009, 14:36:40 »
Save button works fine for me. I tested most the options in GUI.
Changing and then pressing Save button, and then a restart of script, and all new settings is loaded

found the other error, will be fixed when i get bak home
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

Offline Annie

  • Double Ace
  • *
  • Posts: 104
  • Karma: +13/-5
Re: Settings wont save
« Reply #2 on: 16 March, 2009, 14:53:08 »
Yeah I've done all that loads of times I cant see what im doing wrong because everytime i close the GUI it loses what I have changed

Offline Madman

  • Moderator
  • Emperor
  • *****
  • Posts: 1 316
  • Karma: +75/-1
Re: Settings wont save
« Reply #3 on: 16 March, 2009, 15:32:51 »
That would mean that Settings.ini dosent get saved. Open it manually and change the Botname string.
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

Offline Annie

  • Double Ace
  • *
  • Posts: 104
  • Karma: +13/-5
Re: Settings wont save
« Reply #4 on: 16 March, 2009, 20:35:39 »
I just tried it changing the bot name and it still didnt save so I changed them myself in there and now they have saved.  But they wont save through the GUI

Offline Madman

  • Moderator
  • Emperor
  • *****
  • Posts: 1 316
  • Karma: +75/-1
Re: Settings wont save
« Reply #5 on: 16 March, 2009, 22:03:16 »
That's really weird.

I added a file that has an updated GUI/General.lua and Lua/Serilize.lua in it.
It will add an Debug window, and update it everytime you add a letter in any of the boxes on General tab.
« Last Edit: 17 March, 2009, 17:26:25 by Madman »
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

Offline Annie

  • Double Ace
  • *
  • Posts: 104
  • Karma: +13/-5
Re: Settings wont save
« Reply #6 on: 17 March, 2009, 14:14:41 »
Thanks :)

Offline Madman

  • Moderator
  • Emperor
  • *****
  • Posts: 1 316
  • Karma: +75/-1
Re: Settings wont save
« Reply #7 on: 17 March, 2009, 17:27:03 »
Uploaded a new package here as well.

This one only contains the 2 updated files.
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

Offline Madman

  • Moderator
  • Emperor
  • *****
  • Posts: 1 316
  • Karma: +75/-1
Re: Settings wont save
« Reply #8 on: 22 March, 2009, 18:08:11 »
Annie have you manage to get something saved thru GUI?
and what does the debug log return?
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

Offline Annie

  • Double Ace
  • *
  • Posts: 104
  • Karma: +13/-5
Re: Settings wont save
« Reply #9 on: 23 March, 2009, 10:30:21 »
No sorry still cant save anything through the GUI and i get this error to when i try entering the hub 23.03.2009 09:27:02 - ....1.1 - 20-08-08/scripts/Terminator/Lua/Connected.lua:187: attempt to concatenate field '?' (a nil value).   This is the Terminator.2nd.Gen.0.2_Beta  ive tried. I added the other files and still the same.

Offline Madman

  • Moderator
  • Emperor
  • *****
  • Posts: 1 316
  • Karma: +75/-1
Re: Settings wont save
« Reply #10 on: 23 March, 2009, 14:58:45 »
Uhm... I would guess you are useing a client that ain't in ClientTags.xml.
The nil error refers to any of the client info at login, can't tell witch one, but i'll add text that should prevent that in next version.

As for the GUI, what do the debug window show?
« Last Edit: 23 March, 2009, 15:00:37 by Madman »
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

Offline Annie

  • Double Ace
  • *
  • Posts: 104
  • Karma: +13/-5
Re: Settings wont save
« Reply #11 on: 23 March, 2009, 20:35:22 »
The Debug window only shows something when i change the bot name  says its saved which it does.   The GUI doesn't save the following,  in share/block/clean - min share, max share and blocks I tick for user, also in triggs the box to tick for anti advertise and misc it wont save if i untick or tick boxes in there.  I use Zion 2.07 Client and Zion is added in the Client Checker.  Hope this helps

Offline Madman

  • Moderator
  • Emperor
  • *****
  • Posts: 1 316
  • Karma: +75/-1
Re: Settings wont save
« Reply #12 on: 23 March, 2009, 22:40:36 »
That helped alot, all GUI problems have been fixed.
As for client i'll look in to that tomorrow...
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

Offline Annie

  • Double Ace
  • *
  • Posts: 104
  • Karma: +13/-5
Re: Settings wont save
« Reply #13 on: 23 March, 2009, 23:27:41 »
thanks  :)

PtokaX forum

Re: Settings wont save
« Reply #13 on: 23 March, 2009, 23:27:41 »