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?
Description
Description
Details
Details
- Severity
- None
- Resolution
- Open
- Reproducibility
- N/A
- Operating System
- Windows 7
- Category
- General
Steps To Reproduce
Event Timeline
Comment Actions
Hello Smola.
Can you please properly describe what is the problem you are experiencing?
Regards,
Geez
Comment Actions
The server crashes, I would like to ask you to please look at what this could be connected with, at least find indirect evidence)
Comment Actions
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
Comment Actions
//! 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?