[solved] Weird bugs - 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] Weird bugs (/showthread.php?tid=2914) Pages:
1
2
|
||||||||||
[solved] Weird bugs - no one - 05-19-2009 Bug1 (The only one for now): In the DJA move, I have to put a wait: 60 in frame 254 since I can't make the aiming ball disappear if I press A or D sooner than that. Any idea how to fix it? Bug 2: Sometime when I press A or D, the ball won't disappear. And sometime, it leave a weird shadow on the ground. Here is the code: Move:
Ball:
View the attachment below to see how it goes RE: Weird bugs - TheNave - 05-19-2009 char's bdy is wrong
negativ w doesn't work, better would be
balls itr is wrong
you should change the x value into something negative like
I didn't even look closely on your code, but that was the first thing i saw was wrong, there could be more problems, but try it with these changes and reply if it works or not RE: Weird bugs - Alblaka - 05-19-2009 Don't make that big itr's (w: 999...) If you make a body covering all the screen, you can use even an itr with w:1 (as long as it has the same y-coordinates). Big itr's are buggy and will need at least a wait: 2 or 3 until they have "scanned" theire huge affect area... 2nd: Fall and arest and other tags in itr/kind:8 can cause malfunctions sometime (due to they aren't necessary) you should remove them. 3rd: Put in a zwidth: 5000, otherwise the itr's can only interact with your char on a straight line RE: Weird bugs - TheNave - 05-19-2009 (05-19-2009, 05:06 PM)Alblaka Wrote: Don't make that big itr's (w: 999...)w00t? a move with w: 1 can cover the whole field? don't think so, there are no problems with huge w's 2nd, fall arest, etc. are ignored in ik8's but do not cause any bugs 3rd: I think a zwidth: 999999999 is enough ^^ (yay, blocked all his arguments, mwhahaha) RE: Weird bugs - Alblaka - 05-19-2009 (05-19-2009, 05:27 PM)TheNave Wrote:(05-19-2009, 05:06 PM)Alblaka Wrote: Don't make that big itr's (w: 999...)w00t? a move with w: 1 can cover the whole field? don't think so, there are no problems with huge w's 1st: If you take a bdy with w: 99999999999999999 it's fine... but a itr with w: 99999999999 AND a short wait (usually 0 or 1 if you are using special bdys etc) causes bugs... The system needs some time to scan such a huge area.... therefore ( i think it was Azriel) told me to make big bdys instead big itrs ^^ 2nd: Dunno, but there was a char with a move including itr/kind:8's and THERE the additional tags caused the itr to malfunction... 3rd: Aww, lol.. due to the much "9"'s i haven't seen thhe zwidth... however, same as 1st, it shouldn't be that big... RE: Weird bugs - Azriel - 05-19-2009 kayz let's see. I don't know why u can't shoot before 60 TUs is up. I'll try a step by step fix of ur code without actually testing anything. - First, your char opoints t3 targeter/bullet thing. Apparently you're locking your char while the targeter is flying, that's fine. - Dunno why ur char has an ik8 in frame 256, but anyways, it shouldn't have the bdy in there that can intersect the targeter coz that will make the targeter stop chasing and just stick to your char. - frame 256's hit_j: should be 257 as well (same as hit_d coz of the mp -9 thing. - looking at your ik8s, dunno y there's 2 of them to delete the targeter. 1 should be to make it go to shoot, the other should make it go to disappear (delete). - your char shouldn't try to hit ur targeter via ik0, it should have a bdy in 255 to affect the ik8 thing in the targeter that makes it shoot. - targeter needs hit and hitting frames (f10 and 20). make these lead to disappearing frames or sth. --- actually here's a quick guide on how to make this work - char opoints targeter - targeter chases enemies via hit_Fa: 2 - targeter has 2 ik8s, one to make it shoot, one to make it disappear - char has a waiting frame that subtracts mp - waiting frame has hit_a: to a frame with a bdy that activates the ik8 on the targeter for shoot - waiting frame has hit_j: and hit_d: to a frame with a bdy that activates the ik8 on the targeter for delete - char's injured frames and on ground frames probably should have the bdys for delete as well, but this might make 2 instances of ur char buggy if both try the move. --- kayz so. random replying comments: @Alblaka actually that conv said have a bdy: 3 pixels wide and an ik8 1 pixel wide, but that only applied in the situation for something that should stick to ur char that doesn't move (charging attack). this situation u could either have a big ik8 and a small bdy or small ik8 and big bdy or both big (but preferably only 1 of them is big coz it might save some itr calculations per frame (depending on how lf2 detects itrs)). @people? actually zwidth: 500 is quite big enough (500 up and 500 down the z axis). well maybe 1000 if you want to be super safe but yea. p/s: state: 9998 is an instant delete. and the itr and/or bdy thing requiring wait: 1 or 2 (the one i'm unsure about), i would think that both need the delay rather than just the itr, but i still haven't tested it. Azriel~ RE: Weird bugs - no one - 05-20-2009 @Nave: When I'm home, I'll test it. @Alblaka: So I whether have to change the itr effect's area or the wait to make it work right? Quote:Dunno why ur char has an ik8 in frame 256, but anyways, it shouldn't have the bdy in there that can intersect the targeter coz that will make the targeter stop chasing and just stick to your char.The bdy in it is to prevent the targeter to go behind the char (you can't shoot from behind with the gun pointing to the front). The itr/kind:8 is to bring the char back to normal frames if the targeter goes behind him. Quote:- targeter has 2 ik8s, one to make it shoot,but the itr/kind: 8 will move the targeter to the center point of the char so it won't be able to interact anyone. EDIT: @Alblaka, Nave and Azriel: It worked. Thanks. EDIT2: Before anyone said "click the 'solved' button", There's still the 60-TU/wait-before-hit-problem. RE: Weird bugs - Azriel - 05-20-2009 hm i didn't think of that. so you actually did have to use the ik0. that's pretty cool actually. actually I can't think of how you made it work in terms of shooting (at least not without bugs; ignoring the 60 TU thing). if you could explain how the shooting works without bugs, then i may be able to find out why the 60 TU thing has to be there and possibly fix it. Azriel~ RE: Weird bugs - no one - 05-20-2009 After opoint the targeter, the char go to this looping frame:
As you can see, when the you press A, he'll go frame 255, which is this frame:
In this frame, there is a special itr/kind:0/effect: 4 so it will reflect astate: 3000 ball, this ball to be exact:
When the ball get hit by the itr, it goes to frame 30 (the rebound frame):
And this is nothing special. It's only a normal itr/kind: 0 to hit you. That's how I made him do the shooting. RE: Weird bugs - Azriel - 05-20-2009 i know that, but the flaw is that you can't hit ur own t3 if it's facing the same direction as you =s. what's 801 frame 0? Azriel~ |