-
Account Upgraded | Title Enabled!
[Q] Create guild in db
Can anyone explain to me how i create a guild in kal_db?
I go into kal_db/item/Guild/return all rows
What i do next?
-
-
I'm not here
Re: [Q] Create guild in db
a) Add the Guild in the [Guild] table.
The GID must be the PID of the GuildLeader. The other fields aren't that important, but ofcource you must enter a Name of the guild.
The Leader,Subleader etc. fields are the ingame title.
b) Add the GuildLeader to the [GuildMember] table
Lets say the Guildmaster is archer, and his PID is 1 ,then it would be
1,1,2,0,0
The Date value is how long time to people can join a new guild.
c) Change the GID for the Player, in the [Player] Table
If you haven't done so yet :-)
d) Restart the server.
Yes, a nessary evil. Guild updates in a database require a DB update.
~Originally posted by TheDeathArt