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

eternallands crashes when trying to start client

Recommended Posts

Mac book 2021, M1 pro, Monterey 12.5

been working fine since i got the new macbook,
had three characters logged in and closed the lid as normal, when i came back they failed to launch so i shut the boxes,
went to start the client in the normal way and after hitting return the window closed and i got the
"Eternal lands quit unexpectedly"

with the big list of technical report stuff

my version is 1.9.6p1 from march 2022

help

when using my gf identical macbook my characters open fine

i don't know if my client has gone bad ?

pretty much low use on the macbook and i very rarely have many tabs opeen

Edited by caladina

Share this post


Link to post
Share on other sites

When i open the main client, it has the name of my Knight, if i just put in the password the client crashes
If i remove the name and put in one of my other characters the game opens and i can breifly use that char, but none of the game settings are the remembered ones like the number of spell squares or the way i had the names and bars or the camera position
if i walk the character after a short while the window closes

when i do the same for the Knight that the client opens with, ie remove the name then retype it and put the password in it just closes without doing anything else

 

I tried downloading new launcher but the same thing happens

i tried it with and without rossetta does the same thing ( the new launchers never had rossetta option)?

 

Share this post


Link to post
Share on other sites

Bluap, looking at your other reply to the crashing issue you mentioned the client_state.json file, thinking how the characters i can log in for a few moments before they crash out with the layout of the HUB being back to basic and looking at whats in the client_state.json file, it seems the client could be ignoring it as you say,
firstly how do i make that file available for you to see if its what you need here
and secondly you mention if the file is ignored it should run fine but my one still crashes anyway

this from the apple crash report, does it mean anything to any one?
 

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Codes:       0x0000000000000001, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process:   exc handler [4470]

Share this post


Link to post
Share on other sites

from the application support/eternal lands/log

[00:22:14, /Users/dev/Desktop/Eternal-Lands-1.9.6.0/json_io.cpp:30] Error: int JSON_IO_Channel_Colours::Channel_Colours::load(const char *, channelcolor *, size_t):475 Failed to open [/Users/Loupie/Library/Application Support/Eternal Lands/main/channel_colors_harlquin_knight.json]

 

Share this post


Link to post
Share on other sites

Loupie/Library/Application Support/Eternal Lands/main/client_state.json]
[00:43:09, /Users/dev/Desktop/Eternal-Lands-1.9.6.0/json_io.cpp:30] Error: int JSON_IO_Client_State::Client_State::load(const char *):748 Failed to open [/Users/Loupie/Library/Application Support/Eternal Lands/main/client_state.json]
[00:43:15, /Users/dev/Desktop/Eternal-Lands-1.9.6.0/json_io.cpp:32] Info: int JSON_IO_Character_Options::Character_Options::load():587  [/Users/Loupie/Library/Application Support/Eternal Lands/main/character_options_harlquin_knight.json]
[00:43:15, /Users/dev/Desktop/Eternal-Lands-1.9.6.0/json_io.cpp:30] Error: int JSON_IO_Character_Options::Character_Options::load():591 Failed to open [/Users/Loupie/Library/Application Support/Eternal Lands/main/character_options_harlquin_knight.json]
[00:43:15, /Users/dev/Desktop/Eternal-Lands-1.9.6.0/json_io.cpp:32] Info: int JSON_IO_Quickspells::Quickspells::load(const char *, int *, size_t):260  [/Users/Loupie/Library/Application Support/Eternal Lands/main/spells_harlquin_knight.json]
[00:43:15, /Users/dev/Desktop/Eternal-Lands-1.9.6.0/json_io.cpp:32] Info: int JSON_IO_Recipes::Recipes::open(const char *):66  [/Users/Loupie/Library/Application Support/Eternal Lands/main/recipes_harlquin_knight.json]
[00:43:15, /Users/dev/Desktop/Eternal-Lands-1.9.6.0/json_io.cpp:32] Info: int JSON_IO_Recipes::Recipes::load(recipe_entry *, size_t, recipe_item *):100
[00:43:15, /Users/dev/Desktop/Eternal-Lands-1.9.6.0/json_io.cpp:32] Info: int JSON_IO_Counters::Counters::load(const char *, const char **, int *, size_t, struct Counter **):347  [/Users/Loupie/Library/Application Support/Eternal Lands/main/counters_harlquin_knight.json]
[00:43:15, /Users/dev/Desktop/Eternal-Lands-1.9.6.0/json_io.cpp:32] Info: int JSON_IO_Channel_Colours::Channel_Colours::load(const char *, channelcolor *, size_t):471  [/Users/Loupie/Library/Application Support/Eternal Lands/main/channel_colors_harlquin_knight.json]
[00:43:15, /Users/dev/Desktop/Eternal-Lands-1.9.6.0/json_io.cpp:30] Error: int JSON_IO_Channel_Colours::Channel_Colours::load(const char *, channelcolor *, size_t):475 Failed to open [/Users/Loupie/Library/Application Support/Eternal Lands/main/channel_colors_harlquin_knight.json]

 

