Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?
You are not logged in.
If I were to list the lobby to determine if that room exists and call JoinRoom versus just using CreateJoinRoom, would it provide a performance/resource/internet/any advantage in any way?
Offline
I'd guess that even if there were any benefits, they'd be so small that you wouldn't notice them as creating the room is a one time thing so it wouldnt have any effect after you've actually connected
Offline
If its a new world, how would it call joinroom if there hasnt been a world made?
thanks zoey aaaaaaaaaaaand thanks latif for the avatar
Offline
If its a new world, how would it call joinroom if there hasnt been a world made?
You check if it is already created, and only call JoinRoom if it is (and call CreateJoinRoom otherwise)
Offline
yes
you don't have to load version from bigDB
Offline
yes
you don't have to load version from bigDB
Just wanted to point out that loading version from bigDB isn't obligatory unless you want too, although it is the best.
And yes there is a benefit, less bandwidth usage.
When calling CreateJoinRoom PlayerIOClient attempts to call CreateRoom on their servers, to open a new server if it isn't open already.
However, those changes aren't noticed and they do no real impact on the bot.
Offline
I think you'll probably end up being less efficient by first checking the entire lobby and then determining what method to use versus just taking the easy route, but that's purely based off assumptions.
Offline
[ Started around 1714053526.2941 - Generated in 0.042 seconds, 13 queries executed - Memory usage: 1.44 MiB (Peak: 1.56 MiB) ]