Page MenuHomeFeedback Tracker

When changing the cfgspawnabletypes.xml file - spam in the console logs
Reviewed, NormalPublic

Description

version 1.18.155001

when I add in cfgspawnabletypes.xml

<!-- ~~~ grenades in flak jackets ~~~ -->

     <typename="PoliceVest">
         <attachments chance="1.00">
             <item name="Ammo_40mm_Smoke_Red" chance="0.06" />
             <item name="Ammo_40mm_Smoke_White" chance="0.06" />
         </attachments>
</type>
   

<!-- ~~~ grenades in flak jackets ~~~ -->

and start server console spam this text

16:27:22 Создан выделенный сервер.
16:27:23 [Inputs] Loading inputs default "bin/constants.xml"
16:27:23 [Inputs] Loading inputs default "bin/specific.xml"
...
16:27:56 !!! CEStorageElement::Save object Ammo_40mm_Explosive:25825 has no Economy Data
16:27:56 !!! CEStorageElement::Save object Ammo_40mm_Explosive:25826 has no Economy Data
16:27:56 !!! CEStorageElement::Save object Ammo_40mm_Explosive:25827 has no Economy Data
16:27:56 !!! CEStorageElement::Save object Ammo_40mm_Explosive:25828 has no Economy Data
16:27:56 !!! CEStorageElement::Save object Ammo_40mm_Smoke_White:18918 has no Economy Data

if enter in server, they will spam it all time!

Details

Severity
Minor
Resolution
Open
Reproducibility
Unable To Reproduce
Operating System
Windows 10
Operating System Version
10.0.19043.1766
Category
Game Settings
Steps To Reproduce
  1. add in cfgspawnabletypes.xml code:
<!-- ~~~ grenades in flak jackets ~~~ -->

     <typename="PoliceVest">
         <attachments chance="1.00">
             <item name="Ammo_40mm_Smoke_Red" chance="0.06" />
             <item name="Ammo_40mm_Smoke_White" chance="0.06" />
         </attachments>
</type>
   

<!-- ~~~ grenades in flak jackets ~~~ -->
  1. start server
  2. if enter in server, they will spam it all time
Additional Information

troble with mod....

Event Timeline

zilon created this task.Jul 4 2022, 8:57 AM
zilon edited Additional Information. (Show Details)Jul 4 2022, 9:07 AM
zilon updated the task description. (Show Details)Jul 4 2022, 9:10 AM
zilon changed Severity from Text to Minor.Jul 5 2022, 1:25 PM
zilon changed Reproducibility from Always to Unable To Reproduce.
zilon edited Additional Information. (Show Details)
zilon removed a subscriber: zilon.
Geez changed the task status from New to Reviewed.Jul 7 2022, 2:30 PM
Geez added a subscriber: Geez.

Hello zilon.
You have a typo in there, it should be:

<type name="PoliceVest">

instead of typename.
Fixing this on your end should fix the problem.
Regards,
Geez