PtokaX forum

Forum => News => Topic started by: PPK on 18 May, 2005, 17:18:06

Title: PtokaX 0.3.3.0 build 17.08 released...
Post by: PPK on 18 May, 2005, 17:18:06
Download on PtokaX (http://www.ptokax.org) homepage  :]
QuoteChangelog...
Fixed: Crash on try to save script to read-only file (thx [NL]Pur for report).
Fixed: Webserver start/stop and enable/disable of webserver port textbox.
Fixed: Gui order for TAB, and few other small fixes in gui.
Fixed: Another buffer overflow (thx madman for report).
Changed: SendToOps in lua now accept only data (request by Corayzon).
Title:
Post by: Psycho_Chihuahua on 18 May, 2005, 17:40:52
Swiss Mirror (http://ptokax.psycho-chihuahua.net)  updated as well
Title:
Post by: Stravides on 18 May, 2005, 18:06:08
EEEEEEK and other dramatic crunching sounds..

I dunno if anyone else getting this but I have  abit of a problem..

If I open the users/chat page whilst in Max window mode the Refresh users button is 1/3 of the screen and blocks out the screen...
bit limiting to say the least :)
Image here (http://rpgbooks-cymru.no-ip.org/bigbutton.gif)

I know only cosmetic, but nevertheless a weee bug

Many thanks
Title:
Post by: Star on 18 May, 2005, 18:10:50
QuoteOriginally posted by Stravides
I dunno if anyone else getting this but I have  abit of a problem..

If I open the users/chat page whilst in Max window mode the Refresh users button is 1/3 of the screen and blocks out the screen...
bit limiting to say the least :)
I got it to!

BTW. The user count at the right bottom is being displayed wrong to, when I change the window size.

And another thing. When I do the PtokaX window as small as it could be, all things arent fitt in the Window. (Network, Advanced, About PtokaX)
Title:
Post by: PPK on 18 May, 2005, 19:14:02
QuoteOriginally posted by Stravides
If I open the users/chat page whilst in Max window mode the Refresh users button is 1/3 of the screen and blocks out the screen...
Fixed :)
QuoteOriginally posted by Star
BTW. The user count at the right bottom is being displayed wrong to, when I change the window size.

And another thing. When I do the PtokaX window as small as it could be, all things arent fitt in the Window. (Network, Advanced, About PtokaX)
Maybe fixed :]
Title:
Post by: 6Marilyn6Manson6 on 18 May, 2005, 21:42:12
Hi PPK,
If I want to declare an User passive I use:

if not(user.bActive) then
instead I think be more correct to declare so:

if user.bPassive then
and therefore I ask.... you can add   user.bPassive   in Scripting-Interface?... Thanks
Title:
Post by: bastya_elvtars on 18 May, 2005, 22:11:09
QuoteOriginally posted by 6Marilyn6Manson6
Hi PPK,
If I want to declare an User passive I use:

if not(user.bActive) then
instead I think be more correct to declare so:

if user.bPassive then
and therefore I ask.... you can add   user.bPassive   in Scripting-Interface?... Thanks

if user.sMode="A" or "P" or "5" there is such userobject item AFAIK.
Title:
Post by: 6Marilyn6Manson6 on 18 May, 2005, 22:24:59
Quoteif user.sMode="A" or "P" or "5" there is such userobject item AFAIK.

