I totally hacked this in with a machete though, so I would like you to please look this code over and bless it, or show me how to do it right.
WorldDatabase.cpp
Code: Select all
WorldDatabase::AddNewPlayerToServerGuild(int32 char_id)I could not seem to access the normal AddNewGuildMember-type functions, because I think they are for in-game invite only. I need a way to invite a player without their consent.
Which brings me to request #2
Add a GM command to forcibly add/remove players from guilds without the player needing to be online or Accepting the invite. If my code above is "proper", I can invent the COMMAND itself, once I see how you do it.
Thanks