PtokaX 0.3.3.0 build 17.03 released...
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

PtokaX 0.3.3.0 build 17.03 released...

Started by PPK, 24 April, 2005, 02:40:25

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

PPK

Changelog:
QuoteFixed: Crash on bad AddRegUser from lua (thx NightLitch for report).
Fixed: !tempunban command (thx UwV for report).
Fixed: Division by zero in Lua crash.
Changed: !stat hub commands working as !stats too.

Download from PtokaX homepage :]
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

blackwings

#1
Fixed: Division by zero in Lua crash.
So you fixed it, nice ;)


Psycho_Chihuahua

QuoteOriginally posted by PPK
Changelog:
QuoteFixed: Crash on bad AddRegUser from lua (thx NightLitch for report).
Fixed: !tempunban command (thx UwV for report).
Fixed: Division by zero in Lua crash.
Changed: !stat hub commands working as !stats too.

Download from PtokaX homepage :]

Mirror also up to date  :D
PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

blackwings

#3
just a curious question:

PPK, do you consider that 17.03 is as stable as 15.25, or does ptokax needs more work on before it becomes as stable as 15.25??


ruspant

Hy guys,
I've got a problem loggin in my multichat server on 17.03

I've got a multichat written by myself in VB6 wich use Lock2Key taken from

http://dcplusplus.sourceforge.net/wiki/index.php/LockToKey

(VB6 or VB.NET are almost the same)

Ptokax seems not to recognize the $key sent back by my multichat ... but only with 17.03.
With 16.09 all works fine.

Have I missed something ?
Maybe the code is incomplete but I'm not being able to find any docs about building the $key.

Could you please post here the correct code/algorithm needed ?

txh
Ruspant

??????Hawk??????

#5
Taken from an early version of Hub Link

Also used in My  GUI/Link  working with px v17.03


'  I Copied this function from....
'
'  Shadows Direct Connect
'  Copyright (C) Andrew Osmond
'  E-Mail: [EMAIL]tasburrfoot@users.sourceforge.net[/EMAIL]
'
'  This program is free software; you can redistribute it and/or modify
'  it under the terms of the GNU General Public License as published by
'  the Free Software Foundation; either version 2 of the License, or
'  (at your option) any later version.
'
'  This program is distributed in the hope that it will be useful,
'  but WITHOUT ANY WARRANTY; without even the implied warranty of
'  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
'  GNU General Public License for more details.
'
'  You should have received a copy of the GNU General Public License
'  along with this program; if not, write to the Free Software
'  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

Public Function LockToKey(ByRef Lck As String, ByVal n As Long) As String

  Dim aByte() As Byte, h As Integer, ub As Integer
  
  'n = 5 for hub and client locks
  
  h = InStrB(1, Lck, " ")
  If h Then Lck = LeftB$(Lck, h - 1)
  'The lock only continues to the first space (Pk= comes after)
  
  'Convert it to a byte array
  ub = Len(Lck) - 1
  ReDim aByte(ub) As Byte
  aByte = StrConv(Lck, vbFromUnicode)
  
  'The first character is handled differently from the others
  h = aByte(0) Xor aByte(ub) Xor aByte(ub - 1) Xor n
  h = (h \ 16) Xor (h * 16)
  'Equivalent of bit shifting four to the right (\ 2^4) Xor four to the left (* 2^4)
  
  'If h is greater than 255, we can't get a character out of it
  Do While h > 255
    h = h - 256
  Loop
  
  'Check for illegal characters
  Select Case h
    Case 0, 5, 36, 96, 124, 126
      LockToKey = "/%DCN" & RightB$("00" & h, 6) & "%/"
    Case Else
      LockToKey = Chr$(h)
  End Select
  
  'Now the rest of the characaters in the lock are handled the same
  For n = 1 To ub
    h = aByte(n) Xor aByte(n - 1)
    
    h = (h \ 16) Xor (h * 16)

    Do While h > 255
      h = h - 256
    Loop
  
    Select Case h
      Case 0, 5, 36, 96, 124, 126
        LockToKey = LockToKey & "/%DCN" & RightB$("00" & h, 6) & "%/"
      Case Else
        LockToKey = LockToKey & Chr$(h)
    End Select
  Next
  
  Exit Function
  
End Function

PPK

QuoteOriginally posted by blackwings
as stable as 15.25
15.25 and stable  ?( 15.25 crash any small kid in few seconds  :D

QuoteOriginally posted by ruspant
Ptokax seems not to recognize the $key sent back by my multichat ... but only with 17.03.
With 16.09 all works fine.
Is your multichat server available to download  ?( I want to test it and find where is problem  :]
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

??????Hawk??????

No probs here  with my GUI/LINK  . no changes needed for 17.03

must be your end ruspant

PPK

Checked with DC1, DC2, DC++ 0.181, DC++ 0.668, CZDC++ 0.666x, StrongDC++ RC9f2 and no problems with $Key  :rolleyes:
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

witch

hola amigos!
is this version include LUASockets? lot's of ppl stays with old ptokax cose it's include LUASockets...

thx  :))



??????Hawk??????

QuoteOriginally posted by witch
hola amigos!
is this version include LUASockets? lot's of ppl stays with old ptokax cose it's include LUASockets...

thx  :))


NO  ...


but this is no reason to stay with an outdated hub soft...

what exactly do you need that you couldnt live without that requires Sockets  ????

witch

QuoteOriginally posted by ??????Hawk??????
QuoteOriginally posted by witch
hola amigos!
is this version include LUASockets? lot's of ppl stays with old ptokax cose it's include LUASockets...