Yes but... exist user.bActive ... why don't exist user.bPassive? thanks
Title:
Post by: PPK on 18 May, 2005, 22:52:14
QuoteOriginally posted by 6Marilyn6Manson6
Yes but... exist user.bActive ... why don't exist user.bPassive? thanks
Why ?( If user is not active then is pasive :D
Title:
Post by: 6Marilyn6Manson6 on 18 May, 2005, 22:59:56
QuoteOriginally posted by PPK
QuoteOriginally posted by 6Marilyn6Manson6
Yes but... exist user.bActive ... why don't exist user.bPassive? thanks
Why ?( If user is not active then is pasive :D

eheheh PPK.. ok ok no prob :P
Title:
Post by: Corayzon on 19 May, 2005, 01:38:40
QuoteOriginally posted by PPK
Download on PtokaX (http://www.ptokax.org) homepage  :]
QuoteChangelog...
Fixed: Crash on try to save script to read-only file (thx [NL]Pur for report).
Fixed: Webserver start/stop and enable/disable of webserver port textbox.
Fixed: Gui order for TAB, and few other small fixes in gui.
Fixed: Another buffer overflow (thx madman for report).
Changed: SendToOps in lua now accept only data (request by Corayzon).

:D

Another Mirror (http://www.om-tribe.net/0.3.3.0.b17.08.nt.dbg.zip)

Also got one question ... why does ptokax lag heaps when u try and connect sometimes?

*** Connecting to om-tribe.no-ip.org...
*** Connection refused by target machine
*** Connecting to om-tribe.no-ip.org...
*** Connection refused by target machine
*** Connecting to om-tribe.no-ip.org...
*** Connected
*** Stored password sent...
<-cSlave-> This hub is running PtokaX DC Hub 0.3.3.0 build 17.07 [debug] (UpTime: 0 days, 8 hours, 18 minutes)

cSlave 1.0 Welcome Message System

hello Nozaroc!
this was just after i woke up, so it cant be the connection flooder doing its work
Title:
Post by: dkt on 19 May, 2005, 01:51:34
------------------------------------------------------------
Version: PtokaX DC Hub 0.3.3.0 build 17.08 [debug] built on May 18 2005 16:52:50
Uptime: 0 days, 1 hours, 32 minutes
Users (Max/Actual Peak (Max Peak)/Logged) : 100 / 9 (17) / 6
Chat messages: 25 x
Unknown commands: 0 x
PM commands: 0 x
Key commands: 35 x
Supports commands: 43 x
MyINFO commands: 77 x
ValidateNick commands: 35 x
GetINFO commands: 0 x
Password commands: 43 x
Version commands: 35 x
UserIP commands: 0 x
GetNickList commands: 43 x
Search commands: 10 x
SR commands: 4 x
CTM commands: 4 x
RevCTM commands: 0 x
BotINFO commands: 0 x
------------------------------------------------------------
Mem usage (Old style): 1728 kB
------------------------------------------------------------
SendRests (Peak): 0 (0)
RecvRests (Peak): 0 (0)
SendBytes: 1.34 MB
RecvBytes: 14.17 kB
Title: PtokaX 0.3.3.0 build 17.08
Post by: GoodSpear on 19 May, 2005, 08:15:58
Sensational !! Started using 17.08 today and works great...best thing is it seems to be running eror free with OS 98se...
:-)
Title:
Post by: wegface on 19 May, 2005, 09:46:16
nice. I love the big refresh user list button! hehehee. Ive actually got loadsa big buttons like that in my client just for fun heheheee. So rather than a bug- it was an early birthday present just for me. LOL.
Keep these versions coming they r brill.
Title:
Post by: PPK on 19 May, 2005, 13:39:10
QuoteOriginally posted by Corayzon
Also got one question ... why does ptokax lag heaps when u try and connect sometimes?
I don't know X(
Title:
Post by: uffetjur on 19 May, 2005, 14:45:38
Could it has something to do with max simultanious connections to do
Think standard is set at low rate 25 - 50
Title:
Post by: Star on 19 May, 2005, 15:20:16
PtokaX don't minimize on start. Have it checked in MS shourtcut. (tray icon on)
Title: Nice :)
Post by: XPMAN on 19 May, 2005, 18:44:54
Awesome work PPK .Keep the updates coming :)  and I will post any bugs......... if i run across any. This is the ONLY hub software to use :)
Title: lil request
Post by: Corayzon on 20 May, 2005, 04:34:27
hey PPK,

Just wanted to know this: Does ptokax when a new user connects do the following ...

Call MyINFOArrival
Call NewUserConnected

Because, in my script my welcome message system seems to get the connection call, after the MyINFO call allready disconnects them. Is there a hidden bug here, or should i rethink the intergration methods of this script into cSlave?

Cheers
Title:
Post by: PPK on 20 May, 2005, 12:32:45
QuoteOriginally posted by Corayzon
Because, in my script my welcome message system seems to get the connection call, after the MyINFO call allready disconnects them. Is there a hidden bug here
I don't find any bug here  X( Tested with this script...
function MyINFOArrival(curUser, sData)
SendToAll("User "..curUser.sName.." disconnected")
curUser:Disconnect()
end

function NewUserConnected(curUser)
SendToAll("New user "..curUser.sName.." connected")
end
I don't receive connected message  :rolleyes:
Title:
Post by: Corayzon on 20 May, 2005, 19:16:49
QuoteOriginally posted by PPK
QuoteOriginally posted by Corayzon
Because, in my script my welcome message system seems to get the connection call, after the MyINFO call allready disconnects them. Is there a hidden bug here
I don't find any bug here  X( Tested with this script...
function MyINFOArrival(curUser, sData)
SendToAll("User "..curUser.sName.." disconnected")
curUser:Disconnect()
end

function NewUserConnected(curUser)
SendToAll("New user "..curUser.sName.." connected")
end
I don't receive connected message  :rolleyes:

my mistake yes, indeed, lol  ?(

but i have been thinking it would be nice to have the base ptokax commands and there help info in a .dat that is loaded at start and restart scripts so we can fuk with them outside ptokax =]

a format like:

banip||permanently ban IP address

in whatever command order u like would be sweeeeet =]
Title:
Post by: Star on 21 May, 2005, 13:47:01
Hi PPK

Can u add a function so lua5/PtokaX can handle straight columns?

Would be nice when u scripting lists etc.
Title:
Post by: Pothead on 21 May, 2005, 14:06:23
line numbers in the script editor would also be nice. :)
Title:
Post by: Star on 23 May, 2005, 15:12:15
In Advance > Memmory used by scrits (kB) >
it says "C: current mem...." and "T: garbage collector..."

So where's the C and T?  ;)
Title:
Post by: GeceBekcisi on 23 May, 2005, 18:14:38
Version: PtokaX DC Hub 0.3.3.0 build 17.08 [debug] built on May 18 2005 16:43:11
Uptime: 1 days, 17 hours, 41 minutes
Users (Max/Actual Peak (Max Peak)/Logged) : 2000 / 677 (1365) / 676
Chat messages: 1021 x
Unknown commands: 1 x
PM commands: 925 x
Key commands: 289206 x
Supports commands: 281877 x
MyINFO commands: 226053 x
ValidateNick commands: 280125 x
GetINFO commands: 49881 x
Password commands: 958 x
Version commands: 192621 x
UserIP commands: 24787 x
GetNickList commands: 193245 x
Search commands: 122842 x
SR commands: 431421 x
CTM commands: 723769 x
RevCTM commands: 529737 x
BotINFO commands: 13 x
------------------------------------------------------------
CPU usage (60 seconds average): 5.52%
CPU time: 0:39:10
Mem usage (Old style): 2423 kB
Mem usage (Peak): 15.32 MB (22.55 MB)
VM size (Peak): 15.00 MB (23.42 MB)
------------------------------------------------------------
SendRests (Peak): 14 (26)
RecvRests (Peak): 0 (13)
SendBytes: 2.56 GB
RecvBytes: 194.04 MB


about 18 kBps or 144 kbps upload with average of 600 users? really nice work :) i think i shall join a bigger network now on to use my 100 mbit server!
Title:
Post by: bastya_elvtars on 23 May, 2005, 18:18:47
QuoteOriginally posted by Star
lua5/PtokaX can handle straight columns?

Would be nice when u scripting lists etc.

I cannot really understand this myself. Example please! ;)
Title: stat
Post by: (NL)waarom on 23 May, 2005, 22:18:51
Current stats:
------------------------------------------------------------
Version: PtokaX DC Hub 0.3.3.0 build 17.08 [debug] built on May 18 2005 16:43:11
Uptime: 0 days, 13 hours, 39 minutes
Users (Max/Actual Peak (Max Peak)/Logged) : 700 / 517 (517) / 482
Chat messages: 243 x
Unknown commands: 275 x
PM commands: 38 x
Key commands: 20216 x
Supports commands: 16021 x
MyINFO commands: 16096 x
ValidateNick commands: 19858 x
GetINFO commands: 79497 x
Password commands: 1954 x
Version commands: 6504 x
UserIP commands: 4322 x
GetNickList commands: 6504 x
Search commands: 36987 x
SR commands: 185979 x
CTM commands: 177991 x
RevCTM commands: 124496 x
BotINFO commands: 0 x
------------------------------------------------------------
CPU usage (60 seconds average): 1.47%
CPU time: 0:10:19
Mem usage (Old style): 2555 kB
Mem usage (Peak): 13.23 MB (15.44 MB)
VM size (Peak): 15.43 MB (17.66 MB)
------------------------------------------------------------
SendRests (Peak): 7 (11)
RecvRests (Peak): 0 (7)
SendBytes: 949.31 MB
RecvBytes: 52.15 MB
Title:
Post by: Corayzon on 24 May, 2005, 01:05:03
QuoteOriginally posted by Star
Hi PPK

Can u add a function so lua5/PtokaX can handle straight columns?

Would be nice when u scripting lists etc.