Share this post


Link to post
Share on other sites
"contents of the client _state.json file"
 
 
 
   
MW_windows_state  
last_height 1724
last_width 2304
achievements_window  
pos_ratio_x 1
pos_ratio_y 1
pos_x 0
pos_y 0
astro_window  
always_show_details true
pos_ratio_x 0.7619049549102783
pos_ratio_y 1
pos_x 871
pos_y 319
bags_window  
cols 5
pos_ratio_x 0.7619049549102783
pos_ratio_y 1
pos_x 1015
pos_y 152
rows 10
buddy_window  
pos_ratio_x 0.9999998211860657
pos_ratio_y 1
pos_x 443
pos_y 260
camera  
x -45.003108978271484
y 0
z 296.52386474609375
zoom 4
chat_window  
pos_ratio_x 1.9999996423721313
pos_ratio_y 1.9953703880310059
pos_x 0
pos_y 0
console_window  
pos_ratio_x 1
pos_ratio_y 1
pos_x 0
pos_y 0
counters_window  
floating_flags 0
dialogue_window  
copy_excludes_newlines false
copy_excludes_responses false
pos_ratio_x 0.9999999403953552
pos_ratio_y 1
pos_x 683
pos_y 32
emotewin_window  
pos_ratio_x 0.9999998211860657
pos_ratio_y 1
pos_x 24
pos_y 262
help_window  
pos_ratio_x 0.7619049549102783
pos_ratio_y 1
pos_x 195
pos_y 255
selected_tab 2
hud_indicators_window  
background_on false
border_on false
disabled_flags 0
pos_x 1874
pos_y 1682
relocated false
hud_timer  
keep_state true
info_window  
pos_ratio_x 0.7619049549102783
pos_ratio_y 1
pos_x 762
pos_y 500
selected_tab 0
invent_window  
allow_equip_swap true
auto_get_all true
buttons_on_left false
disable_text_block false
dropall_nofirstrow true
dropall_nolastrow true
equip_grid_on_left false
manual_size true
mix_all true
mod_click_any_cursor false
pos_ratio_x 0.9999999403953552
pos_ratio_y 1
pos_x 455
pos_y 310
small_size false
stoall_nofirstrow true
stoall_nolastrow true
item_lists_window  
active_list 0
disable_find false
on_left true
login  
have_language true
rules_accepted true
manu_window  
disable_keypress true
pos_ratio_x 0.7619049549102783
pos_ratio_y 1
pos_x 1907
pos_y 86
map_window  
pos_ratio_x 1
pos_ratio_y 1
pos_x 0
pos_y 0
minimap_window  
open_on_start false
pos_ratio_x 0.761904776096344
pos_ratio_y 1
pos_x 2493
pos_y 1201
tiles_distance 88
opts_window  
pos_ratio_x 2
pos_ratio_y 2
pos_x 359
pos_y 108
overhead  
view_ether true
view_ether_bar false
view_health_bar false
view_hp true
view_names false
quantities  
0 1
1 10
2 150
3 1000
4 20000
5 50000
selected 0
quest_window  
hide_completed false
list_left_of_entries false
no_auto_open false
pos_ratio_x 0.7619049549102783
pos_ratio_y 1
pos_x 1383
pos_y 96
quickbar_window  
draggable true
pos_ratio_x 0.761904776096344
pos_ratio_y 1
pos_x 2243
pos_y 128
vertical false
quickspells_window  
movable false
pos_ratio_x 0.761904776096344
pos_ratio_y 1
pos_x 2184
pos_y 128
vertical true
range_window  
pos_ratio_x 0.9999998211860657
pos_ratio_y 1
pos_x 667
pos_y 130
spell_window  
pos_ratio_x 0.761904776096344
pos_ratio_y 1
pos_x -1013
pos_y 740
start_mini false
stats_window  
pos_ratio_x 0.761904776096344
pos_ratio_y 1
pos_x 1061
pos_y 573
selected_tab 3
storage_window  
auto_select true
autoclose true
disable_filter false
pos_ratio_x 0.9999999403953552
pos_ratio_y 1
pos_x 1391
pos_y 393
sort_categories true
sort_items true
trade_window  
pos_ratio_x 0.9999999403953552
pos_ratio_y 1
pos_x 1437
pos_y 578
user_menus_window  
background_off false
border_on true
include_datadir true
pos_x 100
pos_y 100
standard_window_position 0
title_on true
use_small_font false
window_used true
watched_stats  
0 5
1 0
2 0
3 0
4 0
lock_selection false
Edited by caladina

