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
NPCRrestock doesnt fire
Author Message
kn4tseb
Master
**

Posts: 392
Likes Given: 45
Likes Received: 10 in 10 posts
Joined: May 2014
Reputation: 0



Post: #10
RE: NPCRrestock doesnt fire
No errors, but its not only the animal trainer, ill see which one dont show the gump

Seems to be only the animal trainer, tried the other ones and worked fine... if i change the NEW_SELL/BUY for sell/buy the gump appears but with the newones it doesnt.

might be something missing?? its only the animal trainer, and now i got it about whats this is meant for... will be great to manage item pricing ;D.... tho i still have this concern...

i "rewrite" stabler system based on phoenix one... i added some stuffs and after N days if the owner of a pet doesnt retrieve it the pet goes for sale... so i made some tags to link the pet with the vendor, and i tried to add it to the selling list with the ON=@NPCRestock trigger but i found out that i cannot use <locals> or <tags> to the SELL= Function
so if sell= works like sell=i_katana,1
i cant make the same with references or stored variables

IF <SRC> is the vendor the fallowing code wont work... so im trying to know if theres anyway to do this.
ON=@NPCRestock
local.item = <SRC.WEAPON>
sell=<local.item>,{1 3}

because i get
23:45:ERROR:(sphere_vendors.scp,241)Undefined symbol ''
23:45:ERROR:(sphere_vendors.scp,241)Undefined symbol 'LOCAL'
(This post was last modified: 08-26-2014 12:59 PM by kn4tseb.)
08-26-2014 12:11 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
NPCRrestock doesnt fire - kn4tseb - 08-26-2014, 06:17 AM
RE: NPCRrestock doesnt fire - Extreme - 08-26-2014, 06:33 AM
RE: NPCRrestock doesnt fire - Extreme - 09-01-2014, 11:52 PM
RE: NPCRrestock doesnt fire - kn4tseb - 08-26-2014, 06:49 AM
RE: NPCRrestock doesnt fire - kn4tseb - 08-26-2014, 08:24 AM
RE: NPCRrestock doesnt fire - Extreme - 08-26-2014, 08:46 AM
RE: NPCRrestock doesnt fire - kn4tseb - 08-26-2014, 08:48 AM
RE: NPCRrestock doesnt fire - Extreme - 08-26-2014, 09:29 AM
RE: NPCRrestock doesnt fire - kn4tseb - 08-26-2014, 11:39 AM
RE: NPCRrestock doesnt fire - Extreme - 08-26-2014, 12:01 PM
RE: NPCRrestock doesnt fire - kn4tseb - 08-26-2014 12:11 PM
RE: NPCRrestock doesnt fire - kn4tseb - 08-26-2014, 04:46 PM
RE: NPCRrestock doesnt fire - XuN - 08-26-2014, 08:09 PM
RE: NPCRrestock doesnt fire - kn4tseb - 08-27-2014, 01:21 AM
RE: NPCRrestock doesnt fire - kn4tseb - 08-28-2014, 04:37 AM
RE: NPCRrestock doesnt fire - kn4tseb - 08-30-2014, 02:56 AM
RE: NPCRrestock doesnt fire - kn4tseb - 08-31-2014, 08:02 AM
RE: NPCRrestock doesnt fire - Ben - 08-31-2014, 10:40 PM
RE: NPCRrestock doesnt fire - kn4tseb - 09-01-2014, 04:29 AM
RE: NPCRrestock doesnt fire - Extreme - 09-01-2014, 06:14 AM
RE: NPCRrestock doesnt fire - kn4tseb - 09-01-2014, 01:05 PM
RE: NPCRrestock doesnt fire - Extreme - 09-01-2014, 03:01 PM
RE: NPCRrestock doesnt fire - kn4tseb - 09-01-2014, 03:26 PM
RE: NPCRrestock doesnt fire - kn4tseb - 09-02-2014, 02:13 AM

Forum Jump:


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