| Mirage Source http://www.miragesource.net/forums/ |
|
| Ubound http://www.miragesource.net/forums/viewtopic.php?f=201&t=1812 |
Page 1 of 1 |
| Author: | William [ Thu May 17, 2007 7:51 pm ] |
| Post subject: | Ubound |
I just wonder why we use Code: MAX_PLAYERS instead of Code: frmServer.socket.Ubound ?
Am I all lost or something now but would it not work the same? |
|
| Author: | Robin [ Thu May 17, 2007 7:52 pm ] |
| Post subject: | |
This is why we use HighIndex |
|
| Author: | William [ Thu May 17, 2007 7:59 pm ] |
| Post subject: | |
Robin wrote: This is why we use HighIndex
But doesn't Ubound work just as highindex? |
|
| Author: | funkynut [ Thu May 17, 2007 8:22 pm ] |
| Post subject: | |
Because the source was programmed using static arrays rather then dynamic arrays so I'm guessing either didn't know or see use for using Ubound |
|
| Author: | William [ Thu May 17, 2007 8:31 pm ] |
| Post subject: | |
If it can have highindex it should be able to have Ubound. |
|
| Author: | funkynut [ Thu May 17, 2007 8:51 pm ] |
| Post subject: | |
No I mean consty or whatever/whoever programmed probably jsut didnt think of it lol |
|
| Author: | William [ Thu May 17, 2007 8:57 pm ] |
| Post subject: | |
Cause if it works with Ubound, you dont really need to set a max player, it can have as many connections as it wish. |
|
| Author: | Tosuxo [ Thu May 17, 2007 11:23 pm ] |
| Post subject: | |
William wrote: Cause if it works with Ubound, you dont really need to set a max player, it can have as many connections as it wish.
that wouldn't be good on popular games..that would = lag if it's more than the server can handle may aswell just stick with max_players |
|
| Author: | Dragoons Master [ Thu May 17, 2007 11:33 pm ] |
| Post subject: | |
Well, you know you can't have any amount, I mean, winsocket is very limited about this. About the Ubound, you probly can use it but changing I think the computer needs a lot of processing to make such a thing like resizing the giant winsocket class. Ask Verrigan about this becouse I think he may help you better than I can... |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|