Author Topic: Server up but no commands?!  (Read 6279 times)

xtrem

  • Posts: 7
  • Turrets: +0/-0
Server up but no commands?!
« 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?

Kiwi

  • Posts: 859
  • Turrets: +29/-9
Re: Server up but no commands?!
« Reply #1 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(5.50).

Best Regards,
Kiwi

xtrem

  • Posts: 7
  • Turrets: +0/-0
Re: Server up but no commands?!
« Reply #2 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:~#
« Last Edit: December 16, 2009, 07:54:47 pm by xtrem »

Kiwi

  • Posts: 859
  • Turrets: +29/-9
Re: Server up but no commands?!
« Reply #3 on: December 16, 2009, 10:41:02 pm »
You should use Lakitu 7's qvm(Direct Download).
You should also use the standard tremed from here (Direct Download).

xtrem

  • Posts: 7
  • Turrets: +0/-0
Re: Server up but no commands?!
« Reply #4 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 {
« Last Edit: December 17, 2009, 01:18:35 pm by xtrem »

Kiwi

  • Posts: 859
  • Turrets: +29/-9
Re: Server up but no commands?!
« Reply #5 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/"

Silver

  • Posts: 376
  • Turrets: +307/-62
Re: Server up but no commands?!
« Reply #6 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.
I SUKC AT TRMELUS

IABZ IS JESUS

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: Server up but no commands?!
« Reply #7 on: December 20, 2009, 05:05:14 pm »
You also shouldn't be running it as root.  Ever.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Silver

  • Posts: 376
  • Turrets: +307/-62
Re: Server up but no commands?!
« Reply #8 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.
I SUKC AT TRMELUS

IABZ IS JESUS

Laencii

  • Posts: 28
  • Turrets: +2/-1
    • http://www.fatal1ty.com/
Re: Server up but no commands?!
« Reply #9 on: December 22, 2009, 08:57:48 pm »
Try another QVM, maybe is a error of our QVM