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
Farm system
Author Message
Kapa
Journeyman
*

Posts: 74
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Oct 2014
Reputation: 0



Post: #3
RE: Farm system
Hi,
Thank you it did work, but i am still getting few more errors:

17:25:ERROR:(farm_system.scp,548)Can't resolve <ISBADSTR Ferma>
17:25:ERROR:(farm_system.scp,548)Undefined symbol ''
17:27:ERROR:(farm_system.scp,553)Can't resolve <SRC.TOTALGOLD>
17:27:ERROR:(farm_system.scp,553)Undefined symbol ''


[DIALOG d_farm BUTTON]
ON=1
IF !(<ISBADSTR <ARGTXT[0]>>) // line 548
NAME=<STRSUB 0 30 <ARGTXT[0]>>
ENDIF

ON=2
IF !(<SRC.TOTALGOLD> > <EVAL (<UID.<REGION.UID>.VALUE>/10)-1>) && !(<SRC.ISGM>) //line 553
src.sysmessage Insuficient funds.
SDIALOG d_farm 1
ELSE
src.consumegold <EVAL <UID.<REGION.UID>.VALUE>/10>
local.tmp=<obj>
obj=<uid.<region.uid>.more1>
obj.account.tag0.jatenhofarms -= 1
IF !(<OBJ.ACCOUNT.TAG0.JATENHOFARMS>)
obj.account.tag.jatenhofarms
ENDIF
obj=<local.tmp>
serv.newitem i_deed_farm<strsub -2 0 <UID.<REGION.UID>.BASEID>>
new.bounce
try uid.<REGION.UID>.f_remove_farm
ENDIF

[FUNCTION f_remove_farm]
LOCAL.TMP=<UID>
OBJ=<UID>
FORITEMS 15
IF (<REGION.UID>==<OBJ>) && (<UID>!=<OBJ>)
REMOVE
ENDIF
ENDFOR
OBJ.REMOVE
OBJ=<LOCAL.TMP>
10-27-2014 03:30 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Farm system - Kapa - 10-24-2014, 11:24 PM
RE: Farm system - azmanomer - 10-25-2014, 12:10 AM
RE: Farm system - Kapa - 10-27-2014 03:30 AM
RE: Farm system - azmanomer - 10-27-2014, 03:51 AM
RE: Farm system - Kapa - 10-29-2014, 07:14 PM
RE: Farm system - XuN - 10-29-2014, 07:20 PM
RE: Farm system - Kapa - 10-29-2014, 08:13 PM
RE: Farm system - XuN - 10-29-2014, 08:32 PM

Forum Jump:


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