PtokaX forum

Development Section => LUA & PtokaX-Scripting-Interface => Topic started by: Nwod on 18 November, 2004, 17:00:55

Title: PtokaX timeban
Post by: Nwod on 18 November, 2004, 17:00:55
Hi!
I want to add some functionality to my hub and i have several troubles.
I want to have possibility to delete specified ip address from PtokaX timeban list.
I know there is ClearTempBan(), but I want to delete just one address, not all of them.
Is there something like UnTempBan() in PtokaX interface?

And, also, i can not understand, where does PtokaX store tempban information? No files in PtokaX folder are changed when tempban is added – so where does it hide?

Sorry for my bad english.
Title:
Post by: bastya_elvtars on 18 November, 2004, 18:11:36
QuoteOriginally posted by Nwod
Hi!
I want to add some functionality to my hub and i have several troubles.
I want to have possibility to delete specified ip address from PtokaX timeban list.
I know there is ClearTempBan(), but I want to delete just one address, not all of them.
Is there something like UnTempBan() in PtokaX interface?

And, also, i can not understand, where does PtokaX store tempban information? No files in PtokaX folder are changed when tempban is added – so where does it hide?

Sorry for my bad english.

No untempbanning, and duno if PPK is working on it or already done.

The tempban list isn't saved, its stored in memory. After a ptokax.exe restart it is lost.
Title:
Post by: Nwod on 23 November, 2004, 19:48:03
thx
Title:
Post by: Nwod on 25 November, 2004, 21:29:19
QuoteThe tempban list isn't saved, its stored in memory. After a ptokax.exe restart it is lost.
I've just checked it - you're wrong. After it's restart, ptokax remembers all of the tempbans. So where does ptokax store this information? No files are changed, and i didn't find any keys in registry which may be used for that. ?(
Title:
Post by: Madman on 25 November, 2004, 22:28:33
QuoteOriginally posted by Nwod
QuoteThe tempban list isn't saved, its stored in memory. After a ptokax.exe restart it is lost.
I've just checked it - you're wrong. After it's restart, ptokax remembers all of the tempbans.

When closeing PtokaX a Tempban.dat is created...
It disappear when Starting PtokaX again...
But, when running i guess it is saved in the memory....
Title:
Post by: Nwod on 29 November, 2004, 00:44:53
thanks a lot!