Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-06-2004, 09:59 PM
Andares Andares is offline
Scr1pt3r-ish
Andares's Avatar
Join Date: Mar 2004
Posts: 55
Andares is on a distinguished road
Send a message via AIM to Andares
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.
__________________
Quote:
<Wan> Can I have a poll? Do people mind if I talk about sexual intercourse between two human beings?
<Kai> Wan, I think the problem is that it's basically ALL you talk about
<Wan> Ahhhhhh
Aim: AtariTandy | Job: Sanstrata)
Reply With Quote
  #2  
Old 11-06-2004, 10:12 PM
xManiamaNx xManiamaNx is offline
Supreme Dictator
xManiamaNx's Avatar
Join Date: Nov 2002
Location: 127.0.0.1
Posts: 385
xManiamaNx is on a distinguished road
Send a message via MSN to xManiamaNx Send a message via Yahoo to xManiamaNx
The normal graal sword is disabled, correct?
Might try a different triggeraction. Not sure if that is what's causing the problem or not.
__________________
Maniaman

Play Maloria Now: [2.3] [3]
Maloria Website

Reply With Quote
  #3  
Old 11-06-2004, 11:24 PM
VeX_RaT_Boy VeX_RaT_Boy is offline
WannaBe Scripter
VeX_RaT_Boy's Avatar
Join Date: Aug 2002
Location: Norway
Posts: 960
VeX_RaT_Boy is on a distinguished road
Send a message via ICQ to VeX_RaT_Boy Send a message via AIM to VeX_RaT_Boy Send a message via Yahoo to VeX_RaT_Boy
NPC Code:
disableweapons;

__________________
-Kjetil Valen
Reply With Quote
  #4  
Old 11-07-2004, 12:23 AM
falco10291029 falco10291029 is offline
BEst User EVER!
Join Date: Apr 2004
Posts: 1,186
falco10291029 is on a distinguished road
Gscript is messed up, the basic sword gani hurtts players. Use a different one and you are fine.
__________________
BEst Insult ever: If I had a dollar for every brain you DIDNT have, i'd have one dollar!
Reply With Quote
  #5  
Old 11-07-2004, 02:00 AM
Andares Andares is offline
Scr1pt3r-ish
Andares's Avatar
Join Date: Mar 2004
Posts: 55
Andares is on a distinguished road
Send a message via AIM to Andares
Quote:
Originally Posted by falco10291029
Gscript is messed up, the basic sword gani hurtts players. Use a different one and you are fine.
Thanks...
__________________
Quote:
<Wan> Can I have a poll? Do people mind if I talk about sexual intercourse between two human beings?
<Kai> Wan, I think the problem is that it's basically ALL you talk about
<Wan> Ahhhhhh
Aim: AtariTandy | Job: Sanstrata)
Reply With Quote
  #6  
Old 11-07-2004, 10:40 AM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
Quote:
Originally Posted by Andares
Thanks...
Heya
He means to re-make the sword gani, But this is the first time I have heard a gani attacking.. :O
__________________
Reply With Quote
  #7  
Old 11-07-2004, 10:47 AM
Slash-P2P Slash-P2P is offline
Banned
Join Date: May 2004
Location: Burning Blade
Posts: 941
Slash-P2P is on a distinguished road
Quote:
Originally Posted by xAndrewx
Heya
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.
Reply With Quote
  #8  
Old 11-07-2004, 11:11 AM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
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
__________________
Reply With Quote
  #9  
Old 11-07-2004, 04:14 PM
p2p_Sir_Link p2p_Sir_Link is offline
Banned
p2p_Sir_Link's Avatar
Join Date: Nov 2004
Posts: 425
p2p_Sir_Link is an unknown quantity at this point
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.
Reply With Quote
  #10  
Old 11-07-2004, 05:20 PM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
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.
__________________
Reply With Quote
  #11  
Old 11-07-2004, 11:43 PM
p2p_Sir_Link p2p_Sir_Link is offline
Banned
p2p_Sir_Link's Avatar
Join Date: Nov 2004
Posts: 425
p2p_Sir_Link is an unknown quantity at this point
It may not have anything to do with the graal engine at all, but maybe the sword anis.
Reply With Quote
  #12  
Old 11-08-2004, 02:24 AM
falco10291029 falco10291029 is offline
BEst User EVER!
Join Date: Apr 2004
Posts: 1,186
falco10291029 is on a distinguished road
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.
__________________
BEst Insult ever: If I had a dollar for every brain you DIDNT have, i'd have one dollar!
Reply With Quote
  #13  
Old 11-08-2004, 08:10 PM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
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.
__________________
Reply With Quote
  #14  
