SphereCommunity
What's the problem? - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: What's the problem? (/Thread-What-s-the-problem)



What's the problem? - derskyangel - 03-08-2013 04:40 PM

The problem occurred after I moved the scripts and save on http://nightly.prerelease.sphere.torfo.org/

[ITEMDEF i_ingot_blackrock]
DEFNAME=i_ingot_blackrock
ID=i_ingot_iron
NAME=Black Rock Ingot
RESOURCES=1 i_ingot_shadow, 1 i_ingot_bloodrock, 1 i_stone_force

SKILLMAKE=BLACKSMITHING 90.0
TDATA1=90.0
TDATA2=120.0
WEIGHT=2

CATEGORY=Items by Professions
SUBSECTION=Blacksmiths
DESCRIPTION=Black Rock Ingot

ON=@Create
COLOR=color_o_blackrock


[ITEMDEF i_ingot_bloodrock]
DEFNAME=i_ingot_bloodrock
ID=i_ingot_iron
NAME=Blood Rock Ingot
RESOURCES=i_ore_bloodrock
SKILLMAKE=MINING 93.0
TDATA1=90.0
TDATA2=120.0
WEIGHT=2

CATEGORY=Items by Professions
SUBSECTION=Blacksmiths
DESCRIPTION=Blood Rock Ingot

ON=@Create
COLOR=color_o_bloodrock

[ITEMDEF i_ingot_valorite]
DEFNAME=i_ingot_valorite
NAME=Valorite Ingot
ID=i_ingot_iron
RESOURCES=1 i_ingot_verite, 1 i_stone_force, 1 i_ingot_earth

SKILLMAKE=BLACKSMITHING 90.0
WEIGHT=2

CATEGORY=Items by Professions
SUBSECTION=Blacksmiths
DESCRIPTION=Valorite Ingot

ON=@Create
COLOR=color_o_valorite


RE: What's the problem? - Crusader - 03-08-2013 06:23 PM

i had the same problem so far but i guess for different reasons.

Probabily, in ur case, u have to comment the -basic- i_ingot_blackrock, i_ingot_valorite that u find in sphere_items_resources_ore (or a file called like this) under scripts/items. just comment all the resources, save, shut down the server, restart.

Tell me if it works then


RE: What's the problem? - Mordaunt - 03-09-2013 01:44 AM

You have 2 scripts trying to dictate what an item is.

if [ITEMDEF i_blackrock_blah] is text DEFNAME= is not needed you will find that the other script in which it reads [ITEMDEF <somenumber here>] has already set the DEFNAME as it should.

Drop the defname line in the script where ITEMDEF is is a name and you should be fine


RE: What's the problem? - derskyangel - 03-09-2013 02:40 AM

Removed Defname but errors remained the same. and all this after loading sphereworld


RE: What's the problem? - Mordaunt - 03-09-2013 02:41 AM

are you loading a set of scripts with a numeric itemdef and a defname line as well as these still?
if so take them out. sorry meat to say that in the previous post... still my first cup of coffee Wink