Sign in to follow this  
Awkwardturttle

Crash When Trying to Connect to Any Server

Recommended Posts

I just bought Wurm, and I want to play with a few friends. However, every time I try to connect to a server I crash. I've tried updating Java and even uninstalled and re-downloaded Java. I've re-downloaded the game client also. I need some help. 

 

Unexpected crash while playing The error was: <String index out of range: 0>

It's possible you might figure out what's wrong from the log file below, but if you can't, post the full log on the wurm unlimited forums, and someone else might be able to help you.

Contents of console.log:
Time is Thu Dec 29 20:12:04 CST 2016
Running client version 

=== System information ===
Executing from C:\Program Files (x86)\Steam\steamapps\common\Wurm Unlimited\WurmLauncher\
Operating system: Windows 10 (arch: amd64, version: 10.0)
Java version: 1.8.0_60 (Oracle Corporation) <http://java.oracle.com/>
Jvm version: 25.60-b23 (Oracle Corporation) [Java HotSpot(TM) 64-Bit Server VM]
Available CPUs: 8

Dec 29, 2016 8:12:04 PM java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
Loading character Asher
Loading config default
Loading props file PlayerFiles\configs\default\gamesettings.txt
Executing PlayerFiles\configs\default\keybindings.txt
Keybinds UI: Secondary keybind for MOVE_BACK: DOWN
Keybinds UI: Secondary keybind for MOVE_FORWARD: UP
Keybinds UI: Secondary keybind for "toggle inventory": I
Keybinds UI: Secondary keybind for TOGGLE_CHARACTER: P
Keybinds UI: Secondary keybind for TURN_RIGHT: RIGHT
Keybinds UI: Secondary keybind for TURN_LEFT: LEFT
Keybinds UI: Secondary keybind for TOGGLE_CHAT: T
>>> Main thread exiting.
Loaded pack sound.jar (null)
Loaded pack pmk.jar (null)
Loaded pack graphics.jar (null)
Loading props file PlayerFiles\players\Asher\playerdata_test.txt
Loading props file PlayerFiles\players\Asher\stats.txt

Preparing to enable console logging.
Now logging to PlayerFiles\console.Asher.log

