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

[Fixed] Run time error 3


  
 
 
Thread Tools Display Modes
Author Message
andy
Junior Member
Join Date: Aug 2004
Old 08-15-2004 , 07:42   [Fixed] Run time error 3
#1

I have superhero mod v 1.17.1 on my server......

1. I have write in which lvl all heros should be in the shconfig.cfg but it wont work..why?

2. when I am going to give a level to a player this text comes up in the console on the server

[AMX] Run time error 3 on line 1572 (task "0") (plugin "superheromodvault.amx")

[AMX] Run time error 3 on line 1572 (task "0") (plugin "superheromodvault.amx")

[AMX] Run time error 3 on line 1572 (task "0") (plugin "superheromodvault.amx")

[AMX] Run time error 3 on line 1572 (task "0") (plugin "superheromodvault.amx")

[AMX] Run time error 3 on line 1572 (task "0") (plugin "superheromodvault.amx")

[AMX] Run time error 3 on line 1572 (task "0") (plugin "superheromodvault.amx")

[AMX] Run time error 3 on line 1572 (task "0") (plugin "superheromodvault.amx")

[AMX] Run time error 3 on line 1572 (task "0") (plugin "superheromodvault.amx")

[AMX] Run time error 3 on line 1572 (task "0") (plugin "superheromodvault.amx")

[AMX] Run time error 3 on line 1572 (task "0") (plugin "superheromodvault.amx")

[AMX] Run time error 3 on line 1572 (task "0") (plugin "superheromodvault.amx")

[AMX] Run time error 3 on line 1572 (task "0") (plugin "superheromodvault.amx")


after that nothing is working...I cant write any commands or choose any heroes...why?? I can play but superhero mod doesnt work...
andy is offline
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 08-15-2004 , 10:27  
#2

That error is caused by basically a memoy overflow inside the plugin. My first assumption would be a bad install or an old AMX version or Vexd or something thats screwing up.

I have made a few tweaks to the tasks that run a lot so they can't really overflow anymore, try this attached version and see if it fixes it.
Attached Files
File Type: zip superheromodvault.zip (27.1 KB, 191 views)
__________________
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
andy
Junior Member
Join Date: Aug 2004
Old 08-15-2004 , 10:44  
#3

is Vexd and Vexdum the same thing?

I had an older version of superhero before but I downloaded the newest version of superhero mod and then then this problem showed up!

I gonna try with the your file and then I write if it worked!..
andy is offline
andy
Junior Member
Join Date: Aug 2004
Old 08-15-2004 , 11:14  
#4

thx for the file you gave me it worked perfectly>!!!!

this is my shconfig.cfg I have a problem with my heros...they wont get in the level i write in shconfig.cfg...why?



echo "[AMX] Successfully Loaded Superhero Config File"

//********************** GENERAL MOD CVARS **********************
//enables/disables the mod 0=disable, 1=enable
sv_superheros 1

//flag to determine who can access the important server commands
sh_adminaccess m

//if optional C/D is on a server - don't let people without C/D have
sh_cdrequired 0

//Developer message get printed to the server console
//ONLY enable this if you are trying to fix something, it prints A LOT of messages
sh_debug_messages 0

//# of heros allowed with bind characters - after that you must pick non-bind heros only
sh_maxbinds 3

//Max number of powers players can pick from, this is also limited by the number of levels you have.
sh_maxpowers 20

//What level to start newcomers at.
sh_minlevel 0

//0/1 Give people entering late a avg. level of players already playing on the map...
sh_autobalance 0

//Save XP or restart from 0 each map
sh_savexp 1

//How many days to save xp for?
sh_xpsavedays 30

//Save XP at end of every round
//Very Useful for servers that crash a lot
sh_endroundsave 1

//Give XP for Hostage/Bomb Events
//This cvar sets the level of XP given/taken from players for these events.
//Set to -1 to disable this feature.
sh_bombhostxp 1

//DON'T USE WITH LONG-TERM XP... It'll turn it off by default anyway...
//how fast to level ("slow","medium","fast","normal","long")
//sh_xplevel "normal"

//Load XP right when a player joins (may cause lag with large user database)
sh_loadimmediate 1

//How much Mercy XP to give players who did not gain any during a round
sh_mercyxp 0

//1 = on | 0 = off - Command Projector, displays help info to players in a HUD messages non-stop
sh_cmdprojector 1

//1 = on | 0 = off - Should alive players also see the Command Projector?
sh_cpalive 0

// *** MySQL Settings, Only Needed if using the mysql saving method ***
// Uncomment the cvar lines to enable these settings

//sh_mysql_host "localhost"
//sh_mysql_user "SuperHeroModUser"
//sh_mysql_pass ""
//sh_mysql_db "sherodb"

// *************** END STANDARD SUPERHERO CVARS ***************

// ***************** START HERO SPECIFIC CVARS ****************

//Anubis
anubis_level 1
anibus_showdamage 1

//Aquaman
aquaman_level 1
aquaman_armorcost 0
aquaman_numbubbles 7
aquaman_bubbledamage 10

//Batman
batman_level 3
batman_health 125
batman_armor 125

//Bomberman
bomberman_level 5
bomberman_xpbased 0
bomberman_bombs 1
bomberman_bpl 1
bomberman_radius 400
bomberman_maxdamage 100

//Captain America
captaina_level 5
captaina_pctperlev 0.02

