xxx73
New member
With assets from other modders I made this molotov launcher. Im very happy with it and it worked very well in single player so I added it to my server. To my surprise it dont work on server, it gives this error message and I cant understand why it create this error.
The weapon launch its ammo but there is no burning impact when ammo hit ground in MP. If I remove both buffs from ammo the weapon work without and errors. I tried to add another buffs but no luck so far.
Error message
Weapon from items.xml
The weapon launch its ammo but there is no burning impact when ammo hit ground in MP. If I remove both buffs from ammo the weapon work without and errors. I tried to add another buffs but no luck so far.
Error message
2017-11-10T16:37:34 169.002 EXC Buff named 'Burning' does not exist!Exception: Buff named 'Burning' does not exist!
at MultiBuffClassAction.NewAction (System.String buffString) [0x00000] in <filename unknown>:0
at ExplosionData.Read (System.IO.BinaryReader _br) [0x00000] in <filename unknown>:0
at ExplosionData..ctor (System.Byte[] _explosionDataAsArr) [0x00000] in <filename unknown>:0
at NetPackageExplosionInitiate.read (System.IO.BinaryReader _br) [0x00000] in <filename unknown>:0
at NetPackage.Parse (System.IO.BinaryReader _reader, .ClientInfo _sender) [0x00000] in <filename unknown>:0
at NetConnectionRPC.thread_CommReader (.TaskInfo _threadInfo) [0x00000] in <filename unknown>:0
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
Logger:masterLogException(Exception)
Logger:Exception(Exception)
Log:Exception(Exception)
NetConnectionRPC:thread_CommReader(TaskInfo)
ThreadManager:ED(Object)
Weapon from items.xml
Ammo from items.xml<item id="2750" name="MolotovLauncher"><property name="CustomIcon" value="Flamethrowerw" />
<property name="DescriptionKey" value="MolotovLauncherDesc"/>
<property name="Meshfile" value="Items/Weapons/Ranged/RocketLauncher/rocketlauncherPrefab" />
<property name="Material" value="metal" />
<property name="HoldType" value="48" />
<property name="RepairTools" value="repairKit" />
<property name="EconomicValue" value="460"/>
<property name="Stacknumber" value="1" />
<property name="Degradation" value="550" param1="false" />
<property name="DegradationBreaksAfter" value="false" />
<property name="SoundJammed" value="Weapons/weapon_jam" />
<property name="SoundIdle" value="Weapons/Melee/Torch/torch_lp" />
<property name="Weight" value="33" />
<property name="CrosshairOnAim" value="false"/> <!-- aimTest -->
<property name="CrosshairUpAfterShot" value="true"/> <!-- aimTest -->
<property class="Action0"> <!-- AttackAction -->
<property name="Class" value="Launcher" />
<property name="Delay" value="0.2" />
<property name="Auto_fire" value="true" />
<property name="Crosshair_min_distance" value="1" />
<property name="Crosshair_max_distance" value="5" />
<property name="Magazine_size" value="25" />
<property name="Magazine_items" value="MolotovFuel" />
<property name="Magazine_item_ray_counts" value="10" />
<property name="Magazine_item_ray_spreads" value="1" />
<property name="Reload_time" value="6.3" />
<property name="Bullet_icon" value="uzi" />
<property name="Sound_start" value="torch_swoosh" />
<property name="Sound_repeat" value="torch_swoosh" />
<property name="Sound_end" value="torch_swoosh" />
<property name="Sound_empty" value="chainsaw_empty"/>
<property name="Sound_reload" value="chainsaw_reload"/>
<property name="Particles_muzzle_smoke" value="nozzlesmokeuzi" />
<property name="Horde_meter_rate" value=".275" />
<property name="Horde_meter_distance" value="20" />
<property name="Particles_muzzle_fire" value="nozzleflashuzi" />
<property name="Particles_muzzle_smoke" value="nozzlesmokeuzi" />
</property>
<property class="Action1"> <!-- UseAction -->
<property name="Class" value="Zoom" />
<property name="Zoom_max_out" value="35" />
<property name="Zoom_max_in" value="35" />
</property>
<property class="Attributes">
<property name="DegradationMax" value="1000,2000" />
<property name="DegradationRate" value="4,8" />
</property>
<property name="Group" value="Ammo/Weapons" />
<property name="ActionSkillGroup" value="Heavy Weapons"/>
<property name="CraftingSkillGroup" value="craftSkillGuns"/>
</item>
Buffs from buffs.xml. They are just copies of burningMolotov to balance the weapon.<item id="2751" name="MolotovFuel"><property name="CustomIcon" value="Napalm" />
<property name="DropMeshfile" value="Items/Misc/sackPrefab" />
<property name="Meshfile" value="Items/Tools/torchPrefab"/>
<property name="DescriptionKey" value="MolotovFuelDesc"/>
<property name="HoldType" value="45" />
<property name="Material" value="organic" />
<property name="Stacknumber" value="500" /> <!-- Ammo resource -->
<property name="FuelValue" value="2" />
<property name="EconomicValue" value="7"/> <!-- gas can 83 -->
<property name="EconomicBundleSize" value="100"/>
<property class="Action1">
<property name="Class" value="Projectile" />
<property name="ActionExp" value="1" />
<property name="ActionExpBonusMultiplier" value="1" />
<property name="Explosion.BlockDamage" value="1"/>
<property name="Explosion.EntityDamage" value="15"/>
<property name="Explosion.ParticleIndex" value="10"/>
<property name="Explosion.RadiusBlocks" value="2"/>
<property name="Explosion.RadiusEntities" value="3"/>
<property name="Explosion.DamageBonus.stone" value="0.1"/>
<property name="Explosion.DamageBonus.metal" value="0"/>
<property name="Explosion.DamageBonus.earth" value="0"/>
<property name="Explosion.DamageBonus.water" value="0"/>
<property name="Explosion.DamageBonus.wood" value="0.5"/>
<property name="Explosion.DamageBonus.cloth" value="1" />
<property name="Explosion.DamageBonus.plants" value="0.5" />
<property name="Explosion.DamageBonus.glass" value="2" />
<property name="Explosion.DamageBonus.snow" value="3" />
<property name="Explosion.BlastPower" value="10"/>
<property name="FuseTime" value="20000"/>
<property name="Explosion.Buff" value="burningmedium2"/>
<property name="Explosion.Buff_chance" value="1"/>
<property name="ExplodeOnHit" value="true"/>
<property name="Velocity" value="20" />
<property name="FlyTime" value="0.50" />
<property name="LifeTime" value="4" />
<property name="CollisionRadius" value="0.5" />
</property>
<property class="Attributes">
<property name="GetQualityFromWeapon" value="true" />
<property name="ApplyBuff" value="1, 1" param1="burningmedium" />
</property>
<property name="CraftingSkillGroup" value="Science"/>
<property name="Group" value="Ammo/Weapons" />
</item>
<buff id="burningmedium" mutex="cannotBreath,drowning,trapimmunity" debuffif="+water > 1" duration="10" stack="reset" ffcheck="true" actions="debuff(burningSmall);attach(ParticleEffects/p_onFire, @impact);damage(0,1,0,1);damage(0,3,0,0)" icon="ui_game_symbol_fire" name_key="burning" description_key="burningDesc" tooltip_key="burningTooltip" cures="canBoiledWater,bottledWater,goldenRodTea,redTea,largeAidKit">
<modify id="1" stat="health" amount="-15" rate="1"/>
</buff>
<buff id="burningmedium2" mutex="cannotBreath,drowning,trapimmunity" debuffif="+water > 1" duration="5" stack="reset" ffcheck="true" actions="debuff(burningSmall);attach(ParticleEffects/p_onFire, @impact);damage(0,1,0,1);damage(0,3,0,0)" icon="ui_game_symbol_fire" name_key="burning" description_key="burningDesc" tooltip_key="burningTooltip" cures="canBoiledWater,bottledWater,goldenRodTea,redTea,largeAidKit">
<modify id="1" stat="health" amount="-10" rate="1"/>
</buff>
Last edited by a moderator: