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 system not transfering to bank
Author Message
Avatar
Journeyman
*

Posts: 172
Likes Given: 6
Likes Received: 27 in 12 posts
Joined: Apr 2012
Reputation: 5

The North Shield

Post: #2
RE: vendor system not transfering to bank
So you want to send vendor's backpack to owner bank box right ?
I like to show you how to send items from vendor to owner like below. Cant actually look at your script in order not to cause any miss understanding. You can just implement what i will mention to your script easily, i would say.

It is simple like the following.

Just reffered to uid of vendor's backpack ;

ref1= <findlayer.layer_pack.uid> // thinking that uid is the vendor. You can easily satisfy this by any function you gonna create.
// So if you assign any tag to vendor to remember who is owner , that would be helpful like, consider we have tag like tag.owner_vendor = <src.uid> thinking that src is the owner. You can add this while creation of vendor. Once its establish, vendor knows who is master. Or you can just refer to memorytype i guess. Its your choice.

ref2= <tag.owner_vendor>
ref1.cont = <ref2.findlayer.layer_bankbox.uid> // instead of this you can easily assign ref3 as ref3=<ref2.findlayer.layer_bankbox.uid>

So this will transfer vendor's backpack to owner's bank box.

If you want to just send items one by one you can do the following ;

forcont <ref1> 0 // 0 will count anything in the backpack
cont <ref3>
endfor

Hope, this will help.
(This post was last modified: 12-13-2013 12:20 AM by Avatar.)
12-13-2013 12:10 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
RE: vendor system not transfering to bank - Avatar - 12-13-2013 12:10 AM

Forum Jump:


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