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
LINK
Author Message
Llirik
Journeyman
*

Posts: 118
Likes Given: 0
Likes Received: 10 in 8 posts
Joined: Feb 2015
Reputation: 0

Ignatium Game Internet-server

Post: #1
LINK
My construction is true? I'm use LINK at the first time!

[EVENTS e_repair]
ON=@ContextMenuRequest
src.addcontextentry 111,3000089

ON=@ContextMenuSelect
if (<distance> <= 3)
if <argn>==111 // Repair
src.newitem i_target_repair
src.act.target What item do you want to repair?
NEW.LINK=<UID> // ?
endif
else
src.sysmessage Too far away from the Vendor
endif

[ITEMDEF i_target_repair]
TYPE=t_eq_script

ON=@TargOn_Item
if (<LINK.DISTANCE> <= 5) // ?
if <src.targ.isweapon> || <src.targ.isarmor>
if <src.targ.hits>==<src.targ.maxhits>
src.sysmessage The item is already in full repair.
else
IF (<SRC.GOLD> >= (<SRC.TARG.MAXHITS>-<SRC.TARG.HITS>)*<SRC.TARG.TAG0.REPAIR>+1)
SRC.GOLD -= (<SRC.TARG.MAXHITS>-<SRC.TARG.HITS>)*<SRC.TARG.TAG0.REPAIR>+1
SRC.UPDATE
src.targ.hits=<src.targ.maxhits>
src.targ.update
src.emote repair the <src.targ.name>
ELSE
LINK.SAY You lack <eval (<SRC.TARG.MAXHITS>-<SRC.TARG.HITS>)*<SRC.TARG.TAG0.REPAIR>+1> gold! // ?
ENDIF
endif
else
src.sysmessage The item is not repairable
endif
else
src.sysmessage You can't reach the Vendor
endif
remove
return 1

Thank you!
(This post was last modified: 03-14-2016 05:32 AM by Llirik.)
03-14-2016 05:02 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
LINK - Llirik - 03-14-2016 05:02 AM
RE: LINK - Khaos - 03-14-2016, 05:44 AM
RE: LINK - Llirik - 03-14-2016, 05:59 AM
RE: LINK - Khaos - 03-14-2016, 06:50 PM

Forum Jump:


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