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
Guild stone
Author Message
Kapa
Journeyman
*

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



Post: #1
Guild stone
how can i change so guild stone can only be placed at houses?


[ITEMDEF i_deed_GUILDSTONE]
NAME=Deed to a Guildstone
ID=i_deed
RESOURCES=i_deed,i_guildstone
CATEGORY=Provisions - Deeds
SUBSECTION=Guild and Town Stones
DESCRIPTION=Guild Stone

ON=@Create
MORE=i_guildstone

ON=? Smile
10-17-2014 05:51 PM
Find all posts by this user Like Post Quote this message in a reply
azmanomer
Journeyman
*

Posts: 139
Likes Given: 4
Likes Received: 18 in 16 posts
Joined: Nov 2013
Reputation: 1



Post: #2
RE: Guild stone
@dclick
if !(<uid.<region.uid>.baseid>==m_tower) && !(<uid.<region.uid>.baseid>==m_castle) && !(<uid.<region.uid>.baseid>==m_small_stone_keep)
sysmesseage bla bla
return 1
10-17-2014 08:23 PM
Find all posts by this user Like Post Quote this message in a reply
Kapa
Journeyman
*

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



Post: #3
RE: Guild stone
17:29:ERROR:(sphere_item_provisions_deed.scp,283)Undefined symbol 'm_tower'
17:29:ERROR:(sphere_item_provisions_deed.scp,283)Undefined symbol 'm_castle'
17:29:ERROR:(sphere_item_provisions_deed.scp,283)Undefined symbol 'm_small_stone_keep'
10-18-2014 02:30 AM
Find all posts by this user Like Post Quote this message in a reply
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #4
RE: Guild stone
Code:
ON=@TargOn_Item
src.sysmessage You must target the ground.
return 1

ON=@TargOn_Char
src.sysmessage You must target the ground.
return 1

ON=@TargOn_Ground
ref1=<src.targp.region.uid>
if !(<ref1.type>==t_multi)
    src.sysmessage=You can only place guildstones inside houses.
    return 1
endif
10-18-2014 05:19 AM
Find all posts by this user Like Post Quote this message in a reply
Kapa
Journeyman
*

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



Post: #5
RE: Guild stone
thx works perfect
10-18-2014 04:50 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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