Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
nextsessionid()

 
Post new topic   Reply to topic Printable version
 View previous topic  [C] SubSpace Continuum Biller Post :: Post Macrowhiz  View next topic  
Author Message
Dymolex
Novice


Joined: Dec 02 2002
Posts: 25
Offline

PostPosted: Wed Jan 20, 2016 1:27 am    Post subject: nextsessionid() Reply to topic Reply with quote

'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
View users profile Send private message Add User to Ignore List
Cheese
Wow Cheese is so helpful!


Joined: Mar 18 2007
Posts: 1017
Offline

PostPosted: Sun Jan 24, 2016 2:51 pm    Post subject: Reply to topic Reply with quote

why do you need this information
_________________
SSC Distension Owner
SSCU Trench Wars Developer
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Dymolex
Novice


Joined: Dec 02 2002
Posts: 25
Offline

PostPosted: Sun Jan 24, 2016 5:31 pm    Post subject: Reply to topic Reply with quote

I want to have the bestest super duper biller
Back to top
View users profile Send private message Add User to Ignore List
Cheese
Wow Cheese is so helpful!


Joined: Mar 18 2007
Posts: 1017
Offline

PostPosted: Wed Jan 27, 2016 6:20 pm    Post subject: Reply to topic Reply with quote

https://bitbucket.org/roxxkatt/subspace-continuum/wiki/SubSpace_Continuum_Biller
https://trello.com/b/sgf95dgz/subspace-continuum-biller

your efforts are probably better spent here^
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> Misc User Apps All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 399 page(s) served in previous 5 minutes.

phpBB Created this page in 0.548944 seconds : 30 queries executed (81.2%): GZIP compression disabled