Author Topic: Bans get lost  (Read 6206 times)

0 Members and 1 Guest are viewing this topic.

Offline nikita800

  • Junior Member
  • **
  • Posts: 24
  • Karma: +18/-3
Bans get lost
« on: 23 April, 2007, 14:47:30 »
If from the dispatcher of problems(tasks) (CTRL+ALT+DEL) to finish process Ptokax.exe bans are not kept. It and should be?
More in detail: I enter !banip 255.255.255.255, ban it is visible in a window of a hub. I press CTRL+ALT+DEL and compulsorily I close process Ptokax.exe Then again I start a hub - ban it is not kept.
« Last Edit: 23 April, 2007, 14:52:41 by nikita800 »

PtokaX forum

Bans get lost
« on: 23 April, 2007, 14:47:30 »

Offline bastya_elvtars

  • Forum God
  • ****
  • Posts: 3 744
  • Karma: +173/-7
  • The rock n' roll doctor
    • The FreshStuff3 Site
Re: Bans get lost
« Reply #1 on: 23 April, 2007, 15:16:12 »
I think if you kill via the task manager, nothing saves data properly. Saving settings on given intervals would indeed be nice, though.
Again, I think this is the expected behaviour.
Everything could have been anything else and it would have just as much meaning.

Offline CrazyGuy

  • Viking
  • ****
  • Posts: 506
  • Karma: +83/-20
    • ?????=-_The NightHawk_-=?????
Re: Bans get lost
« Reply #2 on: 23 April, 2007, 15:47:39 »
If from the dispatcher of problems(tasks) (CTRL+ALT+DEL) to finish process Ptokax.exe bans are not kept. It and should be?
More in detail: I enter !banip 255.255.255.255, ban it is visible in a window of a hub. I press CTRL+ALT+DEL and compulsorily I close process Ptokax.exe Then again I start a hub - ban it is not kept.

PtokaX saves settings when closing.
I suggest to close it properly.
Windows doesn't save settings either if you unplug your computer from the electricity net  ::)

Offline nikita800

  • Junior Member
  • **
  • Posts: 24
  • Karma: +18/-3
Re: Bans get lost
« Reply #3 on: 25 April, 2007, 23:39:46 »
Ok. Clearly that it is needed to close (to complete) work of khaba correct methods (by methods), but nevertheless, it would be desirable that Ptokax saved automatically parameters through a certain or set time domain.

Offline Stormbringer

  • Fulll Member
  • ****
  • Posts: 73
  • Karma: +27/-17
Re: Bans get lost
« Reply #4 on: 26 April, 2007, 10:42:12 »
solution of this problem (if there is one) because during all this years that I use DC I have never kill ptokax.exe for any reason... (explorer.exe thousands and thousands of time lol)
Use cobian backup, and make a backup of the hub every time you want, the software is free, very easy to use, and save all script folder of ptokax folder, it can be run as service, you have even the possibility to zip the backup you made

Offline CrazyGuy

  • Viking
  • ****
  • Posts: 506
  • Karma: +83/-20
    • ?????=-_The NightHawk_-=?????
Re: Bans get lost
« Reply #5 on: 26 April, 2007, 13:08:51 »
solution of this problem (if there is one) because during all this years that I use DC I have never kill ptokax.exe for any reason... (explorer.exe thousands and thousands of time lol)
Use cobian backup, and make a backup of the hub every time you want, the software is free, very easy to use, and save all script folder of ptokax folder, it can be run as service, you have even the possibility to zip the backup you made


I doubt this is in any way helpfull. It would, if PtokaX would save the info to disk rather than keeping it in memory. So basically, a backup software has nothing to backup ;)
Again, just close the program as you should and no problems will arise :)

Offline LoTeK_

  • Triple Ace
  • **
  • Posts: 244
  • Karma: +3/-0
    • U.S.S. Enterprise (Italia) - NCC-1701-E
Re: Bans get lost
« Reply #6 on: 28 April, 2007, 02:22:51 »
If closing the application with ctrl+alt+del is the same as unplug power then I know about many applications/games that saves all data anyway.
I think the use of ctrl+alt+del by nikita800 was to simulate an unespected power loss or system selfrestart, if that happens after 3 month of hub activities and bans are not saved, this is not good.
I agree with him, a timer for saving all data would be a good improvement, but, I can breathe without it.
« Last Edit: 28 April, 2007, 06:38:09 by LoTeK_ »

