Urban Terror Forums: Unable to start the game under Ubuntu 10.04 64 bits Lucid Lynx ! - Urban Terror Forums

Jump to content

 Login | Register 
Advertisement
  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • This topic is locked

Unable to start the game under Ubuntu 10.04 64 bits Lucid Lynx ! Rate Topic: ***** 1 Votes

A critical bug with Lucid Lynx

#11 User is offline   mitsubishi Icon

  • Account: mitsubishi
  • Country:
  • Joined: 28-February 10
  • Posts: 13,481

Posted 12 May 2010 - 12:26 AM

something in ioquake3 was fixed apparently; probably something with 64bit compiling intricacies; e.g. long is 64bit on linux on 64bit but 32bit on 32bit.



edit:

One could ask ioquake3 about it if they're further interested; to quickly reach them: #ioquake3 at freenode.

This post has been edited by mitsubishi: 12 May 2010 - 12:35 AM


#12 User is offline   Amanieu Icon

  • Account: amanieu
  • Country:
  • Joined: 09-June 10
  • Posts: 2

Posted 09 June 2010 - 11:43 PM

Patch to fix this bug:

diff -r d66e995d9375 code/botlib/l_script.c
--- a/code/botlib/l_script.c	Sat Oct 10 10:19:14 2009 +0100
+++ b/code/botlib/l_script.c	Wed Jun 09 23:31:15 2010 +0100
@@ -1118,7 +1118,7 @@
 {
 	if (*string == '\"')
 	{
-		strcpy(string, string+1);
+		memmove(string, string+1, strlen(string) - 1);
 	} //end if
 	if (string[strlen(string)-1] == '\"')
 	{



This bug is probably due to SSE optimizations in glibc. Note that the above code was incorrect in the first place: This isn't glibc's fault.

#13 User is offline   Pussnboots Icon

  • Account: pussnboots
  • Joined: 01-March 10
  • Posts: 556

Posted 11 June 2010 - 01:14 AM

Also, I wouldn't edit the Zpak file. You'll probably get kicked from servers for Unpure client.

#14 User is offline   drumitar Icon

  • Account: drumitar
  • Joined: 04-August 11
  • Posts: 1

Posted 04 August 2011 - 05:35 AM

had anyone recompiled the clientsource with the above fix ?

#15 User is offline   roamergrg Icon

  • Account: roamergrg
  • Joined: 11-November 11
  • Posts: 1

Posted 11 November 2011 - 05:22 PM

I am running RHEL6.1 (x86_64) and having the same issue. I am new to Urban Terror, not new to Linux. After extracting the installer I have an UrbanTerror Directory. When I extract ioq3-1807-urt-251210-linux64.tar.bz2, it creates a another q3ut4 directory. I tried merely extracting the archive into the UrbanTerror directory and that didn't change the initial issue.

I do apologize for being a bit dense here, but what needs to be done, specifically, to install the patch / replace the existing binary?

ls -l
total 1940
-rwxrwxrwx. 1 root root 682 Dec 25 2010 FILES.txt
-rwxrwxrwx. 1 root root 1813120 Dec 25 2010 ioq3-urt
-rwxrwxrwx. 1 root root 151868 Jul 21 2010 LiberationSerif-Regular.ttf
-rwxrwxrwx. 1 root root 590 Dec 14 2010 Licences.txt
drwxrwxrwx. 5 root root 4096 Nov 9 2010 q3ut4
-rwxrwxrwx. 1 root root 230 Dec 14 2010 To_Get_Unicode_Rendering.txt

#16 User is offline   Beerbelly Icon

  • Account: beerbelly
  • Country:
  • Joined: 02-March 10
  • Posts: 8

Posted 11 November 2011 - 10:44 PM

View Postroamergrg, on 11 November 2011 - 05:22 PM, said:

I am running RHEL6.1 (x86_64) and having the same issue. I am new to Urban Terror, not new to Linux. After extracting the installer I have an UrbanTerror Directory. When I extract ioq3-1807-urt-251210-linux64.tar.bz2, it creates a another q3ut4 directory. I tried merely extracting the archive into the UrbanTerror directory and that didn't change the initial issue.

I do apologize for being a bit dense here, but what needs to be done, specifically, to install the patch / replace the existing binary?

ls -l
total 1940
-rwxrwxrwx. 1 root root 682 Dec 25 2010 FILES.txt
-rwxrwxrwx. 1 root root 1813120 Dec 25 2010 ioq3-urt
-rwxrwxrwx. 1 root root 151868 Jul 21 2010 LiberationSerif-Regular.ttf
-rwxrwxrwx. 1 root root 590 Dec 14 2010 Licences.txt
drwxrwxrwx. 5 root root 4096 Nov 9 2010 q3ut4
-rwxrwxrwx. 1 root root 230 Dec 14 2010 To_Get_Unicode_Rendering.txt


ioq3-urt is your binary. It should be in your UrbanTerror directory.

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

Advertisement


Copyright © 1999-2019 Frozensand Games Limited  |  All rights reserved  |  Urban Terror™ and FrozenSand™ are trademarks of Frozensand Games Limited

Frozensand Games is a Limited company registered in England and Wales. Company Reg No: 10343942