Tremulous Forum

Community => Servers => Topic started by: xtrem on December 15, 2009, 06:45:22 pm

Title: Server up but no commands?!
Post by: xtrem on December 15, 2009, 06:45:22 pm
Hello guys...
Today i tested to make a server. At first i made it at windows and it was realy realy easy... All worked perfect!
But my Internet is to slow and the server was laggy so i put it up at my linux vroot server.
i followed the tutorial http://tremulous.net/forum/index.php?topic=8707.0
Server is online and i can join.... But i cant use any kind of commands!!!
i tryied !help in console but nothing work... I tried it in game but same...

"
!help
broadcast: print "server: !help\n"
"

that is what he say..
Maybe it is my game.qvm?
I dont use the default because of the commands.. (i tested the qvm on windows and it work great!)

Pls help me and if it is the qvm, could you give me a good for linux with a lot of commands?
Title: Re: Server up but no commands?!
Post by: Kiwi on December 15, 2009, 10:08:40 pm
If your running a 1.2 beta server, the game.qvm packed with it comes with hardly any commands, and they all start with / (ie /adminhelp, /listplayers, ect).  If your trying to run a 1.1 server, try using the qvm found here (http://projects.mercenariesguild.net/projects/lakitu7-qvm/files)(5.50).

Best Regards,
Kiwi
Title: Re: Server up but no commands?!
Post by: xtrem on December 16, 2009, 12:45:42 pm
Thanks but it still dont work... Noe the server dont start anymore =(
I think i need a newer tremded but i only got some for windows?!

Edit: Ok, i tried a new tremded.x86 and a new game.qvm but i got this error:

recursive error after: G_ParseSpawnVars: found  when expecting {

I googled it and it says that the game.qvm and the treded.x86 not compatible.
Can anyone link me 2 compatible files with lot of good commands?
Thanks a lot!


Error log:


root@V150:~# /usr/local/games/tremulous/tremded.x86 +set dedicated 2 +exec server.cfg
tremulous 1.1.0_SVN1116 linux-x86 Sep 21 2008
----- FS_Startup -----
Current search path:
/root/.tremulous/base
/usr/local/games/tremulous/base/vms-1.1.0.pk3 (4 files)
/usr/local/games/tremulous/base/map-uncreation-1.1.0.pk3 (110 files)
/usr/local/games/tremulous/base/map-tremor-1.1.0.pk3 (45 files)
/usr/local/games/tremulous/base/map-transit-1.1.0.pk3 (135 files)
/usr/local/games/tremulous/base/map-niveus-1.1.0.pk3 (134 files)
/usr/local/games/tremulous/base/map-nexus6-1.1.0.pk3 (151 files)
/usr/local/games/tremulous/base/map-karith-1.1.0.pk3 (118 files)
/usr/local/games/tremulous/base/map-atcs-1.1.0.pk3 (87 files)
/usr/local/games/tremulous/base/map-arachnid2-1.1.0.pk3 (67 files)
/usr/local/games/tremulous/base/data-1.1.0.pk3 (1229 files)
/usr/local/games/tremulous/base

----------------------
2080 files in pk3 files
execing default.cfg
execing autogen_server.cfg
execing autoexec.cfg
Hunk_Clear: reset the hunk ok
--- Common Initialization Complete ---
IP: 127.0.0.1
IP: 87.119.203.228
IP6: ::1
Opening IP socket: 0.0.0.0:30720                                               execing server.cfg
------ Server Initialization ------
Server: niveus
Hunk_Clear: reset the hunk ok
----- FS_Startup -----
Current search path:
/root/.tremulous/base
/usr/local/games/tremulous/base/vms-1.1.0.pk3 (4 files)
/usr/local/games/tremulous/base/map-uncreation-1.1.0.pk3 (110 files)
/usr/local/games/tremulous/base/map-tremor-1.1.0.pk3 (45 files)
/usr/local/games/tremulous/base/map-transit-1.1.0.pk3 (135 files)
/usr/local/games/tremulous/base/map-niveus-1.1.0.pk3 (134 files)
/usr/local/games/tremulous/base/map-nexus6-1.1.0.pk3 (151 files)
/usr/local/games/tremulous/base/map-karith-1.1.0.pk3 (118 files)
/usr/local/games/tremulous/base/map-atcs-1.1.0.pk3 (87 files)
/usr/local/games/tremulous/base/map-arachnid2-1.1.0.pk3 (67 files)
/usr/local/games/tremulous/base/data-1.1.0.pk3 (1229 files)
/usr/local/games/tremulous/base

----------------------
4160 files in pk3 files
Loading vm file vm/game.qvm...
...which has vmMagic VM_MAGIC_VER2
Loading 746 jump table targets
VM file game compiled to 1041421 bytes of code
game loaded in 8928512 bytes on the hunk
------- Game Initialization -------
gamename: base
gamedate: Mar 27 2006
------------------------------------------------------------
InitGame: \sv_hostname\^1[^7HG^1] C^7lan ^1S^7erver^7\sv_minRate\5000\sv_maxRate\15000\sv_minPing\0\sv_maxPing\0\g_needpass\0\sv_allowdownload\1\sv_maxclients\24\g_suddenDeathTime\30\timelimit\100\version\tremulous 1.1.0_SVN1116 linux-x86 Sep 21 2008\protocol\69\mapname\niveus\sv_privateClients\0\gamename\base\g_maxGameClients\0
********************
ERROR: G_ParseSpawnVars: found  when expecting {
********************
----- Server Shutdown (Server crashed: G_ParseSpawnVars: found  when expecting {) -----
Resolving master.tremulous.net
master.tremulous.net resolved to 67.222.136.108:30710
Sending heartbeat to master.tremulous.net
Sending heartbeat to master.tremulous.net
==== ShutdownGame ====
ShutdownGame:
------------------------------------------------------------
recursive error after: G_ParseSpawnVars: found  when expecting {
root@V150:~#
Title: Re: Server up but no commands?!
Post by: Kiwi on December 16, 2009, 10:41:02 pm
You should use Lakitu 7's (http://projects.mercenariesguild.net/projects/lakitu7-qvm/files) qvm(Direct Download (http://projects.mercenariesguild.net/attachments/download/50/game.qvm)).
You should also use the standard tremed from here (http://projects.mercenariesguild.net/projects/mgtremded/files) (Direct Download (http://projects.mercenariesguild.net/attachments/download/68/tremded.x86)).
Title: Re: Server up but no commands?!
Post by: xtrem on December 17, 2009, 01:09:27 pm
Damn it dont work...


root@V150:~# /usr/local/games/tremulous/tremded.x86 +set dedicated 2 +exec server.cfg
tremulous 1.1.0_SVN1116 linux-x86 Sep 21 2008
----- FS_Startup -----
Current search path:
/root/.tremulous/base
/usr/local/games/tremulous/base/vms-1.1.0.pk3 (4 files)
/usr/local/games/tremulous/base/map-uncreation-1.1.0.pk3 (110 files)
/usr/local/games/tremulous/base/map-tremor-1.1.0.pk3 (45 files)
/usr/local/games/tremulous/base/map-transit-1.1.0.pk3 (135 files)
/usr/local/games/tremulous/base/map-niveus-1.1.0.pk3 (134 files)
/usr/local/games/tremulous/base/map-nexus6-1.1.0.pk3 (151 files)
/usr/local/games/tremulous/base/map-karith-1.1.0.pk3 (118 files)
/usr/local/games/tremulous/base/map-atcs-1.1.0.pk3 (87 files)
/usr/local/games/tremulous/base/map-arachnid2-1.1.0.pk3 (67 files)
/usr/local/games/tremulous/base/data-1.1.0.pk3 (1229 files)
/usr/local/games/tremulous/base

----------------------
2080 files in pk3 files
execing default.cfg
execing autogen_server.cfg
execing autoexec.cfg
Hunk_Clear: reset the hunk ok
--- Common Initialization Complete ---
IP: 127.0.0.1
IP: 87.119.203.228
IP6: ::1
Opening IP socket: 0.0.0.0:30720                                               execing server.cfg
------ Server Initialization ------
Server: niveus
Hunk_Clear: reset the hunk ok
----- FS_Startup -----
Current search path:
/root/.tremulous/base
/usr/local/games/tremulous/base/vms-1.1.0.pk3 (4 files)
/usr/local/games/tremulous/base/map-uncreation-1.1.0.pk3 (110 files)
/usr/local/games/tremulous/base/map-tremor-1.1.0.pk3 (45 files)
/usr/local/games/tremulous/base/map-transit-1.1.0.pk3 (135 files)
/usr/local/games/tremulous/base/map-niveus-1.1.0.pk3 (134 files)
/usr/local/games/tremulous/base/map-nexus6-1.1.0.pk3 (151 files)
/usr/local/games/tremulous/base/map-karith-1.1.0.pk3 (118 files)
/usr/local/games/tremulous/base/map-atcs-1.1.0.pk3 (87 files)
/usr/local/games/tremulous/base/map-arachnid2-1.1.0.pk3 (67 files)
/usr/local/games/tremulous/base/data-1.1.0.pk3 (1229 files)
/usr/local/games/tremulous/base

----------------------
4160 files in pk3 files
Loading vm file vm/game.qvm...
...which has vmMagic VM_MAGIC_VER2
Loading 746 jump table targets
VM file game compiled to 1041421 bytes of code
game loaded in 8928512 bytes on the hunk
------- Game Initialization -------
gamename: base
gamedate: Mar 27 2006
------------------------------------------------------------
InitGame: \sv_maxPing\0\sv_minPing\0\sv_maxRate\15000\sv_minRate\5000\sv_hostname\^1[^7HG^1] C^7lan ^1S^7erver^7\g_needpass\0\sv_allowdownload\1\sv_maxclients\24\g_suddenDeathTime\30\timelimit\100\version\tremulous 1.1.0_SVN1116 linux-x86 Sep 21 2008\protocol\69\mapname\niveus\sv_privateClients\0\gamename\base\g_maxGameClients\0
********************
ERROR: G_ParseSpawnVars: found 4 when expecting {
********************
----- Server Shutdown (Server crashed: G_ParseSpawnVars: found 4 when expecting {) -----
Resolving master.tremulous.net
master.tremulous.net resolved to 67.222.136.108:30710
Sending heartbeat to master.tremulous.net
Sending heartbeat to master.tremulous.net
==== ShutdownGame ====
ShutdownGame:
------------------------------------------------------------
recursive error after: G_ParseSpawnVars: found 4 when expecting {



i try to reinstall it now...

Edit: Reinstalled all and changed the game.qvm and tremded with yours:



root@V150:~# /usr/local/games/tremulous/tremded.x86 +set dedicated 1 +map atcs
tremulous 1.1.0_SVN1116 linux-x86 Sep 21 2008
----- FS_Startup -----
Current search path:
/root/.tremulous/base
/usr/local/games/tremulous/base/vms-1.1.0.pk3 (4 files)
/usr/local/games/tremulous/base/map-uncreation-1.1.0.pk3 (110 files)
/usr/local/games/tremulous/base/map-tremor-1.1.0.pk3 (45 files)
/usr/local/games/tremulous/base/map-transit-1.1.0.pk3 (135 files)
/usr/local/games/tremulous/base/map-niveus-1.1.0.pk3 (134 files)
/usr/local/games/tremulous/base/map-nexus6-1.1.0.pk3 (151 files)
/usr/local/games/tremulous/base/map-karith-1.1.0.pk3 (118 files)
/usr/local/games/tremulous/base/map-atcs-1.1.0.pk3 (87 files)
/usr/local/games/tremulous/base/map-arachnid2-1.1.0.pk3 (67 files)
/usr/local/games/tremulous/base/data-1.1.0.pk3 (1229 files)
/usr/local/games/tremulous/base

----------------------
2080 files in pk3 files
execing default.cfg
execing autogen_server.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
--- Common Initialization Complete ---
IP: 127.0.0.1
IP: 87.119.203.228
IP6: ::1
Opening IP socket: 0.0.0.0:30720                                               ------ Server Initialization ------
Server: atcs
Hunk_Clear: reset the hunk ok
----- FS_Startup -----
Current search path:
/root/.tremulous/base
/usr/local/games/tremulous/base/vms-1.1.0.pk3 (4 files)
/usr/local/games/tremulous/base/map-uncreation-1.1.0.pk3 (110 files)
/usr/local/games/tremulous/base/map-tremor-1.1.0.pk3 (45 files)
/usr/local/games/tremulous/base/map-transit-1.1.0.pk3 (135 files)
/usr/local/games/tremulous/base/map-niveus-1.1.0.pk3 (134 files)
/usr/local/games/tremulous/base/map-nexus6-1.1.0.pk3 (151 files)
/usr/local/games/tremulous/base/map-karith-1.1.0.pk3 (118 files)
/usr/local/games/tremulous/base/map-atcs-1.1.0.pk3 (87 files)
/usr/local/games/tremulous/base/map-arachnid2-1.1.0.pk3 (67 files)
/usr/local/games/tremulous/base/data-1.1.0.pk3 (1229 files)
/usr/local/games/tremulous/base

----------------------
4160 files in pk3 files
Loading vm file vm/game.qvm...
...which has vmMagic VM_MAGIC_VER2
Loading 746 jump table targets
VM file game compiled to 1041421 bytes of code
game loaded in 8928512 bytes on the hunk
------- Game Initialization -------
gamename: base
gamedate: Mar 27 2006
------------------------------------------------------------
InitGame: \sv_maxPing\0\sv_minPing\0\sv_maxRate\15000\sv_minRate\5000\sv_hostname\^1[^7HG^1] C^7lan ^1S^7erver^7\version\tremulous 1.1.0_SVN1116 linux-x86 Sep 21 2008\timelimit\0\protocol\69\mapname\atcs\sv_privateClients\0\sv_maxclients\8\sv_allowDownload\0\gamename\base\g_maxGameClients\0\g_suddenDeathTime\0\g_needpass\0
********************
ERROR: G_ParseSpawnVars: found  when expecting {
********************
----- Server Shutdown (Server crashed: G_ParseSpawnVars: found  when expecting {) -----
==== ShutdownGame ====
ShutdownGame:
------------------------------------------------------------
recursive error after: G_ParseSpawnVars: found  when expecting {
Title: Re: Server up but no commands?!
Post by: Kiwi on December 18, 2009, 03:12:33 pm
Where did you put the newly downloaded tremded and game.qvm?
The tremded should go into "/usr/local/games/tremulous/"
and your game.qvm should go into "[UserName]/.tremulous/base/vm/"
Title: Re: Server up but no commands?!
Post by: Silver on December 20, 2009, 03:59:06 pm
I just lightly skimmed this but what OS are you using?  I had a CentOS server and I had to have BOFH compile the tremded and the qvm for me because of outdated C libraries.  You might have to get the source for the qvm/tremded then compile them yourself on the server.
Title: Re: Server up but no commands?!
Post by: David on December 20, 2009, 05:05:14 pm
You also shouldn't be running it as root.  Ever.
Title: Re: Server up but no commands?!
Post by: Silver on December 20, 2009, 08:55:24 pm
You also shouldn't be running it as root.  Ever.
I think thats the first time we agree on something.

Make a new user for each server and make that users only purpose to run the server IMO.
Title: Re: Server up but no commands?!
Post by: Laencii on December 22, 2009, 08:57:48 pm
Try another QVM, maybe is a error of our QVM