SphereCommunity
Undefined symbol 'TRY' - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Undefined symbol 'TRY' (/Thread-Undefined-symbol-TRY)

Pages: 1 2


Undefined symbol 'TRY' - Paulo_BR - 12-04-2012 02:12 AM

In my script of the tinkering itens, i have the Golden Amulet of Taming but in my console give me that error:

Code:
ERROR:(dg_itens_skill_tinker.scp,369)Undefined symbol 'TRY'
ERROR:(dg_itens_skill_tinker.scp,369)Bad resource list id ' 90.0 Taming, 100.0 AnimalLore, t_tinker_tools'
ERROR:(dg_itens_skill_tinker.scp,589)Undefined symbol 'TRY'
ERROR:(dg_itens_skill_tinker.scp,589)Bad resource list id '100.0 Taming, t_tinker_tools'

Code:
[ITEMDEF i_amu_Golden_taming]
ID=i_necklace_gold
Name=Golden Amulet of Taming
WEIGHT=1

SKILLMAKE=TINKERING 100.0, 80.0 MAGERY,100.0 AnimalLore,100.0 Taming, t_tinker_tools // Line of that error
RESOURCES=20 i_ingot_gold, 3 i_gem_amethyst

CATEGORY=Novos Itens Tinker
SUBSECTION=Golden itens
DESCRIPTION=Golden Amulet of Taming

ON=@CREATE
color=00798

ON=@EQUIP

SRC.Taming=(<SRC.Taming> +100)



ON=@UNEQUIP

SRC.Taming=(<SRC.Taming> -100)

What this fix it.

Thank y so much.


RE: Undefined symbol 'TRY' - Mordaunt - 12-04-2012 02:27 AM

What is the other line?

The skillmake line is not going to be the issue, the problem is going to be on the line which includes the "try"


RE: Undefined symbol 'TRY' - ChaveS - 12-04-2012 03:21 AM

SKILLMAKE=TINKERING 100.0, 80.0 MAGERY,100.0 AnimalLore,100.0 Taming, t_tinker_tools // Line of that error

why TINKERING 100.0
and 80.0 MAGERY?

One of this order is wrong
XX.X SKILL
or SKILL XX.X


RE: Undefined symbol 'TRY' - Mordaunt - 12-04-2012 03:57 AM

That's a good catch, I didn't notice that


RE: Undefined symbol 'TRY' - Paulo_BR - 12-04-2012 04:49 AM

It's seem that sphere don't reconize the "TAMING 100.0", I tried to change the order to "SKILL VALUE", "VALUE SKILL" and no one works...

there is no TRY on the script, sphere console shows it by itself.

If we remove, or let the taming on the end of line, the item appears on the skillmake menu.


Thanks


RE: Undefined symbol 'TRY' - ChaveS - 12-04-2012 04:57 AM

i think you should change TINKERING 100.0 to 100.0 TINKERING

and the TRY funciton may is on line 589


RE: Undefined symbol 'TRY' - Paulo_BR - 12-04-2012 05:07 AM

I tried this... and there is no try on line 589:

Line 589: SKILLMAKE=100.0 TINKERING,80.0 MAGERY,100.0 AnimalLore, t_tinker_tools, 100.0 Taming


RE: Undefined symbol 'TRY' - htid4life - 12-04-2012 05:26 AM

this one should work..

Code:
[ITEMDEF i_amu_Golden_taming]
ID=i_necklace_gold
Name=Golden Amulet of Taming
WEIGHT=1

SKILLMAKE=TINKERING 100.0,MAGERY 80.0,AnimalLore 100.0,Taming 100.0,t_tinker_tools // Line of that error
RESOURCES=20 i_ingot_gold, 3 i_gem_amethyst

CATEGORY=Novos Itens Tinker
SUBSECTION=Golden itens
DESCRIPTION=Golden Amulet of Taming

ON=@CREATE
color=00798

ON=@EQUIP

SRC.Taming=(<SRC.Taming> +100)



ON=@UNEQUIP
SRC.Taming=(<SRC.Taming> -100)



RE: Undefined symbol 'TRY' - Paulo_BR - 12-04-2012 05:37 AM

The error continue:

Code:
ERROR:(dg_itens_skill_tinker.scp,589)Undefined symbol 'TRY'
ERROR:(dg_itens_skill_tinker.scp,589)Bad resource list id ' Taming 100.0,t_tinker_tools'



RE: Undefined symbol 'TRY' - ChaveS - 12-04-2012 06:29 AM

no idea

try:
SKILLMAKE=TINKERING 100.0, 80.0 MAGERY,100.0 AnimalLore,1000 Taming, t_tinker_tools
SKILLMAKE=TINKERING 100.0, 80.0 MAGERY,100.0 AnimalLore,100.0 Taming, 1 t_tinker_tools
SKILLMAKE=t_tinker_tools, TINKERING 100.0, 80.0 MAGERY,100.0 AnimalLore,100.0 Taming
SKILLMAKE=t_tinker_tools,100.0 Taming, TINKERING 100.0, 80.0 MAGERY,100.0 AnimalLore

can you track when this error is triggered?
When someone try to make what?
I think there is TRY function calling skillmake from i_amu_Golden_taming