Forums Index >> Modding >> please help me with dedicated server
Page : <1> :
You sure you followed it right?
You need to first type "cd /Applications/ThinkTanks" or something like that, and that has to be the name of your THINKTANKS FOLDER (The folder in which the application is located.
@ cerebellum
Tell me a little bit more of what your trying to do. Server type and game type. Server password protected or not. Stuff like that. I'll get you going.
OK?
Napalm
If it says no file or directory, then it merely means it can't FIND thinktanks. If you have thinktanks in say... /Applications/Games/Thinktanks/Thinktanks.app/ you would have to type "cd /Applications/Games/Thinktanks/Thinktanks.app/contents/macos/" then execute via "./thinktanks OSX" and the rest of the startup options. (remember, the clickable application is really a package, which the GUI treats as a launchable application, but the UNIX command line--Terminal that is---treats it like a folder. You won't be able to execute a directory! Also, the clickable application has the.app extension which finder hides by default--Unless the app was made by Microsoft, then it's not a package at all... They're security freaks about source code :P).
So to execute it I would type
Cd /Applications/Games/Thinktanks/Thinktanks.app/contents/macos/
./ThinkTanks OSX -dedicated -mission 'game/data/missions/ [Mis number, for example TT1_1.mis] -Game [Gametype S for scrum, TS for team scrum, B for BM, and TB for Team BM]
A useful command for finding your way around is "ls" which lists the contents of a directory--exactly as terminal sees it. So if you ls the applications folder, you'll see all the hidden extensions.
Hope this helps
Ben
Last edited: Tuesday, December 21, 2004 at 10:23:22 AM
Hey,
Umm I think I did something wrong but I'm not sure what. My thinktanks is located in a folder on my desktop/games/TT/ThinkTanks.
Then I put this in the terminal and well you can see what happened. What am I doing wrong?
Thanks for the help
Revel
Last edited: Wednesday, December 22, 2004 at 12:07:44 AM
My Terminal is looking this:
Last login: Wed Dec 22 09:04:03 on console
Welcome to Darwin!
[a80-186-15-82:~] teo% bash
a80-186-15-82:~ teo$ Cd /Applications/Games/Thinktanks/Thinktanks.app/contents/macos/
bash: Cd: command not found
a80-186-15-82:~ teo$./ThinkTanks OSX -dedicated -mission 'game/data/missions/ [Mis number, for example TT1_1.mis] -Game [Gametype S for scrum, TS for team scrum, B for BM, and TB for Team BM]Cd /Applications/Games/Thinktanks/Thinktanks.app/contents/macos/
>./ThinkTanks OSX -dedicated -mission 'game/data/missions/TT1_1.mis -Game Sbash:./ThinkTanks: No such file or directorya80-186-15-82:~ teo$
When I press enter it says 'no such file or directory'
Finnish: games = pelit
Thinktanks.app means you're making a path to the application. You need to make a path to the folder it's in.
Try this:
1) Open Terminal & type cd "space"
2) If TT is in your Dock, option click it and "Show In Finder"
3) In the finder's "View" option choose "columns". You'll be ble to see the folder it's in.
4) Drag the folder (not the application) to Terminal and it will make a path.
5) hit return
6) Type "space"
7) Paste in your mission
Something like:
./ThinkTanks.app/Contents/MacOS/ThinkTanks OSX -dedicated -mission game/data/missions/TT1_4.mis -Game S
Here's what one of mine looks like. It's in a folder called "ThinkTanks League"
Welcome to Darwin!
[Remote01s-Computer:~] remote01% cd /Applications/ThinkTanks League
[Remote01s-Computer:/Applications/ThinkTanks League] remote01%./ThinkTanks.app/Contents/MacOS/ThinkTanks OSX -dedicated -mission game/data/missions/TT1_4.mis -Game S
So... :o I did what you said and 'command not found' :
Last login: Wed Dec 22 09:08:56 on ttyp1
Welcome to Darwin!
[a80-186-15-82:~] teo% cd /Applications/Pelit
[a80-186-15-82:/Applications/Pelit] teo%./ThinkTanks.app/Contents/MacOS/ThinkTanks OSX -dedicated -mission game/data/missions/TT1_4.mis -Game S
tcsh:./ThinkTanks.app/Contents/MacOS/ThinkTanks: Command not found.
[a80-186-15-82:/Applications/Pelit] teo%
No saitko toimimaan?
You don't have to let go of one rope before grabbing the other. But you'll have to let go of one if you want to swing forward.
Who have mac and got it to work?
Aww man I was so close it started up or at least it said it did but then this happend:
Last login: Wed Dec 22 22:20:01 on ttyp1
Welcome to Darwin!
[172:~] ryan% cd /Applications/ThinkTanks
[172:/Applications/ThinkTanks] ryan%
./ThinkTanks.app/Contents/MacOS/ThinkTanks OSX -[172:/Applications/ThinkTanks] ryan%./ThinkTanks.app/Contents/MacOS/ThinkTanks OSX -dedicated -mission game/data/missions/TT1_4.mis -Game TS
Orbz> STARTING UP.
Orbz> Nonblocking terminal input properly initialized.
Orbz> Sleep time for 1ms sleep == [1ms]
Orbz> Console Initialized.
Console> Terminal control established properly.
#>
--------- Initializing MOD: Common ---------
Loading compiled script common/client/canvas.cs.
Loading compiled script common/client/audio.cs.
#>
--------- Initializing MOD: ThinkTanks ---------
Loading compiled script game/client/init.cs.
Loading compiled script game/server/init.cs.
Loading compiled script game/rankServer.cs.
#>
--------- Initializing ThinkTanks: Server ---------
Loading compiled script common/server/audio.cs.
Loading compiled script common/server/server.cs.
Loading compiled script common/server/message.cs.
Loading compiled script common/server/commands.cs.
Loading compiled script common/server/missionInfo.cs.
Loading compiled script common/server/missionLoad.cs.
Loading compiled script common/server/missionDownload.cs.
Loading compiled script common/server/clientConnection.cs.
Loading compiled script common/server/kickban.cs.
Loading compiled script game/server/scripts/commands.cs.
Loading compiled script game/server/scripts/centerPrint.cs.
Loading compiled script game/server/scripts/game.cs.
#>
--------- Starting Dedicated Server ---------
Starting multiplayer mode
Binding server port to default IP
UDP initialized on port 28000
Loading compiled script game/server/scripts/audioProfiles.cs.
Loading compiled script game/server/scripts/camera.cs.
Loading compiled script game/server/scripts/markers.cs.
Loading compiled script game/server/scripts/special.cs.
ParticleData(Lava) times[2] < times[1]
ParticleData(Lava) times[3] < times[2]
ParticleData(Torch) times[2] < times[1]
ParticleData(Torch) times[3] < times[2]
ParticleData(Rocket) times[3] < times[2]
ParticleData(Smoke) times[3] < times[2]
ParticleData(Rocksmoke) times[2] < times[1]
ParticleData(Rocksmoke) times[3] < times[2]
ParticleData(SmokeTrail) times[2] < times[1]
ParticleData(SmokeTrail) times[3] < times[2]
ParticleData(Flamethrower) times[3] < times[2]
ParticleData(toxic) times[3] < times[2]
Loading compiled script game/server/scripts/tank.cs.
Loading compiled script game/server/scripts/tankFx.cs.
Loading compiled script game/server/scripts/tankDb.cs.
Loading compiled script game/server/scripts/tankAI.cs.
*** LOADING MISSION: game/data/missions/TT1_4.mis
*** Stage 1 load
Refreshing master server list
*** Stage 2 load
Executing game/data/missions/TT1_4.mis.
*** Mission loaded
Engine initialized...
Loading compiled script game/server/dash/main.cs.
Loading compiled script game/server/dash/prefs.cs.
Loading compiled script game/server/dash/ConsoleUtilities.cs.
Loading compiled script game/server/dash/GameConnection.cs.
Compiling game/server/dash/Codes.cs...
game/server/dash/Codes.cs Line: 969 - Syntax error.
>>> Advanced script error report. Line 1069.
>>> Some error context, with ## on sides of error halt:
#> Bus error
What is wrong I'm still confused. I was so close :'(
I know I missing something simple but I don't know what.
Revel
Last edited: Wednesday, December 22, 2004 at 10:32:53 PM
It says too many arguments. :o
You have a lot of codes running. They might be conflicting with each other. Try disabling one or two and see if it can load without them.
The area at the bottom is telling you where to look.
Compiling game/server/dash/Codes.cs...
game/server/dash/Codes.cs Line: 969 - Syntax error.
>>> Advanced script error report. Line 1069.
>>> Some error context, with ## on sides of error halt:
#> Bus error
Alright I fixed that problem but now when it says this:
Last login: Thu Dec 23 11:25:29 on ttyp1
Welcome to Darwin!
[172:~] ryan% cd /Users/ryan/Desktop/games/ThinkTanks/ThinkTanks
[172:games/ThinkTanks/ThinkTanks] ryan%
./ThinkTanks.app/Contents/MacOS/ThinkTanks OSX -[172:games/ThinkTanks/ThinkTanks] ryan%./ThinkTanks.app/Contents/MacOS/ThinkTanks OSX -dedicated -mission game/data/missions/TT1_5.mis -Game TB
Orbz> STARTING UP.
Orbz> Nonblocking terminal input properly initialized.
Orbz> Sleep time for 1ms sleep == [1ms]
Orbz> Console Initialized.
Console> Terminal control established properly.
#>
--------- Initializing MOD: Common ---------
Loading compiled script common/client/canvas.cs.
Loading compiled script common/client/audio.cs.
#>
--------- Initializing MOD: ThinkTanks ---------
Loading compiled script game/client/init.cs.
Loading compiled script game/server/init.cs.
Loading compiled script game/rankServer.cs.
#>
--------- Initializing ThinkTanks: Server ---------
Loading compiled script common/server/audio.cs.
Loading compiled script common/server/server.cs.
Loading compiled script common/server/message.cs.
Loading compiled script common/server/commands.cs.
Loading compiled script common/server/missionInfo.cs.
Loading compiled script common/server/missionLoad.cs.
Loading compiled script common/server/missionDownload.cs.
Loading compiled script common/server/clientConnection.cs.
Loading compiled script common/server/kickban.cs.
Loading compiled script game/server/scripts/commands.cs.
Loading compiled script game/server/scripts/centerPrint.cs.
Loading compiled script game/server/scripts/game.cs.
#>
--------- Starting Dedicated Server ---------
Starting multiplayer mode
Binding server port to default IP
UDP initialized on port 28000
Loading compiled script game/server/scripts/audioProfiles.cs.
Loading compiled script game/server/scripts/camera.cs.
Loading compiled script game/server/scripts/markers.cs.
Loading compiled script game/server/scripts/special.cs.
ParticleData(Lava) times[2] < times[1]
ParticleData(Lava) times[3] < times[2]
ParticleData(Torch) times[2] < times[1]
ParticleData(Torch) times[3] < times[2]
ParticleData(Rocket) times[3] < times[2]
ParticleData(Smoke) times[3] < times[2]
ParticleData(Rocksmoke) times[2] < times[1]
ParticleData(Rocksmoke) times[3] < times[2]
ParticleData(SmokeTrail) times[2] < times[1]
ParticleData(SmokeTrail) times[3] < times[2]
ParticleData(Flamethrower) times[3] < times[2]
ParticleData(toxic) times[3] < times[2]
Loading compiled script game/server/scripts/tank.cs.
Loading compiled script game/server/scripts/tankFx.cs.
Loading compiled script game/server/scripts/tankDb.cs.
Loading compiled script game/server/scripts/tankAI.cs.
*** LOADING MISSION: game/data/missions/TT1_5.mis
*** Stage 1 load
Refreshing master server list
*** Stage 2 load
Executing game/data/missions/TT1_5.mis.
Missing file: game/server/scripts/tank2.cs!
Loading compiled script game/server/scripts/special.cs.
*** Mission loaded
Engine initialized...
Loading compiled script game/server/dash/main.cs.
Loading compiled script game/server/dash/prefs.cs.
Loading compiled script game/server/dash/ConsoleUtilities.cs.
Loading compiled script game/server/dash/GameConnection.cs.
Loading compiled script game/server/dash/Codes.cs.
Loading compiled script game/server/dash/UberBots.cs.
Loading compiled script game/server/scripts/ModWizardMain.cs.
Loading compiled script game/server/scripts/observer.cs.
game/server/scripts/observer.cs (1): Unable to find object: 'moveMap' attempting to call function 'bind'
game/server/scripts/observer.cs (1): Unable to find object: 'moveMap' attempting to call function 'bind'
game/server/scripts/observer.cs (1): Unable to find object: 'moveMap' attempting to call function 'bind'
Loading compiled script game/server/scripts/TKPrevention.cs.
Loading compiled script game/server/scripts/Antidiver.cs.
Sending heartbeat to master server [IP:216.116.32.49:28002]
When I go to open up TT nothing happens and it if I crtl click on it it says quit under one of the options. So I can't get in and if I say quit and then go in my server isn't there.
Whats going on? Do I have to many scriptss running or something?
Thanks for the help
Revel
I'll bet if you remove the observer script it will work. Does it always say
Loading compiled script game/server/scripts/observer.cs.
game/server/scripts/observer.cs (1): Unable to find object: 'moveMap' attempting to call function 'bind'
game/server/scripts/observer.cs (1): Unable to find object: 'moveMap' attempting to call function 'bind'
game/server/scripts/observer.cs (1): Unable to find object: 'moveMap' attempting to call function 'bind'
Is this a mod renamed TT1_5.mis? I could try and run this tonight and compare the differences.
Let me know!
Napalm
Ok I removed the observer script and it stopped doing the bind thing. Yes the mods is set as TT1_5.mis because I never knew how to do ded. Servers so I set it as that so it would show up after freudian flats in the create server screen.
Last edited: Thursday, December 23, 2004 at 11:58:39 AM
Awesome your right. Wow finally thank you so much from the help all. It worked
XD
Revel
That's why they call it a community. Glad it's working.
Napalm
KBC you mean trying without dash's codes? :o
What now:
Last login: Fri Dec 24 09:52:09 on ttyp1
Welcome to Darwin!
[a80-186-15-82:~] teo% /Applications/Pelit/ThinkTanks.app/Contents/MacOS/ThinkTanks OSX -dedicated -mission all -game ts
tcsh: /Applications/Pelit/ThinkTanks.app/Contents/MacOS/ThinkTanks: Command not found.
[a80-186-15-82:~] teo%
I go in start and hit the buton search then hit all files and folders then I type in
C:ThinkTanks then scrool down then I hit a folder under ThinkTanks then it says
Dedicated and dats how I do it
Heeelp :(
Olin tekemässä muita asioita, kun yhtäkkiä keksin miten ongelman voi ratkaista. Siis siten että voit käyttää uusia terrejä ilman dedicatedii. Luulisin että siihen sä tätä dedicatedii tartteet vai mitä? Mutta kannattaa silti yrittää saada dedicatedi toimimaan. Niin sitten voit pitää oman serverisi auki ilman, että itse olet siellä.
You don't have to let go of one rope before grabbing the other. But you'll have to let go of one if you want to swing forward.
Triv kerro miten se menee? Is that bad thing if we talk little finnish if KBC helps tomorrow? :P
Okey, it goes like this. Oletetaan, että sinulla on jo valmiiksi.mis ja.ter tiedosto. Nimeät.mis tiedoston TT1_5.mis, jolloin se ilmestyy create menuun lush nelosen jälkeen. Sitten laitat sen käyntiin ihan normaalisti create menusta, eikä sitä tyhmää virhe ilmoitusta ilmesty. Ja älä sitten pelästy, kun siinä TT1_5 tulee olemaan musta ruutu. Siihen voi tehdy itse kuvan jos haluaa, mutta mikään pakko ei tietysti ole. Ajattelin, että toikin on ihan hyvä mainita. Itse olen tehnyt yhden kuvan. :)
You don't have to let go of one rope before grabbing the other. But you'll have to let go of one if you want to swing forward.
Finnish!? I didn't realize you were using a different language on your computer. DOH! Suddenly cd /Applications/Pelit makes sense. Pelit is Finnish for game right? Is your computer set up in Finnish or English?
Try this:
1) Show contents of ThinkTanks. Does it look like this?
Changing the directory seems to be working fine.
Last login: Wed Dec 22 09:08:56 on ttyp1
Welcome to Darwin!
[a80-186-15-82:~] teo% cd /Applications/Pelit
[a80-186-15-82:/Applications/Pelit] teo%./ThinkTanks.app/Contents/MacOS/ThinkTanks OSX -dedicated -mission game/data/missions/TT1_4.mis -Game S
tcsh:./ThinkTanks.app/Contents/MacOS/ThinkTanks: Command not found.
[a80-186-15-82:/Applications/Pelit] teo%
You need to change some of the lines below, but I'm not sure to what.
./ThinkTanks.app/Contents/MacOS/ThinkTanks OSX -dedicated -mission game/data/missions/TT1_4.mis -Game S
I think it needs to look like the line above with a backslash after ThinkTanks. I had to paste a picture because these forums take the backslash out.
Last edited: Monday, December 27, 2004 at 2:57:54 PM
Brörbrröbrzkt! 8o
Do you mean
.... ThinkTanks OSX -dedicated......
Brörbrröbrzkt! 8o
Do you mean
.... ThinkTanks OSX -dedicated......
/
I
with 2 "spaces" there.
Here's the line. Download this.
Mitä meinaat? Mä taisin tippua kärryiltä :o
You don't have to let go of one rope before grabbing the other. But you'll have to let go of one if you want to swing forward.
Page : <1> :
How I make dedicated server on mac? I've tried spunkys method but it always says 'no such file or directory' !!!!!1
:[