=== Wurm options ===
animation_playback_self = 0
auto_mipmaps_enabled = 2
auto_run_source = 0
cavedetail = 2
censor_chat = true
collada_animations = 3
color_black = 0.0,0.0,0.0
color_cyan = 0.0,1.0,1.0
color_error = 1.0,0.3,0.3
color_fuchsia = 1.0,0.0,1.0
color_green = 0.08,1.0,0.08
color_grey = 0.5,0.5,0.5
color_lime = 0.0,1.0,0.0
color_maroon = 0.5,0.0,0.0
color_navy_blue = 0.23,0.39,1.0
color_orange = 1.0,0.5,0.0
color_purple = 0.5,0.0,0.5
color_red = 1.0,0.0,0.0
color_royal_blue = 0.23,0.39,1.0
color_silver = 0.75,0.75,0.75
color_system = 0.5,1.0,0.5
color_teal = 0.0,0.5,0.5
color_white = 1.0,1.0,1.0
color_yellow = 1.0,1.0,0.0
compressed_textures = false
compressed_textures_S3TC = true
connectByIpIp = 127.0.0.1
connectByIpport = 3724
contribution_culling = 150
custim_timer_source = 1
customTimer1 = -1|-1
customTimer2 = -1|-1
customTimer3 = -1|-1
customTimer4 = -1|-1
customTimer5 = -1|-1
debug_mode = false
depth_clamp_enabled = 2
disable_select_all_shortcut = false
display_settings = false:true:0:1024:768:32:-1:false:true
enable_contribution_culling = false
enable_debugs = false
enable_lod = true
enable_shift_drag = false
enable_vsync = true
engine_multithreaded = 0
event_log_rotation = 2
exec_source = 0
fast_yield = false
fbo_enabled = 2
fog_coord_src = 0
font_antialias = 2
font_bold = 11
font_default = 11
font_header = 24
font_italian = 11
font_monospaced = 11
font_static = 11
fov_horizontal = 80
fps_limit = 60
fps_limit_background = 30
fps_limit_enabled = true
free_look_mode_disable_on_close_component = false
free_look_mode_disable_on_combat = false
free_look_mode_disable_on_open_component = false
free_look_mode_sensitivity = 10
game_client_thread_priority = 2
glsl_debug_loading = false
glsl_enabled = 2
gpu_skinning = true
gui_opacity = 3
gui_skin = 1
has_read_eula = false
hide_inactive_friends = false
hide_menu_examine = false
hide_menu_no_target = false
hide_menu_spam_mode = true
hide_menu_stop = false
hide_onscreen_fail_messages = false
hide_onscreen_hostile_messages = false
hide_onscreen_info_messages = false
hide_personal_goal = false
high_res_binoculars = true
hint_texture_scaling = 1
impColumn = true
inverse_mouse = false
irc_log_rotation = 2
irc_notif = 0
item_creature_render_distance = 3
key_bindings_source = 0
keyboard_layout = 0
loadInventoryStartup = true
local_list_in_event = false
lod = 1
log_extra_errors = false
log_gl_errors = false
mark_text_read = true
material_as_suffix = true
max_texture_size = 2
mega_texture_size = 6
model_loader_thread_priority = 2
model_loading_threads = 1
mount_rotation = false
multidraw_enabled = 2
no_brightness = false
no_terrain_render = false
no_world_render = false
non_power_of_two = 2
occlusion_queries_enabled = 2
offscreen_texture_size = 2
other_log_rotation = 2
outline_picking = true
player_texture_size = 2
reflection_texture_size = 2
reflections = 2
release_context = false
release_context_on_jogl_sleep = false
remember_password = true
render_distant_terrain = true
render_glow = false
render_sun_glare = false
resident_models = false
save_skills_on_quit = false
screenshot_file_format = 1
season_override = 0
send_extra_tile_data = false
setting_timestamps = true
settings_version = 3
shadow_level = 0
shift_drag_default = 10
showKChat = true
show_body_in_inventory = false
show_old_quickbar = false
silent_friends_update = false
skillgain_minimum = 1
skillgain_no_alignment = true
skillgain_no_favor = true
skydetail = 1
sound_al_gain = 15
sound_buzzlevel = 2
sound_cache_enabled = true
sound_doppler_enabled = false
sound_engine = 2
sound_footstepslevel = 10
sound_music_level = 5
sound_play_PMAlert = false
sound_play_ambients = true
sound_play_buzz = true
sound_play_combat = true
sound_play_door = true
sound_play_emotes = true
sound_play_footsteps = true
sound_play_music = true
sound_play_weather = true
sound_play_work = true
start_dedicated_server = false
stipple_enabled = true
structure_render_distance = 3
submit_client_data = 0
terrain_bump = true
terrain_res = 2
test_attach_equipment = false
test_mode = 0
thirdPerson = false
tile_transitions = true
tiledecorations = 2
togglePushToTalk = true
treelist_outline = true
trees = 3
update_optional = true
use_alpha_particles = true
use_anisotropic_filtering = 2
use_antialiasing = 1
use_color_picking = true
use_fast_clock_work_around = true
use_fbo_color_picking = true
use_nagles_algorithm = false
use_nano_timer = false
use_non_alpha_particles = true
use_phobia_models = false
use_tree_models = true
use_weather_particles = true
vbo_enabled = 2
viewport_bob = true
water_detail = 2

Setting up Collada Model Loader
Setting up WurmModel Model Loader
Executing PlayerFiles\configs\default\keybindings.txt
Translating legacy key PAGE_UP to PRIOR
Translating legacy key PAGE_DOWN to NEXT
Translating legacy key ENTER to RETURN
Word filter loaded: 23
Starting job manager with 7 worker threads
Using LWJGL display 1920:1080:0:0 (false)

