![]() |
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. |
The normal graal sword is disabled, correct?
Might try a different triggeraction. Not sure if that is what's causing the problem or not. |
NPC Code:disableweapons; |
Gscript is messed up, the basic sword gani hurtts players. Use a different one and you are fine.
|
Quote:
|
Quote:
He means to re-make the sword gani, But this is the first time I have heard a gani attacking.. :O |
Quote:
|
Quote:
|
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.
|
Quote:
|
It may not have anything to do with the graal engine at all, but maybe the sword anis.
|
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.
|
Quote:
|
Quote:
|
I told you, you have to make a different gani!
|
Quote:
|
did you call it sword? if so then duh youll have the problem. If not then post the scripts you are using
|
Quote:
Removed the sword sound from the gani, and it worked. Now to debug the HP system/add projectile weapons! Joy! ^^ |
:d!!
|
Quote:
People have done it. It is horrible. |
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.
|
Yes the client is automatically checking for other players having a special gani running, and hurts people that are in front of them
|
Quote:
I named it rebirth_punch.gani before, and the problem was still there. |
Quote:
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 |
Quote:
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.