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

Heros not working


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
AJ
Junior Member
Join Date: Aug 2004
Old 09-03-2004 , 18:53   Heros not working
Reply With Quote #1

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.
AJ is offline
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 09-03-2004 , 19:02  
Reply With Quote #2

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..
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
AJ
Junior Member
Join Date: Aug 2004
Old 09-03-2004 , 19:04  
Reply With Quote #3

Thanks! Well screw Sabretooth then, hehe...
But seeing as I was really diggin the StarWars powers, thanks alot for the reply! \o/
AJ is offline
AJ
Junior Member
Join Date: Aug 2004
Old 09-03-2004 , 20:20  
Reply With Quote #4

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!!!
AJ is offline
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 09-03-2004 , 21:13  
Reply With Quote #5

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
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
AJ
Junior Member
Join Date: Aug 2004
Old 09-04-2004 , 04:39  
Reply With Quote #6

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!!!
AJ is offline
Prowler
Senior Member
Join Date: Nov 2004
Old 09-04-2004 , 05:04  
Reply With Quote #7

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
Prowler is offline
AJ
Junior Member
Join Date: Aug 2004
Old 09-05-2004 , 06:01  
Reply With Quote #8

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!
AJ is offline
Reply


Thread Tools
Display Modes

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 00:33.


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