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 Help
Author Message
KyleH112
Apprentice
*

Posts: 18
Likes Given: 0
Likes Received: 6 in 4 posts
Joined: Oct 2012
Reputation: 0



Post: #1
Guild Stone Help
I'm having trouble opening the guild stone menu, as a GM it works fine. Yes I have searched the forums and have tried all the methods that were listed from adding the event into Sphere.ini to typing .guildmenu and also adding
ON=@DCLICK
src.guildmenu
return 1
inside the guildstone code.

I am using the default guild stone scripts as well.

The console error when I double click the stone...

Code:
04:12:ERROR:(sphere_guild_dlg_main.scp,15)Undefined keyword 'closealldialogs'
04:12:ERROR:(sphere_guild_dlg_main.scp,15)Undefined keyword 'closealldialogs'
04:12:ERROR:(sphere_guild_dlg_main.scp,15)Undefined keyword 'closealldialogs'

The script where the error is coming from...

Code:
[dialog d_Guild_Main]
5,25
src.closealldialogs
If (<type>!=t_stone_guild)
  return 1
elif (<memberfromuid.<src.uid>.uid>!=<src.uid>)&&(!<src.isgm>)
  return 1
endif
  local.charpriv=<QVAL <src.isgm> ? <def0.STONEPRIV_MASTER>:<memberfromuid.<src.uid>.priv>>
If (<local.charpriv>!=<def0.STONEPRIV_MEMBER>)&&(<local.charpriv>!=<def0.STONEPRIV_MASTER>)
  return 1
endif

I have even tried changing src.closealldialogs to src.guildmenu
04-29-2016 06:21 PM
Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #2
RE: Guild Stone Help
ON=@DCLICK
guildmenu
return 1

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
04-30-2016 03:35 AM
Find all posts by this user Like Post Quote this message in a reply
KyleH112
Apprentice
*

Posts: 18
Likes Given: 0
Likes Received: 6 in 4 posts
Joined: Oct 2012
Reputation: 0



Post: #3
RE: Guild Stone Help
(04-30-2016 03:35 AM)Extreme Wrote:  ON=@DCLICK
guildmenu
return 1

I tried adding that to the guild stone, but it didn't work.

Quote:[ITEMDEF 0edd]
DEFNAME=i_guildstone
TYPE=T_STONE_GUILD
VALUE=15000
//RESOURCES=4 i_rock_plain
DUPELIST=0ede
ON=@DCLICK
guildmenu
return 1
05-05-2016 11:56 AM
Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #4
RE: Guild Stone Help
Do you have the function "closealldialogs"?
Remove it from inside the [Dialog].. This doesn't make senses.. It's opening the gump then closing...

Sent from my D6633 using Tapatalk

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
05-05-2016 12:03 PM
Find all posts by this user Like Post Quote this message in a reply
KyleH112
Apprentice
*

Posts: 18
Likes Given: 0
Likes Received: 6 in 4 posts
Joined: Oct 2012
Reputation: 0



Post: #5
RE: Guild Stone Help
Yup, that did it. Thanks!
(This post was last modified: 05-05-2016 12:41 PM by KyleH112.)
05-05-2016 12:09 PM
Find all posts by this user Like Post Quote this message in a reply
KyleH112
Apprentice
*

Posts: 18
Likes Given: 0
Likes Received: 6 in 4 posts
Joined: Oct 2012
Reputation: 0



Post: #6
RE: Guild Stone Help
Quick question, I want to make sure I have the events correct in sphere.ini.

How should they be entered?

[EVENTS blah_blah]

EVENTS blah_blah
05-05-2016 01:28 PM
Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #7
RE: Guild Stone Help
EventsPlayer=blah_blah,bleh_bleh,e_whatever

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
05-05-2016 10:43 PM
Find all posts by this user Like Post Quote this message in a reply
KyleH112
Apprentice
*

Posts: 18
Likes Given: 0
Likes Received: 6 in 4 posts
Joined: Oct 2012
Reputation: 0



Post: #8
RE: Guild Stone Help
(05-05-2016 10:43 PM)Extreme Wrote:  EventsPlayer=blah_blah,bleh_bleh,e_whatever

Thanks! Veryhappy
05-06-2016 03:49 AM
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)