Quantcast
Download
(337 Kb)
Download
Updated: 10/14/18 05:00 AM
Pictures
File Info
Compatibility:
Murkmire (4.2)
Wolfhunter (4.1)
Summerset (4.0)
Dragon Bones (3.3)
Clockwork City (3.2)
Horns of the Reach (3.1)
Morrowind (3.0)
Homestead (2.7)
Updated:10/14/18 05:00 AM
Created:04/15/18 10:31 AM
Monthly downloads:886
Total downloads:3,403
Favorites:21
MD5:
4.1
Guild Hall Button  Updated less than 3 days ago!
Version: 1.7.2
by: BoarGules [More]
Guild Hall Button
by Boar Gules


Many players of Elder Scrolls Online® have hankered after guild halls of the sort provided by Guild Wars.


When Zenimax announced Homestead, the ESO housing framework, many guilds immediately co-opted it as a way to set up guild halls. Typically, though not always, the guild hall is the guild leader’s primary residence. Often, such houses are not furnished as residences at all: they have full catering facilities, crafting stations, and other things you would not expect to find in a private home, however wealthy the owner might be.


You can quite easily travel to such a guild hall: simply pick your guild leader’s name out of the guild roster and select Visit Primary Residence from the context menu.


The Guild Hall Button add-on does little more than that. It is a simple way to reduce the number of mouse-clicks required, and also expresses the intention of the guilds that such houses are not residences at all, but guild halls.


To Install


Most people use Minion to install add-ons, but if you want to do a manual install, that is very straightforward. Open the zipfile and you will see a folder called GuildHallButton. Extract this folder to your ESO add-ons folder.


* On a PC that will typically be C:\Users\username\Documents\Elder Scrolls Online\live\AddOns. If you have installed ESO on another drive, or have chosen another location for your Documents folder, you will presumably know what to substitute for C:.
* On a Mac that will typically be ~/Documents/Elder Scrolls Online/live/AddOns.


Once you have done this you should have a new folder in AddOns called GuildHallButton. There should be 9 files and 2 subfolders inside it:


* GuildHallButton.lua and Version.lua
* GuildHallButton.txt and GuildHallButton.xml
* this documentation in two forms (GuildHallButton.pdf and readme.txt)
* 3 screenshots (.jpg)
* subfolders lang (for internationalization) and lib (for library files)


Operation


Following a successful install, if you press G for Guild, you should see Guild Hall shown on the bottom left of your Guild home screen. Press the button Travel to Guild Hall and you will be moved to the “primary residence” of that guild’s leader.


Configuration


This add-on was intended to be zero-configuration software. But some guilds have castellan-officers, and it is their primary residence that is the guild hall, not the guild leader’s, and this situation needs to be manually configured.


Otherwise, pressing the button will either take you to the wrong place, or simply yield the warning The house you attempted to visit is unavailable.


It is not uncommon for a single management team to run a group of related guilds with a shared guild hall. But, according to ESO rules, a player may be leader of only one guild, so the shared guild hall will not always belong to the leader of the guild you are in.


An add-on cannot discover this situation from the game API, because from the game’s point of view, there is no such thing as a guild hall. Even as a player, you can only find this out by reading your guild’s message of the day, website, or Facebook page. In such cases, you need to enter the information manually.


Fortunately, configuration is simple. Start by going to the game menu Settings | Addons | Guild Hall Button.


This will list your guilds, with three fairly self-explanatory option settings for each.


* Override default guild hall. Set this to on if you need to configure the Guild Hall Button. This will enable the remaining 2 settings:
* Castellan officer. This is the name of the guild officer who is the formal owner of the guild hall. The default value is (guild leader) because that is the usual situation. A drop-down list will offer you a list of the senior officers in the guild to choose from. If the name you want is not on the list, see Extras below.
* Name of guild hall. The default value for this is (principal residence) and you will rarely need to change it. A drop-down list will offer the houses likely to be guild halls: not studio apartments or rooms at taverns. If the house you want is not on the list, see Extras below.


