Jump to content
Eternal Lands Official Forums
Sign in to follow this  
dsb

Segfault

Recommended Posts

Seg faults right at startup:

Here is the backtrace:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 7272)]
0x40468031 in CalCoreSkeleton::scale () from /usr/lib/libcal3d.so.11
(gdb) backtrace
#0  0x40468031 in CalCoreSkeleton::scale () from /usr/lib/libcal3d.so.11
#1  0x080b046e in CalCoreSkeleton_Scale (self=0x0, factor=0) at cal3d_wrapper.cpp:12
#2  0x08053765 in parse_actor_script (cfg=0x825e7ac) at actor_scripts.c:1855
#3  0x080537d5 in parse_actor_defs (node=0x0) at actor_scripts.c:1872
#4  0x080537fb in parse_actor_defs (node=0x0) at actor_scripts.c:1878
#5  0x080538d3 in read_actor_defs (dir=0x0, index=0x0) at actor_scripts.c:1907
#6  0x08053969 in init_actor_defs () at actor_scripts.c:1928
#7  0x08077248 in init_stuff () at init.c:588
#8  0x08080034 in main (argc=0, argv=0x0) at main.c:223

Share this post


Link to post
Share on other sites
hmmm are you missing or forgot to copy over the actor data from the cvs?

207606[/snapback]

 

I have the dir actor_defs and it is populated with various character xml files, is that the data?

Share this post


Link to post
Share on other sites
yep thats it. they need to be the version you pulled down to compile the client with.

207614[/snapback]

 

I just checked out the elc module that included the latest data, and still no go same segfault

Share this post


Link to post
Share on other sites
I have the dir actor_defs and it is populated with various character xml files, is that the data?

207613[/snapback]

 

doh, apparently I had to cp -r some of the data files from the binary into my cvs el testing dir. CVS didnt provide the data that I assumed. Should there be data on cvs also? The directories that I copied were:

2dobjects

3dobjects

animations

books/races

maps

meshes

particles

skeletons

textures

tiles

 

Doing so I was able to run the client using gdb, however, my character was inside a tavern and there seems there is no door icon to exit, maybe I missing some additional data or it is a bug, Ill search the forums.

Share this post


Link to post
Share on other sites

yeah missing data, Download the full client from the main site, and extract it. then copy over those files from cvs.

 

also dont forget to edit your ~/.elc/el.ini and add point the datadir to the correct location

Edited by Zep

Share this post


Link to post
Share on other sites
yeah missing data, Download the full client from the main site, and extract it. then copy over those files from cvs.

 

also dont forget to edit your ~/.elc/el.ini and add point the datadir to the correct location

207670[/snapback]

 

I think I have most everything setup right now hence no longer segfault, however a few quirks. I can not enter or exit doors. There is no name or stats above characters/animals in game. The latter leads me to believe that I am possibly missing something from the data files. The former seems strange?

Share this post


Link to post
Share on other sites

hmmm, normally if you carnt open doors or change maps, that means you have old map files, And therefor old data. Ill make a data pack out of the gear that ent released today, Add the 3 binarys for win lin and bsd, And post it later on tonight, Maybe that will help you in the right direction.

 

Either that, Or yuo can run Ent's installers in wine, to extract the data.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×