Tremulous Forum

Mods => Modding Center => Topic started by: Fun-Owner on December 02, 2008, 12:16:49 am

Title: Error When Compiling!! - Game.qvm
Post by: Fun-Owner on December 02, 2008, 12:16:49 am
 Hi guys i have a question!
 I try to patch the karma.patch and i have 4 errors and  i dont how to Fix them?
 Can you help me please?
 Here are the errors:
src/game/g_active.c:860: unknown field `karma' of `clientPersistant_t'
src/game/g_active.c:865: unknown field `karma' of `clientPersistant_t'
src/game/g_active.c:882: unknown field `karma' of `clientPersistant_t'
src/game/g_active.c:887: unknown field `karma' of `clientPersistant_t'
THX
Title: Re: Error When Compiling!! - Game.qvm
Post by: Archangel on December 02, 2008, 02:52:41 am
For each smiley you insert, it is one less answer you will receive in this thread.
Title: Re: Error When Compiling!! - Game.qvm
Post by: David on December 02, 2008, 01:56:19 pm
The patch is shit.  Find/make a better one or find whoever wrote it and get them to fix it.
Title: Re: Error When Compiling!! - Game.qvm
Post by: SlackerLinux on December 07, 2008, 05:07:53 am
that's rezyns patch.

seems to work ok its running on sst i would check to see if it patched cleanly.
Title: Re: Error When Compiling!! - Game.qvm
Post by: Drakotsu on December 19, 2008, 03:31:35 am
Sorry for the late reply:

When I use any patch with the 'patch -p0' thing it does not work.
Instead,
If I patch it by hand (Not too hard to do unless its a large patch) it works, no errors. :P

Try patching it by hand
Title: Re: Error When Compiling!! - Game.qvm
Post by: Archangel on December 20, 2008, 02:00:38 am
you're probably using patch wrong. all patches i've seen for trem are based in the very root directory (e.g. you have the src/{c,}game and such trees. so you'd do patch -p0 < patchname.patch. i'm guessing you're in src/game or wherever, or you're not using the shell redirection.