Leaving and Joining Guilds


When you leave a guild or join a new one, the configuration screen will not show your changed membership until the next UI reload. This happens when you log out or issue the /reloadui command.


You can choose to have the Guild Hall Button do an automatic UI reload when you leave or join a guild. Then the configuration screen will always reflect all of your guild current memberships.


But switching this on will mean that if you join or leave two guilds in succession, you will get two /reloadui commands. This may not be what you want.
If in doubt, leave these options switched off.


Error Reporting


If something unexpected happens in an ESO add-on, the game will normally display a UI Error window with the traceback of the code leading up to the Lua error.
Tracebacks are vital to the developer. Without them, solving the problem is close to impossible. But they are meaningless to the end-user. For this reason, this add-on traps and stores the traceback, and simply issues a message saying that what you were trying to do did not work, and that you can retrieve the traceback using the command /guildhall traceback.


You can do this at any time, so that you can compose a bug report when it suits you, instead of having to choose between composing a bug report at that very moment, or closing the UI Error window and destroying the evidence. The Guild Hall Button stores your last 9 tracebacks, numbered 1 to 9. Traceback 1 is the most recent.


Extras


You can use slash commands to bypass the Settings menu. You may need to do this if the drop-down lists on the configuration screen don’t show you the player or the house that you want. It may also be helpful in special situations, such as when playing on the Public Test Server.


Start by typing the command /guildhall list and you will see a list of the guilds you are a member of.


1* Rich Mahogany: Earthtear Cavern -> Guild leader's house
[2] Merchants of the Merchants -> Daggerfall Overlook: Guild leader's house
[3] Rangiest Rangers -> Daggerfall Overlook: Guild leader's house


The numbers on the left have the same meaning as the chat window commands /guild1 etc. Now suppose that the guild hall of Merchants of the Merchants is not the guild leader’s primary residence but is instead the primary residence of castellan-officer @Slartibartfast. Type this command:


/guildhall 2 @Slartibartfast


That will take you to the guild hall, so that you can be sure that your configuration is correct. After that, the next time you press the guild hall button, it will take you to the right place without having to be told a second time. If you see the warning Can’t identify @slartibartfast as a guild member, it indicates you have typed the name wrong. Names are case-sensitive, and the leading @ is required.


To reverse this configuration, simply do the same thing, but supply the guild leader’s name.


For people who dislike taking their fingers from the keyboard, you can also use the command /guildhall (alternative spelling /gh), without a player name, to take you to the guild hall, and you can optionally type a number between 1 and 5 (for example /guildhall 2) to specify which guild. If you omit the number then the command takes you to the guild selected on the guild home screen.


A guild leader whose primary residence is a guild hall will generally have other, more modest accommodation elsewhere. If you have permission to visit one of those other houses, you can go there using the following command:


/guildhall number name


where number is the number of the guild as shown above (not optional), and name is the name of the house, or part of it. For example, typing /gh 1 sleek is enough to identify Sleek Creek. The name you type must be long enough to match exactly one house.


You can combine the two forms of the /guildhall command to permanently set the guild hall for a guild to something other than a primary residence, for example:


/guildhall 2 @Slartibartfast sleek


though it is unlikely that you would want to do this in normal circumstances, because that would mean that guild 2's guild hall could only be reached by using the Guild Hall Button, or another add-on with similar facilities, because there would be no way for guild members to go there using the game’s normal UI.


If you want the ability to go to any house of any player, but not set it as a nonstandard guild hall, use the command /visit instead of /guildhall. This was an extra requested by some users and it is disabled by default. After enabling it in the configuration screen, you can use this command:


/visit @Slartibartfast sleek


which will simply take you to @Slartibartfast’s house at Sleek Creek but won’t affect guild hall settings. If you don’t specify a house then the /visit command will take you to that player’s principal residence.


Translation


