Page MenuHomeFeedback Tracker

Crash Server
Closed, ResolvedPublic

Description

Good afternoon gentlemen, I found an object that I painted, thank you very much, painting has become much less frequent, but I wanted to ask, could you see what else could be painted?

Details

Severity
None
Resolution
Open
Reproducibility
N/A
Operating System
Windows 7
Category
General
Steps To Reproduce

Event Timeline

Smola created this task.May 16 2024, 3:58 PM
Geez added a subscriber: Geez.May 16 2024, 4:43 PM

Hello Smola.
Can you please properly describe what is the problem you are experiencing?
Regards,
Geez

Geez changed the task status from New to Need More Info.May 16 2024, 4:43 PM
Smola added a comment.May 16 2024, 4:47 PM

The server crashes, I would like to ask you to please look at what this could be connected with, at least find indirect evidence)

Smola added a comment.May 17 2024, 8:04 PM

I will be extremely grateful to you if you tell me what my problem is)

Smola added a comment.May 18 2024, 5:52 PM

{F3996960}Here is another log folder, I don’t know what this might be connected with

Geez closed this task as Resolved.May 20 2024, 11:51 AM
Geez claimed this task.

Hello Smola.
There is most likely something wrong with some weapon mod, it is crashing when a player dies and in script GetCartridgeAtIndex is called in EEKilled
Crash seems to mostly happen sometime shortly after Cannot create non-ai vehicle Ammo_545x39 is printed in RPT
Regards,
Geez

//! 4) storesave/storeload

		ScriptReadWriteContext ctx = new ScriptReadWriteContext;
		src.OnStoreSave(ctx.GetWriteContext());
		dst.OnStoreLoad(ctx.GetReadContext(), GetGame().SaveVersion());

		//! 5) special treatment for mags
		Magazine srcMag;
		Magazine dstMag;
		if (Class.CastTo(srcMag, src) && Class.CastTo(dstMag, dst))
		{
			float damage;  //! @note damage is the damage of the cartridge itself (0..1), NOT the damage it inflicts!
			string cartTypeName;
			dstMag.ServerSetAmmoCount(0);
			for (i = 0; i < srcMag.GetAmmoCount(); i++)
			{
				srcMag.GetCartridgeAtIndex(i, damage, cartTypeName);
				dstMag.ServerStoreCartridge(damage, cartTypeName);
			}
		}

My GetCartridgeAtIndex is called only in this script, a script to replace the burned-out one with a container, tell me what’s wrong with it?

Smola added a comment.May 20 2024, 3:46 PM

{F3998846}here's another bunch of logs