Raised This Month: $51 Target: $400
 12% 

Bug: shExtraDamage and read_data(1) in death event


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
yang
Veteran Member
Join Date: May 2005
Location: galoreservers.net
Old 08-05-2005 , 13:24   Bug: shExtraDamage and read_data(1) in death event
Reply With Quote #1

I don't know if this is a bug or not but i think it is:

say this:

public damage()
{
shExtradamage( do 999 dmg to victim)
}

public death_event()
{
killer = read_data(1)
victim = read_data(2)
if killer has superhero power -> do something
}

the killer isn't registered in this case if you kill someone with shExtraDamage. Is there any way around this? so it can check the killer == the killer if it is using shExtraDamage?
The only way i think would work is in the damage section you do a life check on the victim.

I noticed this with my Saiyajin hero. It would not register the killer under read_data(1) if it was done by extradamage o.O
__________________
yang is offline
Send a message via AIM to yang
guy
Senior Member
Join Date: Apr 2005
Old 08-05-2005 , 14:46  
Reply With Quote #2

This only happens with rank I believe....
__________________
Call it, friendo.
guy is offline
yang
Veteran Member
Join Date: May 2005
Location: galoreservers.net
Old 08-05-2005 , 14:53  
Reply With Quote #3

wth u talking about ...
__________________
yang is offline
Send a message via AIM to yang
guy
Senior Member
Join Date: Apr 2005
Old 08-05-2005 , 14:59   Re: Bug: shExtraDamage and read_data(1) in death event
Reply With Quote #4

Quote:
Originally Posted by rockell
It would not register a kill for the killer if it was done by extradamage o.O
Rank wouldn't register kills done with bazooka/laser or bishop, things like that.
__________________
Call it, friendo.
guy is offline
yang
Veteran Member
Join Date: May 2005
Location: galoreservers.net
Old 08-05-2005 , 15:02  
Reply With Quote #5

k tell me what rank is o.O cuz i dunno...

and seeing how you know what u are talking about. Do you know how to get around it to register the killer in deathevent?
__________________
yang is offline
Send a message via AIM to yang
guy
Senior Member
Join Date: Apr 2005
Old 08-05-2005 , 15:05  
Reply With Quote #6

Quote:
Originally Posted by rockell
k tell me what rank is o.O cuz i dunno...

and seeing how you know what u are talking about. Do you know how to get around it to register the killer in deathevent?
Eh I'll look into it but I don't think I can help much, on servers type /rank .... Here I'll take a ss and show you.
edit
ss in attachment, first /rank is before the bass kill second /rank is after, it doesn't register. /rank tells you how many kills you got and shit like that...
second edit
Oh yeah when killing with bass for rank kills don't register but it registers in cs (you can see I've got 1 kill)
Attached Images
File Type: jpg cs_1337_assault0000.jpg (113.9 KB, 152 views)
__________________
Call it, friendo.
guy is offline
yang
Veteran Member
Join Date: May 2005
Location: galoreservers.net
Old 08-05-2005 , 15:27  
Reply With Quote #7

so what your saying is on death event,

read_data(1) register the ranking of the person.

So then how would I register as a CS kill then?

So i guess its not a bug? o.O i'm confused now lol
__________________
yang is offline
Send a message via AIM to yang
guy
Senior Member
Join Date: Apr 2005
Old 08-05-2005 , 15:41  
Reply With Quote #8

Quote:
Originally Posted by rockell
so what your saying is on death event,

read_data(1) register the ranking of the person.

So then how would I register as a CS kill then?

So i guess its not a bug? o.O i'm confused now lol
Uh no... You just confused the hell out of me rank is an amxx plugin I never said anything about read_data. Anyways I can't really help lol. I'm going to take a stab at it and say it's got something to do with g_KillCount
__________________
Call it, friendo.
guy is offline
yang
Veteran Member
Join Date: May 2005
Location: galoreservers.net
Old 08-05-2005 , 16:01  
Reply With Quote #9

You just confused the hell out of me rank is an amxx plugin I never said anything about read_data

lol dude now ur confusing the hell out of me.

if its none related to read_data(1) as killer then what you talking about ranking then o.O
__________________
yang is offline
Send a message via AIM to yang
guy
Senior Member
Join Date: Apr 2005
Old 08-05-2005 , 16:11  
Reply With Quote #10

Let's just forget I ever said anything, and ask someone else for help lol. DAMNIT BLIND
__________________
Call it, friendo.
guy is offline
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 -4. The time now is 14:17.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode