Raised This Month: $ Target: $400
 0% 

[Fixed] Flash Stops after Change Weapon ....


  
 
 
Thread Tools Display Modes
Author Message
imported_OmegaQuest
Junior Member
Join Date: Jun 2003
Old 12-19-2004 , 07:12   [Fixed] Flash Stops after Change Weapon ....
#1

Flash doesnt work with AMX 0.9.9 and 1.17.6

Once you change your gun he will slow down to normal speed and you will never be able to use him again till the next map...

Any ideas ?
__________________
imported_OmegaQuest is offline
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 12-20-2004 , 14:32  
#2

this is due to a bug in AMX 0.9.9 that will probably never be fixed... I guess we can use the same retarded hack I made for AMX98 on AMX 0.9.9.

around line 1671 somewhere find the part similar to this

Code:
	//Retarded hack to make this work on broken AMX
	#if defined AMX98
	if (newSpeed != -1.0) oldSpeed = -1.0
	#endif
and change it to this

Code:
    //Retarded hack to make this work on broken AMX     #if !defined AMXX_VERSION     if (newSpeed != -1.0) oldSpeed = -1.0     #endif
__________________
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
imported_OmegaQuest
Junior Member
Join Date: Jun 2003
Old 12-21-2004 , 11:36  
#3

Thanks JTP
__________________
imported_OmegaQuest is offline
imported_OmegaQuest
Junior Member
Join Date: Jun 2003
Old 12-21-2004 , 14:35  
#4

Do I replace AMX_VERSION with AMX99 ?
__________________
imported_OmegaQuest is offline
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 12-21-2004 , 20:27  
#5

no.... you do exactly what I said.
__________________
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
Thuuba
New Member
Join Date: Dec 2004
Old 12-22-2004 , 08:06  
#6

What the heck? I had older version of superhero on amx9 and everything worked perfectly. Now I updated superhero and flash stopped to work. Why it is working in older but not in this?
Thuuba is offline
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 12-22-2004 , 08:36  
#7

Because an improvement was made to the speed system, but apparently amx sucks. So it has to use the perious method and will be fixed back in the next version of SH mod with the code posted above. If you don't want to wait, fix it with the code above yourself.
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
Thuuba
New Member
Join Date: Dec 2004
Old 12-22-2004 , 16:06  
#8

Jep, I changed it, I had to remind me about compiling, but now it works! Thanks for the code. Actually this speed thing stopped me to have sh server about one year ago, when steam came. I think that speed heroes are most important in this.

BTW. Im wondering where is you nick "vittu" coming from, because... do you happen to know what it means in finnish.
Thuuba is offline
 



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 19:56.


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