How To Make Guild In DB?

Results 1 to 5 of 5
  1. #1
    Sorcerer Supreme QuikSilveR1 is offline
    Member +Rank
    Jul 2008 Join Date
    SwedenLocation
    334Posts

    Question How To Make Guild In DB?

    how to me a new guild in db?
    i know there are/was a topic about how to make one in db but i cant find it ^^
    could any1 post a tutorial of how to?^^


  2. #2
    Grand Master Flohle is offline
    Grand MasterRank
    Oct 2006 Join Date
    GermanyLocation
    1,942Posts

    Re: How To Make Guild In DB?

    hm I also can't find the thread xD well..never worked for me :P I made all ingame ;)

    Code:
        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

  3. #3
    Sorcerer Supreme QuikSilveR1 is offline
    Member +Rank
    Jul 2008 Join Date
    SwedenLocation
    334Posts

    Re: How To Make Guild In DB?

    Quote Originally Posted by Flohle View Post
    hm I also can't find the thread xD well..never worked for me :P I made all ingame ;)

    Code:
        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

    found a better guide ^^


    1. Find the PID of the player who shall become guild leader (KAL_DB -> Player)

    2. Open KAL_DB-> Guild
    GID = PID from the player (Leader)
    Name = guild name
    Stadard = make 0 I guess its from the guild mark (Flag)
    Exp = Guild Exp make it 16kk
    TodayMessage = leave it clean...
    Leader = position name for leader (LeaderOf Guildname) ^^
    SubLeader = same shit for sub
    Centurion = dunno write some shit
    Ten = position name for chief
    Regular = member position name
    Temp = temp member position name
    all other make 0

    3. Open KAL_DB -> Guild Member
    and insert...
    GID = Leader PID
    PID = Leader PID
    Class = 1 for Leader
    ConnectTell = 1 dunno what that is
    Date = 0 should work ...

    4. Open KAL_DB -> Player and search for your leader
    scroll to right there is a col which is called GID write the PID in this field
    so last step... next col is called GRole, make it 3

    5. Login and look if it works, bb


    tnx anyway :)

  4. #4
    Newbie borbiii is offline
    MemberRank
    Sep 2008 Join Date
    Germany,NRWLocation
    7Posts

    Re: How To Make Guild In DB?


  5. #5
    Newbie pinos is offline
    MemberRank
    Oct 2006 Join Date
    egyptLocation
    17Posts

    Re: How To Make Guild In DB?

    Its Works For Me Thanks QuikSilveR1 Its Realy Easy :P



Advertisement