The Dink Network

Why does Freedink crash here?

I, Kara Gu

December 8th 2009, 01:15 AM
girl.gif
Argetva
Peasant She/Her United States
She dumped me once she found out i was a girl... 
I haven't been playing Freedink very long so the question may seem amateur, but When I try to play this dmod (or any for that matter) I quickly reach a point where the game abruptly crashes. The error message seems helpful, until I found that it didn't actually help.
"Dink Smallwood ('dink') was not found on your computer. Please configure the Dink program name in the Options menu."
What's happening here? I'm not particularly savvy when it comes to code, but i can't run anything but Ubuntu without mysteriously trashing the operating system. This means that I can't even use Wine Please help!
December 8th 2009, 08:17 AM
slimeb.gif
DaVince
Peasant He/Him Netherlands
Olde Time Dinkere 
"i can't run anything but Ubuntu without mysteriously trashing the operating system. This means that I can't even use Wine"

Then the problem is with your system or the OS, not FreeDink.

Have you tried reinstalling the system (or just rebooting if you don't do that often - I've had problems just once where I couldn't run apps anymore until I rebooted)?
December 8th 2009, 06:57 PM
fairy.gif
Someone
Peasant He/Him Australia
 
I've gotten the same crash a few times on various DMODs with the same error message. It happened after I installed Ubuntu 9.10 & installed Freedink thru the Ubuntu tools. Before with an older version of Freedink & Ubuntu 8.10 it was fine. I thought it was just me so I didn't try to figure out what was causing it. It seems to crash at certain places. I'll try to see what places it crashes when I have some time (you should do this too Argetva) since just saying it crashes probably isn't enough for Beuc to fix it.
December 9th 2009, 01:56 AM
slimeg.gif
metatarasal
Bard He/Him Netherlands
I object 
Same problem here, I have Ubuntu 9.10 too and got FreeDink from the Ubuntu software center. I haven't tested much yet, but I noticed that my own DMOD (The Scourger) crashes as soon as you press the start button with this error. Not every DMOD has this, I'll look into it...
December 9th 2009, 02:45 AM
peasantmb.gif
yeoldetoast
Peasant They/Them Australia
LOOK UPON MY DEFORMED FACE! 
You do know that there is a debug log don't you?
December 9th 2009, 07:44 AM
slimeg.gif
metatarasal
Bard He/Him Netherlands
I object 
It's not like the debug tool provides any useful information.

Anyway, for 'The Scourger' I tracked down the problem. The problem is this command in START1.c:

add_item("item-flash",438,11);

As you can see it adds an item with the name item-flash. This name is 10 characters which causes Freedink to crash, renaming this item to item-flsh (9 characters) solves the problem. (I know I shouldn't use filenames over 9 characters, but it works in Windows... )

I will rename my item files for the next release of this DMOD to comply with the 8 character standard, but this also seems to be a bug that should be fixed...

I'm waiting to see if you guys find something similar for other DMODs as well.
December 15th 2009, 04:54 AM
farmer.gif
Beuc
Peasant He/Him France
 
Hi,

Thanks for the reports.

I'll have a look at The Scourger problem later today.

Generally speaking, to fix a problem, a developer need to
reproduce it:

So I think the best way to help is to send me
a (zipped) saved game with directions on how to reproduce the
crash.

Note: the "was not found" error message is from DFArc, because
it's difficult for it to determine if dink either wasn't found,
or crashed. This needs fixing too
December 15th 2009, 05:31 AM
slimeg.gif
metatarasal
Bard He/Him Netherlands
I object 
The Scourger problem only occurs on the version of freedink I got from the ubuntu software center. I compiled freedink from the latest officially released source yesterday and it no longer had this problem. (Official release: 18 September)

EDIT: Also, the I kara Gu problem is probably the same. It has an item named 'item-magic'.
December 16th 2009, 04:21 PM
farmer.gif
Beuc
Peasant He/Him France
 
Indeed the FreeDink that Ubuntu included in "Karmic" is a bit oldish

The next release should be OK.
December 17th 2009, 12:16 AM
anon.gif
Skorn
Peasant He/Him
I Bring Tidings of Spam 
I kara gu sucks thats why it freezes.
December 17th 2009, 07:39 AM
anon.gif
Xabier V
Ghost They/Them
 
I had a similar problem with Kubuntu 9.10. I installed the last version of Freedink from:
http://www.freedink.org/get
This solved the problem
(Ubuntu ships version 1.08.20090120, and most recent is 1.08.20090918)
January 20th 2010, 03:04 PM
girl.gif
Argetva
Peasant She/Her United States
She dumped me once she found out i was a girl... 
I see