#Loenn doesn't close on crash

126 messages · Page 1 of 1 (latest)

drifting stump
#

Ok so the problem here is not that Loenn crashes, I can deal with that. The problem is that, whenever it does crash, it tanks my computer and I have to hard reset it. Closing Loenn doesn't work at all, hard restarting it using the keybind doesn't work, and Task Manager doesn't work to close it either.

prime coral
#

if you can't type the ö, windows+r and type in charmap, then find the ö character

drifting stump
#

I'll try that next time that happens and make sure that works

#

(I only sent this message after I hard reset the computer once, so the error went away for now)

prime coral
#

yeah fair

#

you could uhhh make a batch script which does that

#

though character encodings might screw you over

#

what is your windows language

drifting stump
#

Checking it rn

#

English (United States), is the native language of the device, I assume you need this and not the programming language my computer is in

prime coral
#

windows is in c

#

or c++, whatever

#

its not important, i meant the locale yea

#

i think you should be good if you type taskkill /f /im Lönn.exe into a text file and rename it into .bat

drifting stump
#

Alr I'll try that and make sure it works

#

Nope it isn't working

#

But honestly I'm ok to use windows+r cause it seems like that works

#

Ye doing that works to close Lonn

prime coral
#

did the icon change after renaming it into a .bat file

drifting stump
#

Yep it did and it ran like a .bat

prime coral
#

hm encoding issue then

#

how did you save the file

#

did you save it as ansi or utf-8 or something

#

right click, edit, then save as

drifting stump
#

I saved it as utf-8

#

should I save it as utf-16?

prime coral
#

save it as ansi

drifting stump
#

Oh ok

#

Nope didn't fix it

prime coral
#

yeah command prompt uses ansi

#

its inconvenient

#

what if you put pause on a new line and run it, then can you screenshot what does it say?

#

im sure the ö will look messed up

drifting stump
#

encoding issue frogeline

prime coral
#

yup

#

hmm

#

if you open command prompt and type chcp what do you see

#

851?

drifting stump
#

I see 437

prime coral
#

ah

#

so i forgor

#

one sec

drifting stump
#

alr

prime coral
#

uh-huh okay

#

the ö is character 0x94

#

if you go on charmap, can you find a character which is U+0094?

drifting stump
#

Is there a way to search on charmap

prime coral
#

under advanced

drifting stump
#

Oh wait huh

prime coral
#

theres a "go to unicode" thing in a small textbox

#

look at 0094

drifting stump
#

Nope there's nothing at 0094

prime coral
#

..hm

drifting stump
#

I'm pretty sure this is the right letter

#

but its at U+00F6

prime coral
prime coral
#

and command prompt uses code page 437

#

hm thisll be tricky then

#

do you have a hex editor

drifting stump
#

Nope i don't have one downloaded

#

I think I found an online one maybe though

prime coral
#

hxd is a free one

#

by mael hörz

#

sorry if this is like, really cumbersome

drifting stump
#

Alr its installed

prime coral
#

open hxd and drag and drop the bat file in

drifting stump
prime coral
#

on the left you should see the bytes that make up the batch file

#

on the right you should see ascii characters

#

can you show the bytes

drifting stump
#

hold up

prime coral
#

change the F6 at offset 11 into a 94

drifting stump
#

let me remove the pause function rq

prime coral
#

you can keep it

#

it'll help us check if it did the thing™️

drifting stump
prime coral
#

okay so, each byte has an offset

#

the topleft byte is at offset 00

#

the one to the right is at offset 01

#

etc, until offset 0F

#

then, one row below, the offset is 10

#

next column is 11 and so on

#

i want you to change the F6 byte at offset 11 into a 94

#

so place your cursor at the F6 and type 94

drifting stump
#

Ohh i see what I'm doing now

prime coral
#

yep

drifting stump
prime coral
#

the 94 should be red

#

yep

#

now ctrl+s to save it

drifting stump
#

Alright I'll try it

prime coral
#

then run it and check if it did the thing

drifting stump
#

It worked!!

prime coral
#

massive

#

idk why cmd just decides to be a pain in the ass with non-ascii catplush

#

either way, banger

drifting stump
#

no clue why

prime coral
#

i mean ik why, its just, why doesn't it just use UTF-8 from the get-go

#

and its not that it doesn't support it; you can chcp 65001 to make it use utf-8

drifting stump
#

Huh, thats just really weird that it doesnt start that way then

#

But anyways, thanks! happylandeline

echo kite
#

i cant deal with Lönn crashing, what kind of issues are you having? snowmadeline

prime coral
#

hence why i didn't ping

echo kite
#

what freeze snowmadeline

prime coral
#

#1292973674328227945

drifting stump
#

Alright

#

Sad news

#

The program doesnt work to terminate lonn

#

Neither does doing the windows+r thing

#

Here's the error message the program is getting

#

Problem is that Lonn is definitely open

prime coral
#

do you have some setting related to resizing the entity list from the sidebar

#

read the thread i linked

drifting stump
#

Let me check rq

#

I have the setting

#

It is not enabled

#

Should I uninstall auroras lonn plugin?

prime coral
#

hm

#

try it