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
BANKBOX WEIGHT LIMIT
Author Message
kn4tseb
Master
**

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



Post: #1
BANKBOX WEIGHT LIMIT
Hi mates, i have a question, INI file allows as to set the max of stones we want for bankbox but my question is.. is this setting only for players or it involves all chars, included NPCs?

And is this variable a writeable one in game?

i mean may i code: SRC.BankMaxWeight 10

im trying to limit the capacity of the stabler..
??
thanks ^^
(This post was last modified: 08-23-2014 05:29 AM by kn4tseb.)
08-23-2014 05:24 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: BANKBOX WEIGHT LIMIT
According to the wiki, t_eq_bankbox is a container so

Code:
TAG.OVERRIDE.MAXITEMS    Overrides the maximum number of items that can be placed into a container (default: 255)
TAG.OVERRIDE.MAXWEIGHT    Overrides the maximum total weight that can be placed into a container.

could be applied on the i_bankbox item (not sure btw).
(This post was last modified: 08-23-2014 05:37 AM by darksun84.)
08-23-2014 05:36 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes darksun84's post
kn4tseb
Master
**

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



Post: #3
RE: BANKBOX WEIGHT LIMIT
thanks darksun!! so, in case its overriden

should i use MAXITEMS and MAXWEIGHT FOR CHECKING?? i mean

FOR EXAMPLE:
Code:
REF1 = <SRC.FINDLAYER.29.UID>
REF1.TAG.OVERRIDE.MAXITEMS = 100

IF <REF1.WEIGHT> > 100
BLA BLA
ENDIF

nevermind, i got it! thanks, but how do i get how many items a container has?
(This post was last modified: 08-23-2014 07:40 AM by kn4tseb.)
08-23-2014 06:50 AM
Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #4
RE: BANKBOX WEIGHT LIMIT
<RESCOUNT> assuming <UID> is the container.

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
08-23-2014 02:30 PM
Find all posts by this user Like Post Quote this message in a reply
kn4tseb
Master
**

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



Post: #5
RE: BANKBOX WEIGHT LIMIT
OHH thanks extreme! once again Smile
08-23-2014 03:26 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)