The problem doing this is that the sanserif text supports a shitload of languages, and from this, its spacing of chars isnt the same for each. Meaing when ur scripting tables for output. That u cant just check the string length to determine how many tabs it should have. Because depending on the chars in that string, is depending how much space they take up and how long the string is.
Title:
Post by: Pothead on 24 May, 2005, 02:05:14
So you are complaining about the default font used in DC++ ?
Title:
Post by: PPK on 24 May, 2005, 02:56:12
Maybe better, default font in Windows... DC++ get font setting from Windows on first start ;)
Title:
Post by: bastya_elvtars on 24 May, 2005, 03:38:15
Let him make his users set DC++ to monospaced one by one. :)
Title:
Post by: Corayzon on 24 May, 2005, 04:39:56
QuoteOriginally posted by Pothead
So you are complaining about the default font used in DC++ ?

lol, no!

im pointing out why PPK shouldnt write in table functions for the hubsofts scripts to use. Its pointless!

As bastya_elvtars also pointed out, The server cant make a client change its charset. And its hard to make users change there font for one hub!

And also, all charsets that do have multi lang support dont have monospace chars!

QuoteI wrote a few posts back
but i have been thinking it would be nice to have the base ptokax commands and there help info in a .dat that is loaded at start and restart scripts so we can fuk with them outside ptokax =]

a format like:

banip||permanently ban IP address

in whatever command order u like would be sweeeeet =]

No repsonse PPK?
Title:
Post by: [NL]Pur on 24 May, 2005, 07:40:15
There is scripting for changing the format of the commands.
Title:
Post by: ignazio on 24 May, 2005, 15:22:42
hi PPK I wanted to know it was possible to put in PtokaX allowed client???


you excuse for my English :]
Title: small stats
Post by: Psycho_Chihuahua on 24 May, 2005, 15:49:17
------------------------------------------------------------
Current stats:
------------------------------------------------------------
Version: PtokaX DC Hub 0.3.3.0 build 17.08 [debug] built on May 18 2005 16:43:11
Uptime: 2 days, 2 hours, 33 minutes
Users (Max/Actual Peak (Max Peak)/Logged) : 100 / 14 (20) / 11
Chat messages: 15 x
Unknown commands: 0 x
PM commands: 4 x
Key commands: 1967 x
Supports commands: 1933 x
MyINFO commands: 1018 x
ValidateNick commands: 1765 x
GetINFO commands: 0 x
Password commands: 116 x
Version commands: 126 x
UserIP commands: 0 x
GetNickList commands: 126 x
Search commands: 4776 x
SR commands: 105 x
CTM commands: 2060 x
RevCTM commands: 1977 x
BotINFO commands: 11 x
------------------------------------------------------------
CPU usage (60 seconds average): 0.00%
CPU time: 0:00:15
Mem usage (Old style): 1789 kB
Mem usage (Peak): 8.18 MB (11.62 MB)
VM size (Peak): 11.11 MB (14.59 MB)
------------------------------------------------------------
SendRests (Peak): 0 (0)
RecvRests (Peak): 0 (1)
SendBytes: 5.13 MB
RecvBytes: 895.17 kB
Title:
Post by: Corayzon on 24 May, 2005, 16:49:13
QuoteOriginally posted by [NL]Pur
There is scripting for changing the format of the commands.

More information please. I cant seem to find any info on the forum nor in the scripting help file for ptokax
Title: PtokaX 0.3.3.0.b17.08.nt.dbg
Post by: ignazio on 27 May, 2005, 17:56:44
hi boys I wanted to know what the commands of PtokaX are so apple trees I put on the right key of the mause thanks for your answer..

you excuse my English  :P
Title:
Post by: Dessamator on 27 May, 2005, 18:14:30
QuoteOriginally posted by ignazio
hi boys I wanted to know what the commands of PtokaX are so apple trees I put on the right key of the mause thanks for your answer..

you excuse my English  :P
apple trees???????????
didnt understand that, anyhow the default ptokax commands are these:

The following commands are available to you:

Profile specific commands:
!passwd - change your password
!ban () - permanently ban IP address of the , followed by kick. Reason is optional.
!banip - permanently ban IP address
!nickban - ban user's nick (if user is connected then he is kicked)
!unban - unban IP address or Nick
!getbanlist - display list of banned IP addresses
!tempban


i hope thats what u want, either way u can see them by urself type !help in the mainchat of ur hub ! if no other script is running it should show you ptokax's default commands !