Raised This Month: $ Target: $400
 0% 

[L4D & L4D2] Kill Counters.


Post New Thread Reply   
 
Thread Tools Display Modes
Zoeylicious
Member
Join Date: Oct 2010
Old 11-15-2010 , 14:00   Re: [L4D & L4D2] Kill Counters.
Reply With Quote #31

hello



L 11/15/2010 - 19:09:17: SourceMod error session started
L 11/15/2010 - 19:09:17: Info (map "c3m2_swamp") (file "errors_20101115.log")
L 11/15/2010 - 19:09:17: [SM] Plugin encountered error 15: Array index is out of bounds
L 11/15/2010 - 19:09:17: [SM] Displaying call stack trace for plugin "sm_killcounter.smx":
L 11/15/2010 - 19:09:17: [SM] [0] Line 350, /home/groups/alliedmodders/forums/files/7/0/4/5/8/77161.attach::Command_TeamKills()
L 11/15/2010 - 19:17:07: Error log file session closed.
Zoeylicious is offline
nakashimakun
Senior Member
Join Date: Feb 2010
Location: England
Old 11-17-2010 , 12:19   Re: [L4D & L4D2] Kill Counters.
Reply With Quote #32

Hey,

I'm going to give my friend the plugin to take a look at as I haven't a clue why it keep causing errors after I fix something else.

I'll hope he has time to look at it right the way if not I'll keep you posted on updates.

NakashimaKun
nakashimakun is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 11-17-2010 , 14:05   Re: [L4D & L4D2] Kill Counters.
Reply With Quote #33

You defined g_iArray[4] on like 340, then loop through MaxClients and for each successful client add to this array.. I think you're forgetting that L4D can be more than 4 player... change the 4 to MAXPLAYERS+1
__________________
Silvers is offline
nakashimakun
Senior Member
Join Date: Feb 2010
Location: England
Old 11-17-2010 , 14:35   Re: [L4D & L4D2] Kill Counters.
Reply With Quote #34

Ah yeah whoops and I'll work on fixing the screenshots asap (been busy with webserver updates sorry started a new forum community)
nakashimakun is offline
nakashimakun
Senior Member
Join Date: Feb 2010
Location: England
Old 11-17-2010 , 14:47   Re: [L4D & L4D2] Kill Counters.
Reply With Quote #35

Hey all,

I've done the change silver suggested when realising what he said was true. so I've made the changes and hope this new version works properly.

Version 1.1.2:
Fixed bugs...
Attached Files
File Type: sp Get Plugin or Get Source (sm_killcounter.sp - 241 views - 13.6 KB)
File Type: smx sm_killcounter.smx (8.3 KB, 108 views)
nakashimakun is offline
Zoeylicious
Member
Join Date: Oct 2010
Old 11-19-2010 , 23:28   Re: [L4D & L4D2] Kill Counters.
Reply With Quote #36

L 11/20/2010 - 01:42:04: SourceMod error session started
L 11/20/2010 - 01:42:04: Info (map "c7m2_barge") (file "errors_20101120.log")
L 11/20/2010 - 01:42:04: [SM] Plugin encountered error 15: Array index is out of bounds
L 11/20/2010 - 01:42:04: [SM] Displaying call stack trace for plugin "sm_killcounter.smx":
L 11/20/2010 - 01:42:04: [SM] [0] Line 350, /home/groups/alliedmodders/forums/files/7/0/4/5/8/77161.attach::Command_TeamKills()
L 11/20/2010 - 01:461: Error log file session closed.
Zoeylicious is offline
nakashimakun
Senior Member
Join Date: Feb 2010
Location: England
Old 11-21-2010 , 10:52   Re: [L4D & L4D2] Kill Counters.
Reply With Quote #37

Hmm its still bugging... Very weird... In testing I had no errors at all...
nakashimakun is offline
Zoeylicious
Member
Join Date: Oct 2010
Old 11-23-2010 , 02:29   Re: [L4D & L4D2] Kill Counters.
Reply With Quote #38

L 11/23/2010 - 00:55:46: SourceMod error session started
L 11/23/2010 - 00:55:46: Info (map "c2m1_highway") (file "errors_20101123.log")
L 11/23/2010 - 00:55:46: [SM] Plugin encountered error 15: Array index is out of bounds
L 11/23/2010 - 00:55:46: [SM] Displaying call stack trace for plugin "sm_killcounter.smx":
L 11/23/2010 - 00:55:46: [SM] [0] Line 350, /home/groups/alliedmodders/forums/files/7/0/4/5/8/77161.attach::Command_TeamKills()
L 11/23/2010 - 01:070: Error log file session closed.
L 11/23/2010 - 02:21:22: SourceMod error session started
L 11/23/2010 - 02:21:22: Info (map "c7m1_docks") (file "errors_20101123.log")
L 11/23/2010 - 02:21:22: [SM] Plugin encountered error 15: Array index is out of bounds
L 11/23/2010 - 02:21:22: [SM] Displaying call stack trace for plugin "sm_killcounter.smx":
L 11/23/2010 - 02:21:22: [SM] [0] Line 350, /home/groups/alliedmodders/forums/files/7/0/4/5/8/77161.attach::Command_TeamKills()
L 11/23/2010 - 02:212: [SM] Plugin encountered error 15: Array index is out of bounds
L 11/23/2010 - 02:212: [SM] Displaying call stack trace for plugin "sm_killcounter.smx":
L 11/23/2010 - 02:212: [SM] [0] Line 350, /home/groups/alliedmodders/forums/files/7/0/4/5/8/77161.attach::Command_TeamKills()
L 11/23/2010 - 02:29:44: Error log file session closed.
L 11/23/2010 - 04:06:17: SourceMod error session started
L 11/23/2010 - 04:06:17: Info (map "c3m4_plantation") (file "errors_20101123.log")
L 11/23/2010 - 04:06:17: [SM] Plugin encountered error 15: Array index is out of bounds
L 11/23/2010 - 04:06:17: [SM] Displaying call stack trace for plugin "sm_killcounter.smx":
L 11/23/2010 - 04:06:17: [SM] [0] Line 350, /home/groups/alliedmodders/forums/files/7/0/4/5/8/77161.attach::Command_TeamKills()
L 11/23/2010 - 04:06:29: Error log file session closed.
Zoeylicious is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 11-23-2010 , 07:33   Re: [L4D & L4D2] Kill Counters.
Reply With Quote #39

Theres no point in posting the same error over and over... Zoeylicious are you sure you updated?

Also nakashimakun, you don't need to upload the .SMX, only if the forum compiler cannot compile because of includes.
__________________
Silvers is offline
nakashimakun
Senior Member
Join Date: Feb 2010
Location: England
Old 11-23-2010 , 12:32   Re: [L4D & L4D2] Kill Counters.
Reply With Quote #40

@ Zoeylicious - Im working on a fix but I don't know what I could do to fix it. Give me some time.

@ Silvers - Could you take a look and see if you could work why the arrary's are bugging out? Maybe I'll contact you via steam on this.

NakashimaKun
nakashimakun is offline
Reply



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 17:02.


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