Game Development Community

head createcanvas error

by Tom Vogt · in General Discussion · 07/12/2002 (4:32 am) · 5 replies

I just checked out a new head, and it works fine on all mods but RealmWars. This is on Linux.

when I start up RW, these are the last few lines of the console:

--------- Initializing MOD: Realm Wars Client ---------
Loading compiled script rw/client/ui/customProfiles.cs.
Loading compiled script common/client/message.cs.
Loading compiled script common/client/mission.cs.
Loading compiled script common/client/missionDownload.cs.
Loading compiled script common/client/actionMap.cs.
Loading compiled script common/editor/editor.cs.
Fatal-ISV: (game/main.cc @ 84) cCreateCanvas: canvas has already been instantiated
Nonzero exit code: 1, triggering SIGSEGV for core dump
% Segmentation fault

end of story. I dimly remember that this bug was already in an older version, and got fix. was it reintroduced, or did the fix not make it into the CVS?

#1
07/12/2002 (8:31 am)
Are you using -mod RW?

if so use -game RW
#2
07/12/2002 (8:42 am)
That's interesting.
What determines a mod vs a game?

I noticed this last night too and just commented out the initCanvas("Torque Game Engine"); line in the RW init.cs file. I know this isn't right, but at least it loaded :)
#3
07/12/2002 (10:30 am)
a MOD builds upon the base game.. In this gase FPS.
a Game does not require anything in the FPS folder.
#4
07/12/2002 (10:37 am)
ah..thanks, that's good to know :)
#5
07/13/2002 (7:53 am)
indeed, it works with -game. thanks.