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
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can't set item's value in game? (or via script)
Author Message
Rayvolution
Journeyman
*

Posts: 135
Likes Given: 0
Likes Received: 2 in 2 posts
Joined: Jul 2012
Reputation: 1

Aetharia

Post: #1
Can't set item's value in game? (or via script)
I'm trying to redo the way quality effects the buy/sell price of an item when you craft it by making it simply be valued off a percentage of it's original value based on the quality level, but for some reason I can't set the value of an item after it's created?

Under my main player event, I have this to test it:

ON=@SkillMakeItem
ACT.TAG.CRAFTER <SRC.NAME>
ACT.VALUE 1
SRC.EMOTE create a <ACT.NAME>

Technically every item anyone creates should be valued at "1" right now, but it's ignoring it. I know the trigger is firing because the TAG.CRAFTER and EMOTE work just fine.

I also can't do .set value in game at all, it won't work. I just get "Invalid set".

Any ideas?

[Image: 4_Logo.png]
An MMORPG based on the Ultima Online engine.
Completely Custom Map, GUI, AI, Combat, Skills, Crafts, Art, Music and so much more.
http://aetharia.com - Home of Ambition!
09-02-2012 04:04 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Can't set item's value in game? (or via script) - Rayvolution - 09-02-2012 04:04 AM

Forum Jump:


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