TL;DR: CLICK ME
(06-24-2016, 04:06 AM)Distress Wrote: So is no one going to answer my question or are you all just going o keep looking at the post awkwardly?
Relax, not everyone has Kate installed and/or knows how to solve the underlying issue. In fact, I first had to download & install the mod to see what's going on.
For those that don't know what's happening: when you play as Sorcerer (lf2.net for unlocking him) and do D>JDJ, you'll spawn Articuno. The sprite looks like it's directly taken out of Pokemon Stadium; the bmp-file is 416 x 804 pixels.
BUT, after about half an hour of digging, I noticed that Articuno itself is not the issue but rather this frame in sorcerer.dat:
DC-Code:
<frame> 309 DA_action
pic: 119 state: 15 wait: 4 next: 310 dvx: 0 dvy: 0 dvz: 0 centerx: 46 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
wpoint:
kind: 1 x: 52 y: 54 weaponact: 31 attacking: 0 cover: 1 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
opoint:
kind: 1 x: 20 y: 46 action: 200 dvx: 0 dvy: 0 oid: 209 facing: 0
opoint_end:
<frame_end>
|
Skipping it will at least prevent the crash (in-game, Sorcerer spawns Articuno but it doesn't do anything lol). Now it's time to find the real culprit! And....
*drumroll*
This is THE EVIL (freeze_ball.dat):
DC-Code:
<frame> 200 F.r.e.e.z.e.A.l.l!!!--Under
pic: 100 state: 3005 wait: 0 next: 201 dvx: 0 dvy: 0 centerx: 50 centery: 500 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 201 F.r.e.e.z.e.A.l.l!!!--Under
pic: 100 state: 3005 wait: 0 next: 201 dvx: 43 dvy: 0 centerx: 50 centery: 500 hit_a: 0 hit_d: 0 hit_j: 0
opoint:
kind: 1 x: 0 y: 350 action: 100 dvx: 0 dvy: 0 oid: 209 facing: 0
opoint_end:
<frame_end>
|
More precisely, the frame names. The crash is caused by the length of them. Changing them to something nicer will instantly resove the issue, for example, this works:
DC-Code:
<frame> 200 Articuno-thingy
pic: 100 state: 3005 wait: 0 next: 201 dvx: 0 dvy: 0 centerx: 50 centery: 500 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 201 Articuno-thingy
pic: 100 state: 3005 wait: 0 next: 201 dvx: 43 dvy: 0 centerx: 50 centery: 500 hit_a: 0 hit_d: 0 hit_j: 0
opoint:
kind: 1 x: 0 y: 350 action: 100 dvx: 0 dvy: 0 oid: 209 facing: 0
opoint_end:
<frame_end>
|
You can either patch the dat-file yourself or use the one attached to this post. It's exactly the patch shown above.
*drops mic*