PATCH

If you've had any problems with Nexuiz, or would like to report bugs, post here.

Moderators: Nexuiz Moderators, Moderators

PATCH

Postby hvc123 » Wed Mar 12, 2008 8:15 am

HI ALL,

im a bit of a noob when it comes to applying patches on linux so i wondered if someone could walk me through applying the host_error: patch ( this one
--- branches/nexuiz-2.0/data/qcsrc/common/util.qc 2006/08/20 10:56:27 1829
+++ branches/nexuiz-2.0/data/qcsrc/common/util.qc 2006/08/23 16:27:29 1850
@@ -25,7 +25,14 @@
}
else
{
- for (j = i;j < strlen(s);j++)
+ for (j = i+1;j < strlen(s);j++)
+ // ^^ this skips over the first character of a word, which
+ // is ALWAYS part of the word
+ // this is safe since if i+1 == strlen(s), i will become
+ // strlen(s)-1 at the end of this block and the function
+ // will terminate. A space can't be the first character we
+ // read here, and neither can a \n be the start, since these
+ // two cases have been handled above.
{
c = substring(s, j, 1);
if (c == " ")

#


thanks
hvc123
Newbie
 
Posts: 5
Joined: Wed Mar 12, 2008 8:13 am

Postby esteel » Wed Mar 12, 2008 8:39 am

Hi. Well first of all.. why do want to apply that patch to such an old version and were have you gotten it from? In trunk this seem to have been applied during bugfixing already.

But basicly you save the lines above into a file mypatch.txt or so go the file that should be patched and run:
patch < mypatch.txt
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby hvc123 » Wed Mar 12, 2008 8:42 am

yer i just noticed this patch is old but im getting the game crash error : 10000000000 jumps on level 15 (key run)

the version im using is 2.4
hvc123
Newbie
 
Posts: 5
Joined: Wed Mar 12, 2008 8:13 am

Postby esteel » Wed Mar 12, 2008 9:02 am

Where did you get that patch from and what made you think it might help with that problem?!? I think you have been confused by something..

That crash on level 15 is know and fixed already.. See here: http://forums.alientrap.local/viewtopic.php?t=2824
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby hvc123 » Wed Mar 12, 2008 9:10 am

well i get this error

HOST_ERROR: Server runaway loop counter hit limit of 10000000 jumps.

so i did a search here on the forum and i got pointed to the SVN site where the UTIL>QC patch is.

however i can see that its the wrong version for the ver of Nexius that im running.

i am running v2.4
hvc123
Newbie
 
Posts: 5
Joined: Wed Mar 12, 2008 8:13 am

Postby hvc123 » Wed Mar 12, 2008 9:30 am

help !! i still cant get level 15 Single player to run
hvc123
Newbie
 
Posts: 5
Joined: Wed Mar 12, 2008 8:13 am

Postby esteel » Wed Mar 12, 2008 9:43 am

I guess it best to forget about that patch above, that was for an entirely different thing and also needs to be applied to the source code so you would need to compile Nexuiz afterwards.

Have you instead used the link i posted and installed the hotfix?
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby hvc123 » Wed Mar 12, 2008 9:48 am

yer i used this http://forums.alientrap.local/viewtopic.php?t=2824 and now it works fine

thanx

ps
althought there is the 'testing only' in the bottom right hand corner
hvc123
Newbie
 
Posts: 5
Joined: Wed Mar 12, 2008 8:13 am

Postby esteel » Wed Mar 12, 2008 10:35 am

Well that hotfix IS for testing, its not final and that 'testing only' there to make sure people will not upload this as a final fix on download pages.. this already happend once so we want to make sure.
But glad it helped. Please report problems you might encounter in the other thread. Thanks.
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am


Return to Nexuiz - Support / Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron