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

[L4D2] Random Crashes on Srcds


Post New Thread Reply   
 
Thread Tools Display Modes
yeahya
Junior Member
Join Date: Jul 2017
Old 07-21-2017 , 09:30   Re: [L4D2] Random Crashes on Srcds
Reply With Quote #11

Quote:
Originally Posted by Spirit_12 View Post
Install this extension and it would make it easier for us to help you.

https://forums.alliedmods.net/showthread.php?t=277703&
Hi, Spirit_12, thanks for your suggestion, I got a crash again 30 mins ago, here is the report, don't know how to work on it

Quote:
Crash ID: XEAL-VU32-K4KQ
Function: server.dll + 0x486033
yeahya is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 07-21-2017 , 12:51   Re: [L4D2] Random Crashes on Srcds
Reply With Quote #12

Quote:
Originally Posted by Visual77 View Post
TAlthough RemovePlayerItem(client, item) needs an AcceptEntityInput kill after it, allegedly. Someone should proof that myth though.
That is correct, because it's simply removing the entity from the player, the entity/edict still exists, so AcceptEntityInput is required after if you don't plan on adding that item back to a player.

Another clarification, AcceptEntityInput "kill" should be used over RemoveEdict, because the latter has been known to cause a crash in certain circumstances due to the object being removed on the same game frame. Whereas AcceptEntityInput "kill" as mentioned before, adds a flag within the game engine for removale of that edict, which happens on the next frame after the function was called.



Quote:
Originally Posted by cravenge View Post
Note to coders when completely removing entities:
PHP Code:
AcceptEntityInput(entity"Kill");
RemoveEdict(entity); 
Also DO NOT USE this method, because of the above reasons, RemoveEdict could cause a crash by doing this. Only use the former.
__________________

Last edited by Silvers; 07-21-2017 at 12:53.
Silvers is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 07-21-2017 , 17:02   Re: [L4D2] Random Crashes on Srcds
Reply With Quote #13

Quote:
Originally Posted by yeahya View Post
Hi, Spirit_12, thanks for your suggestion, I got a crash again 30 mins ago, here is the report, don't know how to work on it
Crash seems to be happening in server.dll. I would have to point towards Downtown extension. It is known to have random crashes. Just for a check try and remove that for a day or two to see, if its Downtown.

ABM seems to be the only plugin using the downtown functionality anyway. Just to isolate what is the cause of the crash.
__________________
Spirit_12 is offline
yeahya
Junior Member
Join Date: Jul 2017
Old 07-22-2017 , 12:54   Re: [L4D2] Random Crashes on Srcds
Reply With Quote #14

Quote:
Originally Posted by Spirit_12 View Post
Crash seems to be happening in server.dll. I would have to point towards Downtown extension. It is known to have random crashes. Just for a check try and remove that for a day or two to see, if its Downtown.

ABM seems to be the only plugin using the downtown functionality anyway. Just to isolate what is the cause of the crash.
Thanks Spirit_12 very much, it seem to be the problem of left 4 downtown 2 which I download from GitHub, but it's hard for me to disable it because some plugins require the extension, is there anythings else I can do for it instead?

Last edited by yeahya; 07-22-2017 at 13:24.
yeahya is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 07-22-2017 , 14:06   Re: [L4D2] Random Crashes on Srcds
Reply With Quote #15

Where did you download it from?
__________________
Spirit_12 is offline
yeahya
Junior Member
Join Date: Jul 2017
Old 07-22-2017 , 15:26   Re: [L4D2] Random Crashes on Srcds
Reply With Quote #16

Quote:
Originally Posted by Spirit_12 View Post
Where did you download it from?
from here: https://github.com/Satanic-Spirit/Le...town-2-0.5.4.2
yeahya is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 07-22-2017 , 17:03   Re: [L4D2] Random Crashes on Srcds
Reply With Quote #17

Hmm, so you got it from my repo. That should be a clean version, but that's just the nature of downtown extension.

What plugins require downtown to be running?

EDIT-

My bad, it seems like I uploaded the debug version on my repo. I've updated the release candidates with one updated signature. Download the new version and use non player slot patch version to see, how it goes.

https://github.com/Satanic-Spirit/Le...es/tag/release
__________________

Last edited by Spirit_12; 07-22-2017 at 19:15.
Spirit_12 is offline
yeahya
Junior Member
Join Date: Jul 2017
Old 07-23-2017 , 00:18   Re: [L4D2] Random Crashes on Srcds
Reply With Quote #18

Quote:
Originally Posted by Spirit_12 View Post
Hmm, so you got it from my repo. That should be a clean version, but that's just the nature of downtown extension.

What plugins require downtown to be running?

EDIT-

My bad, it seems like I uploaded the debug version on my repo. I've updated the release candidates with one updated signature. Download the new version and use non player slot patch version to see, how it goes.

https://github.com/Satanic-Spirit/Le...es/tag/release
Thanks Spirit_12, I will now download it and hope to see crash will disappear, and I thing ABM plugin is the only one uses downtown extension as it say in it's description, don't pretty sure if it can runs alone without downtown, or maybe I should try to run it alone?

Last edited by yeahya; 07-23-2017 at 00:23.
yeahya is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Old 07-23-2017 , 02:16   Re: [L4D2] Random Crashes on Srcds
Reply With Quote #19

There will be an update for abm sometime, which will not be dependent on downtown to do it's stuff with the dvars and will include otherfixes and functions
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D
Lux is offline
yeahya
Junior Member
Join Date: Jul 2017
Old 07-23-2017 , 02:44   Re: [L4D2] Random Crashes on Srcds
Reply With Quote #20

Quote:
Originally Posted by Lux View Post
There will be an update for abm sometime, which will not be dependent on downtown to do it's stuff with the dvars and will include otherfixes and functions
Thank you all for the effort on coding and keep updating plugins, I look forward to the update of all these plugins and extensions!!
yeahya 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 09:29.


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