Share this post


Link to post
Share on other sites

after talking to one of the el members in game

it is apparent the file channel_colors_harlquin_knight.json doesnt exist, wither it should or not i have no idea but on my gf similar  mac the files all seem to be similar, neither having the channel_colors_harlquin_knight.json file

on her mac i can open the characters fine

 

Share this post


Link to post
Share on other sites

looking at the main log on both identical mac books, mine and my gfs, there is a point in which the main logs differ,

here is the point at which they differ,

the working client on my gf mac:

[07:20:02, /Users/dev/Desktop/Eternal-Lands-1.9.6.0/interface.c:484] Info: Using hardwired continent overview maps: 2
[07:20:02, /Users/dev/Desktop/Eternal-Lands-1.9.6.0/io/elfilewrapper.c:310] Error: Can't load zip file /Users/Loupie/Library/Application Support/Eternal Lands/unofficial_custom_clothes.zip
[07:20:03, /Users/dev/Desktop/Eternal-Lands-1.9.6.0/json_io.cpp:32] Info: int JSON_IO_Client_State::Client_State::load(const char *):744  [/Users/Loupie/Library/Application Support/Eternal Lands/main/client_state.json]
[07:20:24, /Users/dev/Desktop/Eternal-Lands-1.9.6.0/json_io.cpp:32] Info: int JSON_IO_Character_Options::Character_Options::load():587  [/Users/Loupie/Library/Application Support/Eternal Lands/main/character_options_cals_mule.json]
[07:20:24, /Users/dev/Desktop/Eternal-Lands-1.9.6.0/json_io.cpp:30] Error: int JSON_IO_Character_Options::Character_Options::load():591 Failed to open [/Users/Loupie/Library/Application Support/Eternal Lands/main/character_options_cals_mule.json]
[07:20:24, /Users/dev/Desktop/Eternal-Lands-1.9.6.0/json_io.cpp:32] Info: int JSON_IO_Quickspells::Quickspells::load(const char *, int *, size_t):260  [/Users/Loupie/Library/Application Support/Eternal Lands/main/spells_cals_mule.json]
[07:20:24, /Users/dev/Desktop/Eternal-Lands-1.9.6.0/json_io.cpp:32] Info: int JSON_IO_Recipes::Recipes::open(const char *):66  [/Users/Loupie/Library/Application Support/Eternal Lands/main/recipes_cals_mule.json]
[07:20:24, /Users/dev/Desktop/Eternal-Lands-1.9.6.0/json_io.cpp:32] Info: int JSON_IO_Recipes::Recipes::load(recipe_entry *, size_t, recipe_item *):100
[07:20:24, /Users/dev/Desktop/Eternal-Lands-1.9.6.0/json_io.cpp:32] Info: int JSON_IO_Counters::Counters::load(const char *, const char **, int *, size_t, struct Counter **):347  [/Users/Loupie/Library/Application Support/Eternal Lands/main/counters_cals_mule.json]
[07:20:24, /Users/dev/Desktop/Eternal-Lands-1.9.6.0/json_io.cpp:32] Info: int JSON_IO_Channel_Colours::Channel_Colours::load(const char *, channelcolor *, size_t):471  [/Users/Loupie/Library/Application Support/Eternal Lands/main/channel_colors_cals_mule.json]

*******
and the same section from the client on my mac that doesnt work

 

