DAZZLE'S UPGRADE PACK

If you haven't already done so, upgrade your game by downloading Dazzle's all-in-one upgrade pack. It comes with everything you need for today's servers. Does your blue bar freeze when joining servers? Do you lag in games? Do you get an annoying siren in Phobik's Servers? This is what you need. CLICK HERE TO DOWNLOAD.

Walrus Server Help

Admin Scripts, Radars, All Think Tanks Extras found here.

Moderator: Moderator

Post Reply
Walr0S

Walrus Server Help

Post by Walr0S »

For you who have not heard so far, I'm trying to put up a dedicated server, and seem to be having problems.
I have followed all the instructionshere for Mac, and as I speak, my terminal is open receiving and sending info to the master server. So, I have two ThinkTanks and I play from one and host from the other. I also have TT on several other computers. So, when I go to the server list, I see two servers (the same one)

Image

And another one except the IP is 12.
When I enter it, there is no load, or map name. It's really freaky. Here's the exact code I put in the terminal --

Code: Select all

./ThinkTanks.app/Contents/MacOS/ThinkTanks\ OSX -dedicated -mission game/data/missions/ALL -Game TS
And after getting some kind people from BC's server to try and join, it's always failed.
Terminal wrote:Got Connect challenge Request from IP:75.118.197.128:33005
Got Connect Request
CONNECT REQUEST FROM: Mr Walrus 75.118.197.128
CreateDirectory(game/) - Succeeded
CreateDirectory(game/server/) - Succeeded
CreateDirectory(game/server/Admin Script/) - Succeeded
CreateDirectory(game/server/Admin Script/Logs and Lists/) - Succeeded
CADD: 1109 IP:75.118.197.128:33005
Client 1109 disconnected.
Issuing Disconnect packet.
game/server/Admin Script/GameConnection.cs (220): Unable to find object: '' attempting to call function 'getAddress'
getSubStr(...): error, starting position and desired length must be >= 0: (0, -1)
CDROP: 1109 IP:75.118.197.128:33005
Got Connect challenge Request from IP:71.53.128.48:10140
Got Connect Request
CONNECT REQUEST FROM: MasterBMTBlaster 71.53.128.48
CreateDirectory(game/) - Succeeded
CreateDirectory(game/server/) - Succeeded
CreateDirectory(game/server/Admin Script/) - Succeeded
CreateDirectory(game/server/Admin Script/Logs and Lists/) - Succeeded
CADD: 1114 IP:71.53.128.48:10140
Received info request from a master server [IP:74.63.12.22:28002].
Client 1114 disconnected.
Issuing Disconnect packet.
game/server/Admin Script/GameConnection.cs (220): Unable to find object: '' attempting to call function 'getAddress'
getSubStr(...): error, starting position and desired length must be >= 0: (0, -1)
CDROP: 1114 IP:71.53.128.48:10140
Got Connect challenge Request from IP:68.20.178.3:47686
Got Connect Request
CONNECT REQUEST FROM: ombajambasaur 68.20.178.3
CreateDirectory(game/) - Succeeded
CreateDirectory(game/server/) - Succeeded
CreateDirectory(game/server/Admin Script/) - Succeeded
CreateDirectory(game/server/Admin Script/Logs and Lists/) - Succeeded
CADD: 1119 IP:68.20.178.3:47686
Client 1119 disconnected.
Issuing Disconnect packet.
game/server/Admin Script/GameConnection.cs (220): Unable to find object: '' attempting to call function 'getAddress'
getSubStr(...): error, starting position and desired length must be >= 0: (0, -1)
CDROP: 1119 IP:68.20.178.3:47686
Got Connect challenge Request from IP:24.15.133.115:1059
Got Connect Request
CONNECT REQUEST FROM: Shadow force 24.15.133.115
CreateDirectory(game/) - Succeeded
CreateDirectory(game/server/) - Succeeded
CreateDirectory(game/server/Admin Script/) - Succeeded
CreateDirectory(game/server/Admin Script/Logs and Lists/) - Succeeded
CADD: 1124 IP:24.15.133.115:1059
Got Connect challenge Request from IP:72.19.152.221:28000
Got Connect Request
CONNECT REQUEST FROM: Instant Death 72.19.152.221
CreateDirectory(game/) - Succeeded
CreateDirectory(game/server/) - Succeeded
CreateDirectory(game/server/Admin Script/) - Succeeded
CreateDirectory(game/server/Admin Script/Logs and Lists/) - Succeeded
CADD: 1129 IP:72.19.152.221:28000
Dropping bot because human player joined
Client 1124 disconnected.
Issuing Disconnect packet.
game/server/Admin Script/GameConnection.cs (220): Unable to find object: '' attempting to call function 'getAddress'
getSubStr(...): error, starting position and desired length must be >= 0: (0, -1)
CDROP: 1124 IP:24.15.133.115:1059
Client 1129 disconnected.
Issuing Disconnect packet.
game/server/Admin Script/GameConnection.cs (220): Unable to find object: '' attempting to call function 'getAddress'
getSubStr(...): error, starting position and desired length must be >= 0: (0, -1)
CDROP: 1129 IP:72.19.152.221:28000
Adding bot because human player left
Received info request from a master server [IP:74.63.12.22:28002].
Sending heartbeat to master server [IP:74.63.12.22:28002]
Received info request from a master server [IP:74.63.12.22:28002].
Got Connect challenge Request from IP:70.110.233.229:50285
Got Connect Request
CONNECT REQUEST FROM: player001 70.110.233.229
CreateDirectory(game/) - Succeeded
CreateDirectory(game/server/) - Succeeded
CreateDirectory(game/server/Admin Script/) - Succeeded
CreateDirectory(game/server/Admin Script/Logs and Lists/) - Succeeded
CADD: 1135 IP:70.110.233.229:50285
Dropping bot because human player joined
Received info request from a master server [IP:74.63.12.22:28002].
Client 1135 disconnected.
Issuing Disconnect packet.
game/server/Admin Script/GameConnection.cs (220): Unable to find object: '' attempting to call function 'getAddress'
getSubStr(...): error, starting position and desired length must be >= 0: (0, -1)
CDROP: 1135 IP:70.110.233.229:50285
Adding bot because human player left
Got Connect challenge Request from IP:70.110.233.229:50285
Got Connect Request
CONNECT REQUEST FROM: player001 70.110.233.229
CreateDirectory(game/) - Succeeded
CreateDirectory(game/server/) - Succeeded
CreateDirectory(game/server/Admin Script/) - Succeeded
CreateDirectory(game/server/Admin Script/Logs and Lists/) - Succeeded
CADD: 1141 IP:70.110.233.229:50285
Dropping bot because human player joined
Sending heartbeat to master server [IP:74.63.12.22:28002]
Client 1141 disconnected.
Issuing Disconnect packet.
game/server/Admin Script/GameConnection.cs (220): Unable to find object: '' attempting to call function 'getAddress'
getSubStr(...): error, starting position and desired length must be >= 0: (0, -1)
CDROP: 1141 IP:70.110.233.229:50285
Adding bot because human player left
Received info request from a master server [IP:74.63.12.22:28002].
Client 1083 disconnected.
Issuing Disconnect packet.
game/server/Admin Script/GameConnection.cs (220): Unable to find object: '' attempting to call function 'getAddress'
getSubStr(...): error, starting position and desired length must be >= 0: (0, -1)
CDROP: 1083 IP:75.72.220.111:49902
Received info request from a master server [IP:74.63.12.22:28002].
Sending heartbeat to master server [IP:74.63.12.22:28002]
Received info request from a master server [IP:74.63.12.22:28002].
Received info request from a master server [IP:74.63.12.22:28002].
Got Connect challenge Request from IP:87.250.112.172:1097
Got Connect Request
CONNECT REQUEST FROM: Metal 87.250.112.172
CreateDirectory(game/) - Succeeded
CreateDirectory(game/server/) - Succeeded
CreateDirectory(game/server/Admin Script/) - Succeeded
CreateDirectory(game/server/Admin Script/Logs and Lists/) - Succeeded
CADD: 1147 IP:87.250.112.172:1097
Client 1147 disconnected.
Issuing Disconnect packet.
game/server/Admin Script/GameConnection.cs (220): Unable to find object: '' attempting to call function 'getAddress'
getSubStr(...): error, starting position and desired length must be >= 0: (0, -1)
CDROP: 1147 IP:87.250.112.172:1097
Sending heartbeat to master server [IP:74.63.12.22:28002]
Received info request from a master server [IP:74.63.12.22:28002].
Received info request from a master server [IP:74.63.12.22:28002].
Sending heartbeat to master server [IP:74.63.12.22:28002]
Received info request from a master server [IP:74.63.12.22:28002].
Received info request from a master server [IP:74.63.12.22:28002].
Sending
I'm not sure if that helps either. But if anyone has any help, please say so...

