I use Mangos and was wondering if anyone has some insight into this question.
Is there a way to make it so that when someone logs in with a player they instantly are in a guild? Or recieve a guild invite?
I use Mangos and was wondering if anyone has some insight into this question.
Is there a way to make it so that when someone logs in with a player they instantly are in a guild? Or recieve a guild invite?
Yep, you could create a C++ script with the OnCharacterCreate(Player * pPlayer); hook and use an SQL query to insert them into the guilds table.
Just want to make sure I got this right as I don't normally program c++.
So basically if I write the code correctly, I can use my Visual C++ and manually insert this code. It's obvious i have no experience in this.. Anyhow I suppose If I can figure out how to go about making this code, I'll prob learn along the way where it would be inserted and how the sql would interact with my database.
Nevertheless thanks for your quick reply, I will start learning this promptly as I feel like I'm missing part of the emulation fun![]()