T3d 1.1 B3 - dedicated server mission cycling
by Donald Teal · in Torque 3D Professional · 12/06/2010 (11:31 am) · 10 replies
I am attempting to set up my dedicated server. I have the server set up to run with
"C:\Torque\Torque 3D 2009 Pro 1.1 Beta 3\My Projects\Valhyre FPS\game\Valhyre FPS.exe" -dedicated -mission levels\TestLevelEmpty.mis
also have tried
"C:\Torque\Torque 3D 2009 Pro 1.1 Beta 3\My Projects\Valhyre FPS\game\Valhyre FPS.exe" -dedicated -mission levels\islandHideaway.mis TestLevelEmpty.mis
and
"C:\Torque\Torque 3D 2009 Pro 1.1 Beta 3\My Projects\Valhyre FPS\game\Valhyre FPS.exe" -dedicated -mission levels\islandHideaway.mis levels\TestLevelEmpty.mis
The server starts and runs fine, but the problem is it fails to load mission on cycle. can someone help push me in the right direction on this. Also once it does cycle will it cycle through all missions in the levels folder or just those listed in the command line? Or do they have to be set up in a file some how?
Thanks in advance
"C:\Torque\Torque 3D 2009 Pro 1.1 Beta 3\My Projects\Valhyre FPS\game\Valhyre FPS.exe" -dedicated -mission levels\TestLevelEmpty.mis
also have tried
"C:\Torque\Torque 3D 2009 Pro 1.1 Beta 3\My Projects\Valhyre FPS\game\Valhyre FPS.exe" -dedicated -mission levels\islandHideaway.mis TestLevelEmpty.mis
and
"C:\Torque\Torque 3D 2009 Pro 1.1 Beta 3\My Projects\Valhyre FPS\game\Valhyre FPS.exe" -dedicated -mission levels\islandHideaway.mis levels\TestLevelEmpty.mis
The server starts and runs fine, but the problem is it fails to load mission on cycle. can someone help push me in the right direction on this. Also once it does cycle will it cycle through all missions in the levels folder or just those listed in the command line? Or do they have to be set up in a file some how?
Thanks in advance
About the author
#2
12/06/2010 (11:57 am)
k, will give that go. Thanks
#3
12/06/2010 (11:58 am)
also don't include spaces in the mission filename as it treats it as two words. Let me know how you get on :)
#4
I had already taken spaces out of the mission names after seeing others having problems in my forums search while trying to get this going. Now its off to figure this out.
12/06/2010 (3:31 pm)
ok well that got it cycling but its not properly loading the missions. missing terrains and other things randomly. I had already taken spaces out of the mission names after seeing others having problems in my forums search while trying to get this going. Now its off to figure this out.
#5
12/06/2010 (3:48 pm)
hmm.. worth looking at your mission filename and see what terrains its using, it may have the same issue with spaces if your terrains have spaces?
#6
after some testing, even if I place the weapons in the mission and pick them up I can not cycle them. it just changes the weapon when you pick it up.
although I did see the bots change weapons
again any info if greatly appreciated
12/07/2010 (1:17 am)
ok got that fixed, or seems fixed for now. I am noticing that my weapons don't cycle when running from the dedicated server. I have their datablocks in /scripts/server/weapons/ folder. this works fine on a client/host. when I try and cycle I get this in the command line screen "mapping string: cycleWeapon to index: 5"after some testing, even if I place the weapons in the mission and pick them up I can not cycle them. it just changes the weapon when you pick it up.
although I did see the bots change weapons
again any info if greatly appreciated
#7
12/07/2010 (1:36 am)
Just to check - comment out everything that says "$zoomon" if you haven't already, there's a nasty (weapons related) global in there which causes issues on a dedicated server (cos I remember seeing a thread about it)
#8
12/07/2010 (2:23 am)
cool, will try that. I had not seen that.
#9
12/07/2010 (3:20 am)
I think it's in inventory.cs ... can't quite remember.
#10
tried this and it did not fix the problem. gonna go back and check other things when I get the chance tonight.
12/07/2010 (1:35 pm)
yeah from this post www.torquepowered.com/community/forums/viewthread/121325tried this and it did not fix the problem. gonna go back and check other things when I get the chance tonight.
Torque Owner Jules
Something2Play
"C:TorqueTorque 3D 2009 Pro 1.1 Beta 3ExamplesFPS ExamplegameFPS Example.exe" -dedicated -mission levels/dividingbridge12.mis
You have your slash the wrong way round on the levels bit.
Also if no one is in the game it will go to the next mission on game end, there is a piece of code that increments missions in game.cs I believe