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-nmm6 (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-nmm6 (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-nmm6 (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
Vendor Speech
Author Message
Art
Journeyman
*

Posts: 118
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Apr 2012
Reputation: 0



Post: #1
Vendor Speech
Hello.I have hireling vendors for players, with brain_vendor, but can't control some speech triggers. I have TSPEECH=spk_test for example, and there

ON=STATUS
serv.log test works
return 1

but it doesn't works. I tried to make same with spk_hireling and spk_pet, but failed.
04-15-2012 05:05 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: Vendor Speech
The trigger is ok ,it's the word Status that is "internally" used in brain_vendor.

It gives a wrong list of how many item the vendor has and how much money he has.


With other brains , status get simply skipped . Maybe it's a bug Big Grin
(This post was last modified: 04-15-2012 05:28 AM by darksun84.)
04-15-2012 05:27 AM
Find all posts by this user Like Post Quote this message in a reply
Art
Journeyman
*

Posts: 118
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Apr 2012
Reputation: 0



Post: #3
RE: Vendor Speech
(04-15-2012 05:27 AM)darksun84 Wrote:  The trigger is ok ,it's the word Status that is "internally" used in brain_vendor.

I figured it, but how to override it?
04-15-2012 05:47 AM
Find all posts by this user Like Post Quote this message in a reply
Shaklaban
Master
**

Posts: 378
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 8

DOT

Post: #4
RE: Vendor Speech
If its hardcoded, its not possible. I just look to the spheresvr.exe with hex editor, all npc commands are sequencing. Maybe you can try to replace "status" string with another thing with same length, it can work or mess up your spheresvr.exe Big Grin
(This post was last modified: 04-15-2012 09:07 AM by Shaklaban.)
04-15-2012 09:07 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Art
Journeyman
*

Posts: 118
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Apr 2012
Reputation: 0



Post: #5
RE: Vendor Speech
Uh, then tell me please, how to make command "drop all" working? It doesn't works Sad Vendor doing nothing, and i can't override that by my script.
04-15-2012 04:16 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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