The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Undefined symbol 'TRY'
Author Message
Paulo_BR
Apprentice
*

Posts: 30
Likes Given: 14
Likes Received: 1 in 1 posts
Joined: May 2012
Reputation: 0

Ultima Online Brasil

Post: #1
Undefined symbol 'TRY'
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.
12-04-2012 02:12 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: Undefined symbol 'TRY'
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"

[Image: 2nis46r.jpg]
12-04-2012 02:27 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
ChaveS
Journeyman
*

Posts: 69
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Oct 2012
Reputation: 0



Post: #3
RE: Undefined symbol 'TRY'
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
12-04-2012 03:21 AM
Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #4
RE: Undefined symbol 'TRY'
That's a good catch, I didn't notice that

[Image: 2nis46r.jpg]
12-04-2012 03:57 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Paulo_BR
Apprentice
*

Posts: 30
Likes Given: 14
Likes Received: 1 in 1 posts
Joined: May 2012
Reputation: 0

Ultima Online Brasil

Post: #5
RE: Undefined symbol 'TRY'
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
(This post was last modified: 12-04-2012 04:51 AM by Paulo_BR.)
12-04-2012 04:49 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
ChaveS
Journeyman
*

Posts: 69
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Oct 2012
Reputation: 0



Post: #6
RE: Undefined symbol 'TRY'
i think you should change TINKERING 100.0 to 100.0 TINKERING

and the TRY funciton may is on line 589
(This post was last modified: 12-04-2012 04:58 AM by ChaveS.)
12-04-2012 04:57 AM
Find all posts by this user Like Post Quote this message in a reply
Paulo_BR
Apprentice
*

Posts: 30
Likes Given: 14
Likes Received: 1 in 1 posts
Joined: May 2012
Reputation: 0

Ultima Online Brasil

Post: #7
RE: Undefined symbol 'TRY'
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
12-04-2012 05:07 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
htid4life
Journeyman
*

Posts: 162
Likes Given: 27
Likes Received: 4 in 3 posts
Joined: Mar 2012
Reputation: 2



Post: #8
RE: Undefined symbol 'TRY'
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)

[Image: htid.jpg]
(This post was last modified: 12-04-2012 05:28 AM by htid4life.)
12-04-2012 05:26 AM
Find all posts by this user Like Post Quote this message in a reply
Paulo_BR
Apprentice
*

Posts: 30
Likes Given: 14
Likes Received: 1 in 1 posts
Joined: May 2012
Reputation: 0

Ultima Online Brasil

Post: #9
RE: Undefined symbol 'TRY'
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'
12-04-2012 05:37 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
ChaveS
Journeyman
*

Posts: 69
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Oct 2012
Reputation: 0



Post: #10
RE: Undefined symbol 'TRY'
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
(This post was last modified: 12-04-2012 06:34 AM by ChaveS.)
12-04-2012 06:29 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)