Raised This Month: $ Target: $400
 0% 

[L4D & L4D2] Ammo Pile Spawner (1.9) [11-Dec-2022]


Post New Thread Reply   
 
Thread Tools Display Modes
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 02-28-2017 , 09:08   Re: [L4D & L4D2] Ammo Pile Spawner (1.4) [13-Jun-2015]
Reply With Quote #11

Let me know the steps on how to reproduce. I wonder whats causing a crash.
__________________
Silvers is offline
WhataMack
Junior Member
Join Date: Jul 2012
Old 02-28-2017 , 10:28   Re: [L4D & L4D2] Ammo Pile Spawner (1.4) [13-Jun-2015]
Reply With Quote #12

Here's the server's configuration:

* Windows 7 64-bit
* Metamod:Source 1.10.6
* SourceMod 1.8.0 (stable)

* Tested with all non-default SourceMod plugins removed from "addons > sourcemod > plugins" folder.

* Used on a Best Available Dedicated server (runs on a server in my home, with connections via the internet and not via LAN)

I tested this again a few minutes ago. While in the "No Mercy - Hospital" (c8m4_interior) level I'll type "sm_ammo_spawn" in the client console (I'm the only admin). The ammo pile will spawn and then the server will crash, typically within 10 seconds of entering that command. This happens no matter if I type "sm_ammo_spawn", "sm_ammo_spawn 0" or "sm_ammo_spawn 1". I don't use the "sm_ammo_spawn_save" command because I only want these ammo piles to be temporary.

[Edit: I tried using "sm_ammo_spawn_save" just now and it also crashed the server almost immediately]

Here are the crash details from the Windows "srcds.exe has stopped working" pop-up window:
Problem signature:
Problem Event Name: APPCRASH
Application Name: srcds.exe
Application Version: 0.0.0.0
Application Timestamp: 5881160d
Fault Module Name: dbi.sqlite.ext.dll
Fault Module Version: 1.8.0.5973
Fault Module Timestamp: 589cfb57
Exception Code: 40000015
Exception Offset: 0006e5ef
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 1033
Additional Information 1: c312
Additional Information 2: c312b86dbaebb1e82b3921a18c448f0b
Additional Information 3: da21
Additional Information 4: da21770c9387390b342fe9a18e2d1c1b

Last edited by WhataMack; 02-28-2017 at 15:33.
WhataMack is offline
WhataMack
Junior Member
Join Date: Jul 2012
Old 03-07-2017 , 08:14   Re: [L4D & L4D2] Ammo Pile Spawner (1.4) [13-Jun-2015]
Reply With Quote #13

Just a follow-up, I've tested with a couple older versions of MetaMod and SourceMod but the crashing symptom still occurs. Because I've been using the plugin to spawn temporary ammo piles for the bots to use (I give them M16's at the start of a campaign via the Tankbuster plugin), I've switched over to using Silvers' Weapon Crate spawning plugin. I use that to create a temporary weapon crate with M16's to have them keep fresh rifles, and it works fine.
WhataMack is offline
cigs
Senior Member
Join Date: Jul 2006
Old 04-22-2017 , 10:18   Re: [L4D & L4D2] Ammo Pile Spawner (1.4) [13-Jun-2015]
Reply With Quote #14

For months my server crashed a few seconds after loading the first map of several campaigns. I never really knew what was causing it. Never really had the time to troubleshoot the issue. Yesterday I did have some time and could narrow the problem down to this plugin. The server has many other of Silvers' spawn plugins. None of them cause any problems. I didn't expect the ammo plugin to be what was causing these server issues for me, but apparently it does. I removed it and the server hasn't crashed, nor timed out for hours since then. Thought I'd let you know.
__________________
cigs is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 04-28-2017 , 10:00   Re: [L4D & L4D2] Ammo Pile Spawner (1.4) [13-Jun-2015]
Reply With Quote #15

Sorry about the crashes.

EDIT: FIXED! Please update and test
__________________

Last edited by Silvers; 04-29-2017 at 12:00.
Silvers is offline
WhataMack
Junior Member
Join Date: Jul 2012
Old 12-27-2017 , 11:22   Re: [L4D & L4D2] Ammo Pile Spawner (1.4) [13-Jun-2015]
Reply With Quote #16

Quote:
Originally Posted by Silvers View Post
Sorry about the crashes.

EDIT: FIXED! Please update and test
Hi Silvers, I happened to check back into this thread yesterday and saw your post. I downloaded and tested the updated plugin on "No Mercy > Chapter 4 - Hospital" just now, which was the map that crashed my server the most frequently with the earlier version of the plugin.

The server did not crash so it looks like your update's solved the problem I was having (see posts above). Thanks very much for taking the time to look into this, it's definitely appreciated. You're the best!

Last edited by WhataMack; 12-27-2017 at 11:23.
WhataMack is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 12-27-2017 , 14:12   Re: [L4D & L4D2] Ammo Pile Spawner (1.4.1) [29-Apr-2017]
Reply With Quote #17

For future reference the crashes were caused by using DispatchSpawn before TeleportEntity. Happens with some models/entity types spawning at 0,0,0. I've seen this in several of my other plugins over the years.
__________________
Silvers is offline
AK978
Senior Member
Join Date: Jun 2018
Old 01-29-2020 , 09:41   Re: [L4D & L4D2] Ammo Pile Spawner (1.5) [05-May-2018]
Reply With Quote #18

Creating on dynamic entities will crash?

Last edited by AK978; 01-29-2020 at 09:51.
AK978 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 01-29-2020 , 12:46   Re: [L4D & L4D2] Ammo Pile Spawner (1.5) [05-May-2018]
Reply With Quote #19

Possibly no, it seems to be other entities, but to be safe I still recommend TeleportEntity before DispatchSpawn, unless of course the entity doesn't show up because Teleport happened too earlier.
__________________
Silvers is offline
AK978
Senior Member
Join Date: Jun 2018
Old 01-30-2020 , 06:15   Re: [L4D & L4D2] Ammo Pile Spawner (1.5) [05-May-2018]
Reply With Quote #20

l4d_derailed_highway2ver(car)
beldurra2_5(Raft)

server.dll + 0x128b99

Last edited by AK978; 02-02-2020 at 00:30.
AK978 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 01:13.


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