If you use and like Guild Hall Button and you would like to have it in your own language, please volunteer by emailing [email protected] You would not be letting yourself in for a lot of work: the add-on, being a very simple one, needs only around two dozen translations.


1.7.2 Will not overwrite a slash command that is already assigned
1.7.1 Command /visit without a house name defaults to player's principal residence
1.7.0
-- Compatible with Murkmire
-- New optional slash command /visit
-- Hints provided for /guildhall subcommands traceback, list, version
1.6.1 Eliminate spurious failure message on joining a guild
1.6.0
-- Fixes to a pervasive bug between leaving/joining a guild and the next /reloadui that in the worst case led to a corrupted SavedVariables file, which just kept the defect alive past /reloadui. (Warm thanks to RavenMind for a comprehensive bug report.)
-- Measures (inspired by Python) to stop stack traces from leaking out to the player as a UI Error window. Code defects are hard to avoid, but they should be handled more gracefully than popping up a debug window on a player's screen.
-- New /guildhall subcommands: /gh version and /gh traceback.
-- Fix to the configuration of house names.
-- Better validation to prevent the configuration of a house override without castellan name.
-- Better validation to prevent a castellan's name differing in case from the real player name.
-- Option to do an automatic /reloadui after leaving/joining a guild, to refresh the config screen.
-- Internal changes: further preparation for gettext-style internationalization support.
1.5.6 Partial rollback of changeset 259.
1.5.5 Additional misconfiguration trap
1.5.4 Cosmetic change (trace in chat window removed)
1.5.3 Wolfhunter compatibility. Update to API version. Largely internal changes: preparation for gettext-style internationalization support; start of migration to more robust error-handling scheme.
1.5.2 Not released.
Archived Files (9)
File Name
Version
Size
Author
Date
1.7.1
337kB
BoarGules
10/11/18 01:18 PM
1.7.0
336kB
BoarGules
10/08/18 04:04 PM
1.6.1
331kB
BoarGules
09/05/18 04:02 PM
1.6.0
331kB
BoarGules
09/02/18 02:07 PM
1.5.6
311kB
BoarGules
08/23/18 01:02 PM
1.5.5
311kB
BoarGules
08/21/18 03:35 PM
1.5.4
311kB
BoarGules
08/21/18 01:54 PM
1.5.3
312kB
BoarGules
08/18/18 11:38 AM
1.5.1
303kB
BoarGules
05/27/18 11:17 AM


Post A Reply Comment Options
Unread 10/11/18, 01:44 PM  
BoarGules
 
BoarGules's Avatar
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 10
Uploads: 1
Originally Posted by Alessondria
I need to change this mod's /gh chat command to something else. Never really tried to do this without an ingame option. Will the mod author add an option for this in an update or could someone explain to be what exactly I need to do to change this in the files please?
Bear with me, but it's not clear to me what the problem is.

You want to disable the /gh command. That could be because
  • another add-on defines /gh and is taking precedence.
  • another add-on defines /gh and the Guild Hall Button is masking it.
For the first case:

For most normal requirements, you don't need the /gh command. The primary use of this command is to go to the guild hall of your currently selected guild. But that is just a keyboard shortcut for pressing G and then pressing the Travel to Guild Hall button. And that button is the whole point of having the add-on in the first place.

Almost anything else you do with the /gh command is just a keyboard shortcut for configuring the add-on via Settings | Addons | Guild Hall Button. If there is some configuration that you can't achieve with the configuration menu (which should be vanishingly rare, which is why it is relegated to a slash command), please explain what you want to do and I'll do my best to resolve the issue.

In the meantime, if you really, really need the keyboard shortcut because the configuration menu won't do what you want, and /gh conflicts with another add-on, then try spelling it out in full as /guildhall.

For the second case:

This is a bit harder. You can of course edit the source of the add-on: search in GuildHallButton.lua for the string
Code:
gettext.gettext("/gh")
and change it. It is only in one place. But that is only a temporary solution because an update will back out your changes without warning. I'd prefer to provide you with a permanent one. But for that I need to know exactly what the problem is. There is nothing so frustrating all round as spending time solving what the problem isn't.

