not sure if anyone has released this here or not. I didn't come up with this just added the vars at the top to make it easier to switch when needed
helps a lot with the spam bot crashing d2nt
at the top of your NTBot.ntj add this
Code:
///////////////////////////////////////////////////
// characters in your game setting: //
///////////////////////////////////////////////////
var characterdiff = "40"; //use this to keep those pesky spam bots out of the f'ing game
//note you must manually hit the check box the first time for this to work
var maxNumberOfPlayersss = "8"; //use this to set the maximum number of players allowed in your game
then find this and add the red part
Code:
controlData.click(controlData.controls.lobby.button.create);
[COLOR="Red"]//controlData.click(controlData.controls.lobby.create.button.useCharacterDifference);//checks the use character diff box...does this every time so no go
controlData.setText(controlData.controls.lobby.create.editBox.characterDifference,(characterdiff)); //level restriction
controlData.setText(controlData.controls.lobby.create.editBox.maxNumberOfPlayers, (maxNumberOfPlayersss)); //max players
[/COLOR] nextGameMake = GetTickCount() + createGameTimeout; // set our timeout
sendEventToOOG(D2NT_MGR_PRINT_STATUS, location.name, 0);