Thanks!
Chester :rockon:

UPDATE I'm using ACASv3(final) if that helps...
User avatar
MusickTMG
Veteran Light
Veteran Light
Posts: 1903
Joined: Mon Jun 25, 2007 8:59 pm
Location: San Diego, California
Contact:

Re: Walrus Server Help

Post by MusickTMG »

Your problem is in this line of code

Code: Select all

./ThinkTanks.app/Contents/MacOS/ThinkTanks\ OSX -dedicated -mission game/data/missions/ALL -Game TS
the part where it says game/data/missions/all is incorrect. There is no mission file in your game that is called ALL. Here are a few things that you can change it to.

1. All the lush missions .mis names start with tt1_ So if you want your server to go through all the LUSH missions in your game, you can put this in

Code: Select all

./ThinkTanks.app/Contents/MacOS/ThinkTanks\ OSX -dedicated -mission GREEN -Game TS
You can also rename all your mission files to tt1_1.mis tt1_2.mis and so on, as many as you have, and the server will automatically loop all the missions that have the tt1_ before them. I made a long explanation of this a while back, i will try to find it and post a link

2. Another thing that you can do is put in a mission name. Like so

Code: Select all

./ThinkTanks.app/Contents/MacOS/ThinkTanks\ OSX -dedicated -mission game/data/missions/walrus1.mis -Game TS
Putting that in will start the server with that mission being the first one, and the only one that will be hosted. But, if you want to loop through many missions at once, you can also use the Mission Loader (Which can be found here

Hope that helps,and everything else that you did looks correct.

Musick-TMG- :)
Musick-TMG-

