I'm dying to know, where did you get this info from? Searching with the text editor for the "24" value must take ages! I did change the 18 value to 19 at location 9D74 and it does allow me to start a 25 man server now (Right now some servers are 11v12 since we have a reserved slot setup that never is allowed to fill - so technically it's a 24 man with 1 reserved slot to allow reserved players to connect). Is that the only value to change or are there more? I'd hate starting a 25man server and have it horribly crash.
endarJoin Date: 2010-07-27Member: 73256Members, Squad Five Blue
edited December 2012
I got it from Camron, if you search the forums you can probably find his original post. And yes thats the only value to change, I think it allows up to 255 players?
<!--quoteo(post=2051638:date=Dec 27 2012, 03:48 AM:name=wireaudio)--><div class='quotetop'>QUOTE (wireaudio @ Dec 27 2012, 03:48 AM) <a href="index.php?act=findpost&pid=2051638"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->I'm dying to know, where did you get this info from? Searching with the text editor for the "24" value must take ages!<!--QuoteEnd--></div><!--QuoteEEnd--> I'm guessing the person who dug out the original relative memory address used special tools, like memory dumps(or live scanning) and assembly instruction decoding, to reverse engineer the Server.exe as the limit obviously is hardcoded, in combination with lots of investigation.
You can load Server.exe into a debugger and trace the code fetching the -limit <clients> parameter to the hardcoded max limit condition test, and intentionally break/disable it. Searching for the value can be very useful if you record all the memory occurrences, change the value and rescan again, keep doing it until you've eliminated all other occurrences and you're left with only one true relative address to check.
<!--quoteo(post=2051638:date=Dec 26 2012, 10:48 PM:name=wireaudio)--><div class='quotetop'>QUOTE (wireaudio @ Dec 26 2012, 10:48 PM) <a href="index.php?act=findpost&pid=2051638"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->I'm dying to know, where did you get this info from? Searching with the text editor for the "24" value must take ages! I did change the 18 value to 19 at location 9D74 and it does allow me to start a 25 man server now (Right now some servers are 11v12 since we have a reserved slot setup that never is allowed to fill - so technically it's a 24 man with 1 reserved slot to allow reserved players to connect). Is that the only value to change or are there more? I'd hate starting a 25man server and have it horribly crash.<!--QuoteEnd--></div><!--QuoteEEnd-->
A few easy ways I can think of doing this are using common hex editors that have some more advanced search functions, like hex workshop or wxhexeditor, combined with something like IDA pro. What you're going to look for are opcodes that branch, break, or jump when evaluating against hex numeral 18 (which is decimal 24.)
Comments
and just search for the previous 6 hex digits. But I cannot take credit.
edit: <a href="http://www.unknownworlds.com/forums/index.php?showtopic=123717" target="_blank">http://www.unknownworlds.com/forums/index....howtopic=123717</a>
I'm guessing the person who dug out the original relative memory address used special tools, like memory dumps(or live scanning) and assembly instruction decoding, to reverse engineer the Server.exe as the limit obviously is hardcoded, in combination with lots of investigation.
You can load Server.exe into a debugger and trace the code fetching the -limit <clients> parameter to the hardcoded max limit condition test, and intentionally break/disable it. Searching for the value can be very useful if you record all the memory occurrences, change the value and rescan again, keep doing it until you've eliminated all other occurrences and you're left with only one true relative address to check.
thanks!
A few easy ways I can think of doing this are using common hex editors that have some more advanced search functions, like hex workshop or wxhexeditor, combined with something like IDA pro. What you're going to look for are opcodes that branch, break, or jump when evaluating against hex numeral 18 (which is decimal 24.)