Compiling UOX3 on Linux
-
GhostTyper
- UOX3 Neophyte
- Posts: 26
- Joined: Sun Sep 18, 2005 2:00 pm
- Has thanked: 0
- Been thanked: 0
- Contact:
Compiling UOX3 on Linux
Compiling UOX3 on linux was no problem. it compiled without any errors. (I compiled the version in the downloads section, cause the cvs version had various bugs!)
like said: uox3 compiled without any errors!
but:
if i connect to the server i can login, and the "create player" screen comes up. but then, after continunging the linux server segmentation faults.
why?
the windows version is running without any problems.
like said: uox3 compiled without any errors!
but:
if i connect to the server i can login, and the "create player" screen comes up. but then, after continunging the linux server segmentation faults.
why?
the windows version is running without any problems.
-
giwo
- Developer
- Posts: 1780
- Joined: Fri Jun 18, 2004 4:17 pm
- Location: California
- Has thanked: 0
- Been thanked: 0
Various bugs on the CVS version.... mind expanding on that? It will soon be the next official release, and I've yet to get any bug reports on it....
As for the segmentation fault on linux, I really can't say. Is there any way to get a dump of where it died (what line, what function, etc)? Also what client version were you using?
As for the segmentation fault on linux, I really can't say. Is there any way to get a dump of where it died (what line, what function, etc)? Also what client version were you using?
Scott
-
GhostTyper
- UOX3 Neophyte
- Posts: 26
- Joined: Sun Sep 18, 2005 2:00 pm
- Has thanked: 0
- Been thanked: 0
- Contact:
-
giwo
- Developer
- Posts: 1780
- Joined: Fri Jun 18, 2004 4:17 pm
- Location: California
- Has thanked: 0
- Been thanked: 0
The 5.0.x clients have various issues with the UOX3 version available in the UOX3.org downloads section.
However you reported the CVS version having various issues (your reasoning for using the source available on this site). Can you expand on what those issues are? As I've noted, I've yet to get a single bug report for the CVS source.
However you reported the CVS version having various issues (your reasoning for using the source available on this site). Can you expand on what those issues are? As I've noted, I've yet to get a single bug report for the CVS source.
Scott
-
GhostTyper
- UOX3 Neophyte
- Posts: 26
- Joined: Sun Sep 18, 2005 2:00 pm
- Has thanked: 0
- Been thanked: 0
- Contact:
i need to compile the cvs version again for posting the error messages. it didn't compile cause of some "errors" reported by gcc.
and for the linux version, you say i shuldt use a older client? would the latest third dawn or reannisace client run well?
and for the linux version, you say i shuldt use a older client? would the latest third dawn or reannisace client run well?
-
giwo
- Developer
- Posts: 1780
- Joined: Fri Jun 18, 2004 4:17 pm
- Location: California
- Has thanked: 0
- Been thanked: 0
I compiled UOX3 on mingw32 (which uses gcc) and found a couple problems. Thus I fixed those issues and made a new commit to the CVS today. Anonymous access can take up to 24 hours to be updated to the current CVS, but when it's updated I'd appreciate if you give it a go.
As for the older release, any client higher than 3.x and lower than 5.x (IE the AoS clients) should have no problem working with it.
As for the older release, any client higher than 3.x and lower than 5.x (IE the AoS clients) should have no problem working with it.
Scott
-
GhostTyper
- UOX3 Neophyte
- Posts: 26
- Joined: Sun Sep 18, 2005 2:00 pm
- Has thanked: 0
- Been thanked: 0
- Contact:
i will compile the new cvs version this afternoon (CET).
is there a solution, blocking bad clients? cause someone connecting to this shard using samurai empire willl crash the server. :-/
is there a solution, blocking bad clients? cause someone connecting to this shard using samurai empire willl crash the server. :-/
-
GhostTyper
- UOX3 Neophyte
- Posts: 26
- Joined: Sun Sep 18, 2005 2:00 pm
- Has thanked: 0
- Been thanked: 0
- Contact:
tried to compile the cvs version. compilation aborted with following error message
Code: Select all
In file included from UOXStdHeaders.h:95,
from Prerequisites.h:59,
from uox3.h:29,
from cChar.cpp:40:
socket_interface.h:38:1: warning: "INADDR_NONE" redefined
In file included from /usr/include/netdb.h:28,
from socket_interface.h:26,
from UOXStdHeaders.h:95,
from Prerequisites.h:59,
from uox3.h:29,
from cChar.cpp:40:
/usr/include/netinet/in.h:176:1: warning: this is the location of the
previous definition
cChar.cpp: In constructor `UOX::CChar::CChar()':
cChar.cpp:172: error: invalid conversion from `unsigned char' to `
std::_Rb_tree_node<std::pair<const UOX::ItemLayers, UOX::CItem*> >*'
cChar.cpp:172: error: initializing argument 1 of `
std::_Rb_tree_iterator<_Val, _Ref,
_Ptr>::_Rb_tree_iterator(std::_Rb_tree_node<_Val>*) [with _Val =
std::pair<const UOX::ItemLayers, UOX::CItem*>, _Ref = std::pair<const
UOX::ItemLayers, UOX::CItem*>&, _Ptr = std::pair<const
UOX::ItemLayers,
UOX::CItem*>*]'
make: *** [cChar.o] Error 1
-
GhostTyper
- UOX3 Neophyte
- Posts: 26
- Joined: Sun Sep 18, 2005 2:00 pm
- Has thanked: 0
- Been thanked: 0
- Contact:
i couldn't get it working. it continues crashing on every client i tried (2.x,4.x,5.x).
the server crashes if i try to create a new char.
i can give you a shell, and put my uox version on it, if you want to see.
the server crashes if i try to create a new char.
i can give you a shell, and put my uox version on it, if you want to see.
-
giwo
- Developer
- Posts: 1780
- Joined: Fri Jun 18, 2004 4:17 pm
- Location: California
- Has thanked: 0
- Been thanked: 0
I'll have a look at the CreateCharacter routines when I get home, if I don't see anything obvious, we'll see about adding some debug console spam to narrow down where exactly it is crashing.
I'm determined to find this bug, if it's crashing on linux, then it's probably secretly not working properly in windows.
I'm determined to find this bug, if it's crashing on linux, then it's probably secretly not working properly in windows.
Scott
-
GhostTyper
- UOX3 Neophyte
- Posts: 26
- Joined: Sun Sep 18, 2005 2:00 pm
- Has thanked: 0
- Been thanked: 0
- Contact:
-
GhostTyper
- UOX3 Neophyte
- Posts: 26
- Joined: Sun Sep 18, 2005 2:00 pm
- Has thanked: 0
- Been thanked: 0
- Contact: