Raised This Month: $32 Target: $400
 8% 

1v1 Knife Fight (1.2.1, Updated: 10/17/2008)


Post New Thread Reply   
 
Thread Tools Display Modes
XARIUS
SourceMod Donor
Join Date: May 2008
Location: Atlanta, GA
Old 09-25-2008 , 16:26   Re: 1v1 Knife Fight
Reply With Quote #11

Quote:
Originally Posted by DerekRDenholm View Post
We are still getting crashing with the 0.03 as well as this in the error log:

L 09/25/2008 - 09:476: [SM] Native "GetClientTeam" reported: Client index 0 is invalid
L 09/25/2008 - 09:476: [SM] Displaying call stack trace for plugin "knifefight.smx":
L 09/25/2008 - 09:476: [SM] [0] Line 424, /home/groups/alliedmodders/forums/files/3/7/7/5/1/31782.attach::CancelFight()
L 09/25/2008 - 09:476: [SM] [1] Line 417, /home/groups/alliedmodders/forums/files/3/7/7/5/1/31782.attach::StartFight()
L 09/25/2008 - 09:476: [SM] [2] Line 744, /home/groups/alliedmodders/forums/files/3/7/7/5/1/31782.attach:anelHandler()
L 09/25/2008 - 09:476: [SM] Native "GetClientTeam" reported: Client index 0 is invalid
That one may already be fixed in 0.4. I tackled a lot of menu issues earlier this morning.

I beat the crap outta 0.4 this morning and no crashey crashey so far. Also have it running on our gungame server now, hasn't crashed in the past 5 hours, but also haven't checked logs yet.

X
XARIUS is offline
Derek
Senior Member
Join Date: Sep 2007
Old 09-25-2008 , 18:52   Re: 1v1 Knife Fight
Reply With Quote #12

We have added it let you know if we get any errors/bugs/crashing
__________________
Derek
Owner
XFactorServers
Game Server Hosting
Derek is offline
Derek
Senior Member
Join Date: Sep 2007
Old 09-26-2008 , 06:13   Re: 1v1 Knife Fight
Reply With Quote #13

Since 0.04 we have yet to get a crash which is a good sign. We are going to test how everything is working though. Ill update you.
__________________
Derek
Owner
XFactorServers
Game Server Hosting
Derek is offline
Derek
Senior Member
Join Date: Sep 2007
Old 09-26-2008 , 06:47   Re: 1v1 Knife Fight
Reply With Quote #14

Big problem when 2 real players both want to knife fight they select 1 but it doesnt teleport the players and it doesnt strip them of there weapons also there is no error logs.
__________________
Derek
Owner
XFactorServers
Game Server Hosting
Derek is offline
XARIUS
SourceMod Donor
Join Date: May 2008
Location: Atlanta, GA
Old 09-26-2008 , 09:54   Re: 1v1 Knife Fight
Reply With Quote #15

Quote:
Originally Posted by DerekRDenholm View Post
Big problem when 2 real players both want to knife fight they select 1 but it doesnt teleport the players and it doesnt strip them of there weapons also there is no error logs.
Well, at least it doesn't crash now! ;-)

Just kidding. Have a version I'll post up this morning. I *may* have gotten the missing knife bit fixed.
XARIUS is offline
XARIUS
SourceMod Donor
Join Date: May 2008
Location: Atlanta, GA
Old 09-26-2008 , 10:06   Re: 1v1 Knife Fight
Reply With Quote #16

Code:
L 09/25/2008 - 09:47:36: [SM]   [2]  Line 744, /home/groups/alliedmodders/forums/files/3/7/7/5/1/31782.attach::PanelHandler()
L 09/25/2008 - 09:47:36: [SM] Native "GetClientTeam" reported: Client index 0 is invalid
That one really has me stumped. Panel handler only fires when someone pushes 1 or 2. It automatically gives me the client index of who pushed it, so it must be returning 0 for some odd reason. I've put a check in there for that.

In my effort to try and keep the fight fair, I've tried to eliminate things like, picking up weapons, knifing the other guy before the countdown is over etc. Removing the knife is the only way I've been able to do that. Giving it back reliably has turned into a pita!

I tried a few things with zero success. Blocking player hurt crashes the server. Re-writing it for no damage does absolutely squat. blocking weapon_fire works for guns, but doesn't prevent the knife from swinging.

I got really frustrated with hooking events Pre, because it seems 90% of them you can't really re-write or block without dire consequences! Assuming they even fire at all.

If I can't get the knife return to be 99% reliable, I'll just stop stripping it away and it'll hafta be one of those things we deal with.

PS. Sorry this just turned into a blog :p

X
XARIUS is offline
home
Junior Member
Join Date: Sep 2008
Old 09-26-2008 , 17:17   Re: 1v1 Knife Fight
Reply With Quote #17

No crashing, but as said, no stripping of weapons and no teleport.
Nice work btw :-) Will be implented on our server.....
home is offline
XARIUS
SourceMod Donor
Join Date: May 2008
Location: Atlanta, GA
Old 09-26-2008 , 17:35   Re: 1v1 Knife Fight
Reply With Quote #18

Quote:
Originally Posted by home View Post
No crashing, but as said, no stripping of weapons and no teleport.
Nice work btw :-) Will be implented on our server.....
I have a fixed version, I've got it running on my server right now.

Once i'm sure it's large buggie free, I'll post it up (probably later tonight).
XARIUS is offline
XARIUS
SourceMod Donor
Join Date: May 2008
Location: Atlanta, GA
Old 09-26-2008 , 18:52   Re: 1v1 Knife Fight
Reply With Quote #19

Updated to 0.5. See changelog notes.

Also, if there's any additional features or functionality people would like to see, now's the time to speak up. ;)

Last edited by XARIUS; 09-26-2008 at 19:08.
XARIUS is offline
XARIUS
SourceMod Donor
Join Date: May 2008
Location: Atlanta, GA
Old 09-27-2008 , 10:23   Re: 1v1 Knife Fight
Reply With Quote #20

Updated to 0.6. Please delete knifefight.cfg before running this new version. The config file needs to be automatically re-created.
XARIUS 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 18:56.


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