//Cyclops
cyclops_level 6
cyclops_laser_ammo 20
cyclops_laser_burndecals 1
cyclops_cooldown 0.20

//Daredevil
daredevil_level 3
daredevil_radius 600
daredevil_bright 192

//Dazzler
dazzler_level 1
dazzler_radius 3000
dazzler_cooldown 15

//Dracula
dracula_level 3
dracula_pctperlev 0.03

//Flash
flash_level 4
flash_speed 350

//Hobgoblin
goblin_level 4
goblin_grenademult 1.5
goblin_grenadetimer 10

//Hulk
hulk_level 7
hulk_radius 1800
hulk_cooldown 7
hulk_stuntime 3
hulk_stunspeed 70

//Human Torch
htorch_level 6
htorch_armorcost 15
htorch_numburns 5
htorch_burndamage 10

//Ironman
ironman_level 4
ironman_timer 0.1
ironman_thrust 125
ironman_maxspeed 400
ironman_xymult 1.05
ironman_armorfuel 1
ironman_fuelcost 1
ironman_armor 100

//Kamikaze
kamikaze_level 4
kamikaze_radius 300
kamikaze_fuse 15
kamikaze_maxdamage 125

//Magneto
magneto_level 14
magneto_cooldown 45
magneto_boost 125
magneto_giveglock 1

//Mystique
mystique_level 7
mystique_cooldown 0
mystique_maxtime 0
mystique_toggle 1

//Nightcrawler
nightc_level 5
nightc_cooldown 30
nightc_cliptime 6

//Punisher
punisher_level 6
punisher_dropwpn 0

//Skeletor
skeletor_level 1
skeletor_cooldown 20
skeletor_camptime 10
skeletor_movedist 10

//Spiderman
spiderman_level 2
spiderman_moveacc 150
spiderman_reelspeed 400
spiderman_hookstyle 2
spiderman_maxhooks 99

//Superman
superman_level 3
superman_gravity 0.35
superman_armor 150
superman_health 150

//Windwalker
windwalker_level 1

//Wolverine
wolverine_level 3
wolv_healpoints 3
wolv_knifespeed 290
wolv_knifemult 1.35

//Xavier
xavier_level 5
xavier_traillength 25
xavier_showteam 0
xavier_showenemy 1
xavier_refreshtimer 5.0

//Zeus
zeus_level 9
zeus_cooldown 600

//Batgirl
batgirl_level 9

//Mach3
mach3_level 16

//Agent
agent_level 14

//Alien
alien_level 5

//Bullseye
bullseye_level 9

//Colussus
colussus_level 11

//Electro
electro_level 8

//Bishop
bishop_level 9

//Beast
beast_level 5

//Cola
cola_level 15

//Gambit
gambit_level 14

//Gohan
gohon_level 19

//Noob
noob_level 7

//Nova
nova_level 17

//Rambo
rambo_level 3

//Bazooka
bazooka_level 15

//Blink
blink_level 15

//Demoman
demoman_level 13

//Green Arrow
greenarrow_level 6

//Invisibleman
invisman_level 15

//Silversurfer
// surfer_level 18

//Thor
thor_level 12

//Billy
billy_level 3

//Black mage
blackmage_level 17

//Tracy
tracy_level 7

//Dr doom
drdoom_level 14

//Greengoblin
greengoblin_level 3

//Jugger
jugger_level 6

//Lifesaver
lifesaver_level 15

//Op
Op_level 20

//Blade
blade_level 2

//Bullseye
bullseye_level 5

//cannonball
cannonball_level 10

//Kenshin
kenshin_level 9

//Ninja
ninja_level 6

//Strange
strange_level 12

//Megaman
megaman_level 15

//Fartman
fartman_level 10

//Dreadnought
dreadnought_level 16

//Freeze
freeze_level 12

//Predator
predator_level 14

//Phasing
phasing_level 10

//Raiden
raiden_level 16

//Castor troy
castortroy_level 8

//Sniper
sniper_level 15

//Sabretooth
sabretooth_level 13

//Quicksand
quicksand_level 12

//Phoenix
phoenix_level 14

//Accelerator
Aceelerator_level 16

//Parasite
Parasite_level 10

//Ghost
ghost_level 15

//Firestorm
firestorm_level 10
andy is offline
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 08-15-2004 , 12:20  
#5

listenserver or dedicated?
__________________
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
andy
Junior Member
Join Date: Aug 2004
Old 08-15-2004 , 12:22  
#6

dedicate
andy is offline
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 08-15-2004 , 12:52  
#7

I just updated my attachment above with another new version with some tweaks. I changed the way things load at first startup and it seems to be working perfectly for me.

If your system is very slow it could be causing the problems, also possibly if it is very fast (loading the heros before the shconfig.cfg has a chance to execute)

If its still having problems, try starting the server, then change maps. After the map change all the heros should have the correct levels loaded in them since the cvars got set before the map changed.
__________________
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
andy
Junior Member
Join Date: Aug 2004
Old 08-15-2004 , 13:05  
#8

Its working now THX!!!
andy is offline
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 08-15-2004 , 13:56  
#9

yay! one guy helped me fix two bugs....

I love non-idiotic people who can provide me with usefull information

thanks andy, that cvar issues had been causing trouble for alot of people but I could not really pin point the problem before since I cannot reproduce the issue on my end.
__________________
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 18:26.


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