thx  :))


NO  ...


but this is no reason to stay with an outdated hub soft...

what exactly do you need that you couldnt live without that requires Sockets  ????
i using very nice ShoutStats script, with out it my and some other psy trance hubs will look so poor, HERE is more info

thx  :))



PPK

QuoteOriginally posted by witch
is this version include LUASockets?
No here is no reason to include any other lib to PtokaX. If you want luasocket, lusql etc then compile dll and load lit from lua  :]
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

blackwings

#13
QuoteOriginally posted by PPK
QuoteOriginally posted by blackwings
as stable as 15.25
15.25 and stable  ?( 15.25 crash any small kid in few seconds  :D
I have used 15.25 for a long time(was easy to find this leaked beta on DC:P) and I have never had problems with 15.25 :) So 17.03 is more stable, ok, thats good to know :)

btw, what did you mean with "crash any small kid" ?(


Tw?sT?d-d?v

QuoteOriginally posted by blackwings
QuoteOriginally posted by PPK
QuoteOriginally posted by blackwings
as stable as 15.25
15.25 and stable  ?( 15.25 crash any small kid in few seconds  :D
I have used 15.25 for a long time(was easy to find this leaked beta on DC:P) and I have never had problems with 15.25 :) So 17.03 is more stable, ok, thats good to know :)

btw, what did you mean with "crash any small kid" ?(

I think he means any one (kid) could crash that build :D

PPK

QuoteOriginally posted by blackwings
btw, what did you mean with "crash any small kid" ?(
Send $MyINFO > 256 chars, send looong $GetINFO$GetINFO$GetINFO$GetINFO$GetINFO$GetINFO$GetINFO, flood with $MyINFO with special description tag... and more  :D
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

bastya_elvtars

If we are here ask BCDC developers to use luasockets then you won't have to lag the hub and shoutstats will be available independent of hubsoft. There is a good reason why they cannot implement it.
Everything could have been anything else and it would have just as much meaning.

witch

QuoteOriginally posted by PPK
QuoteOriginally posted by witch
is this version include LUASockets?
No here is no reason to include any other lib to PtokaX. If you want luasocket, lusql etc then compile dll and load lit from lua  :]
damn dude u talkin chinese now 4 me.....heheh..... can u help me with it ?(

dekuy  :))



blackwings

#18
QuoteOriginally posted by PPK
QuoteOriginally posted by blackwings
btw, what did you mean with "crash any small kid" ?(
Send $MyINFO > 256 chars, send looong $GetINFO$GetINFO$GetINFO$GetINFO$GetINFO$GetINFO$GetINFO, flood with $MyINFO with special description tag... and more  :D
well, I know that 17.03 blocks most flooders, but that wasn't I was talking about ;)

I was speaking in general here. When I asked about being stable, I meant that these kind of problems (and other similar problems)doesn't happen or less chance it happens etc = bugs that makes the software the crash(which isn't because of a flooder), disconnect users, connection resets, timeouts, users have problems to connects to each other or just disconnect everyone and other problems that could cause problems for users ?(


PPK

QuoteOriginally posted by witch
can u help me with it ?(
No, i don't know how to do it...

QuoteOriginally posted by blackwings
well, I know that 17.03 blocks most flooders
15.25 is unstable without flooding :D

QuoteOriginally posted by blackwings
bugs that makes the software the crash(which isn't because of a flooder)
Any software contains bugs... and PtokaX is not exception X(

QuoteOriginally posted by blackwings
disconnect users, connection resets
Ptokax contains udp debug and OP running small app is able to check why PtokaX disconnect users... most disconnect is "connection reset" on receiving data :rolleyes:
QuoteOriginally posted by blackwings
timeouts
If is timeout to hub then is hard to find where is problem :(
QuoteOriginally posted by blackwings
users have problems to connects to each other
Hub (PtokaX) only send connection request from one user to other. This working ok in PtokaX and not cause any problems.
QuoteOriginally posted by blackwings
or just disconnect everyone
Need to be checked why it do... udp debug help with this :)) But as i say before, most disconnect is "connection reset" on try to receive data from user, here is probably no way to fix this X(
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

witch

nah ja thx anyways, gona stay with 15.25.....love that version, very stable and no surprises 4 long time  :D



Herodes

QuoteOriginally posted by witch
nah ja thx anyways, gona stay with 15.25.....love that version, very stable and no surprises 4 long time  :D
how on earth can you balance the advantages of the latest PtXs with that old rusty 15.25 ?
It is possible to use sockets with the latest PtokaXs but the development of the sockets library is in beta stage, so it is not ppk's nor ptaczek's fault. You can still use it.. but you need to know how and you can't count on it perfoming.

anyhow .. just reading again through the fixes in the latest versions would make me forget the parting the of the sockets.

Many many thx to ppk for his hard hard work..

bastya_elvtars

QuoteOriginally posted by witch
nah ja thx anyways, gona stay with 15.25.....love that version, very stable and no surprises 4 long time  :D

Its up to you, but don't come here crying: "I have been flooded!"
Everything could have been anything else and it would have just as much meaning.

blackwings

QuoteOriginally posted by bastya_elvtars
QuoteOriginally posted by witch
nah ja thx anyways, gona stay with 15.25.....love that version, very stable and no surprises 4 long time  :D

Its up to you, but don't come here crying: "I have been flooded!"
ehm, maybe he is running Deflood 5 ;)


PPK

QuoteOriginally posted by blackwings
ehm, maybe he is running Deflood 5 ;)
Maybe, but always is too easy to crash it :P
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

SMF spam blocked by CleanTalk