Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] Problem with "change random"-effect
#1
hello...

first i removed all chars from the data.txt, exept template (i use lf2 1.9c).
after that i downloaded some chars from LFE and added them.
I tested it in vs-mode and all was fine...but as i stopped the game with F4 and want to change the random chars, there was an error and lf2 closed.

i tried much, but i didn't understand this... can anyone help me?

(sry for the speech, but i'm german ^^)
Thanks given by:
#2
Have you give the characters the ID 1-10? Because this are the random ID´s
Thanks given by:
#3
Sinow at the Crashing LF2 Topic Wrote:11. Pressing "Reset Random" while using only a few main character ids. {see #1}

I gues it's solved ;)
Thanks given by:
#4
it looks like this:
id: 0 type: 0 file: data\template.dat
id: 34 type: 0 file: data\solar_flare.dat
id: 36 type: 0 file: data\nightwing.dat
id: 1 type: 0 file: data\bdeep.dat
id: 7 type: 0 file: data\lindwurm.dat
id: 4 type: 0 file: data\leox.dat
id: 10 type: 0 file: data\kinghunt.dat
Thanks given by:
#5
The random algorithm covers the following characters (or, to say it better, IDs):
id: 1 type: 0 file: data\deep.dat
id: 2 type: 0 file: data\john.dat
id: 4 type: 0 file: data\henry.dat
id: 5 type: 0 file: data\rudolf.dat
id: 6 type: 0 file: data\louis.dat
id: 7 type: 0 file: data\firen.dat
id: 8 type: 0 file: data\freeze.dat
id: 9 type: 0 file: data\dennis.dat
id: 10 type: 0 file: data\woody.dat
id: 11 type: 0 file: data\davis.dat

This means that if you remove one of these IDs and the random function accidentally chooses this ID, the game will crash. To ensure that the random function (and with that, the game, too) runs properly, you MUST use these IDs.

For future reference, please check out this thread:
http://www.lf-empire.de/forum/showthread.php?tid=44&pid=49#pid49


from now on,
~solved and
~closed
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~

"Freeze, you're under vrest!" - Mark, probably.

» Gallery | » Sprites | » DeviantArt
Thanks given by:




Users browsing this thread: 1 Guest(s)