Adding custom items to valor realm
so there is no dat1 in server.sln so i went to where dat1 is in valor-server-master in game i get art error and i get this error Object reference not set to an instance of an object. i tried it with and with out ext="true" this is the weapons code
Code:
<Object type="0xea1" id="The Strap" ext="true"> <Class>Equipment</Class> <Item/> <Texture> <File>lofiObj7</File> <Index>0x00</Index> </Texture> <SlotType>3</SlotType> <Description>You need to carry a strap in the Hood!</Description> <RateOfFire>2</RateOfFire> <Sound>weapon/poor_quality_bow</Sound> <Projectile> <ObjectId>Xmas Bottle</ObjectId> <Speed>200</Speed> <MinDamage>200</MinDamage> <MaxDamage>250</MaxDamage> <LifetimeMS>500</LifetimeMS> <Amplitude>0.1</Amplitude> <Frequency>1</Frequency> <Size>50</Size> <MultiHit/> <PassesCover/> <ArmorPiercing/> </Projectile> <NumProjectiles>1</NumProjectiles> <ArcGap>11</ArcGap> <ActivateOnEquip stat="0" amount="100">IncrementStat</ActivateOnEquip> <ActivateOnEquip stat="3" amount="100">IncrementStat</ActivateOnEquip> <ActivateOnEquip stat="20" amount="5">IncrementStat</ActivateOnEquip> <ActivateOnEquip stat="21" amount="5">IncrementStat</ActivateOnEquip> <ActivateOnEquip stat="22" amount="5">IncrementStat</ActivateOnEquip> <ActivateOnEquip stat="28" amount="5">IncrementStat</ActivateOnEquip> <ActivateOnEquip stat="26" amount="5">IncrementStat</ActivateOnEquip> <ActivateOnEquip stat="27" amount="5">IncrementStat</ActivateOnEquip> <BagType>6</BagType> <FameBonus>8</FameBonus> <feedPower>1000</feedPower> <Soulbound/> <DisplayId>The Strap</DisplayId> </Object>