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

Many errors with the hero gamblor, when someone drops i..


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
[RKS]i/you.got.pwned
Member
Join Date: Mar 2005
Location: Your location here.
Old 04-09-2005 , 18:14   Many errors with the hero gamblor, when someone drops i..
Reply With Quote #1

Hi, I am hoping that you can help me, please read on.
Running:
Code:
] meta list
Currently loaded plugins:
      description      stat pend  file              vers      src  load  unlod
 [ 1] AMX Mod X        RUN   -    amxmodx_mm.dll    v1.01     ini  ANY   ANY  
 [ 2] Monster          RUN   -    monster_mm.dll    v3.00.00  ini  Chlvl Chlvl
 [ 3] HLGuard          RUN   -    hlguard_mm.dll    v1.72     ini  Chlvl Chlvl
 [ 4] WebMod           RUN   -    w_mm.dll          v0.48     ini  Start Never
4 plugins, 4 running
Code:
] meta version
Metamod v1.17.4  2005/02/20
by Will Day <[email protected]>
   http://www.metamod.org/
compiled: Feb 19 2005, 20:56:51 +0100 (optimized)
Windows XP with latest updates
Steam dedicated server (built in not standalone)

Code:
] amx_modules
Currently loaded modules:
name                    version  author              
Fun                     1.01     AMX Mod X Dev Team  
Engine                  1.01     AMX Mod X Dev Team  
FakeMeta                1.01     AMX Mod X Dev Team  
MySQL                   1.01     AMX Mod X Dev Team  
RegEx                   1.01     AMX Mod X Dev Team  
CStrike                 1.01     AMX Mod X Dev Team  
CSX                     1.01     AMX Mod X Dev Team  
Warcraft 3 Frozen Thro  2.2.2b   Geesu (Pimp Daddy)  
8 modules
Code:
] amxx version
AMX Mod X 1.01
Authors: Felix "SniperBeamer" Geyer, David "BAILOPAN" Anderson, Pavol "PM OnoTo" Marko, Jonny "Got His Gun" Bergstrom, and Lukasz "SidLuke" Wlasinski.  (http://www.amxmodx.org)
Compiled: Mar 11 2005, 17:30:03
Core mode: JIT
Code:
] amx_plugins
Currently loaded plugins:
name               version  author            file             status   
Admin Base         1.01     AMXX Dev Team     admin.amxx       running  
Admin Commands     1.01     AMXX Dev Team     admincmd.amxx    running  
Admin Help         1.01     AMXX Dev Team     adminhelp.amxx   running  
Slots Reservation  1.01     AMXX Dev Team     adminslots.amxx  running  
Multi-Lingual Sys  1.01     AMXX Dev Team     multilingual.am  running  
Menus Front-End    1.01     AMXX Dev Team     menufront.amxx   running  
Commands Menu      1.01     AMXX Dev Team     cmdmenu.amxx     running  
Players Menu       1.01     AMXX Dev Team     plmenu.amxx      running  
Teleport Menu      1.01     AMXX Dev Team     telemenu.amxx    running  
Maps Menu          1.01     AMXX Dev Team     mapsmenu.amxx    running  
Admin Chat         1.01     AMXX Dev Team     adminchat.amxx   running  
Anti Flood         1.01     AMXX Dev Team     antiflood.amxx   running  
Scrolling Message  1.01     AMXX Dev Team     scrollmsg.amxx   running  
Info. Messages     1.01     AMXX Dev Team     imessage.amxx    running  
Admin Votes        1.01     AMXX Dev Team     adminvote.amxx   running  
NextMap            1.01     AMXX Dev Team     nextmap.amxx     running  
TimeLeft           1.01     AMXX Dev Team     timeleft.amxx    running  
Pause Plugins      1.01     AMXX Dev Team     pausecfg.amxx    running  
Stats Configurati  1.01     AMXX Dev Team     statscfg.amxx    running  
Restrict Weapons   1.01     AMXX Dev Team     restmenu.amxx    running  
StatsX             1.01     AMXX Dev Team     statsx.amxx      running  
CS Misc. Stats     1.01     AMXX Dev Team     miscstats.amxx   running  
CS Stats Logging   1.01     AMXX Dev Team     stats_logging.a  running  
All-in-One Comman  1.6      AMX(x) Community  admin_allinone.  running  
Weapon Arena       1.9.4    JGHG              weaponarena.amx  running  
HE Arena X         0.3      JGHG              he_arena.amxx    running  
Swear Filter       1.0a     SuicideDog        swear_filter.am  running  
Chat Responder     0.7      JGHG              chatresponder.a  running  
Server Rules       1.1      FullThrottle      server_rules.am  running  
BRB                1.3      Cheap_Suit        brb.amxx         running  
Join/Leave Messag  1.2      BigBaller         join_leave.amxx  running  
Team Balancer      1.7b8    Ptahhotep         team_balancer.a  running  
SteamID&Name&IP L  0.4      KRoTaL            SteamidNameIp_L  running  
DeagsMapManage     2.10i    Deags             mapmanager.amxx  running  
RS Swear Filter    2.0      xeroblood         rs_swearfilter.  running  
Don't say IPs      0.1      JGHG              dontsayips.amxx  running  
Loading Sound      1.0      Amxx User         loadingsound.am  running  
Ultimate Gore      1.3.3    JTP10181/mike_ca  amx_gore_ultima  running  
WebMod Admin Pass  0.1      BoBRoCK           webmod_pass.amx  running  
Clan Tag Protecti  0.8.5    default           clan_tag_protec  running  
Empty Server       1.4      twistedeuphoria   emptyserver.amx  running  
Warcraft 3 Frozen  2.2.2    Pimp Daddy (OoTO  warcraft3FT.amx  running  
SuperHero Mod      1.17.6   JTP10181/{HOJ}Ba  superheromodvau  running  
SUPERHERO Admin    1.0      Falex             sh_admin.amxx    running  
SUPERHERO Agent    1.2      AssKicR & -|-LoA  sh_agent.amxx    running  
SUPERHERO AntiHer  1.0      Prowler           sh_antihero.amx  running  
SUPERHERO Anubis   1.17.5   AssKicR/JTP10181  sh_anubis.amxx   running  
SUPERHERO Aquaman  1.17.5   AssKicR/Lazy/JTP  sh_aquaman.amxx  running  
SUPERHERO Avenger  1.0      TheRaven aka Cor  sh_avenger.amxx  running  
SUPERHERO Batgirl  1.1      sharky/JTP10181   sh_batgirl.amxx  running  
SUPERHERO Batman   1.17.5   {HOJ} Batman/JTP  sh_batman.amxx   running  
SUPERHERO Bazooka  4.0 B1   JTP10181 / AssKi  sh_bazooka.amxx  running  
SUPERHERO Beast    1.0      Vectren           sh_beast.amxx    running  
SUPERHERO Blade    1.0      TreDizzle/AssKic  sh_blade.amxx    running    
SUPERHERO Blink    2.3      scoutPractice /   sh_blink.amxx    running  
SUPERHERO Bomberm  1.14.4   AssKicR           sh_bomberman.am  running  
SUPERHERO Captain  1.17.5   {HOJ} Batman/JTP  sh_captaina.amx  running  
SUPERHERO CHOOB    1.2      Prowler           sh_choob.amxx    running  
SUPERHERO Cyclops  1.17.5   AssKicR/Batman/J  sh_cyclops.amxx  running  
SUPERHERO Daredev  1.17.5   {HOJ} Batman/JTP  sh_daredevil.am  running  
SUPERHERO Darth M  1.1      Chivas2973        sh_darthmaul.am  running  
SUPERHERO Dazzler  1.17.5   {HOJ} Batman      sh_dazzler.amxx  running  
SUPERHERO Demolit  1.2.1    AssKicR / jtp101  sh_demoman.amxx  running  
SUPERHERO Dracula  1.17.5   {HOJ} Batman/JTP  sh_dracula.amxx  running  
SUPERHERO Electro  1.0      Prowler           sh_electro.amxx  running  
SUPERHERO Flash    1.17.5   {HOJ} Batman      sh_flash.amxx    running  
SUPERHERO Forearm  2.0      Prowler           sh_forearm.amxx  running  
SUPERHERO Gamblor  1.4      Prowler           sh_gamblor.amxx  debug    
SUPERHERO Goten    1.1      buttface/vittu    sh_goten.amxx    running  
SUPERHERO Green A  1.2      AssKicR / ArtofD  sh_greenarrow.a  running  
SUPERHERO HeadCra  1.0      Prowler           sh_headcrab.amx  running   
SUPERHERO Hobgobl  1.17.5   {HOJ} Batman/JTP  sh_hobgoblin.am  running  
SUPERHERO Hulk     1.17.5   {HOJ} Batman      sh_hulk.amxx     running  
SUPERHERO Human T  1.17     {HOJ} Batman/JTP  sh_humantorch.a  running  
SUPERHERO Human T  1.0      Prowler           sh_humantorchX.  running  
SUPERHERO The Inv  1.1      AssKicR           sh_invisman.amx  running  
SUPERHERO Ironman  1.17.5   {HOJ} Batman/JTP  sh_ironman.amxx  running  
SUPERHERO Jubilee  1.1      SRGrty / JTP1018  sh_jubilee.amxx  running  
SUPERHERO Kamikaz  1.17.5   AssKicR/JTP10181  sh_kamikaze.amx  running  
SUPERHERO Magneto  1.17.5   AssKicR / JTP101  sh_magneto.amxx  running  
SUPERHERO Master   1.0      Prowler           sh_master.amxx   running  
SUPERHERO Master   1.3      Spartan-117/vitt  sh_masterchief.  running  
SUPERHERO MEDIC    4        Prowler/scoutPra  sh_medic_v3.amx  running  
SUPERHERO Morpheu  1.3      RadidEskimo & Fr  sh_morpheus.amx  running  
SUPERHERO Mystiqu  1.17.5   {HOJ} Batman      sh_mystique.amx  running  
SUPERHERO Nightcr  1.17.5   {HOJ} Batman      sh_nightcrawler  running  
SUPERHERO Neo Rel  1.3      JTP10181/[Pentiu  sh_neoreloaded.  running  
SUPERHERO Ninja    1.0      AssKicR           sh_ninja.amxx    running  
SUPERHERO Pistol   1.2      Prowler           sh_pistol.amxx   running  
SUPERHERO Pitch B  1.2      [FTW]-S.W.A.T     sh_pitchblack.a  running  
SUPERHERO Punishe  1.17.5   {HOJ} Batman      sh_punisher.amx  running  
SUPERHERO Skeleto  1.17.5   {HOJ} Batman      sh_skeletor.amx  running  
SUPERHERO Spider-  1.17.5   {HOJ} Batman/JTP  sh_spiderman.am  running  
SUPERHERO Superma  1.17.5   {HOJ} Batman      sh_superman.amx  running  
SUPERHERO Tracer   1.2      Prowler           sh_tracer.amxx   running  
SUPERHERO WereWol  1.0      Prowler           sh_werewolf.amx  running  
SUPERHERO Wind Wa  1.17.5   AssKicR/JTP10181  sh_windwalker.a  running  
SUPERHERO Wolveri  1.17.5   {HOJ}Batman/JTP1  sh_wolverine.am  running  
SUPERHERO Xavier   1.17.5   {HOJ} Batman      sh_xavier.amxx   running  
SUPERHERO Zeus     1.17.5   {HOJ} Batman/JTP  sh_zeus.amxx     running  
100 plugins, 99 running
All plugins load good, 1 plugin in question is in debug mode.

--Gamblor--
Whenever someone drops from the server I get the following error:
Code:
Dropped so and so from server
Reason:  Client sent 'drop'
L 04/07/2005 - 15:51:17: [AMXX] Native error in "set_user_rendering" on line 195 (file "sh_gamblor.sma").
L 04/07/2005 - 15:51:17: [FUN] Invalid player 1
L 04/07/2005 - 15:51:17: [AMXX] Native error in "set_user_noclip" on line 200 (file "sh_gamblor.sma").
L 04/07/2005 - 15:51:17: [FUN] Invalid player 1
Code:
SZ_GetSpace: overflow on netchan->message
WARNING: reliable overflow for [RKS]i/you.got.pwned
Dropped [RKS]i/you.got.pwned from server
Reason:  Reliable channel overflowed
L 04/09/2005 - 14:28:49: [AMXX] Native error in "set_user_rendering" on line 195 (file "sh_gamblor.sma").
L 04/09/2005 - 14:28:49: [FUN] Invalid player 1
L 04/09/2005 - 14:28:49: [AMXX] Native error in "set_user_noclip" on line 200 (file "sh_gamblor.sma").
L 04/09/2005 - 14:28:49: [FUN] Invalid player 1
L 04/09/2005 - 14:28:50: [AMXX] Native error in "set_user_rendering" on line 195 (file "sh_gamblor.sma").
L 04/09/2005 - 14:28:50: [FUN] Invalid player 1
L 04/09/2005 - 14:28:50: [AMXX] Native error in "set_user_noclip" on line 200 (file "sh_gamblor.sma").
L 04/09/2005 - 14:28:50: [FUN] Invalid player 1
Thanks in advance for your help,
-i/you.got.pwned
__________________
www.clanrks.com
Official Clan [RKS] Website
[RKS]i/you.got.pwned is offline
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 04-09-2005 , 18:36  
Reply With Quote #2

Means it's trying to run the code on someone that isn't there...

change line 194 to this:
Code:
  if ( !hasPowers && is_user_connected(id) ) {
Then recompile it should get rid of the 2 errors your getting, as far as anything else with it, I didn't look any further. But some plugin is causing a SZ_GetSpace: overflow
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
[RKS]i/you.got.pwned
Member
Join Date: Mar 2005
Location: Your location here.
Old 04-09-2005 , 19:14  
Reply With Quote #3

Thanks vittu, it worked.
__________________
www.clanrks.com
Official Clan [RKS] Website
[RKS]i/you.got.pwned is offline
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 04-09-2005 , 19:33  
Reply With Quote #4

btw: Don't start a new post, just post the electro problem in here since you already posted all your info...
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
[RKS]i/you.got.pwned
Member
Join Date: Mar 2005
Location: Your location here.
Old 04-09-2005 , 19:35  
Reply With Quote #5

@vittu: Thought this was off topic, but oh well.

--electro--
whenever elctro is used an error occurs and the user using electro dies.

Code:
L 04/07/2005 - 18:29:25: [AMXX] Run time error 3 (stack error) on line 120 (plugin "sh_electro.amxx"). 
L 04/07/2005 - 18:29:25: [AMXX] Debug Trace => 
L 04/07/2005 - 18:29:25: [AMXX]       [0] Line 120, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [1] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [2] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [3] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [4] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [5] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [6] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [7] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [8] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [9] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [10] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [11] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [12] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [13] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [14] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [15] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [16] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [17] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [18] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [19] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [20] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [21] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [22] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [23] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [24] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [25] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [26] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [27] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [28] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [29] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [30] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [31] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [32] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [33] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [34] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [35] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [36] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [37] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [38] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [39] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [40] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [41] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [42] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [43] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [44] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [45] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [46] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [47] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [48] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [49] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [50] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [51] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [52] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [53] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [54] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [55] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [56] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [57] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [58] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [59] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [60] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [61] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [62] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [63] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [64] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [65] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [66] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [67] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [68] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [69] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [70] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [71] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [72] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [73] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [74] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [75] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [76] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [77] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [78] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [79] Line 132, File "sh_electro.sma" 
L 04/07/2005 - 18:29:25: [AMXX]       [80] Line 79, File "sh_electro.sma"
Thanks in advance,
-i/you.got.pwned
__________________
www.clanrks.com
Official Clan [RKS] Website
[RKS]i/you.got.pwned is offline
Iconoclast
Senior Member
Join Date: Jul 2004
Location: Illinois
Old 04-09-2005 , 19:46  
Reply With Quote #6

[offtopic] [RKS]i/you.got.pwned, how did you get all those live stats onto your website, i use serverspy but yours is much more detailed. [offtopic]
__________________
-[IR]-Servers | Superhero Mod 24.14.27.156:27015
Fast+Saved+Mercy XP, 14 players max, Custom Heros+Maps, 30 Levels
START AT LVL 4! E-mail [email protected] for buying level/admin details.
Iconoclast is offline
Send a message via AIM to Iconoclast Send a message via MSN to Iconoclast
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 04-09-2005 , 20:01  
Reply With Quote #7

Icon PM him next time.. he's using WebMod


Electro needs a dead check cause it loops back into it even when the player is dead... gimme a sec and ill post what to do need to look at the code, I will edit this post with info.

From a quick look, try this:
find, around line 98
Code:
public lightsearchtarget(parm[2]){
	new id = parm[0]
add, just after
Code:
	if ( !is_user_alive(id) ) return PLUGIN_HANDLED
save then recompile it


again these are only temp fixes may not work perfect.
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
[RKS]i/you.got.pwned
Member
Join Date: Mar 2005
Location: Your location here.
Old 04-09-2005 , 20:18  
Reply With Quote #8

Sorry, I am unable to find
Code:
public lightsearchtarget(parm[2]){ 
   new id = parm[0]
around line 98.

Here is a sample of things around my line 98:
Code:
//****Precache****----------------------------------------------------------------------
public plugin_precache()
{
  gSpriteLightning = precache_model("sprites/lgtning.spr")
  precache_sound("ambience/deadsignal1.wav")
  return PLUGIN_CONTINUE
}
//****New Round****---------------------------------------------------------------------
public newRound(id)
{
  gPlayerUltimateUsed[id] = false
}                              //           <--------- Line 98 ----------->
//****Lightning****---------------------------------------------------------------------
public Lightning(id,tid,oid,Origin[3])
{
  new idTeam = get_user_team(oid)
  new tidTeam = get_user_team(tid)

  if(tidTeam != idTeam)
  {
  shExtraDamage(oid, tid, 50, "Electrocuted")
  message_begin(MSG_ONE, gmsgDamage, {0,0,0}, tid)
  write_byte(30) // dmg_save
  write_byte(30) // dmg_take
  write_long(1<<21) // visibleDamageBits
  write_coord(Origin[0]) // damageOrigin.x
  write_coord(Origin[1]) // damageOrigin.y
  write_coord(Origin[2]) // damageOrigin.z
  message_end()
  }
  new ElectroRadius = get_cvar_num("electro_radius")
  new OriginA[3]
  new OriginB[3]
  new players[32], inum

  get_user_origin(tid,OriginA)
  get_players(players,inum,"a")

  for(new i = 0 ;i < inum; ++i)
  {
    get_user_origin(players[i],OriginB)
    if(get_distance(OriginA,OriginB) < ElectroRadius)
    {
      if(!gHasElectroPower[players[i]])
      {
        Lightning(tid,players[i],oid,OriginB)
        LightningEffects(tid,players[i])
        playSound(tid)
      }
    }
  }
}
This electro right?
Code:
SUPERHERO Electro  1.0      Prowler           sh_electro.amxx  running
__________________
www.clanrks.com
Official Clan [RKS] Website
[RKS]i/you.got.pwned is offline
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 04-09-2005 , 20:36  
Reply With Quote #9

oh the prowler one... yea gimme a bit to take a look, i will edit this post when i find what to change...


while I couldn't reproduce the problem

try
on line 88 and line 122, change:
"++i" to "i++"

then recompile it, I didn't look at it very well but it may be trying it on an invalid #. It could have been coded a bit better from the looks 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
[RKS]i/you.got.pwned
Member
Join Date: Mar 2005
Location: Your location here.
Old 04-09-2005 , 23:26  
Reply With Quote #10

I could not find ++i on line 88 or 122 .
Perhaps I should attach a copy of electro. (it is attached)
Attached Files
File Type: sma Get Plugin or Get Source (sh_electro.sma - 848 views - 5.3 KB)
__________________
www.clanrks.com
Official Clan [RKS] Website
[RKS]i/you.got.pwned 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 11:59.


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