Logging problem


(Zygnus) #1

I have compiled a mod of my own an puted all of the dlls in mp_bin.pk3 as well as in the root of my mod folder. When I start the game with +set fs_game mymod +set sv_pure 0 I can see my mod when I look under the Mods category in the main game menu. I guess that if I want to activate it I have to click on the name of the mod and it should start or does my mod starts running when I have added the +set fs_game mymod?

I’ve tried to change names and stuff like that in the ui to see if it is my mod that is running but I can’t see any difference.

I added +set g_log “mymod.log” +set logfile 1 to see if I could see something in the log files but nowhere in the logs I can see mymod being mentioned.

When I try to host a game while starting ET with the commands above I get ERROR: G_Script_ScriptParse(), Error (line 2207) : unknown action: set.

I have installed ET with the 2.60 patch, is this iterferring with the version of the source code for ET available?


(Shanks) #2

Have you updated your code to reflect the changes in the 2.60 SDK?


(Zygnus) #3

I’ve downloaded the ET SDK I’m using from a link on splashdamage. Do I need an update of the SDK to reflect the changes in 2.60 or is there something I can change manually in the codebase I have now?


(Jaquboss) #4

you should begin again on ET 2.60 SDK, you can also try using patch and diff utils


(Zygnus) #5

Where can I find ET SDK that is up to date with ver. 2.60? Does someone have a link to where I can download it?


(Zygnus) #6

Ok, now I downloaded the 2.60 SDK from Worthplaying and compiled it. It seems to work when I do the above startup and try to host a game. Now I going do add the chnges to the code and see if it still works or if there is something wrong with how I add code to the game project. I want to create a server side mod.

Tnx for the help!


(Jaquboss) #7

if you want to do serverside only mod then just drop qagame into your mod directory , do not create any pk3 files and modify only game project


(Zygnus) #8

I did just that and I got my serverside mod to work perfectly. Now is just a matter of implementing the rest of the code :slight_smile:

A quick question, if I start ET with +set fs_game mymod do I have to go into the mods meny in the game an click on mymod to start it or do the +set fs_game mymod start the mod automatically?

Txn again for all the help!


(kamikazee) #9

+set fs_game does this for you, if you wrote the modname right.