Author |
Message |
Dymolex Novice
Joined: Dec 02 2002 Posts: 25 Offline
|
Posted: Wed Jan 20, 2016 1:27 am Post subject: nextsessionid() |
|
|
|
|
'Get the next session ID. It's a number which identifies packets
Public Function NextSessionID(ServerID As Integer) As String
With ServerList(ServerID)
Call CopyMemory(ByVal Pointer, .SessionID, 4)
.SessionID = .SessionID + 1 'Increment afterwards: always starts at zero
NextSessionID = Pointer
End With
End Function
I've been trying to remove a bug in catid's vb biller (in lates.zip)
with every packet sent it counts the number of them and sends it with the packets.
but what happens when it reaches the last max (2147483647 (for long type variable))?
it's sorta impossible to test this cause the max it too big to wait for.
does it reset it to zero once it reaches the max or do I have to recycle the zone and set it to zero? |
|
Back to top |
|
|
Cheese Wow Cheese is so helpful!
Joined: Mar 18 2007 Posts: 1017 Offline
|
Posted: Sun Jan 24, 2016 2:51 pm Post subject: |
|
|
|
|
why do you need this information _________________ SSC Distension Owner
SSCU Trench Wars Developer |
|
Back to top |
|
|
Dymolex Novice
Joined: Dec 02 2002 Posts: 25 Offline
|
Posted: Sun Jan 24, 2016 5:31 pm Post subject: |
|
|
|
|
I want to have the bestest super duper biller |
|
Back to top |
|
|
Cheese Wow Cheese is so helpful!
Joined: Mar 18 2007 Posts: 1017 Offline
|
|
Back to top |
|
|
|