Guild bank questions??
Ok so the guild bank is fully operational now. Thats great news!
But how do you use it? Since there doesn't seem to be a guild lobby? Hrmmmm.. |
There is a guild lobby but entry is only done by quest script or #zone command.
Go to your emulator\quests\guildlobby directory and modify your player.pl file so that is includes this: Code:
sub EVENT_CLICKDOOR { Entry can also be done by quest npc. Create a quest npc and assign the following quest script to it. Code:
sub EVENT_SAY { |
Nice, someone actually responded to a question I asked ;)
Thanks much for that blackdragonsdg! One last question about that: Is it possible to have the guild bank open somewhere else? Not that its not fine that way, but I play on my private server with some of my friends and there just isn't enough of us to make that way necessary. Rather then zoning 3 times to reach the guild bank, is it possible to place a guild banker in pok by using the new rule_value along with some of that scripting? EDIT: I have the latest source for quests and quests\guildlobby doesn't exist... was I supposed to make it? EDIT: Since guildlobby doesn't exist I opened the player.pl in the Poknowledge folder and set the guild lobby door to go to the guild hall. However, this didn't do anything. I then set the database entry for that door to point to the guild hall, which then sends everyone to the same guild hall, even people without a guild.(no instancing) |
UPDATE:Can't edit anymore, weird forum rules.
I got it to partially work I think, I removed the destination zone from the database. Now it goes to the guild hall (IF you click a specific little spot on the door), unfortunately the hall is still not instanced, everyone goes to the same one, good news is that players without a guild seem to not be able to get in, although there is no fail message, it just doesn't work. |
Sometimes the quest folders don't exist in that case just create the folder using the shortname for the zone that it is for. Once you have the folder created just copy the player.pl from another zone and place it in the guildlobby folder...once that is done just edit the file replacing its contents with the first section of scripting and it should work as long as you are in a guild.
I am sure it is possible to make the guild bankers function in other zones but it has not been done yet as far as I know. You can however create an npc in PoK or in any zone for that matter to port you to your guild hall. That second section of scripting will make an npc a guild hall teleporter if it is used right. |
As far as the script, make a file for the shortname. And then insert the appropriate script quoted earlier into player.pl and then #reloadpl in game to clear the memory cache.
If you take the NPC route and put that same instance function on an NPC, make sure you enable Qglobals for the NPC using the script mentioned above: Code:
sub EVENT_SAY { The Guild Bank ZONE ID is set in Rules_Values: Code:
INSERT INTO `rule_values` (`ruleset_id`, `rule_name`, `rule_value`, `notes`) VALUES (1, 'World:GuildBankZoneID', '345', 'ID of zone the Guild Bank works in. Default 345, guildhall'); Quote:
|
Quote:
I understand the guild bank can only be located in a single zone. I want it ONLY located in pok, to remove the pointless zone after zone just to get to the guild bank. I can easily change the zoneid of the guild bank in the database, but how do I then access the guild bank from pok. I will need to create an NPC players can use to access it right? Thats the part I don't know how to do. I currently have it setup so the guild lobby door goes strait to the guild hall(not instanced, I can't get instancing to work for the life of me, but each guild can access their guild bank, they just share the zone), to eliminate a pointless zone. It's still another zone away non-the-less. P.S. I know that's not what this thread was originally about, but that's what I'm trying to do at this point. |
What's the configuration for the NPC banker, class and such? There was already one in the guildhall for me but when I click him it causes my client to crash.
|
Change the Zone ID in Rules_Values... Make a class 66 NPC in that zone
|
both done still crashes for anyone!
|
Quote:
Banker = Class 40 Guild Banker = Class 66 Since examples tend to work better I exported the spawn data from the guild banker in the guild hall so here you go. Guild Banker Code:
INSERT INTO `spawnentry` (`spawngroupID`, `npcID`, `chance`) VALUES (46046, 345003, 100); As an example of a normal banker I used a custom banker I had created for Relic, The Artifact City, so here you go. Normal Banker Code:
INSERT INTO `spawnentry` VALUES (70295, 700295, 100); |
All times are GMT -4. The time now is 09:42 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.