Setting up OpenAL Sound Engine
OpenAL version: 1.1 ALSOFT 1.15.1
OpenAL renderer: OpenAL Soft
OpenAL vendor: OpenAL Community
OpenAL extensions: AL_EXT_ALAW AL_EXT_DOUBLE AL_EXT_EXPONENT_DISTANCE AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXT_MCFORMATS AL_EXT_MULAW AL_EXT_MULAW_MCFORMATS AL_EXT_OFFSET AL_EXT_source_distance_model AL_LOKI_quadriphonic AL_SOFT_buffer_samples AL_SOFT_buffer_sub_data AL_SOFTX_deferred_updates AL_SOFT_direct_channels AL_SOFT_loop_points AL_SOFT_source_latency
Generating: 128 source channels.

=== OpenGL information ===
LWJGL version: 2.9.1
Execution aborted at connection 0, iteration 0
Run time 0s, local time Thu Dec 29 20:12:12 CST 2016
Destroying game window
====== CLIENT CRASH ======
Unexpected crash while playing
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
    at java.lang.String.charAt(Unknown Source)
    at org.lwjgl.opengl.WindowsDisplay.getAdapter(WindowsDisplay.java:473)
    at org.lwjgl.opengl.Display.getAdapter(Display.java:1182)
    at com.wurmonline.client.WurmClientBase.firstRender(WurmClientBase.java:992)
    at com.wurmonline.client.WurmClientBase.runGame(WurmClientBase.java:253)
    at com.wurmonline.client.WurmClientBase.run(WurmClientBase.java:1485)
    at java.lang.Thread.run(Unknown Source)
 

Share this post


Link to post
Share on other sites

=== OpenGL information ===
LWJGL version: 2.9.1
Execution aborted at connection 0, iteration 0
Run time 0s, local time Thu Dec 29 20:12:12 CST 2016
Destroying game window

 

 

Usually the section " === OpenGL information === " has a little information about your graphics adapter and its driver, the fact it does not have that information might indicate an issue with the graphics driver. it might sijply mean the driver crashed. Can you restart the computer and see if that fixed it, if not can you tell me what graphics card you have,  and whether you have a laptop with "switchable" graphics (intel + nvidia/radeon)

Edited by Brash_Endeavors
  • Like 1

Share this post


Link to post
Share on other sites

Regrettably, restarting my computer didn't work. I do have a switchable graphics between Intel(R) HD Graphics 530 and NVIDIA GeForce GTX 960M

Edited by Awkwardturttle

Share this post


Link to post
Share on other sites

Can you go to the NVidia Graphics Control Panel  > Manage 3D Settings > Global tab,  and tell it to "always use high performance graphics (NVIDIA)", it might instead say "preferred graphics" and look like this:

 

OOfnr.png:

 

My suspicion is that it is trying to use the integrated intel not the gaming graphics,  because it does not recognize java games as "games" but as "desktop apps" needing only the integrated graphics

 

its also possible that it is using drivers optimized for directX games andnot openGL games, Microsoft tends to give laptop companies drivers optimized for its own DirectX and missing some openGL features,

if there is a laptop model i can see if there is a better driver out there or you can see if it allows you to download drivers here: NVIDIA DRIVERS  http://www.nvidia.com/Download/index.aspx?lang=en-uk

However some laptop makers do not allow you to get drivers direct from Nvidia and instead give you generic drivers that ship with Windows.

 

 

Edited by Brash_Endeavors

Share this post


Link to post
Share on other sites

I actually figured out my problem. For whatever reason my Intel Graphics were disabled, and upon enabling it, the game worked. Thanks for the help!

Share this post


Link to post
Share on other sites

ah probably why it shows no adapter -- it was trying to force use the intel graphics but those were disabled.

 

if enabling intel stopped the crash, then it is probably trying to use them for the game and you may have some additional issues using the intel graphics.

 

Come back if you need any more help.

 

 

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