SphereCommunity
ERROR about "Undefined keyword 'ITEM'" - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: ERROR about "Undefined keyword 'ITEM'" (/Thread-ERROR-about-Undefined-keyword-ITEM)



ERROR about "Undefined keyword 'ITEM'" - Jim - 01-24-2015 05:11 PM

(nightly version)

when you say "buy" to a vendor. for example: to a "c_alchemist".
there are some error information in the server:
//
14:42:ERROR:(sphere_vendors.scp,108)Undefined keyword 'ITEM'
14:42:ERROR:(sphere_vendors.scp,109)Undefined keyword 'ITEM'
//

check the scripts, cause by:
//
ON=@NPCRestock
ITEM=random_coin_purse
ITEM=i_dagger
//

my question is :"Can the ITEM line be put in the @NPCRestock part?"?


RE: ERROR about "Undefined keyword 'ITEM'" - Ben - 01-25-2015 12:05 AM

it can... but I must have created this bug after r2149


RE: ERROR about "Undefined keyword 'ITEM'" - Ben - 01-25-2015 08:01 AM

found and fixed the bug


RE: ERROR about "Undefined keyword 'ITEM'" - Jim - 01-25-2015 10:19 AM

Thanks Ben, I had tried it in the lastest version(2015/1/25). It's ok now, there are not the Error information right now.