By all means use the temporary solution to solve your immediate problem, but do give me the opportunity to provide a permanent one.

I need to know which of the two issues you are encountering, and with what add-on.
Last edited by BoarGules : 10/13/18 at 10:34 AM.
Report comment to moderator  
Reply With Quote
Unread 10/10/18, 07:33 PM  
Alessondria

Forum posts: 0
File comments: 27
Uploads: 0
I need to change this mod's /gh chat command to something else. Never really tried to do this without an ingame option. Will the mod author add an option for this in an update or could someone explain to be what exactly I need to do to change this in the files please?
Report comment to moderator  
Reply With Quote
Unread 10/09/18, 02:56 PM  
BoarGules
 
BoarGules's Avatar
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 10
Uploads: 1
New optional slash command /visit

Some users have asked for a similar facility to go to any player's house (so, not just the guild leader's house or a castellan-officer's house).

Starting from 1.7.0, in Settings | Addons | Guld Hall Button you can enable Visit anyone's house. This is switched off by default, for the reason that it is impolite to add new slash commands to an add-on unless a player explicitly asks. Otherwise the new slash command could get in the way of an existing slash command that was installed by a different add-on.

If you switch on Visit anyone's house, this enables the slash command /visit and you use it by typing /visit @player-name house-name.

Assuming you have permission to go there, this will take you to the house called house-name that belongs to @player-name. You don't have to type house-name in full, but it must be long enough to uniquely identify the house you want. So, sleek is an acceptable shorthand for Sleek Creek, but dawn could refer to Dawnshadow or Princely Dawnlight Palace, and so is not an acceptable shorthand.
Report comment to moderator  
Reply With Quote
Unread 09/09/18, 03:57 AM  
RavenMind
 
RavenMind's Avatar

Forum posts: 0
File comments: 282
Uploads: 0
Fantastic! Thank you for the update, it's working quite nicely!
Report comment to moderator  
Reply With Quote
Unread 09/02/18, 01:39 PM  
BoarGules
 
BoarGules's Avatar
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 10
Uploads: 1
@ RavenMind: I'm happy to say that I'm releasing an update today that builds on the insights I gained from following up on your bug report. I had exactly one other bug report from the same cause, but not in enough detail about the sequence of events to actually track it down. I am very glad you didn't delete your post, otherwise I might never have got to the bottom of the problem.

Originally Posted by RavenMind
@ BoarGules: I appreciate you taking the time to read all that! I realize it was a bit long-winded, and debated whether to delete the whole thing. I'm glad now I didn't, since it looks like it elicited a response from ZOS_ChipHilseberg. Hopefully his info will help you with whatever changes you decide to make.

@ ZOS_ChipHilseberg: Thank you very much for taking the time to respond! I believe the information you provided will be useful not only in this situation, but also to other addon authors who come across this thread.
Report comment to moderator  
Reply With Quote
Unread 09/02/18, 01:31 PM  
BoarGules
 
BoarGules's Avatar
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 10
Uploads: 1
@ ZOS_ChipHilseberg : Yes, I discovered that, but now I know when and how they change, and what to do about it. The bit I was missing was that they get completely reassigned after a guild membership change, but only until the next /reloadui, and which point they go back to mirroring 1..GetNumGuilds().

Thanks for the response.

Originally Posted by ZOS_ChipHilseberg
Guild ids are a bit insidious. Whenever a player joins or drops a guild (whenever EVENT_GUILD_DATA_LOADED is sent), all guild ids are invalidated and you have to regrab them using GetGuildId(index). That also means the ids aren't stable so you can't store them. The most stable thing right now is probably the guild name. In the future we'll probably move toward having GetGuildId return a stable id.
Last edited by BoarGules : 09/02/18 at 02:10 PM.
Report comment to moderator  
Reply With Quote
Unread 08/23/18, 11:30 PM  
RavenMind
 
