SphereCommunity
Guildstone not opening! - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Guildstone not opening! (/Thread-Guildstone-not-opening)

Pages: 1 2


Guildstone not opening! - dabritmusic - 11-05-2014 02:32 PM

Guildstones don't open menu when double clicked... they place fine from the deed and ask to name the stone but that's it... has there been a problems with this? and if so is there an update? thanks!


RE: Guildstone not opening! - Extreme - 11-05-2014 11:36 PM

Hey buddy, do you have the guild events? I think is e_genericguildevent not sure...


RE: Guildstone not opening! - Sypheris - 12-16-2015 09:48 AM

i am having the same issue... can anyone help?


RE: Guildstone not opening! - zottolo - 01-06-2016 08:10 PM

after you set the name of the stone just type .guildmenu
i think @dclick is not present anywhere so i resolved adding
Code:
on=@dclick
src.guildmenu
return 1
to sphere_item_deco_dungeons_traps_dead.scp in [itemdef i_guildstone] ofcourse...


RE: Guildstone not opening! - Sypheris - 01-09-2016 02:25 AM

thats all i have for guildstone

[ITEMDEF 0edd]
//gravestone = Guildstone
DEFNAME=i_guildstone
TYPE=T_STONE_GUILD
VALUE=15000
//RESOURCES=4 i_rock_plain
FLIP=1
CATEGORY=Decoration - Dungeons and The Dead
SUBSECTION=Graves & Gravestones
DESCRIPTION=GraveStone (Guildstone)
DUPELIST=0ede


RE: Guildstone not opening! - zottolo - 01-09-2016 04:36 AM

(01-09-2016 02:25 AM)Sypheris Wrote:  thats all i have for guildstone

after what you have...put what i said ^_^


RE: Guildstone not opening! - Sypheris - 01-22-2016 01:55 PM

if i type just .guildmenu nothing happens.


RE: Guildstone not opening! - karma - 01-23-2016 07:43 AM

Zottolo is saying to do like this:
Code:
[ITEMDEF 0edd]
//gravestone = Guildstone
DEFNAME=i_guildstone
TYPE=T_STONE_GUILD
VALUE=15000
//RESOURCES=4 i_rock_plain
FLIP=1
CATEGORY=Decoration - Dungeons and The Dead
SUBSECTION=Graves & Gravestones
DESCRIPTION=GraveStone (Guildstone)
DUPELIST=0ede

on=@dclick
src.guildmenu
return 1



RE: Guildstone not opening! - Sypheris - 01-23-2016 11:35 AM

yeah i've done that. doesnt change a thing.

why don't i have a function/menu for the guildmenu command?


RE: Guildstone not opening! - karma - 01-23-2016 11:18 PM

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.