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
Dialog on item?
Author Message
tleilax
Journeyman
*

Posts: 56
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Jun 2012
Reputation: 0



Post: #1
Dialog on item?
Hello,
we are trying to move from 55i to 56d and we are having trouble with our very very customized player vendor system.

I identified what is causing the problem:
Code:
on=*buy*
FINDID.i_vendor_tag_box.DIALOG d_vendor

The i_vendor_tag_box is the vendor's container in which the items for sell are stored. So basically we used to open a dialog on vendor item and showed it to player.

Later in that dialog we could use something like this:
Code:
<FINDCONT.0.NAME> //name of the first item for sale
<SRC.NAME> //name of player who opened the dialog

Since this no longer works on 56d for some reason, what would be the best way to fix this problem? Store the "i_vendor_tag_box" UID as OBJ? Anything easier so I don't have to rewrite most of the 7000 lines of code?

Thank you.
02-07-2018 08:06 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Dialog on item? - tleilax - 02-07-2018 08:06 AM
RE: Dialog on item? - x77x - 02-07-2018, 12:07 PM
RE: Dialog on item? - tleilax - 02-08-2018, 02:38 AM
RE: Dialog on item? - darksun84 - 02-08-2018, 03:41 AM
RE: Dialog on item? - tleilax - 02-08-2018, 03:48 AM
RE: Dialog on item? - darksun84 - 02-08-2018, 04:37 AM
RE: Dialog on item? - tleilax - 02-13-2018, 05:49 AM
RE: Dialog on item? - darksun84 - 02-13-2018, 06:43 AM
RE: Dialog on item? - tleilax - 02-13-2018, 06:46 AM
RE: Dialog on item? - tleilax - 02-13-2018, 07:53 AM

Forum Jump:


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