Offline dmvn

  • Member
  • ***
  • Posts: 27
  • Karma: +3/-0
    • DMVN Educational Project
Re: Bans get lost
« Reply #7 on: 14 June, 2008, 09:24:02 »
+1 to this feature request. Please note that 0.4.x branch is NOT stable because it's new, so explicit termination of a process ptokax.exe is not a rare action  :(

Offline PPK

  • Administrator
  • Emperor
  • *****
  • Posts: 1 480
  • Karma: +209/-22
  • PtokaX developer
Re: Bans get lost
« Reply #8 on: 14 June, 2008, 14:50:29 »
Please note that 0.4.x branch is NOT stable
If is NOT stable then how is possible that i'm not getting any bug reports related to stability  ???
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

Offline dmvn

  • Member
  • ***
  • Posts: 27
  • Karma: +3/-0
    • DMVN Educational Project
Re: Bans get lost
« Reply #9 on: 15 June, 2008, 08:26:10 »
Probably you were lucky, but this one http://forum.ptokax.org/index.php?topic=7927.0 is a direct proof. Also I can add that I do NOT reported about px036 crashes, while there were some... I know it's hard to debug smth that hangs in one case from 1000000. Those crashes were from that bucket :) So I waited patiently for px4.

Ok, let's not to fall into flaming about 'good/bad programs', PX is a good program. But it also has errors as *ANY* program, so please don't become angry when any crash/bugs reported. </offtop_mode_off/> :)

Offline dmvn

  • Member
  • ***
  • Posts: 27
  • Karma: +3/-0
    • DMVN Educational Project
Re: Bans get lost
« Reply #10 on: 15 June, 2008, 15:54:15 »
subj: That is a GOOD scripting solution, thank you.
PS. Won't continue any stability offtopic, it's useless (I only point you that you're mistaken again sayin that only me can reproduce that bug, please read carefully that topic).

Offline PPK

  • Administrator
  • Emperor
  • *****
  • Posts: 1 480
  • Karma: +209/-22
  • PtokaX developer
Re: Bans get lost
« Reply #11 on: 15 June, 2008, 23:15:17 »
but this one http://forum.ptokax.org/index.php?topic=7927.0 is a direct proof.
No is not, user using direct connect incompatible client (apexdc) sending to hub invalid command can't be proof :P
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

Offline dmvn

  • Member
  • ***
  • Posts: 27
  • Karma: +3/-0
    • DMVN Educational Project
Re: Bans get lost
« Reply #12 on: 15 June, 2008, 23:22:15 »
No is not, user using direct connect incompatible client (apexdc) sending to hub invalid command can't be proof :P
Strange way of programming... First of all, that UC is proper (and worked PERFECTLY on px0360, btw for a 1.5 years). Second one is that program that can be exploited (hanged) via sending invalid data is a buggy program, imho :P

Offline PPK

  • Administrator
  • Emperor
  • *****
  • Posts: 1 480
  • Karma: +209/-22
  • PtokaX developer
Re: Bans get lost
« Reply #13 on: 15 June, 2008, 23:34:09 »
First of all, that UC is proper (and worked PERFECTLY on px0360, btw for a 1.5 years).
No is not, direct connect don't have command starting with $<  :P
Second one is that program that can be exploited (hanged) via sending invalid data is a buggy program, imho :P
Yes but that program is not PtokaX, as i shown in other topic that command cause only that user who sent it was disconnected.. nothing else  8)
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

Offline dmvn

  • Member
  • ***
  • Posts: 27
  • Karma: +3/-0
    • DMVN Educational Project
Re: Bans get lost
« Reply #14 on: 16 June, 2008, 00:29:03 »
If you don't want to debug how Apex parses UC, i won't argue. The main matter is far from it. The proper way to think about that UC is that you typed !tempban command from client chat line, and that's all. And this leads to hang in some conds.

I'm sure that this topic can be closed now. The solution is found.

PtokaX forum

Re: Bans get lost
« Reply #14 on: 16 June, 2008, 00:29:03 »