Author Topic: Build in some script  (Read 2273 times)

0 Members and 1 Guest are viewing this topic.

Offline Thor

  • Scripter
  • Lord
  • ******
  • Posts: 290
  • Karma: +45/-5
    • Hungarian Direct Connect Site
Build in some script
« on: 13 July, 2007, 14:12:17 »
As far as I know, many from us use that little script, which allow the $UserIP commands, just check the unknown commands counter =) It would be really nice to add it, maybe to the options tab: 'Allow old stlye $UserIP support' or something like that, and it wouldn't be countered anymore, because I think it's not a real unknown command, just a bit outdated.
A textbox will be nice too, what to send those users, who are using rmDC. Yes, I know, everything is possible via LUA, but these are so little functions... So, what to send those client, who send buggy $Support string (if PtokaX disconnect those clients which are sending unknown supports, then you really should add this :))
And finally, to the deflood tab, a new value: how many user can connect from the same IP (afaik now just the connection delay from same IP can be setted).
edited:
And not a script related one: Maybe a new command: !save to save the changes in the settings. As I wrote on px Admins Hub, my friend lost all his settings because his server went wrong three times, and turned off automatically. Or a timer, which saves the settings in every x minutes. Or finally: a LUA call, something like frmHub:SaveSettings(), which can generate a click on the Save settings button.
I am looking forward to the new release, nice work, PPK ;)
« Last Edit: 13 July, 2007, 14:18:26 by Hungarista »

PtokaX forum

Build in some script
« on: 13 July, 2007, 14:12:17 »

Offline PPK

  • Administrator
  • Emperor
  • *****
  • Posts: 1 483
  • Karma: +209/-22
  • PtokaX developer
Re: Build in some script
« Reply #1 on: 13 July, 2007, 19:03:25 »
$UserIP is unknown command, this command is not in standard protocol and all protocol extensions must have support. PtokaX don't sending in supports UserIP. And unknown count is for me now 0 after 21 hours uptime :P
For rmDC++ bug here will not be any reply, i don't want to help flooder sending $Supports                          | to waste hub badwith and cpu.
Limit for users from same ip will be added in future.
Settings saving will be improved in future.
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

PtokaX forum

Re: Build in some script
« Reply #1 on: 13 July, 2007, 19:03:25 »