Little Fighter Empire - Forums
[solved] Problem with "change random"-effect - Printable Version

+- Little Fighter Empire - Forums (https://lf-empire.de/forum)
+-- Forum: Little Fighter 2 Zone (https://lf-empire.de/forum/forumdisplay.php?fid=7)
+--- Forum: Data Changing (https://lf-empire.de/forum/forumdisplay.php?fid=11)
+---- Forum: Solved Problems (https://lf-empire.de/forum/forumdisplay.php?fid=14)
+---- Thread: [solved] Problem with "change random"-effect (/showthread.php?tid=781)



[solved] Problem with "change random"-effect - Schlachter - 08-06-2008

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 ^^)


RE: Problem with "change random"-effect - Dragonxl - 08-06-2008

Have you give the characters the ID 1-10? Because this are the random ID´s


RE: Problem with "change random"-effect - Lauli - 08-06-2008

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 ;)


RE: Problem with "change random"-effect - Schlachter - 08-06-2008

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


RE: [solved] Problem with "change random"-effect - Silverthorn - 08-06-2008

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