I'll Paypal you $50

despairdespair Join Date: 2012-11-01 Member: 165746Members
if you tell me what to hexedit in the server.exe to increase max slots (and how to find out what to hexedit again in future patches)

PM me

Comments

  • Chaddcl0psChaddcl0ps Join Date: 2012-12-20 Member: 175689Members
    Increase max slots the server uses? Just add the -limit tag. ex "-limit 16" or "-limit 24"
  • endarendar Join Date: 2010-07-27 Member: 73256Members, Squad Five Blue
    block 9D74, 7E to EB.

    and just search for the previous 6 hex digits. But I cannot take credit.
  • TechnIckSTechnIckS Join Date: 2007-01-14 Member: 59616Members
    well despair, did you pay endar up? :)
  • TechnIckSTechnIckS Join Date: 2007-01-14 Member: 59616Members
    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.
  • endarendar Join Date: 2010-07-27 Member: 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?

    edit: <a href="http://www.unknownworlds.com/forums/index.php?showtopic=123717" target="_blank">http://www.unknownworlds.com/forums/index....howtopic=123717</a>
  • VitdomVitdom Join Date: 2012-04-30 Member: 151345Members, Reinforced - Supporter, Reinforced - Silver, Reinforced - Gold, Reinforced - Diamond, Reinforced - Shadow, WC 2013 - Shadow
    edited December 2012
    <!--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.
  • TechnIckSTechnIckS Join Date: 2007-01-14 Member: 59616Members
    well it worked! I am using 3 servers 12v12 + 1 reserved slot! works great so far for a few hours at max capacity.

    thanks!
  • AlphaWolfAlphaWolf Join Date: 2003-01-11 Member: 12175Members
    <!--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.)
  • ZaggyZaggy NullPointerException The Netherlands Join Date: 2003-12-10 Member: 24214Forum Moderators, NS2 Playtester, Reinforced - Onos, Subnautica Playtester
    Closing thread as per request of <a href="http://www.unknownworlds.com/ns2/forums/index.php?showuser=165746" target="_blank">Despair</a>.
This discussion has been closed.