SphereCommunity
Wierd item behaviour - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Wierd item behaviour (/Thread-Wierd-item-behaviour)



Wierd item behaviour - tleilax - 06-05-2013 05:30 AM

Hello,

I recently upgraded my sphere from 55i to 56b, anyways I'm having problem with this item:

Code:
[ITEMDEF 041a0]
DEFNAME=i_axe_battle_large_RUIN
ID=i_axe_battle_large
NAME=Large Battle Axe of Ruin
RESOURCES=i_axe_battle_large,i_enchant_weapon

If I spawn it like this, all I get is spawn gem graphics.
If I change defname to whatever else, I get my desired weapon.
I checked all the scripts, there is no other item named "i_axe_battle_large_RUIN" or "041a0".

Because of relations with other scripts for loot and damage system, I don't want to change defname.
Any ideas?


RE: Wierd item behaviour - RanXerox - 06-06-2013 02:34 AM

I suggest you change all these items that use a number to just use the name... like this:

Code:
[ITEMDEF i_axe_battle_large_RUIN]
ID=i_axe_battle_large
NAME=Large Battle Axe of Ruin
RESOURCES=i_axe_battle_large,i_enchant_weapon



RE: Wierd item behaviour - tleilax - 06-06-2013 02:52 AM

I changed this item as you suggested, still the same, spawning world bit.


RE: Wierd item behaviour - Hustensaft - 06-06-2013 05:39 AM

041a0? Isn't that out of range in the tiledata? I thought, you can only use 0 to 3fff (normal clients) and 0 to 4000 (Palanthir)?


RE: Wierd item behaviour - RanXerox - 06-06-2013 08:29 AM

The current nightly sphereserver versions supports the current client itemdefs which got up to almost 09999... 041a0 is a wall component from the Stygian Abyss expansion.