RavenMind's Avatar

Forum posts: 0
File comments: 282
Uploads: 0
@ BoarGules: I appreciate you taking the time to read all that! I realize it was a bit long-winded, and debated whether to delete the whole thing. I'm glad now I didn't, since it looks like it elicited a response from ZOS_ChipHilseberg. Hopefully his info will help you with whatever changes you decide to make.

@ ZOS_ChipHilseberg: Thank you very much for taking the time to respond! I believe the information you provided will be useful not only in this situation, but also to other addon authors who come across this thread.
Report comment to moderator  
Reply With Quote
Unread 08/23/18, 03:31 PM  
ZOS_ChipHilseberg
ZOS Staff!

Forum posts: 530
File comments: 5
Uploads: 0
Guild ids are a bit insidious. Whenever a player joins or drops a guild (whenever EVENT_GUILD_DATA_LOADED is sent), all guild ids are invalidated and you have to regrab them using GetGuildId(index). That also means the ids aren't stable so you can't store them. The most stable thing right now is probably the guild name. In the future we'll probably move toward having GetGuildId return a stable id.
Report comment to moderator  
Reply With Quote
Unread 08/23/18, 01:51 PM  
BoarGules
 
BoarGules's Avatar
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 10
Uploads: 1
RavenMind,

Thank you for the friendly, detailed, thoughtful and extremely helpful defect report. I can see one issue straight off, which is that the code thinks guild numbers go from 1 to 5, maybe with gaps. I really wasn't aware they could go from 10 to 14. That in itself will break things, such as the build of the configuration screen (in BuildLAMPanel), and the /guildhall ? command. That assumption about numbering of guilds came straight from ZOS's own code (or so I thought: closer inspection suggests otherwise). So I will have to cast about for a more robust way to enumerate them.

I'm glad you managed to solve the problem on your own (especially as you found the defect for me in the process), but I will have to fix this, even if it is now not urgent. If it happened to you it will sooner or later happen to someone else, and that someone else is unlikely to be as resourceful.

Regards and thanks again

Originally Posted by RavenMind
Update (Final, I think.): I logged out & went into the savedvars after having manually set the guildhalls. I renumbered the now-populated guilds 10-14 to 1-5, and deleted the old guilds 1-5. (oddly, guild 1 had been populated now..). Saved & logged in again. No LUA error, the button works on each guild, and I am not getting the correct return with the /guildhall ? command. Yay! I don't know if this is something you still want to look into. My suspicion is that it has to do with me having left 2 guilds, then rejoining 1 and adding another. *shrug*
Instead of deleting this whole post, I've decided to leave it up, in-case it might be helpful to others who might have done something similar. Feel free to delete to tidy up the thread if you feel so inclined.
Thanks for your time!
Last edited by BoarGules : 08/23/18 at 02:05 PM.
Report comment to moderator  
Reply With Quote
Unread 08/22/18, 12:32 AM  
RavenMind
 
RavenMind's Avatar

Forum posts: 0
File comments: 282
Uploads: 0
I'm now receiving a LUA error. I did drop two guilds, re-add one of them, and added a new one. Which changed the ordering of the guilds, if that even matters. Also the Settings menu has nothing in it now. I've reloaded UI, logged out, deleted savedvars, and logged back in, but am still getting the error. Full error indicates it may have a problem with one specific guild, but it may be it only triggers the first error it comes across then stops running the addon? IDK.
I'll try to look at the line myself & see what I can do, but I'm no coder and know nothing about LUA.
Error:
Code:
user:/AddOns/GuildHallButton/GuildHallButton.lua:503: attempt to index a nil value
stack traceback:
user:/AddOns/GuildHallButton/GuildHallButton.lua:503: in function 'BuildLAMPanel'
user:/AddOns/GuildHallButton/GuildHallButton.lua:628: in function 'BuildLAM'
user:/AddOns/GuildHallButton/GuildHallButton.lua:100: in function 'GuildHallButton:Initialize'
user:/AddOns/GuildHallButton/GuildHallButton.lua:109: in function 'GuildHallButton.OnAddonLoaded'
Full Error:
Warning: Spoiler


