PDA

View Full Version : [Fixed] Flash Stops after Change Weapon ....


imported_OmegaQuest
12-19-2004, 07:12
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 ?

jtp10181
12-20-2004, 14:32
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

//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

//Retarded hack to make this work on broken AMX
#if !defined AMXX_VERSION
if (newSpeed != -1.0) oldSpeed = -1.0
#endif

imported_OmegaQuest
12-21-2004, 11:36
Thanks JTP :)

imported_OmegaQuest
12-21-2004, 14:35
Do I replace AMX_VERSION with AMX99 ?

jtp10181
12-21-2004, 20:27
no.... you do exactly what I said.

Thuuba
12-22-2004, 08:06
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?

vittu
12-22-2004, 08:36
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.

Thuuba
12-22-2004, 16:06
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.