Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Large Scripting Bug! (https://forums.graalonline.com/forums/showthread.php?t=55939)

Andares 11-06-2004 09:59 PM

Large Scripting Bug!
 
I've been working on a custom HP system. I'm using actionmelee for the HP system. Also, I'm using clientr.hp and clientr.maxhp to store values.

Whenever I hit a player with a sword, it not only deducts hp from clientr.hp, but ALSO THE BUILT IN GRAAL HP SYSTEM

Help pls.

xManiamaNx 11-06-2004 10:12 PM

The normal graal sword is disabled, correct?
Might try a different triggeraction. Not sure if that is what's causing the problem or not.

VeX_RaT_Boy 11-06-2004 11:24 PM

NPC Code:
disableweapons;


falco10291029 11-07-2004 12:23 AM

Gscript is messed up, the basic sword gani hurtts players. Use a different one and you are fine.

Andares 11-07-2004 02:00 AM

Quote:

Originally Posted by falco10291029
Gscript is messed up, the basic sword gani hurtts players. Use a different one and you are fine.

Thanks...

xAndrewx 11-07-2004 10:40 AM

Quote:

Originally Posted by Andares
Thanks...

Heya :D
He means to re-make the sword gani, But this is the first time I have heard a gani attacking.. :O

Slash-P2P 11-07-2004 10:47 AM

Quote:

Originally Posted by xAndrewx
Heya :D
He means to re-make the sword gani, But this is the first time I have heard a gani attacking.. :O

I think its something with the graal engine or whatever that makes it act that way.

xAndrewx 11-07-2004 11:11 AM

Quote:

Originally Posted by Slash-P2P
I think its something with the graal engine or whatever that makes it act that way.

Aha, Thanks for informing me ;)

p2p_Sir_Link 11-07-2004 04:14 PM

I was told a while ago that scripts could be built into ganis. Open up the sword gani in Textpad or Wordpad and hack away at it, looking for scripts like playerhurt or something.

Kaimetsu 11-07-2004 05:20 PM

Quote:

Originally Posted by p2p_Sir_Link
I was told a while ago that scripts could be built into ganis

Correct. However, that is not relevant to the matter being discussed.

p2p_Sir_Link 11-07-2004 11:43 PM

It may not have anything to do with the graal engine at all, but maybe the sword anis.

falco10291029 11-08-2004 02:24 AM

Yeah that is what I meant, the original ganis (sword spin, sword, ect) were made to hurt, and I think that script is in there somewhere, or refferred to that gani in the graal engine.

Kaimetsu 11-08-2004 08:10 PM

Quote:

Originally Posted by p2p_Sir_Link
It may not have anything to do with the graal engine at all, but maybe the sword anis.

No.

Andares 11-09-2004 03:47 AM

Quote:

Originally Posted by Kaimetsu
No.

Then how do I fix it?

falco10291029 11-09-2004 04:08 AM

I told you, you have to make a different gani!

Andares 11-09-2004 04:36 AM

Quote:

Originally Posted by falco10291029
I told you, you have to make a different gani!

I did, problem is still there.

falco10291029 11-09-2004 04:56 AM

did you call it sword? if so then duh youll have the problem. If not then post the scripts you are using

Andares 11-10-2004 03:25 AM

Quote:

Originally Posted by falco10291029
did you call it sword? if so then duh youll have the problem. If not then post the scripts you are using

Heh.. FIXED.

Removed the sword sound from the gani, and it worked.
Now to debug the HP system/add projectile weapons! Joy! ^^

xAndrewx 11-10-2004 08:19 PM

:d!!

Lance 11-11-2004 09:29 PM

Quote:

Originally Posted by Andares
Heh.. FIXED.

Removed the sword sound from the gani, and it worked.
Now to debug the HP system/add projectile weapons! Joy! ^^

As long as you have renamed it (so you do not have an updated sword.gani file on your server that players will download) you are fine. In other words, don't screw up the gani for every other server.

People have done it. It is horrible.

Polo 11-11-2004 11:37 PM

Yeah, the problem purely comes from the naming of the gani, and so you can just rename it to solve the problem, no other editing required.

Admins 11-17-2004 01:01 AM

Yes the client is automatically checking for other players having a special gani running, and hurts people that are in front of them

Andares 11-23-2004 03:19 AM

Quote:

Originally Posted by Lance
As long as you have renamed it (so you do not have an updated sword.gani file on your server that players will download) you are fine. In other words, don't screw up the gani for every other server.

People have done it. It is horrible.

Actually, you're wrong.
I named it rebirth_punch.gani before, and the problem was still there.

ZeroTrack 11-23-2004 03:26 AM

Quote:

Originally Posted by Andares
Actually, you're wrong.
I named it rebirth_punch.gani before, and the problem was still there.

even after you renamed it and put it in the hp systems npc?

then again it would surprise me with this gserver, considering all the bugs

hence downloadsize does get a value and another recent problem someone had in this forum is the action would trigger with the word server as the begining of it, i think it was something like triggeraction x+1,y+1,serverenter,; after i took server out it was fine hehe ... odd

Andares 11-23-2004 05:52 AM

Quote:

Originally Posted by ZeroTrack
even after you renamed it and put it in the hp systems npc?

then again it would surprise me with this gserver, considering all the bugs

hence downloadsize does get a value and another recent problem someone had in this forum is the action would trigger with the word server as the begining of it, i think it was something like triggeraction x+1,y+1,serverenter,; after i took server out it was fine hehe ... odd

Even after I put it in the HP System's NPC, removed the sword from the gani, renamed it, etc.

It annoyed me SO MUCH!


All times are GMT +2. The time now is 11:17 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.