Edit: Can't see a problem in the code. /guildhall ? does nothing. Doesn't bring up an "invalid command", as if it were an invalid command, and also doesn't return anything to the chat window.
Interestingly trying /guildhall 1 @xxxxx brings up a message at the top-right, stating, "Command /guildhall 1 invalid: you do not have a guild numbered 1".
In my Savedvars, (freshly created), I have Guild Halls: 1, 2, 3, 4, 5, 6, 10, 11, & 14. I don't know if that's indicative of anything, but thought I'd provide the info.
Thanks!

Edit-2: After some digging, I found my guild numbering has been thrown off somehow. Should be guilds 1, 2, 3, 4, 5. In that order, they are now guilds 10, 11, 12, 13, 14. After using "/gh 10 @xxxx" for each guilds, 10-14, the button now works fine.
"/guildhall ?" still returns nothing, while mistyping such as /guildhall?, returns "Warning: Invalid chat command '/guildhall?'!"
So while there's nothing wrong with the functionality of the button itself, I thought this was an interesting thing to have happen. Incidentally, after I manually set all guildhalls with the slash commands, and reloaded UI to save the variables, the settings menu is now populated.
Also, no more LUA errors once manually configured!
One more thing, I wanted to thank you for including that .pdf in the archive. Too few authors include ReadMe's or any documentation, so it's really appreciated that you did!!

Update (Final, I think.): I logged out & went into the savedvars after having manually set the guildhalls. I renumbered the now-populated guilds 10-14 to 1-5, and deleted the old guilds 1-5. (oddly, guild 1 had been populated now..). Saved & logged in again. No LUA error, the button works on each guild, and I am not getting the correct return with the /guildhall ? command. Yay! I don't know if this is something you still want to look into. My suspicion is that it has to do with me having left 2 guilds, then rejoining 1 and adding another. *shrug*
Instead of deleting this whole post, I've decided to leave it up, in-case it might be helpful to others who might have done something similar. Feel free to delete to tidy up the thread if you feel so inclined.
Thanks for your time!
Last edited by RavenMind : 08/22/18 at 02:33 AM.
Report comment to moderator  
Reply With Quote
Unread 08/21/18, 04:44 PM  
TheYcUtS
 
TheYcUtS's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 35
Uploads: 1
Originally Posted by BoarGules
Oh, now I understand. You can configure that also, but it is an unusual situation so it's not provided for in the GUI, only via a slash command. There are full instructions in the docs, but briefly it is /gh 1 @owner-name house-name.
Np ill fix it! Great job mate
__________________

Report comment to moderator  
Reply With Quote
Unread 08/21/18, 03:44 PM  
BoarGules
 
BoarGules's Avatar
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 10
Uploads: 1
Thx work but our Guild Hall owner not officer
Oh, now I understand. You can configure that also, but it is an unusual situation so it's not provided for in the GUI, only via a slash command. There are full instructions in the docs, but briefly it is /gh 1 @owner-name house-name.
Report comment to moderator  
Reply With Quote
Unread 08/21/18, 02:40 PM  
TheYcUtS
 
TheYcUtS's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 35
Uploads: 1
Originally Posted by BoarGules
Thanks for reporting this. Working on a fix. I understand from your report that (1) the error is in response to a button press, not a /gh command; (2) you are guild leader (3) the guild hall is not your house. This situation has been tested and was believed to work correctly. How have you configured Settings | Addons? There is already a drop-down list for the owner's name there and the traceback doesn't show that it has been set.

Originally Posted by TheYcUtS
Awesome but

