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
targon_ground - need help ^_^
Author Message
Lazarus
Master
**

Posts: 352
Likes Given: 11
Likes Received: 7 in 6 posts
Joined: Jun 2012
Reputation: 1

Hybris Ultima Online

Post: #10
RE: targon_ground - need help ^_^
(08-07-2012 12:26 PM)Shaklaban Wrote:  well you can use that function:
Code:
[function summon_ground_avaible]
if (<SERV.MAP(<argv[0]>,<argv[1]>,<argv[3]>).ISNEARTYPE T_wall>)
    return 0
elif (<SERV.MAP(<argv[0]>,<argv[1]>,<argv[3]>).ISNEARTYPE t_window>)
    return 0    
elif (<SERV.MAP(<argv[0]>,<argv[1]>,<argv[3]>).ISNEARTYPE t_water>)
    return 0        
endif
return 1
usage:

if <summon_ground_avaible <src.targp>>

That works PERFECT

thanks Smile

There is the function if anyone wants to use:
[CALLED BY TARGETFG f_go]
Code:
[FUNCTION f_go]
IF (<DISTANCE <SRC.TARGP>> > 7) || !(<SRC.CANSEELOS <SRC.TARGP>>)
SRC.SMSG No alcanzas eso.
RETURN 1
ELSE
if <summon_ground_avaible <src.targp>>
SRC.GO <SRC.TARGP>
ENDIF

[function summon_ground_avaible]
if (<SERV.MAP(<argv[0]>,<argv[1]>,<argv[3]>).ISNEARTYPE T_wall>)
SRC.SMSG No puedes ahi.
    return 0
elif (<SERV.MAP(<argv[0]>,<argv[1]>,<argv[3]>).ISNEARTYPE t_window>)
SRC.SMSG No puedes ahi.
    return 0    
elif (<SERV.MAP(<argv[0]>,<argv[1]>,<argv[3]>).ISNEARTYPE t_water>)
SRC.SMSG No puedes ahi.
    return 0      
elif (<SERV.MAP(<argv[0]>,<argv[1]>,<argv[3]>).ISNEARTYPE t_tree>)
SRC.SMSG No puedes ahi.
    return 0        
endif
return 1

I'll add more t_ there Tongue i have added t_Tree ^_^




EDIT:

New problems:

-Multi houses [the default houses of sphere] [you can tp in in the wall]
-fences [iron fences]
-items

[Image: 2hy9q0y.png]
(This post was last modified: 08-07-2012 02:20 PM by Lazarus.)
08-07-2012 01:59 PM
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
targon_ground - need help ^_^ - Lazarus - 08-07-2012, 09:35 AM
RE: targon_ground - need help ^_^ - WRWR - 08-07-2012, 10:09 AM
RE: targon_ground - need help ^_^ - WRWR - 08-07-2012, 11:26 AM
RE: targon_ground - need help ^_^ - Lazarus - 08-07-2012 01:59 PM
RE: targon_ground - need help ^_^ - WRWR - 08-07-2012, 04:20 PM

Forum Jump:


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