This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

[Resolved] /clearpowers will drop all of the servers heroes


  
 
 
Thread Tools Display Modes
Author Message
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 05-05-2005 , 18:07   [Resolved] /clearpowers will drop all of the servers heroes
#1

Tested on:
Windows XP
Amxmodx 1.01
Metamod 1.17.4
SuperHero Mod 1.18CVS
Vault Saving


Regaurdless of my tests specs, this will happen on all amx/x and shmod versions.

Bug:
If a user uses the say command /clearpowers it will use the drop code ( hero_init() ) for all heroes on the server not just the heroes they have.
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
bLiNd
Veteran Member
Join Date: Mar 2005
Old 05-05-2005 , 18:10  
#2

vittu explained it to me...

masterchief has a check that wont allow it to happen as vash will...
bLiNd is offline
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 05-05-2005 , 18:11  
#3

It will happen regaurdless of OS
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 05-05-2005 , 18:13  
#4

Quote:
Originally Posted by Crash
Tested On Red Hat Linux

Did not happen. Must be Windows.
how do you know it didn't happen? and BTW it does.... cause thats how its coded.

Anyway.... we both talked more about it and decided this should be fixed in the hero itself... in other words, dont display HUD messages or any other crap in the hero_init function because the "disable" part of it gets called sometimes even when the client never had the hero.
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
bLiNd
Veteran Member
Join Date: Mar 2005
Old 05-05-2005 , 18:14  
#5

i ran it on my server...

i typed /clearpowers and only i cleared it...

but it looks like im wrong...
bLiNd is offline
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 05-05-2005 , 18:19  
#6

Quote:
Originally Posted by Crash
i ran it on my server...

i typed /clearpowers and only i cleared it...

but it looks like im wrong...
you dont know what we are talking about....

and you have no way to test it, unless you modify a hero and add some checking in it.
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
 



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 13:01.


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