[2023-01-31 07:18:32, /Users/dev/Desktop/Eternal-Lands/interface.c:484] Info: Using hardwired continent overview maps: 2
[2023-01-31 07:18:32, /Users/dev/Desktop/Eternal-Lands/shader/shader.c:123] Error: Compiling shader './shaders/new_water.vert' failed: ERROR: 0:1: '' :  version '150' is not supported
[2023-01-31 07:18:32] Last message repeated 15 times
[2023-01-31 07:18:32, /Users/dev/Desktop/Eternal-Lands/io/elfilewrapper.c:310] Error: Can't load zip file /Users/Loupie/Library/Application Support/Eternal Lands/unofficial_custom_clothes.zip
[2023-01-31 07:18:32, /Users/dev/Desktop/Eternal-Lands/actor_init.cpp:543] Info: Build vertex buffers for 'human female'
[2023-01-31 07:18:32, /Users/dev/Desktop/Eternal-Lands/actor_init.cpp:761] Info: Build vertex buffers for 'human female' done
[2023-01-31 07:18:32, /Users/dev/Desktop/Eternal-Lands/actor_init.cpp:543] Info: Build vertex buffers for 'human male'
[2023-01-31 07:18:32, /Users/dev/Desktop/Eternal-Lands/actor_init.cpp:761] Info: Build vertex buffers for 'human male' done
[2023-01-31 07:18:32, /Users/dev/Desktop/Eternal-Lands/actor_init.cpp:543] Info: Build vertex buffers for 'elf female'
[2023-01-31 07:18:32, /Users/dev/Desktop/Eternal-Lands/actor_init.cpp:761] Info: Build vertex buffers for 'elf female' done
[2023-01-31 07:18:32, /Users/dev/Desktop/Eternal-Lands/actor_init.cpp:543] Info: Build vertex buffers for 'elf male'
[2023-01-31 07:18:32, /Users/dev/Desktop/Eternal-Lands/actor_init.cpp:761] Info: Build vertex buffers for 'elf male' done
[2023-01-31 07:18:32, /Users/dev/Desktop/Eternal-Lands/actor_init.cpp:543] Info: Build vertex buffers for 'dwarf female'

if needed i can copy the entire message from here on on mine and the working one but its long and i don't know if i'm posting anything i shouldnt as its all above my head / knowledge



 

Share this post


Link to post
Share on other sites
10 hours ago, Raz said:

Either that or bin the mac and buy a proper PC.

 

Not helpful. You should know better.

 

On 1/30/2023 at 11:02 PM, caladina said:

and closed the lid as normal, when i came back they failed to launch so i shut the boxes

 

Sounds a bit like the client crashed or was killed for whatever reason and now you have cache corruption going on. I am absolutely unfamiliar with apple devices, but try creating a new user (also means a fresh EL environment) and see if it works again. If so, inspect your normal home dir for any cache directories, especially ones containing cached shaders, and clean them out.

 

If all else fails, strace the client and see where it fails.

Share this post


Link to post
Share on other sites

Hi Caladina,

 

Please try the following:

1. Browse to the “~/Library/Application Support/” folder. You can do this via the command+space spotlight search, just enter what is between the quotes.


2. Within that folder, and with no EL windows open, rename the “Eternal Lands” folder to something else. Do not delete it, or you might lose counters or other important stuff you might want to keep.

 

3. Try opening an EL window and let me know what happens. The settings will all be back to default, but that is as expected for now.

Share this post


Link to post
Share on other sites

the game starts from the rules page and i can log in my character with the default settings and it doesn't crash, seems to run fine

after it run ok for a while i copied the item list file from the old eternal lands file and that went ok
i wont copy any thing else from the old el file until i hear from you
 

Edited by caladina

Share this post


Link to post
Share on other sites

Good old Ben - the only one who understands the machinations of a mac :)

 

*IF* this is the same as a normal PC - you should be ok to move back chat logs (if you want), counters, spells menus, key definitions etc.

Just avoid the main config files.

 

Have a look at el.ini  - but I would not recommend copying back.

Then setup your new config to have the features you want - avoid messing with graphics...  also check that file on your other mac. (ie sitlock etc)

 

My guess is you / EL changed something in the config file that caused a mac to fail to load.... but I am a total novice in the world of macs.

 

Share this post


Link to post
Share on other sites

It’s hard to tell exactly what went wrong from the log file you provided (Bluap is the man when it comes to stuff like that :P) but my guess would be Raz and Esteria are probably correct re: something in your config becoming corrupted.


IMO the most likely scenario is that your Mac performed a software update while you were in sleep mode (that’s the default behaviour, anyway) and the act of closing all three EL windows simultaneously caused them to write to the same config files at exactly the same time, resulting in some kind of unexpected behaviour.

 

re next steps: my advice is the same as what Raz just suggested. Don’t copy over the main config file as that’s likely the culprit here, but the character-specific JSON files (counters, spells, etc) should be fine as they are only loaded when the character is logged in, making it very unlikely they were causing your client to crash and burn on launch :)

 

Share this post


Link to post
Share on other sites


the other thing i noticed i cant see an el.cfg in the new el thats running ok, i saw it in the old crashed one.


Thank You Ben for fixing the issue,
and thanks for the rest of you too
 

Edited by caladina

Share this post


Link to post
Share on other sites
Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoticons maximum are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×