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

[CS:GO] Knife Upgrade 2.5.7 (Saves Knife Selection) **Updated 06-02-2015**


Post New Thread Closed Thread   
 
Thread Tools Display Modes
L33TGaming
Senior Member
Join Date: Jun 2014
Old 07-11-2014 , 22:54   Re: [CS:GO] Knife Upgrade 2.1.7 (Saves Knife Selection) **Updated 7-11-2014**
#101

Quote:
Originally Posted by klexen View Post
Wow! Great catch man. Thank you very much.

I also noticed that if sm_knifeupgrade_welcome_menu and sm_knifeupgrade_welcome_message were both set to 1, and their timers were set the same, the same function would be called at the exact same time. So I split it into 2 separate functions, and just in case, made a check to see if both timers are set for the same time, and if they are, slightly adjust them so only 1 function will called at a time.

So I made your change, and fixed that timer function. Hopefully now there won't be anymore crashes.

Updated to 2.1.7
Testing Version 2.1.7. Will report back if theres any hanging.
L33TGaming is offline
klexen
Senior Member
Join Date: Sep 2013
Old 07-11-2014 , 22:58   Re: [CS:GO] Knife Upgrade 2.1.7 (Saves Knife Selection) **Updated 7-11-2014**
#102

Quote:
Originally Posted by L33TGaming View Post
Testing Version 2.1.7. Will report back if theres any hanging.
Based on your configs, I'm thinking the timer issue was causing the crash on your server. The same function was being called twice at the exact same time. This also explains why I wasn't having the issue. I don't use the welcome menu, just the message.

Thank you for helping me track it down.
__________________


klexen is offline
L33TGaming
Senior Member
Join Date: Jun 2014
Old 07-11-2014 , 23:03   Re: [CS:GO] Knife Upgrade 2.1.7 (Saves Knife Selection) **Updated 7-11-2014**
#103

Quote:
Originally Posted by klexen View Post
Based on your configs, I'm thinking the timer issue was causing the crash on your server. The same function was being called twice at the exact same time. This also explains why I wasn't having the issue. I don't use the welcome menu, just the message.

Thank you for helping me track it down.
Bad news, the server hanged again with version 2.1.7.
L33TGaming is offline
JoB2C
AlliedModders Donor
Join Date: Jan 2014
Location: France
Old 07-11-2014 , 23:03   Re: [CS:GO] Knife Upgrade 2.1.7 (Saves Knife Selection) **Updated 7-11-2014**
#104

Sadly, I doubt that it will :/

I'm saying that because I have a plugin that have knives features too, and my servers are experiencing similar kind of crashes, but I can't figure out how to solve it.

EDIT: Seems that the answer came faster than my guess

We're maybe not talking about the same issue. I was talking about the one reported by loki15.

Last edited by JoB2C; 07-11-2014 at 23:07.
JoB2C is offline
klexen
Senior Member
Join Date: Sep 2013
Old 07-11-2014 , 23:07   Re: [CS:GO] Knife Upgrade 2.1.7 (Saves Knife Selection) **Updated 7-11-2014**
#105

Quote:
Originally Posted by L33TGaming View Post
Bad news, the server hanged again with version 2.1.7.
Damn... I'll keep looking. Can you disable the Welcome Menu and test it?

Quote:
Originally Posted by JoB2C View Post
Sadly, I doubt that it will :/

I'm saying that because I have a plugin that have knives features too, and my servers are experiencing similar kind of crashes, but I can't figure out how to solve it.

EDIT: Seems that the answer came faster than my guess
What knife plugin are you using? Does it crash / hang the server without logs too?
__________________


klexen is offline
L33TGaming
Senior Member
Join Date: Jun 2014
Old 07-11-2014 , 23:12   Re: [CS:GO] Knife Upgrade 2.1.7 (Saves Knife Selection) **Updated 7-11-2014**
#106

Sure, testing now with welcome menu disabled.
L33TGaming is offline
JoB2C
AlliedModders Donor
Join Date: Jan 2014
Location: France
Old 07-11-2014 , 23:13   Re: [CS:GO] Knife Upgrade 2.1.7 (Saves Knife Selection) **Updated 7-11-2014**
#107

I'm using a personal plugin that has some knives features (give knife on spawn after 3 secs if player has no / knife pickup replacement).

Indeed, there is no error log (this wouldn't help with crashes), and my Accelerator crash log reports a stack trace that looks like loki15's one.

Considering the features we both have, that probably comes froms the knife removal part, or the knife giving part, but I doubt there is anything problematic in it...
JoB2C is offline
L33TGaming
Senior Member
Join Date: Jun 2014
Old 07-11-2014 , 23:19   Re: [CS:GO] Knife Upgrade 2.1.7 (Saves Knife Selection) **Updated 7-11-2014**
#108

Still hanging like before. No error logs.
L33TGaming is offline
klexen
Senior Member
Join Date: Sep 2013
Old 07-11-2014 , 23:31   Re: [CS:GO] Knife Upgrade 2.1.7 (Saves Knife Selection) **Updated 7-11-2014**
#109

I don't get why it's working fine for me, and I'm assuming a lot more people (that aren't posting here because they're not having issues) There has to be some conflict with another plugin that I'm not running myself.

Here is my plugin list:
Spoiler


Here is my knife config:
Spoiler


Sourcemod version
Spoiler


Metamod:Source version
Spoiler


SM extensions
Spoiler
__________________



Last edited by klexen; 07-11-2014 at 23:45.
klexen is offline
JoB2C
AlliedModders Donor
Join Date: Jan 2014
Location: France
Old 07-11-2014 , 23:57   Re: [CS:GO] Knife Upgrade 2.1.7 (Saves Knife Selection) **Updated 7-11-2014**
#110

If loki15's crash happens like mine, it's really random. It can happen twice a day, or even every hour. It also seems to be less frequent when they are less players.

The plugin itself works flawlessly, no errors, no bugs. And no crash without the plugin :/

Since we can't repeat this, it's hard to find if this comes from a conflict.

The crash maybe depends on the system, idk...

Last edited by JoB2C; 07-12-2014 at 00:00.
JoB2C is offline
Closed Thread



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 23:03.


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