Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] (Bug) Invisble ball which can't hurt oppenet, but can be hit.
#1
Yo. Anyway i am coding a new luffy for a game, and i tried to make an attack which is supposed to not be able to hit opponent, but can hit the enemy's ball. For example, if you were to hit him physically, you wouldn't hurt him and he couldn't hurt you; But if a ball was to hit you the opponent's ball would reflect back. I already know how to this, i just need to add a special body. The only thing which is causing me to post this here, is because it doesn't seem to work. So i tried changing the fall to 1 to try and check if the ball was hitting the enemy but not working. Sadly nothing worked.

So i could someone tell me what i did wrong.

here's an video/animation:

[Image: clip0083.gif]



Here's the code for Luffys Gomu Gomu No Ballon:) were he opoints out the invisible ball:


    DC-Code:
<frame> 287 Gum_Gum_No_Ballon
   pic: 65  state: 15  wait: 2  next: 288  dvx: 0  dvy: 0  centerx: 37  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
  sound: data\OGA_1890.wav     
 bdy:
      kind: 0  x: 21  y: 39  w: 29  h: 39
   bdy_end:
<frame_end>
 
<frame> 288 Gum_Gum_No_Ballon
   pic: 128  state: 15  wait: 2  next: 289  dvx: 0  dvy: 0  centerx: 74  centery: 159  hit_a: 0  hit_d: 0  hit_j: 0
  bdy:
      kind: 0  x: 23  y: 35  w: 42  h: 43
   bdy_end:
   itr:
      kind: 0  x: 0  y: 105  w: 81  h: 9999  dvx: -22  dvx: 25  dvy: 0  fall: -1  vrest: 5  bdefend: 0  injury: 15
   itr_end:
   itr:
      kind: 0  x: 79  y: 105  w: 79  h: 9999  dvx: 25  dvy: 0  fall: -1  vrest: 5  bdefend: 0  injury: 15 
   itr_end:
   opoint:
      kind: 1  x: 72  y: 79  action: 45  dvx: 0  dvy: 0  oid: 211  facing: 0
   opoint_end:
<frame_end>
 
<frame> 289 Gum_Gum_No_Ballon
   pic: 129  state: 15  wait: 2  next: 290  dvx: 0  dvy: 0  centerx: 81  centery: 159  hit_a: 0  hit_d: 0  hit_j: 0
   bdy:
      kind: 0  x: 23  y: 35  w: 42  h: 43
   bdy_end:
   itr:
      kind: 0  x: 0  y: 105  w: 81  h: 9999  dvx: -22  dvx: 25  dvy: 0  fall: -1  vrest: 5  bdefend: 0  injury: 15
   itr_end:
   itr:
      kind: 0  x: 79  y: 105  w: 79  h: 9999  dvx: 25  dvy: 0  fall: -1  vrest: 5  bdefend: 0  injury: 15 
   itr_end:
   opoint:
      kind: 1  x: 83  y: 79   action: 46  dvx: 0  dvy: 0  oid: 211  facing: 0
   opoint_end:
<frame_end>
 
<frame> 290 Gum_Gum_No_Ballon
   pic: 130  state: 15  wait: 2  next: 291  dvx: 0  dvy: 0  centerx: 79  centery: 159  hit_a: 0  hit_d: 0  hit_j: 0
   bdy:
      kind: 0  x: 23  y: 35  w: 42  h: 43
   bdy_end:
   itr:
      kind: 0  x: 0  y: 105  w: 81  h: 9999  dvx: -22  dvx: 25  dvy: 0  fall: -1  vrest: 5  bdefend: 0  injury: 15
   itr_end:
   itr:
      kind: 0  x: 79  y: 105  w: 79  h: 9999  dvx: 25  dvy: 0  fall: -1  vrest: 5  bdefend: 0  injury: 15 
   itr_end:
   opoint:
      kind: 1  x: 83  y: 79   action: 47  dvx: 0  dvy: 0  oid: 211  facing: 0
   opoint_end:
<frame_end>
 
<frame> 291 Gum_Gum_No_Ballon
   pic: 131  state: 15  wait: 2  next: 292  dvx: 0  dvy: 0  centerx: 79  centery: 159  hit_a: 0  hit_d: 0  hit_j: 0
   bdy:
      kind: 0  x: 23  y: 35  w: 42  h: 43
   bdy_end:
   itr:
      kind: 0  x: 0  y: 105  w: 81  h: 9999  dvx: -22  dvx: 25  dvy: 0  fall: -1  vrest: 5  bdefend: 0  injury: 15
   itr_end:
   itr:
      kind: 0  x: 79  y: 105  w: 79  h: 9999  dvx: 25  dvy: 0  fall: -1  vrest: 5  bdefend: 0  injury: 15 
   itr_end:
   opoint:
      kind: 1  x: 83  y: 79   action: 48  dvx: 0  dvy: 0  oid: 211  facing: 0
   opoint_end:
<frame_end>
 
<frame> 292 Gum_Gum_No_Ballon
   pic: 66  state: 15  wait: 1  next: 293  dvx: 0  dvy: 0  centerx: 41  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
  sound: data\OGA_1905.wav 
   opoint:
      kind: 1  x: 39  y: 79  action: 49  dvx: 0  dvy: 0  oid: 211  facing: 0
   opoint_end:
<frame_end>
 
<frame> 293 Gum_Gum_No_Ballon
   pic: 67  state: 15  wait: 1  next: 294  dvx: 0  dvy: 0  centerx: 41  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
   opoint:
      kind: 1  x: 39  y: 79  action: 49  dvx: 0  dvy: 0  oid: 211  facing: 0
   opoint_end:
<frame_end>
 
<frame> 294 Gum_Gum_No_Ballon
   pic: 66  state: 15  wait: 1  next: 295  dvx: 0  dvy: 0  centerx: 41  centery: 79  hit_a: 0  hit_d: 293  hit_j: 0
   opoint:
      kind: 1  x: 39  y: 79  action: 49  dvx: 0  dvy: 0  oid: 211  facing: 0
   opoint_end:
<frame_end>
 
<frame> 295 Gum_Gum_No_Ballon
   pic: 67  state: 15  wait: 1  next: 294  dvx: 0  dvy: 0  centerx: 41  centery: 79  hit_a: 0  hit_d: 292  hit_j: 0
   opoint:
      kind: 1  x: 39  y: 79  action: 49  dvx: 0  dvy: 0  oid: 211  facing: 0
   opoint_end:
<frame_end>
 
<frame> 296 Gum_Gum_No_Ballon
   pic: 68  state: 15  wait: 1  next: 297  dvx: 0  dvy: 0  centerx: 39  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
   opoint:
      kind: 1  x: 39  y: 79  action: 49  dvx: 0  dvy: 0  oid: 211  facing: 0
   opoint_end:
<frame_end>
 
<frame> 297 Gum_Gum_No_Ballon
   pic: 69  state: 15  wait: 1  next: 298  dvx: 0  dvy: 0  centerx: 36  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
   opoint:
      kind: 1  x: 37  y: 79  action: 49  dvx: 0  dvy: 0  oid: 211  facing: 0
   opoint_end:
<frame_end>
 
<frame> 298 Gum_Gum_No_Ballon
   pic: 76  state: 15  wait: 3  next: 999  dvx: 0  dvy: 0  centerx: 35  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
   bdy:
      kind: 0  x: 20  y: 40  w: 31  h: 38
   bdy_end:
<frame_end>




And here's the ball which is invisible:

    DC-Code:
<frame> 45 Luffys_Ballon_ball
   pic: 999  state: 3000  wait: 2  next: 1000  dvx: 550  dvy: 550  dvz: 550  centerx: 26  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 8  y: 85  w: 92  h: 74  dvx: 0  dvy: 0  fall: 1  vrest: 5  bdefend: 0  injury: 0 
   itr_end:
   bdy:
      kind: 0  x: 8  y: 85  w: 92  h: 75
   bdy_end:
<frame_end>
 
<frame> 46 Luffys_Ballon_ball
   pic: 999  state: 3000  wait: 2  next: 1000  dvx: 550  dvy: 550  dvz: 550  centerx: 26  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 8  y: 85  w: 92  h: 74  dvx: 0  dvy: 0  fall: 1  vrest: 5  bdefend: 0  injury: 0 
   itr_end:
   bdy:
      kind: 0  x: 8  y: 85  w: 92  h: 75
   bdy_end:
<frame_end>  
 
 
<frame> 47 Luffys_Ballon_ball
   pic: 999  state: 3000  wait: 2  next: 1000  dvx: 550  dvy: 550  dvz: 550  centerx: 26  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 8  y: 85  w: 92  h: 74  dvx: 0  dvy: 0  fall: 1  vrest: 5  bdefend: 0  injury: 0 
   itr_end:
   bdy:
      kind: 0  x: 8  y: 85  w: 92  h: 75
   bdy_end:
<frame_end>
 
<frame> 48 Luffys_Ballon_ball
   pic: 999  state: 3000  wait: 2  next: 1000  dvx: 550  dvy: 550  dvz: 550  centerx: 26  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 8  y: 85  w: 92  h: 74  dvx: 0  dvy: 0  fall: 1  vrest: 5  bdefend: 0  injury: 0 
   itr_end:
   bdy:
      kind: 0  x: 8  y: 85  w: 92  h: 75
   bdy_end:
<frame_end>
 
<frame> 49 Luffys_Ballon_ball
   pic: 999  state: 3000  wait: 2  next: 1000  dvx: 550  dvy: 550  dvz: 550  centerx: 26  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 8  y: 85  w: 92  h: 74  dvx: 0  dvy: 0  fall: 1  vrest: 5  bdefend: 0  injury: 0 
   itr_end:
   bdy:
      kind: 0  x: 8  y: 85  w: 92  h: 75
   bdy_end:
<frame_end>
 
<frame> 50 Luffys_Ballon_ball
   pic: 999  state: 3000  wait: 2  next: 1000  dvx: 550  dvy: 550  dvz: 550  centerx: 26  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 8  y: 85  w: 92  h: 74  dvx: 0  dvy: 0  fall: 1  vrest: 5  bdefend: 0  injury: 0 
   itr_end:
   bdy:
      kind: 0  x: 8  y: 85  w: 92  h: 75
   bdy_end:
<frame_end>
 
<frame> 51 Luffys_Ballon_ball
   pic: 999  state: 3000  wait: 2  next: 1000  dvx: 550  dvy: 550  dvz: 550  centerx: 64  centery: 159  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 8  y: 85  w: 92  h: 74  dvx: 0  dvy: 0  fall: 1  vrest: 5  bdefend: 0  injury: 0 
   itr_end:
   bdy:
      kind: 0  x: 8  y: 85  w: 92  h: 75
   bdy_end:
<frame_end>
 
<frame> 52 Luffys_Ballon_ball
   pic: 999  state: 3000  wait: 2  next: 1000  dvx: 550  dvy: 550  dvz: 550  centerx: 64  centery: 159  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 8  y: 85  w: 92  h: 74  dvx: 0  dvy: 0  fall: 1  vrest: 5  bdefend: 0  injury: 0 
   itr_end:
   bdy:
      kind: 0  x: 8  y: 85  w: 92  h: 75
   bdy_end:
<frame_end>
[Image: variaboss.png]
SUPER B*NER: :3
Reply
Thanks given by:
#2
ULTRA-facepalm
Invisble ball which can't hurt oppenet, but can be hit. == ball without itr but with bdy

and your f***ing coords are wrong
y: 85 is below tha earth -.-'

-.-' I see, you rly can steal stuff only but not doing your own things and fail at the most easiest stuff
Reply
Thanks given by: Alblaka
#3
I still making the very basic coding mistakes, but my work comes out good so i don't really care.

Anyway, when you say the coordinate is below 85. Are you talking about the opoint? cause that seems to be fine our are you talking about the itr?

Plus this isn't the original code, i added some bits to try and spot why it wasn't working. I know that you say the body is below the thing it makes sense.

Plus stop being whinny. I'm not here to argue, i just wannt get a answer. dum dum.
[Image: variaboss.png]
SUPER B*NER: :3
Reply
Thanks given by:
#4
your work comes out good BECAUSE you steal the most stuff
Reply
Thanks given by:
#5
Ok, you can say that. But the fact is i don't use stolen stuff.

Cause i know people like you come along.
[Image: variaboss.png]
SUPER B*NER: :3
Reply
Thanks given by:
#6
so why have you f***ing stolen NTSDII then?

just for fun, eh?
Reply
Thanks given by:
#7
(08-25-2009, 05:20 PM)TheNave Wrote:  ULTRA-facepalm
Invisble ball which can't hurt oppenet, but can be hit. == ball without itr but with bdy

and your f***ing coords are wrong
y: 85 is below tha earth -.-'

-.-' I see, you rly can steal stuff only but not doing your own things and fail at the most easiest stuff

ooh fuc*ing fuc* fuc* =_='''''''''''' *rage*

Not everyone can be a god in DCing like you. Show some understanding and be proud of your knowledge
Meh, nothing really changed here.. welcome good old kindergarten.

now the super "a** kicking expert" can send this to disposal - as arrogant as ever
Reply
Thanks given by: Bamboori
#8
TheNave : Suppose so. Just to understand the coding nothing more. I already explain my reason to you. Our have you already forgotten? Plus i think i deleted it off my Lap Top, cause there was no interesting codes except for the exe; but since i am not a hex-coder it's no use to me.

KadajNoir: Yeah your right.

Oh yeah, problem solved. The reason the itr wasn't working was exatcly naves reason. But the reason this bug was caused, is because i used a grid with these coordinates:

w: 159

h: 159

row: 5

col: 5

here's a screen shot as proof
Also i make mistakes sometimes. That's why i haven't got hundreds of topics in the lf2 coding section.
[Image: variaboss.png]
SUPER B*NER: :3
Reply
Thanks given by:
#9
(08-25-2009, 05:41 PM)KadajNoir Wrote:  
(08-25-2009, 05:20 PM)TheNave Wrote:  ULTRA-facepalm
Invisble ball which can't hurt oppenet, but can be hit. == ball without itr but with bdy

and your f***ing coords are wrong
y: 85 is below tha earth -.-'

-.-' I see, you rly can steal stuff only but not doing your own things and fail at the most easiest stuff

ooh fuc*ing fuc* fuc* =_='''''''''''' *rage*

Not everyone can be a god in DCing like you. Show some understanding and be proud of your knowledge
Meh, nothing really changed here.. welcome good old kindergarten.

now the super "a** kicking expert" can send this to disposal - as arrogant as ever
nah, it's just because he hacked one of our NTSD Team members account, got into the secret staff board and stole all our private work...
that's why I'm mad on him, he should thank me, I actually solved this topic -.-'

I'm nice to other begginers btw... it's just because of him
Reply
Thanks given by: Alblaka
#10
I just thanked you for solving it already. such a child.
[Image: variaboss.png]
SUPER B*NER: :3
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)