![]() |
|
Very Weird Randomize Bug - 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) +--- Thread: Very Weird Randomize Bug (/showthread.php?tid=8795) |
Very Weird Randomize Bug - Rhino.Freak - 06-29-2013 so guys Im working on a mod and theres a problem I noticed that happens everytime.. so what happens is, whenever I pick random character with some random opponents, after the match is over, when I click on randomize, the first random character gets randomized to the first character in my data.txt, (id: 30 character in this case, which should not even appear without adding cheatcode), and when I randomize after that the first 2 random characters in the character selection screen always turn out to be same, its pretty weird and I need some help, as far as I remember there's nothing that I changed with the exe except of some design.. HELP NEEDED! RE: Very Weird Randomize Bug - empirefantasy - 06-29-2013 usually id:0 is the first in the list. That makes random function work properly. So go and add template (or another id: 0) in the first line. RE: Very Weird Randomize Bug - The Lost Global Mod - 06-29-2013 to confirm, you could always try to start the game with a non-modified exe. you can get the exe only here btw, lf2 2.0a files RE: Very Weird Randomize Bug - Rhino.Freak - 06-30-2013 well I tried both the things but the bug remains as it is.. when I added template, the randomize became template and the same bug.. tried with the original lf2 exe too and still same bug.. need help
RE: Very Weird Randomize Bug - empirefantasy - 06-30-2013 why dont you show us your data file? that would be a very good way to help you. RE: Very Weird Randomize Bug - Rhino.Freak - 06-30-2013 Code: <object>
id: 30 type: 0 file: data\char\marine1.dat
id: 31 type: 0 file: data\char\hollow.dat
id: 32 type: 0 file: data\char\hollow3.dat
id: 33 type: 0 file: data\char\naruto_clone.dat
id: 55 type: 0 file: data\char\ges.dat
id: 1 type: 0 file: data\char\naruto.dat
id: 2 type: 0 file: data\char\sasuke.dat
id: 3 type: 0 file: data\char\goku.dat
id: 4 type: 0 file: data\char\ichigo.dat
id: 5 type: 0 file: data\char\tsuna.dat
id: 7 type: 0 file: data\char\yugi.dat
id: 8 type: 0 file: data\char\vegeta.dat
id: 121 type: 4 file: data\char\weapon5.dat #baseball
id: 122 type: 6 file: data\char\weapon6.dat #milk
id: 123 type: 6 file: data\char\weapon8.dat #beer
id: 243 type: 1 file: data\char\bandana.dat #natsu
id: 200 type: 3 file: data\char\sakura_ball.dat
id: 202 type: 3 file: data\char\hollow_effects.dat
id: 203 type: 3 file: data\char\spiritbomb.dat
id: 204 type: 3 file: data\char\wind.dat
id: 205 type: 3 file: data\char\poison.dat
id: 206 type: 3 file: data\char\vegeta_power.dat
id: 207 type: 3 file: data\char\special_tsu.dat
id: 210 type: 3 file: data\char\katon_ball.dat
id: 211 type: 3 file: data\char\firen_flame.dat
id: 212 type: 3 file: data\char\freeze_column.dat
id: 214 type: 3 file: data\char\flash.dat
id: 215 type: 3 file: data\char\frog.dat
id: 216 type: 3 file: data\char\doggy.dat
id: 219 type: 3 file: data\char\orihime_ball.dat #heal
id: 223 type: 3 file: data\char\light.dat
id: 224 type: 3 file: data\char\kamehameha.dat
id: 225 type: 3 file: data\char\snake.dat
id: 226 type: 3 file: data\char\coffin.dat
id: 229 type: 3 file: data\char\rasenshuriken.dat
id: 230 type: 3 file: data\char\goku_ball.dat
id: 235 type: 3 file: data\char\tsuan_flame.dat
id: 240 type: 3 file: data\char\duel.dat
id: 241 type: 3 file: data\char\cero.dat
id: 253 type: 3 file: data\char\ichigo_ball.dat
id: 255 type: 3 file: data\char\bankai_ball.dat
id: 258 type: 3 file: data\char\bankai_attack.dat
id: 260 type: 1 file: data\char\ichigo_ball2.dat
id: 270 type: 3 file: data\char\charge_bleach.dat
id: 434 type: 1 file: data\char\rasengan_ball.dat #rasengan
id: 408 type: 3 file: data\char\katon_big.dat
id: 440 type: 3 file: data\char\chidori.dat
id: 407 type: 3 file: data\char\chidori_sword.dat
id: 998 type: 5 file: data\etc.dat
id: 999 type: 5 file: data\broken_weapon.dat
<object_end>
<file_editing>
data\nothing.txt
<file_editing_end>
<background>
id: 4 file: bg\sys\tt\bg.dat
id: 9 file: bg\sys\academy\bg.dat
id: 2 file: bg\sys\lf\bg.dat
id: 3 file: bg\sys\HokageMeet\bg.dat
id: 5 file: bg\sys\thr\bg.dat
id: 6 file: bg\sys\milfbase\bg.dat
id: 7 file: bg\sys\qi\bg.dat
id: 8 file: bg\sys\bc\bg.dat
<background_end>
id: 100~199 drop weaponthis is it for now .. RE: Very Weird Randomize Bug - Silverthorn - 06-30-2013 If I'm not mistaken, the first entry of data.txt is always displayed, no matter which id you give it. That's for that. Regarding the randomizing.... (06-29-2013, 01:57 PM)rhino.freak Wrote: as far as I remember there's nothing that I changed with the exe except of some design..Have you paid attention to the byte-sizes of the bitmaps that were replaced? If they do not match, then the addresses of certain functions of lf2 might be different. That could explain why the randomizer is borked. This applies for anything and is not limited to bitmaps only. If you remove or add a single byte into the exe, the implications can range from "no effect" up to "exe does not even start". Do you start anything else with the exe? For example, some sort of DLL or any "unrandomizer"? edit: and follow Reaper's advice ![]() Just add a couple dummy-lines to check if the randomizer then works. RE: Very Weird Randomize Bug - Reaper - 06-30-2013 IIRC the randomizer goes bonkers if you have too few characters to choose from (less than 10?). If I take a couple of the original heroes out of data.txt I get the same error. RE: Very Weird Randomize Bug - Rhino.Freak - 06-30-2013 @blue pheonix : well I did try to use original lf2, but it didnt work.. @reaper: i'll add more characters and report back, most probably it'll work ![]() EDIT : Added more characters and randomize working fine! thanx fellas.. topic is SOLVED! xD
|