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
Guildstone not opening!
Author Message
karma
Moderator
****

Posts: 178
Likes Given: 17
Likes Received: 32 in 29 posts
Joined: Jul 2012
Reputation: 3



Post: #10
RE: Guildstone not opening!
Are you using the default script pack and the default guild stone system?
In that case there's a working i_guild_stone item, with TYPE=t_stone_guild, which is:
Code:
[TYPEDEF T_STONE_GUILD]
ON=@Click
  message "a guildstone"
  message <name> <qval (<eval strlen(<abbrev>)>) ? [<abbrev>]:>
return 1

ON=@Dclick
  If (<distance> > 2)
    src.sysmessage @038A That is too far away.
  elif (<member.count>==0)&&(!<masteruid>)    //(<masteruid>!=<src.uid>)
    f_guildsys_addchartoguild <uid>,<src.uid>,1    //auto makes the master
  elif (!<masteruid>)
    f_guildsys_addchartoguild <uid>,<member.0.uid>,1    //first candidate since any member would auto be a master
  elif (<memberfromuid.<src.uid>.uid>!=<src.uid>)&&(!<src.isgm>)// Not a member
    src.message @03B2 You are not a member of this guild! To join, ask a current member to invite you into the guild.
  elif (<memberfromuid.<src.uid>.priv> == <def0.STONEPRIV_ACCEPTED>)
    f_guildsys_addchartoguild <uid>,<src.uid>,1
  elif (<memberfromuid.<src.uid>.priv>==<def0.STONEPRIV_CANDIDATE>)&&(!<src.isgm>)
    src.message @03B2 You are awaiting acceptance by the guildmaster.
  elif (<memberfromuid.<src.uid>.priv>==<def0.STONEPRIV_MEMBER>)||(<masteruid>==<src.uid>)||(<src.isgm>)
    sdialog d_Guild_Main,0
  endif
return 1
Definied into scripts/stones/guilds/sphere_guild_types.scp

If you aren't using the default script pack with the default guild/townstone scripts, what are you trying to do? The guild dialog isn't hardcoded (anymore?), it's all scripted inside the "stones" dir, so if you don't want to use it you should create a whole new system by your own.
01-23-2016 11:18 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Guildstone not opening! - dabritmusic - 11-05-2014, 02:32 PM
RE: Guildstone not opening! - Extreme - 11-05-2014, 11:36 PM
RE: Guildstone not opening! - Sypheris - 12-16-2015, 09:48 AM
RE: Guildstone not opening! - Sypheris - 01-09-2016, 02:25 AM
RE: Guildstone not opening! - zottolo - 01-09-2016, 04:36 AM
RE: Guildstone not opening! - Sypheris - 01-22-2016, 01:55 PM
RE: Guildstone not opening! - karma - 01-23-2016, 07:43 AM
RE: Guildstone not opening! - Sypheris - 01-23-2016, 11:35 AM
RE: Guildstone not opening! - karma - 01-23-2016 11:18 PM
RE: Guildstone not opening! - zottolo - 01-24-2016, 01:36 AM
RE: Guildstone not opening! - Sypheris - 01-24-2016, 04:54 PM
RE: Guildstone not opening! - zottolo - 01-24-2016, 07:47 PM

Forum Jump:


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