Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#28 Join game when spot opens

open
nobody
None
5
2006-07-17
2006-07-17
Anonymous
No

In qtracker, if you try to join a game that is full,
you can wait till a spot opens, and then it joins. I
think this would be a fairly easy feature to program,
and very helpfull if you want to join a server that
your friends are playing in.

This could be done by pinging a server every 2-5
seconds for the ammount of players. I dont know that
much code but here is my best try:

function autojoin(serverip:string)
repeat
pause 5000 //I think pause would be in milisecs
ping serverip
until players!=playerstotal
join serverip
end

That is some combination of python, pascal, C++, and java.

Thanks,
diamondx@hawaii.rr.com

Discussion

  • Logged In: NO

    Nevermind, I just found out that you can... my bad