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
DropOnGround
Author Message
Runcuks
Journeyman
*

Posts: 179
Likes Given: 5
Likes Received: 3 in 3 posts
Joined: Nov 2012
Reputation: 0



Post: #1
DropOnGround
Hello i have found two bug in my server with houses, the first bug is if player who is not registered in house go out of house region he will be able to drop items inside house region, but if he is in house region he can't drop items inside house region the second bug is for example in house are 50 bandages if player who is not registered in house drop bandage on those 50 bandages all bandages will be droped in his backpack the question is how to fix those two bugs i am using this function -->

ON=@ITEMDROPON_GROUND
IF (<UID.<ACT.REGION.UID>.TYPE> = T_MULTI)
IF !(<ISNOTALLOWED <ACT.REGION.UID>>)
RETURN 0
ELSE
SRC.SYSMESSAGE @50 You are not member of this house.
act.cont = <findlayer(layer_pack)>
RETURN 1
ENDIF
ENDIF


Thanks, and sorry for my bad English.
01-30-2013 02:40 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
DropOnGround - Runcuks - 01-30-2013 02:40 AM
RE: DropOnGround - darksun84 - 01-30-2013, 02:59 AM
RE: DropOnGround - Runcuks - 01-30-2013, 04:06 AM

Forum Jump:


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