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
Walls on Dungeon Entrances.
Author Message
Lazarus
Master
**

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

Hybris Ultima Online

Post: #5
RE: Walls on Dungeon Entrances.
(12-04-2012 11:39 AM)ChaveS Wrote:  try it:


[typedef t_dungeon_tile]
on=@step
if <destine_blocktest>
src.sysmessage @,,1 The other side is blocked
src.go <morep>
return 1
endif

[function destine_blocktest] //to test where it is
if !<args>
serv.newitem i_gold
new.attr 090
new.p <morep>
new.destine_blocktest 1
else
timerf,0 remove
FORITEMS 0
IF (<baseid> == i_wall_of_stone_8 )
return 1
ENDIF
ENDFOR
endif

Not working. Everytime [with a wall of stone or without] the IF on the function gets in first and never else.
The function never get's the 1 on new.destine_blocktest 1
If I use return 1 works the return 1 Shock but... the morep don't get's save or something else that not let me works fine.

So, i have a question, why is there that else?

else
timerf,0 remove
FORITEMS 0
IF (<baseid> == i_wall_of_stone_8 )
return 1
ENDIF
ENDFOR

Thanks for all the help ^_^ really Tongue

Lazarus.

[Image: 2hy9q0y.png]
12-04-2012 05:17 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
Walls on Dungeon Entrances. - Lazarus - 12-03-2012, 11:55 PM
RE: Walls on Dungeon Entrances. - ChaveS - 12-04-2012, 03:13 AM
RE: Walls on Dungeon Entrances. - Lazarus - 12-04-2012, 09:24 AM
RE: Walls on Dungeon Entrances. - ChaveS - 12-04-2012, 11:39 AM
RE: Walls on Dungeon Entrances. - Lazarus - 12-04-2012 05:17 PM
RE: Walls on Dungeon Entrances. - ChaveS - 12-05-2012, 03:22 AM
RE: Walls on Dungeon Entrances. - Lazarus - 12-05-2012, 03:48 AM
RE: Walls on Dungeon Entrances. - Mordaunt - 12-05-2012, 04:04 AM
RE: Walls on Dungeon Entrances. - Lazarus - 12-05-2012, 08:54 AM
RE: Walls on Dungeon Entrances. - Mordaunt - 12-05-2012, 09:26 AM
RE: Walls on Dungeon Entrances. - Lazarus - 12-05-2012, 09:34 AM
RE: Walls on Dungeon Entrances. - Mordaunt - 12-05-2012, 10:41 AM
RE: Walls on Dungeon Entrances. - Lazarus - 12-05-2012, 10:58 AM
RE: Walls on Dungeon Entrances. - Mordaunt - 12-05-2012, 11:24 AM
RE: Walls on Dungeon Entrances. - ChaveS - 12-05-2012, 12:50 PM
RE: Walls on Dungeon Entrances. - Lazarus - 12-07-2012, 02:11 AM
RE: Walls on Dungeon Entrances. - Skul - 12-10-2012, 10:38 PM
RE: Walls on Dungeon Entrances. - RanXerox - 12-11-2012, 09:52 AM
RE: Walls on Dungeon Entrances. - Skul - 12-11-2012, 04:40 PM

Forum Jump:


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