Download on PtokaX (http://www.ptokax.org) homepage.
QuoteChangelog...
Fixed: Few bugs in GUI (thx Stravides and Star for reports).
Fixed: Crash on !restartscript (thx madman for report).
Fixed: addreguser bug on adding user with OP status (thx Optimus for report).
Fixed: Bugs in hashed reglist manager (thx [AT]conejodelmal and Bud for reports).
Fixed: MOTD sending to pm (thx [H?LL?]?corpion? for report).
Fixed: Crash caused by timer using SendToAll in lua (thx -RICK- for report).
Fixed: Crash on stop server (thx -RICK- for report).
Good Fix^_^
Nice work again m8 ... just 1 questions do my stats look right ?( ... running robocop 10.01e and trivia ...
------------------------------------------------------------
Current stats:
------------------------------------------------------------
Version: PtokaX DC Hub 0.3.3.0 build 17.09 [debug] built on May 30 2005 00:33:29
Uptime: 0 days, 0 hours, 50 minutes
Users (Max/Actual Peak (Max Peak)/Logged) : 100 / 30 (30) / 28
Chat messages: 25 x
Unknown commands: 0 x
PM commands: 3 x
Key commands: 2367 x
Supports commands: 2364 x
MyINFO commands: 2392 x
ValidateNick commands: 2363 x
GetINFO commands: 0 x
Password commands: 20 x
Version commands: 2357 x
UserIP commands: 0 x
GetNickList commands: 2358 x
Search commands: 144 x
SR commands: 122 x
CTM commands: 296 x
RevCTM commands: 141 x
BotINFO commands: 0 x
------------------------------------------------------------
CPU usage (60 seconds average): 5.80%
CPU time: 0:00:41
Mem usage (Old style): 1836 kB
Mem usage (Peak): 5.32 MB (12.23 MB)
VM size (Peak): 12.40 MB (12.40 MB)
------------------------------------------------------------
SendRests (Peak): 0 (1)
RecvRests (Peak): 0 (1)
SendBytes: 24.96 MB
RecvBytes: 666.74 kB
where is PtokaX DC Hub 0.3.3.0 build 17.09 download?
thanks
Same place as always (http://www.ptokax.org/):)
ok find it
as always PKK, very good update/fix :)
QuoteOriginally posted by (uk)jay
Nice work again m8 ... just 1 questions do my stats look right ?(
I don't know what cpu you have... cpu usage is high :rolleyes:
Running windows xp sp2 ... P4 3.00GHz
5 % cpu with 28 users on P4 3 Ghz ?( That is very bad :(
Athlon XP 2005 MHz
[14:10:56] <_@o'>
------------------------------------------------------------
Current stats:
------------------------------------------------------------
Version: PtokaX DC Hub 0.3.3.0 build 17.09 [debug] built on May 29 2005 23:28:14
Uptime: 0 days, 8 hours, 31 minutes
Users (Max/Actual Peak (Max Peak)/Logged) : 185 / 153 (442) / 153
Chat messages: 144 x
Unknown commands: 0 x
PM commands: 12 x
Key commands: 4178 x
Supports commands: 3118 x
MyINFO commands: 5057 x
ValidateNick commands: 3008 x
GetINFO commands: 359 x
Password commands: 23 x
Version commands: 2936 x
UserIP commands: 47 x
GetNickList commands: 3314 x
Search commands: 5169 x
SR commands: 4813 x
CTM commands: 13339 x
RevCTM commands: 10032 x
BotINFO commands: 2 x
------------------------------------------------------------
CPU usage (60 seconds average): 0.50%
CPU time: 0:01:43
Mem usage (Old style): 2178 kB
Mem usage (Peak): 6.26 MB (9.93 MB)
VM size (Peak): 6.99 MB (7.01 MB)
------------------------------------------------------------
SendRests (Peak): 0 (0)
RecvRests (Peak): 0 (1)
SendBytes: 28.91 MB
RecvBytes: 2.91 MB
i have pentium 2 350 mhz 128 mram
Version: PtokaX DC Hub 0.3.3.0 build 17.09 [debug] built on May 30 2005 00:33:29
Uptime: 0 days, 0 hours, 26 minutes
Users (Max/Actual Peak (Max Peak)/Logged) : 350 / 318 (323) / 282
Chat messages: 65 x
Unknown commands: 0 x
PM commands: 61 x
Key commands: 681 x
Supports commands: 685 x
MyINFO commands: 1431 x
ValidateNick commands: 529 x
GetINFO commands: 1 x
Password commands: 22 x
Version commands: 401 x
UserIP commands: 502 x
GetNickList commands: 462 x
Search commands: 1090 x
SR commands: 4073 x
CTM commands: 3277 x
RevCTM commands: 1508 x
BotINFO commands: 0 x
------------------------------------------------------------
CPU usage (60 seconds average): 11.55%
CPU time: 0:03:08
Mem usage (Old style): 2054 kB
Mem usage (Peak): 7.72 MB (14.54 MB)
VM size (Peak): 11.96 MB (14.29 MB)
------------------------------------------------------------
SendRests (Peak): 0 (17)
RecvRests (Peak): 0 (1)
SendBytes: 30.39 MB
RecvBytes: 1.17 MB
Hey PPK,
No1 - U need a search interval!!!
No2 - U need a userlist sending limiter! (ie. sends 200 users each second)
Both of these can dramticly effect the preformance of the hub. And in most cases, this will stop packet lag and users dropping out every 2 mins when ur connection is reaching its peak.
This could be writin as a lua script, but it would preform better as part of the hubsoft. Cause hugh tables to hold last search in lua just isnt good enough. Where as you could add to the user class the last search time, and then simply compair each time when a new seach comes in.
With the userlist sending, it lags out the rest of the hub when a large list is sent to a client. So if we hub owners had settings like. Send xxx Users each xxx Seconds, we could then put these margins down to handle more users!
Cheers
It's all great that PtokaX has evolving and getting fixed
But how can the changes become easier, i mean how is it possible to transfer the settings from one hub software to another when upgrading.
I got very long list of Registered user that i need to transfer to the new hub soft.
QuoteOriginally posted by BoJlk
But how can the changes become easier, i mean how is it possible to transfer the settings from one hub software to another when upgrading.
I got very long list of Registered user that i need to transfer to the new hub soft.
Your .dat files are automatically converted on first startup of new PtokaX, however you are encouraged to back them up first.
To Corayzon:
PtokaX already has a feature you can use as search interval (am I wrong?).
Set Search amount from Deflood to sth like (Search/Ignore - 1 sr / 15 sec ) and (Same Searches/Ignore - 1 sr / 15 sec ) for 15 sec search interval.
To PPK:
* Feature Request:
BW Traffic Report in !stats, like:Sending / Up : xx kB/s
Receiving / Down : xx kB/s
This could be very helpful feature.
And I agree with Corayzon, PtokaX needs a userlist sending limiter.Version: PtokaX DC Hub 0.3.3.0 build 17.09 [debug] built on May 30 2005 00:33:29
Uptime: 0 days, 1 hours, 59 minutes
Users (Max/Actual Peak (Max Peak)/Logged) : 1000 / 633 (1365) / 632
Chat messages: 175 x / Version commands: 11105 x
Unknown commands: 0 x / UserIP commands: 4229 x
PM commands: 179 x / GetNickList commands: 11147 x
Key commands: 13595 x / Search commands: 9554 x
Supports commands: 12276 x / SR commands: 54485 x
MyINFO commands: 14857 x / CTM commands: 48980 x
ValidateNick commands: 13196 x / RevCTM commands: 36945 x
GetINFO commands: 4489 x / BotINFO commands: 0 x
Password commands: 79 x
------------------------------------------------------------
CPU usage (60 seconds average): 14.35%
CPU time: 0:19:43
Mem usage (Old style): 2340 kB
Mem usage (Peak): 15.79 MB (21.93 MB)
VM size (Peak): 17.22 MB (18.25 MB)
------------------------------------------------------------
SendRests (Peak): 18 (21)
RecvRests (Peak): 0 (6)
SendBytes: 320.29 MB
RecvBytes: 16.52 MB
17.09 has high CPU usage compared to 17.08 with same scripts.Server specifications:
P4 2.6 GHz
512 MB RAM
W2K3 Standard Edit
QuoteOriginally posted by GeceBekcisi
[And I agree with Corayzon, PtokaX needs a userlist sending limiter.
Here is no way to do it...
QuoteOriginally posted by GeceBekcisi
17.09 has high CPU usage compared to 17.08 with same scripts.
Same scripts and same settings ?(
Version: PtokaX DC Hub 0.3.3.0 build 17.08 [debug] built on May 21 2005 22:09:36
Uptime: 1 days, 2 hours, 29 minutes
Users (Max/Actual Peak (Max Peak)/Logged) : 185 / 185 (442) / 183
CPU usage (60 seconds average): 1.27%
CPU time: 0:08:30
Mem usage (Old style): 2208 kB
Mem usage (Peak): 7.73 MB (9.77 MB)
VM size (Peak): 8.36 MB (8.38 MB)
Version: PtokaX DC Hub 0.3.3.0 build 17.09 [debug] built on May 31 2005 09:27:30
Uptime: 0 days, 1 hours, 48 minutes
Users (Max/Actual Peak (Max Peak)/Logged) : 185 / 182 (442) / 181
CPU usage (60 seconds average): 0.93%
CPU time: 0:01:12
Mem usage (Old style): 2200 kB
Mem usage (Peak): 6.80 MB (9.75 MB)
VM size (Peak): 7.11 MB (7.16 MB)
QuoteOriginally posted by bastya_elvtars
Your .dat files are automatically converted on first startup of new PtokaX, however you are encouraged to back them up first.
Thanks a bunch!
That worked like a charm. :D
High cpu usage seems to come when you first start the hub ......
Uptime: 0 days, 0 hours, 1 minutes
CPU usage (60 seconds average): 5.25%
when all users connect at same time .
and 8 mins later when most users have entered...
Uptime: 0 days, 0 hours, 8 minutes
CPU usage (60 seconds average): 0.00%
My hub is running for the past two days with the same statistics
------------------------------------------------------------
CPU usage (60 seconds average): 0.55%
CPU time: 0:00:43
Mem usage (Old style): 1878 KB
Mem usage (Peak): 5.83 MB (7.91 MB)
VM size (Peak): 8.09 MB (8.27 MB)
------------------------------------------------------------
Dedicated Hub PC: Celeron 400Mhz / 256 SDRAM / 20GB HD / Windows Server 2003
And really low MEM usage then latest versions.
I hope those statistics might clear something for you.
+me loves new builds :))
just for the record:
(xp pro, p4 2.4ghz, 512 ram)
Current stats:
------------------------------------------------------------
Version: PtokaX DC Hub 0.3.3.0 build 17.09 [debug] built on May 30 2005 00:33:29
Uptime: 0 days, 0 hours, 14 minutes
Users (Max/Actual Peak (Max Peak)/Logged) : 50 / 20 (26) / 18
Chat messages: 4 x
Unknown commands: 0 x
PM commands: 0 x
Key commands: 22 x
Supports commands: 23 x
MyINFO commands: 59 x
ValidateNick commands: 22 x
GetINFO commands: 0 x
Password commands: 22 x
Version commands: 19 x
UserIP commands: 78 x
GetNickList commands: 20 x
Search commands: 22 x
SR commands: 25 x
CTM commands: 28 x
RevCTM commands: 0 x
BotINFO commands: 0 x
------------------------------------------------------------
CPU usage (60 seconds average): 0.05%
CPU time: 0:00:03
Mem usage (Old style): 1284 kB
Mem usage (Peak): 2.57 MB (9.10 MB)
VM size (Peak): 5.75 MB (5.94 MB)
------------------------------------------------------------
SendRests (Peak): 0 (0)
RecvRests (Peak): 0 (0)
SendBytes: 185.01 kB
RecvBytes: 19.00 kB
all good :) Not that im exactly pushing it to the limits LOLOL.
What about my feature request, BW Traffic Report in !stats?
QuoteOriginally posted by GeceBekcisi
What about my feature request, BW Traffic Report in !stats?
I try, i have idea how to do it fast ;)
Oh-la-la! This is my first accepted-feature-request :) I am so happy now :]
QuoteOriginally posted by GeceBekcisi
17.09 has high CPU usage compared to 17.08 with same scripts.
I running now PtokaX under performance profiler (give me cpu usage for any line of code in PtokaX) and i don't see nothing bad, nothing what use more cpu ... maybe you only have more bans ?(
My banlist is cleared with every update, not to cause performance conflicts...
Maybe sth else is wrong that i dunno... You can check my hub from my signature, if you wanna.
Best regards.
Feature Request
An option to redirect users if there nick contain forbidden chars...now it' just disconnets
I've got to switch back to 17.08 cause 17.09 disconnects RMDC ...
Just copied all settings from .08 to .09 ...
Will wait for any hints from you
thx
QuoteOriginally posted by ruspant
I've got to switch back to 17.08 cause 17.09 disconnects RMDC ...
Nice ;)
QuoteOriginally posted by ruspant
Will wait for any hints from you
Get rmDC++ source and fix bugs in DC protocol support :D
Thx PPK for your propmt answer.
Sadly I'm not so skilled in C programming, but I've sent and advice to RMDC developers.
Hope they'll fix soon so my users will stop crying :D
QuoteOriginally posted by ruspant
Hope they'll fix soon so my users will stop crying :D
No they start crying more... rmDC++ is dead :D
QuoteOriginally posted by PPK
QuoteOriginally posted by ruspant
Hope they'll fix soon so my users will stop crying :D
No they start crying more... rmDC++ is dead :D
And since that GPL breaking pile of s**t never had it's source released, nobody is gonna be able to fix it for you either.
QuoteOriginally posted by Pothead
And since that GPL breaking pile of s**t never had it's source released, nobody is gonna be able to fix it for you either.
However it's nice because it's a mix of .PhantomDC and StrongDC, if somebody made a client like that it wold be good... however Strong is now bloated like hell, phants is dead. :(
Why do not have a 'Save' button for Ptokax settings ?
HI PPK
a small request
can u add in deflood - redirect as an option ??
its the only choice missing ,,
Best regards
QuoteOriginally posted by BeeR
HI PPK
a small request
can u add in deflood - redirect as an option ??
its the only choice missing ,,
Best regards
awesome idea :))
i'm with you :D
Another small request...
The OpChat in Ptokax isnt visible to all users, but when you give !op to a user, he continues not to see it, and the messages are sent in main chat, like:
[17:45:04] Private message from -=OpChat=-: <[AT]conejodelmal> test
Is it possible that Temp Op's also have acess to the bot? that would be great, but if not, that it stays visible to all users?
QuoteOriginally posted by [AT]conejodelmal
Another small request...
It is not request, it is bug report :D i fix it ;)
lol.... ok.. i thought it was made on pourpose :P
thx a lot
QuoteOriginally posted by PPK
QuoteOriginally posted by [AT]conejodelmal
Another small request...
It is not request, it is bug report :D i fix it ;)
OpChat is also not visible to an OP if they have keys not showing in the profile settings
QuoteOriginally posted by Nada@WTB
OpChat is also not visible to an OP if they have keys not showing in the profile settings
Maybe small checkbox for profile, to allow opchat ?( :]
good idea ppk
:) sounds like a good idea to me :D that way kvips, wicth I dont want to be shown with key can be set to allow opchat :D
Hi guys,
since the new versions are out I've got some problems with raw sent by menu commands.
If I use a raw like this
"$UserCommand 1 3 ? Help $<%[mynick]> !help ||"
the menu works only if used on main user list.
When I try to use the menu item while inside a PM, the hub disconnects me,
I've tried to intercept the data arrival (chat/to) with a small script but it seems the hub disconnects me before any data is sent to lua....
This kind of syntax was perfectly legal with the "old" ptokax so where's the problem ?
I test it with
$UserCommand 1 3 Help$<%[mynick]> !help|
in script it looks like
curUser:SendData("$UserCommand 1 3 Help$<%[mynick]> !help|")
and working without problems in pm too (in all cases is sent same command)... bug in client ???
Feature request(s):
Ban list should be extended with banning op's nick, ban reason and whois info (so we can determine to delete dynamic ip ranges after a week and leave static ones with ISPs giving dsl.dynamicXXXXX.XXX.net or dsl.staticXXXXXX.XXX.net like whois results).
Best Regards.
Feature request:
-> doble click in script name opens it in "Edit script" frame.
->reason of the ban in "Permanent bans"
->"No autoscroll" buton in debug tab
->Multiselect and SUPR key allowed in "permanent bans" (it will made a lot easy to clean that list...now i have to click in a line then click remove..)
thanks again!
Alex
QuoteOriginally posted by Alexandros
-> doble click in script name opens it in "Edit script" frame.
Done.
QuoteOriginally posted by Alexandros
->reason of the ban in "Permanent bans"
Will be here with new banlist (same for request from GeceBekcisi).
QuoteOriginally posted by Alexandros
->"No autoscroll" buton in debug tab
Debug tab ?( If you mean Users / Chat then i don't know how to disable it :(
QuoteOriginally posted by Alexandros
->Multiselect and SUPR key allowed in "permanent bans"
I don't know how to do it...
QuoteOriginally posted by PPK
QuoteOriginally posted by Nada@WTB
OpChat is also not visible to an OP if they have keys not showing in the profile settings
Maybe small checkbox for profile, to allow opchat ?( :]
excellent :D
Quote->"No autoscroll" buton in debug tab
Debug tab ?( If you mean Users / Chat then i don't know how to disable it :(
yes, that tab
thanks for all the good work! =)
Hi, i hope this question hasn't been asked.
How do i fix this version's problem with rmDC?
or it there settings that I've missed that block rmDC
There is no way to alter it (i tried :) )
QuoteOriginally posted by BoJlk
Hi, i hope this question hasn't been asked.
How do i fix this version's problem with rmDC?
or it there settings that I've missed that block rmDC
the only wat to make rmdc++ to work, is for someone to find the source code for rmdc,
fix the bug in it and then compile the sourcecode.
Would be nice if Ops with no key could be proccessed as "OpConnected" and not as "NewUserConnected" as im using it for stealth ops.
Just a suggestion..
[EDIT]
Right, i wasnt thinking.
Umm... from 800 users to 1200 users my hub tribled the cpu users from 10% to 30% :(
ppk it possible to modify fuction OnTimer() so kant make something like dis :
function alabala()
StartTimer(x)
end
function burubu()
StartTimer(y)
end
function OnTimer(test)
if test == x do ...
elseif test == y do ...
else do...
end
end
it possible ?
QuoteOriginally posted by Snooze
Would be nice if Ops with no key
OP without key ??? Here is nothing like this :rolleyes:
QuoteOriginally posted by dragos_sto
ppk it possible to modify fuction OnTimer() so kant make something like dis :
function alabala()
StartTimer(x)
end
function burubu()
StartTimer(y)
end
function OnTimer(test)
if test == x do ...
elseif test == y do ...
else do...
end
end
it possible ?
Timer1 = 20
Timer2 = 30
counter1 = 0
counter2 = 0
function OnTimer()
if counter1 == Timer1
( do ... )
counter1 = 0
end
if counter2 == Timer2
( do ... )
counter2 = 0
end
counter1 = counter1 + 1
counter2 = counter2 + 1
end
i whant to make something like this
SetTimer(10000)
count =0
function main()
end
function alabala(User)
if user == wrong nick then StartTimer(msg1)
if user == wrong tag then StartTimer(msg2)
function OnTimer(user,msg)
if count <6 then
user:senddata(botanem,msg)
count = count + 1
else user:senddata(botanem,msg)
user:Disconnect()
count = 0
end
end
ppk
i am building a new network hub, but having a prob. it wont pickup regged and permbanned .dat files to turn to xml?
any ideas bud.
i have of course removed original.xml files first heheh
hubsoft is 17.09 debug
stop and close hub
then remove folder cfg from your ptoka hub
put your dat file then
open ptoka server
if dont work
try to use an old version and befor use latest version
Does PtokaX block raw commands like "$To: %[mynick] From: %[mynick] $<%[mynick]>|" and if yes, why? I wasn't successful when tried this for own report...
QuoteOriginally posted by GeceBekcisi
Does PtokaX block raw commands
Hub don't know if is raw command or normal command from client, no PtokaX don't block command if is not corrupted ;)
QuoteOriginally posted by GeceBekcisi
"$To: %[mynick] From: %[mynick] $<%[mynick]>|"
But PtokaX block pm to yourself, same for connection requests :))
QuoteOriginally posted by PPK
QuoteOriginally posted by GeceBekcisi
Does PtokaX block raw commands
Hub don't know if is raw command or normal command from client, no PtokaX don't block command if is not corrupted ;)
QuoteOriginally posted by GeceBekcisi
"$To: %[mynick] From: %[mynick] $<%[mynick]>|"
But PtokaX block pm to yourself, same for connection requests :))
hmm so thats why i couldnt send a msg to myself, :D
would it be possible to allow pm to oneself if user is Operator? I think its practical for Op's who use DcDm and similar clients
QuoteOriginally posted by [AT]conejodelmal
would it be possible to allow pm to oneself if user is Operator? I think its practical for Op's who use DcDm and similar clients
one more vote for this idea :]
hmm .. you may do some spaming whit raw command :D
of course "if is not corrupted" .. :)
true true i test and work , it a little hard to configure the client