:duckie: "I got a idea"
User avatar
LGM
Site Admin
Site Admin
Posts: 2100
Joined: Fri Dec 29, 2006 12:59 pm
Location: Very Northwest WA
Contact:

Re: Walrus Server Help

Post by LGM »

Putting ALL in the line makes it serve up the stock missions... all of them. But it looks like you forgot the space between "mission" and "ALL"

From the TT Readme.html-
Question: Can I host a dedicated server for ThinkTanks?

Answer: Yes. On Windows, if you chose to install a shortcut in the Start Menu, then you will find dedicated server shortcuts there too. On Linux, there is a directory of dedicated server scripts available. To start a server from the command line on Windows and Linux type:


ThinkTanks -dedicated -mission <missionName> -game <B|TB|S|TS>

where,

missionName can either be the name of a mission (full path from app directory, so game/data/missions/TT1_1.mis, e.g.) or one of GREEN, BLUE, RED, or ALL which will cause game to cycle on that mission (or all the lush missions in the case of GREEN or all missions in the case of ALL).

And,

B - battlemode, TB - team battlemode, S - scrum, TS - team scrum


If you are using a Macintosh, you will do similarly, but you need to type the name of the application inside the application package. So, from the command-line from the directory that contains the application package, you would type


./ThinkTanks.app/Contents/MacOS/ThinkTanks\ OSX -dedicated -mission <missionName> -Game <B|TB|S|TS>


where <missionName> and <B|TB|S|TS> have the same meaning as described above for Windows and Linux.

User avatar
MusickTMG
Veteran Light
Veteran Light
Posts: 1903
Joined: Mon Jun 25, 2007 8:59 pm
Location: San Diego, California
Contact:

Re: Walrus Server Help

Post by MusickTMG »

@^

Did not know it had a cycle all the missions function. I assume that the line of code would look like this

Code: Select all

./ThinkTanks.app/Contents/MacOS/ThinkTanks\ OSX -dedicated -mission ALL -Game TS


That said, there is another option for you Walrus. You can use that line of code, to loop all the missions in your game/data/missions folder (According to LGM)
Musick-TMG-

:duckie: "I got a idea"
User avatar
LGM
Site Admin
Site Admin
Posts: 2100
Joined: Fri Dec 29, 2006 12:59 pm
Location: Very Northwest WA
Contact:

Re: Walrus Server Help

Post by LGM »

^ I suppose it would loop all the missions, but don't really know. I know it does loop the stock ones if that's all you have.
Walr0S

Re: Walrus Server Help

Post by Walr0S »

:thanks: :thanks: :thanks:

Yay, it works.
Thanks to all who helped! :)

I am now a happy walrus!

-Chester
User avatar
rOOts
A Few Broken Fenders
A Few Broken Fenders
Posts: 147
Joined: Sat Feb 21, 2009 12:35 am
Location: Philippines
Contact:

Re: Walrus Server Help

Post by rOOts »

and how do i see it?
Image
Think Tanks Player
ThinkTanks ROCKS!
___________________________________________________________________________
User avatar
LGM
Site Admin
Site Admin
Posts: 2100
Joined: Fri Dec 29, 2006 12:59 pm
Location: Very Northwest WA
Contact:

Re: Walrus Server Help

Post by LGM »

ahem... Kunta Kinte, you should look to see how old the thread is. You've been bumping old threads that are out of date. Check the posts, and if it's old, leave it alone. A month with no posts is similar to death. Let them rest in peace.

Walrus stopped running his server a while back. My last post in the thread was from November. This thread needs to die.
Post Reply