[ioquake3] Sys_StringToSockaddr problem connecting to server

Nerius Landys nlandys at gmail.com
Thu May 15 10:18:17 PDT 2008


Let me tell you why I modified the source code to ioquake3.  The real reason
I had to make a modification was to force the dedicated server binary to
send heartbeats to the master server(s) for the case where the server
variable "dedicated" is set to 1.  In Urban Terror 2.6a, the "dedicated"
server variable is read-only, so I cannot change it.  It is set to 1.  The
plain-vanilla ioquake3 code sends heartbeats for the case where dedicated is
set to 2, but not in the case where dedicated is set to 1.

Since I had to make this change, I decided to make other simple changes as
well:

- On Linux use ~/.urt2 as config directory instead of ~/.q3a.
- On Windows use "Application Data/UrT2" instead of "Application
Data/Quake3" to store configs.
- Make fs_game be q3ut2 by default, so as to prevent having to specify "+set
fs_game q3ut2" on the command line or in shortcuts/startup-scripts.
- On Linux, do not build against OpenAL libararies by default.  Many Linux
systems do not have OpenAL installed, and with the plain vanilla build I
could not launch ioquake3 without first installing OpenAL on these older
systems.

That is the extent of my changes.  Again, the diffs were attached to my
original email.

On Wed, May 14, 2008 at 11:42 PM, Ludwig Nussel <ludwig.nussel at suse.de>
wrote:

> Nerius Landys wrote:
> > I am in the process of putting together a build of ioquake3 to run Urban
> > Terror 2.6a (a "retro" version of Urban Terror, if you will).
> > the ioquake3 source code are attached.  The code base is revision 1342 in
> > SVN and the changes are extremely minimal as you can see.
>
> Why??? You can use the 'official' ioquake3 build just as well. You
> only need to build an installer that contains your mod and installs
> as component of ioquake3. See misc/setup/setup.xml.mod for a
> loki-setup sample file. A similar method would be possible on Windows
> I suppose as the NSIS installer registers the installation somewhere
> in the registry. Since urt 2.6a isn't going to change ever again you
> won't have to update your installer ever again either.
>
> cu
> Ludwig
>
> --
>  (o_   Ludwig Nussel
>  //\
>  V_/_  http://www.suse.de/
> SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
>
>
>
>
>
> _______________________________________________
> ioquake3 mailing list
> ioquake3 at lists.ioquake.org
> http://lists.ioquake.org/listinfo.cgi/ioquake3-ioquake.org
> By sending this message I agree to love ioquake3 and libsdl.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ioquake.org/pipermail/ioquake3-ioquake.org/attachments/20080515/53528f90/attachment.htm>


More information about the ioquake3 mailing list