Tremulous Forum

General => Troubleshooting => Topic started by: Zero Ame on April 08, 2009, 04:49:15 am

Title: cant devmap
Post by: Zero Ame on April 08, 2009, 04:49:15 am
ok so i run tremulous(using tremfusion) and im plaining on testing my map so i type devmap mapname into consel and it goes tot he loading and then it quits saying this:
Quote
recursive error after: G_ParseSpawnVars: found 'when expecting {, Copy console log to clipboard?

Click yes and i get

Quote
tremfusion 0.9_R1065 win_mingw-x86 Dec  6 2008
----- FS_Startup -----
execing default.cfg
execing autogen.cfg
execing autoexec.cfg
couldn't exec autoexec.cfg
----- Client Initialization -----
----- FS_Startup -----
----- Initializing Renderer ----
-------------------------------
QKEY found. (Fallback Location)
----- Client Initialization Complete -----
----- R_Init -----
----- finished R_Init -----
------ Initializing Sound ------
SDL_Init( SDL_INIT_AUDIO )... OK
Sound memory manager started
Loading vm file vm/ui.qvm...
UI menu load time = 770 milli seconds
UI menu load time = 57 milli seconds
UI menu load time = 59 milli seconds
SSE support is version 0
--- Common Initialization Complete ---
Winsock Initialized
Hostname: calebs
IP: 192.168.2.101
Opening IP6 socket: [::]:30720
WARNING: NET_IP6Socket: socket: WSAEAFNOSUPPORT
WARNING: Couldn't bind to a v6 ip address.
Opening IP socket: 0.0.0.0:30720
execing autogen.cfg
execing autoexec.cfg
couldn't exec autoexec.cfg
]\devmap notsure
------ Server Initialization ------
Server: notsure
----- R_Init -----
----- finished R_Init -----
----- FS_Startup -----
Sys_LoadDll(game) failed to load library
Failed to load dll, looking for qvm.
Loading vm file vm/game.qvm...
------- Game Initialization -------
gamename: base
gamedate: Mar 27 2006
********************
ERROR: G_ParseSpawnVars: found ' when expecting {
********************
----- Server Shutdown (Server crashed: G_ParseSpawnVars: found ' when expecting {) -----
==== ShutdownGame ====
----- CL_Shutdown -----
-----------------------

I've found I dont have this error when running KoRx mod...
Title: Re: cant devmap
Post by: Archangel on April 08, 2009, 05:20:48 am
you need a qvm in your tremulous folder, since your client is very updated and no longer supports the ones in vms-1.1.0.pk3
Title: Re: cant devmap
Post by: kevlarman on April 08, 2009, 06:26:23 am
you need a qvm in your tremulous folder, since your client is very updated and no longer supports the ones in vms-1.1.0.pk3
s/updated/outdated/
amanieu included a hack based on my code(i think) to make it run 1.1's game again
Title: Re: cant devmap
Post by: Amanieu on April 08, 2009, 03:36:46 pm
Well actually I developed it independently since you didn't want to give me the code :P

But anyways, it's not released yet, I'm really short on free time these days.
Title: Re: cant devmap
Post by: Ingar on April 08, 2009, 05:36:29 pm
You can use the vm's from  trem-servers:
http://dl.trem-servers.com/vms-1.1.t971.pk3

It has a few nice features like insta-building in devmap.

Just put the .pk3 in your base directory.
Title: Re: cant devmap
Post by: gimhael on April 08, 2009, 05:50:21 pm
amanieu included a hack based on my code(i think) to make it run 1.1's game again

Btw, shouldn't 1.2 include some kind of API version check ? E.g. the {game,cgame,ui}.qvm registers a cvar called {g,cg,ui}_apiVersion during the init call and the client resp. server binary bails out with a meaningful error message if it doesn't match the expected API version ? A qvm not registering this cvar would be automatically considered 1.1 compatible.

Title: Re: cant devmap
Post by: kevlarman on April 08, 2009, 06:12:00 pm
amanieu included a hack based on my code(i think) to make it run 1.1's game again

Btw, shouldn't 1.2 include some kind of API version check ? E.g. the {game,cgame,ui}.qvm registers a cvar called {g,cg,ui}_apiVersion during the init call and the client resp. server binary bails out with a meaningful error message if it doesn't match the expected API version ? A qvm not registering this cvar would be automatically considered 1.1 compatible.


i have some proof of concept code along those lines that i need to finish this week and give to benmachine.
Title: Re: cant devmap
Post by: Zero Ame on April 09, 2009, 03:37:25 am
You can use the vm's from  trem-servers:
http://dl.trem-servers.com/vms-1.1.t971.pk3

It has a few nice features like insta-building in devmap.

Just put the .pk3 in your base directory.
already have insta build with tremfusion
Title: Re: cant devmap
Post by: Archangel on April 09, 2009, 05:14:59 am
isn't there always instabuild in devmap? like, no matter what?
Title: Re: cant devmap
Post by: Winnie the Pooh on April 09, 2009, 05:19:33 am
Are you talking about tremfusion? My devmap does NOT instabuild.
Title: Re: cant devmap
Post by: Archangel on April 09, 2009, 06:30:27 am
No, since prior to TF or even trem-servers QVM. I've always had it as long as I can remember.
Title: Re: cant devmap
Post by: David on April 09, 2009, 12:11:38 pm
Instabuild in devmap was added with the layout system, to allow you to make new layouts quickly.
Title: Re: cant devmap
Post by: Zero Ame on April 12, 2009, 03:23:21 pm
ive only had insta-build since ive upgraded to tremfusion
Title: Re: cant devmap
Post by: Winnie the Pooh on May 03, 2009, 09:17:34 pm
Same here. Is there a cvar for build time so I don't have to wait forever while building my layouts?
Title: Re: cant devmap
Post by: Archangel on May 03, 2009, 09:33:40 pm
updating to a newer client/qvm?