Code:
bad argument #1 to 'string.gsub' (string expected, got boolean)
stack traceback:
[C]: in function 'string.gsub'
user:/AddOns/GuildHallButton/GuildHallButton.lua:307: in function 'GuildHallButton.GoToGuildhall'
|caaaaaa<Locals> cmd = "", guild_id = 1, house_specified = false, leader_name = true, guild_name = "My Sweet Moon", house_override = "Earthtear Cavern" </Locals>|r
user:/AddOns/GuildHallButton/GuildHallButton.lua:112: in function 'GuildHallButton.OnClicked'
|caaaaaa<Locals> self = tbl, button = ud </Locals>|r
GoToGuildHallButton_Clicked:2: in function '(main chunk)'
|caaaaaa<Locals> self = ud, button = 1, ctrl = false, alt = false, shift = false, command = false </Locals>|r
So actually its because Gleader not owner of GH ))) so need text box for paste a owners id / not only Gleader


So if we edit JumpToSpecificHouse(leader_name, house_id or house_override) for non gleader name and hall, probably it's work... I mean try this after work.
Thx work but our Guild Hall owner not officer )))))
__________________

Report comment to moderator  
Reply With Quote
Unread 08/21/18, 02:04 PM  
BoarGules
 
BoarGules's Avatar
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 10
Uploads: 1
Thanks for reporting this. Working on a fix. I understand from your report that (1) the error is in response to a button press, not a /gh command; (2) you are guild leader (3) the guild hall is not your house. This situation has been tested and was believed to work correctly. How have you configured Settings | Addons? There is already a drop-down list for the owner's name there and the traceback doesn't show that it has been set.

Originally Posted by TheYcUtS
Awesome but

Code:
bad argument #1 to 'string.gsub' (string expected, got boolean)
stack traceback:
[C]: in function 'string.gsub'
user:/AddOns/GuildHallButton/GuildHallButton.lua:307: in function 'GuildHallButton.GoToGuildhall'
|caaaaaa<Locals> cmd = "", guild_id = 1, house_specified = false, leader_name = true, guild_name = "My Sweet Moon", house_override = "Earthtear Cavern" </Locals>|r
user:/AddOns/GuildHallButton/GuildHallButton.lua:112: in function 'GuildHallButton.OnClicked'
|caaaaaa<Locals> self = tbl, button = ud </Locals>|r
GoToGuildHallButton_Clicked:2: in function '(main chunk)'
|caaaaaa<Locals> self = ud, button = 1, ctrl = false, alt = false, shift = false, command = false </Locals>|r
So actually its because Gleader not owner of GH ))) so need text box for paste a owners id / not only Gleader


So if we edit JumpToSpecificHouse(leader_name, house_id or house_override) for non gleader name and hall, probably it's work... I mean try this after work.
Last edited by BoarGules : 08/21/18 at 02:24 PM.
Report comment to moderator  
Reply With Quote
Unread 08/19/18, 02:12 AM  
TheYcUtS
 
TheYcUtS's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 35
Uploads: 1
Awesome but

Code:
bad argument #1 to 'string.gsub' (string expected, got boolean)
stack traceback:
[C]: in function 'string.gsub'
user:/AddOns/GuildHallButton/GuildHallButton.lua:307: in function 'GuildHallButton.GoToGuildhall'
|caaaaaa<Locals> cmd = "", guild_id = 1, house_specified = false, leader_name = true, guild_name = "My Sweet Moon", house_override = "Earthtear Cavern" </Locals>|r
user:/AddOns/GuildHallButton/GuildHallButton.lua:112: in function 'GuildHallButton.OnClicked'
|caaaaaa<Locals> self = tbl, button = ud </Locals>|r
GoToGuildHallButton_Clicked:2: in function '(main chunk)'
|caaaaaa<Locals> self = ud, button = 1, ctrl = false, alt = false, shift = false, command = false </Locals>|r
So actually its because Gleader not owner of GH ))) so need text box for paste a owners id / not only Gleader


So if we edit JumpToSpecificHouse(leader_name, house_id or house_override) for non gleader name and hall, probably it's work... I mean try this after work.
__________________

Last edited by TheYcUtS : 08/19/18 at 09:45 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: