Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GuildHouse Scripts #66

Open
siouxst opened this issue Oct 26, 2016 · 0 comments
Open

GuildHouse Scripts #66

siouxst opened this issue Oct 26, 2016 · 0 comments

Comments

@siouxst
Copy link

siouxst commented Oct 26, 2016

Running Version: TrinityCore rev. 2a3108d 2016-10-01 13:17:17 +0200 (npcbots-test branch) (Win64, Release, Static) (worldserver-daemon)

When trying to buy from the GuildMaster It keep throwing this error: (I am logged in using GM account)
Missing name GuildHouse.TokenOrGold in config file c:/SingleCoreR2/Settings/world.conf, add "GuildHouse.TokenOrGold = 0" to this file
Missing name GuildHouse.Cost in config file c:/SingleCoreR2/Settings/world.conf, add "GuildHouse.Cost = 0" to this file

The file has all these settings, I tried to isolate them and noticed some strange things in the code:

src\server\scripts\Custom\guildmaster.cpp:
void buyGuildhouse(Player *player, Creature *_creature, uint32 guildhouseId)
--Has a bool token that doesn't appear to be used since it always deducts from player->ModifyMoney
--Pulls an int value for cost, but is using GetBoolDefault?

conan513 pushed a commit that referenced this issue Aug 10, 2018
* Addition of Sunstrider Guardian npc movement

* Rename 2018_08_08_01_waypoint_data.sql to 2018_08_10_01_waypoint_data.sql
conan513 pushed a commit that referenced this issue Feb 2, 2019
Fix Unit::SetConfused to work on players.
conan513 pushed a commit that referenced this issue Feb 2, 2019
Fix sending the right GAMEOBJECT_FACING field to the client.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant