[Q] Create guild in db

Results 1 to 2 of 2
  1. #1
    Account Upgraded | Title Enabled! 2Kxx is offline
    MemberRank
    Feb 2008 Join Date
    Sweden..Location
    1,194Posts

    [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?


  2. #2
    I'm not here DarkfaceII is offline
    MemberRank
    Aug 2007 Join Date
    GermanyLocation
    662Posts

    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



Advertisement