AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Tech Support (https://forums.alliedmods.net/forumdisplay.php?f=36)
-   -   Heros not working (https://forums.alliedmods.net/showthread.php?t=30835)

AJ 09-03-2004 18:53

Heros not working
 
I changed maps, and then I got these errors, for hero's that weren't being loaded (I was going to look into that later)

Quote:

[AMX] Function not found (name "entity_get_int") (plugin "sh_invisman.amx")
[AMX] Function not found (name "cs_set_user_money") (plugin "sh_luke.amx")
[AMX] Function not found (name "cs_set_user_money") (plugin "sh_thief.amx")
[AMX] Function not found (name "cs_reset_user_model") (plugin "sh_vip.amx")
[AMX] Function not found (name "entity_set_vector") (plugin "sh_yoda.amx")
[AMX] Function is not present (function "sabretooth_powerclaw") (plugin sh_sabretooth.amx")
[AMX] Run time error 10 on line 43 (plugin "sh_sabretooth.amx")
Did I not do something, or wrong? Or are these heros just not working?
Sorry for the trouble.

vittu 09-03-2004 19:02

if you are running an amx not amxmodx server, then you got the wrong amx version of the heros:
sh_invisman.amx
sh_luke.amx
sh_thief.amx
sh_vip.amx
sh_yoda.amx

get the correct version of those heros, they have both amx and amxmodx versions to download in their respective posts (damn asskicr for cause this problem all over the place)...

search the forum next time for these types of errors it will explain all you need to know.

sabertooth is a different problem, looks like bad hero codeing just disable it or get rid of it..

AJ 09-03-2004 19:04

Thanks! Well screw Sabretooth then, hehe...
But seeing as I was really diggin the StarWars powers, thanks alot for the reply! \o/

AJ 09-03-2004 20:20

Well they work! But I have a problem with 4-5 powers (high level) being 0, even after map change... IE. Luke Skywalker (now working) ... Team of 6 ppl got sliced by an invisible luke skywalker level 2. Nu uhhh!!!

vittu 09-03-2004 21:13

did you make sure to set the cvars for hero levels in the shconfig.cfg?

cvars for heros can be found on their posts...
(ex. for luke: luke_level # - What level is he avalible, check the config file to see how to write it)

shconfig.cfg is located in addons/amx/ folder and open it with notepad to edit.

This should be explained in the documents that come with shmod, check those for further explainations

AJ 09-04-2004 04:39

I HAVE... They are all set, and I organised them on level so I can easily find them! I change the map to de_dust, then I play ... most heros are good but then some level 2 came in and suddenly had luke skywalker ! ...
Turned out Luke Skywalker and some other powers can be picked from level 0... THey have (0) or (0b) behind their name!!!

Prowler 09-04-2004 05:04

I noticed this a bit too, most notably with beast, every so often it just set itself from 7 - 0... seems to be less common now that the server ienst crashing so much :P

AJ 09-05-2004 06:01

Some heros in the shconfig didn't have the hero_level line, I only copied the cvars off every hero page...
So what I did was I made a hero_level like on every hero that didn't have one ... Problem solved! :)


All times are GMT -4. The time now is 13:56.

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