Old 11-09-2004, 03:47 AM
Andares Andares is offline
Scr1pt3r-ish
Andares's Avatar
Join Date: Mar 2004
Posts: 55
Andares is on a distinguished road
Send a message via AIM to Andares
Quote:
Originally Posted by Kaimetsu
No.
Then how do I fix it?
__________________
Quote:
<Wan> Can I have a poll? Do people mind if I talk about sexual intercourse between two human beings?
<Kai> Wan, I think the problem is that it's basically ALL you talk about
<Wan> Ahhhhhh
Aim: AtariTandy | Job: Sanstrata)
Reply With Quote
  #15  
Old 11-09-2004, 04:08 AM
falco10291029 falco10291029 is offline
BEst User EVER!
Join Date: Apr 2004
Posts: 1,186
falco10291029 is on a distinguished road
I told you, you have to make a different gani!
__________________
BEst Insult ever: If I had a dollar for every brain you DIDNT have, i'd have one dollar!
Reply With Quote
  #16  
Old 11-09-2004, 04:36 AM
Andares Andares is offline
Scr1pt3r-ish
Andares's Avatar
Join Date: Mar 2004
Posts: 55
Andares is on a distinguished road
Send a message via AIM to Andares
Quote:
Originally Posted by falco10291029
I told you, you have to make a different gani!
I did, problem is still there.
__________________
Quote:
<Wan> Can I have a poll? Do people mind if I talk about sexual intercourse between two human beings?
<Kai> Wan, I think the problem is that it's basically ALL you talk about
<Wan> Ahhhhhh
Aim: AtariTandy | Job: Sanstrata)
Reply With Quote
  #17  
Old 11-09-2004, 04:56 AM
falco10291029 falco10291029 is offline
BEst User EVER!
Join Date: Apr 2004
Posts: 1,186
falco10291029 is on a distinguished road
did you call it sword? if so then duh youll have the problem. If not then post the scripts you are using
__________________
BEst Insult ever: If I had a dollar for every brain you DIDNT have, i'd have one dollar!
Reply With Quote
  #18  
Old 11-10-2004, 03:25 AM
Andares Andares is offline
Scr1pt3r-ish
Andares's Avatar
Join Date: Mar 2004
Posts: 55
Andares is on a distinguished road
Send a message via AIM to Andares
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!
__________________
Quote:
<Wan> Can I have a poll? Do people mind if I talk about sexual intercourse between two human beings?
<Kai> Wan, I think the problem is that it's basically ALL you talk about
<Wan> Ahhhhhh
Aim: AtariTandy | Job: Sanstrata)
Reply With Quote
  #19  
Old 11-10-2004, 08:19 PM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
:d!!
__________________
Reply With Quote
  #20  
Old 11-11-2004, 09:29 PM
Lance Lance is offline
dark overlord
Lance's Avatar
Join Date: Sep 2003
Location: Space Jam Mountain
Posts: 5,072
Lance is on a distinguished road
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.
Reply With Quote
  #21  
Old 11-11-2004, 11:37 PM
Polo Polo is offline
Classic Systems Admin
Join Date: Sep 2002
Location: Vancouver, Canada
Posts: 735
Polo is on a distinguished road
Send a message via AIM to Polo
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.
__________________
Be good little players, or Master Storm will ban you!



Proof that the staff are crazy..
*Ghost Pirate: I'm a little teacup short and stubbe here is my raygun here is my butt
DragonX: Jumping jack rabbits Batman! Our eggo waffles have been stolen! To the batmobile Robin!
X-Mann (RC): I have a head ache
Reply With Quote
  #22  
Old 11-17-2004, 01:01 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Yes the client is automatically checking for other players having a special gani running, and hurts people that are in front of them
Reply With Quote
  #23  
Old 11-23-2004, 03:19 AM
Andares Andares is offline
Scr1pt3r-ish
Andares's Avatar
Join Date: Mar 2004
Posts: 55
Andares is on a distinguished road
Send a message via AIM to Andares
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.
__________________
Quote:
<Wan> Can I have a poll? Do people mind if I talk about sexual intercourse between two human beings?
<Kai> Wan, I think the problem is that it's basically ALL you talk about
<Wan> Ahhhhhh
Aim: AtariTandy | Job: Sanstrata)
Reply With Quote
  #24  
Old 11-23-2004, 03:26 AM
ZeroTrack ZeroTrack is offline
G2K1 Developer
ZeroTrack's Avatar
Join Date: Apr 2004
Location: LongIsland, NY
Posts: 402
ZeroTrack is on a distinguished road
Send a message via AIM to ZeroTrack
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
__________________

Reply With Quote
  #25  
Old 11-23-2004, 05:52 AM
Andares Andares is offline
Scr1pt3r-ish
Andares's Avatar
Join Date: Mar 2004
Posts: 55
Andares is on a distinguished road
Send a message via AIM to Andares
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!
__________________
Quote:
<Wan> Can I have a poll? Do people mind if I talk about sexual intercourse between two human beings?
<Kai> Wan, I think the problem is that it's basically ALL you talk about
<Wan> Ahhhhhh
Aim: AtariTandy | Job: Sanstrata)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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