ThunderMS - Because fun is a part of your life

Our users have posted a total of 4568 messages in 677 topics!
We have 8884 registered users, the newest registered user is hehenemt.

    Guild Scripts!!!

    Share

    HermitDash

    Number of posts: 293
    Age: 16
    Location: Brooklyn NYC
    Warning:
    0 / 1000 / 100

    Character Name: iKitten.
    Registration date: 2008-04-30

    Guild Scripts!!!

    Post by HermitDash on Sat May 31, 2008 3:41 pm

    Hey all, sorry for the long wait and the few minute delay due to a last minute bug.

    As promised, here's the zip file with the readme, patch, and 2 sql scripts: http://www.mediafire.com/?cf0wsasqset

    Follow the readme carefully for installation.

    Enjoy, and post bugs here or in the Guilds dev thread.

    EDIT: since the instruction has BB code in it, I'll post a copy in this post:

    Installation guide:

    1. Make sure you understand how to obtain a copy of the source code and how to compile it. If you do NOT already know this, head to the Running OdinMS/Tutorial section and read up on it before proceeding any further, because you won't understand it.

    2. Backup

    A.) You should know that this patch isn't 100% gauranteed to work. So before you do anything, back up everything.
    B.) You can back up your server files by putting the entire folder into a zip, or just copy it somewhere else (you won't have to copy your wz folder though)
    C.) You can back up your database files by going to command prompt and typing in "mysqldump -u root -p OdinMS > OdinMS.sql" and type in the corresponding password (or replace root with the proper username if you use another username.

    3. Guild installation.

    A.) Update your characters table by executing this SQL. This will add the columns `guildid` and `guildrank` to your characters table.
    Code:

    ALTER TABLE `odinms`.`characters` ADD COLUMN `guildid` INTEGER UNSIGNED NOT NULL DEFAULT 0 AFTER `jobRankMove`,
    ADD COLUMN `guildrank` INTEGER UNSIGNED NOT NULL DEFAULT 5 AFTER `guildid`;

    B.) Add the guilds table by executing guilddb.sql script.
    C.) Apply OMS Guilds.patch with a SVN of choice.
    D.) (Optional) You can edit net.sf.odinms.net.world.guild.MapleGuild.java if you would like to change the meso cost of guild creation, emblem change, or capacity increase.
    E.) Compile and export to a jar.

    4. BBS Installation (optional)

    A.) BBS is by default turned OFF. To enable it, you must first follow the Guild installation.
    B.) Add the two BBS tables by executing bbsdb.sql.
    C.) Edit net.sf.odinms.net.world.guild.MapleGuild.java; near the top you will see this line:


    public static boolean bEnableBBS = false;

    D.) Change the false to true.
    E.) Compile and export.

    FOUND ON CEF NO CREDITS TO ME EXCEPT FOR COPY AND PASTE!


    _________________

    New:

    Favorite:

    xBaka
    TMS Vip
    TMS Vip

    Number of posts: 78
    Age: 17
    Location: Riverside, CA
    Warning:
    0 / 1000 / 100

    Character Name: Locke
    Registration date: 2008-05-31

    Re: Guild Scripts!!!

    Post by xBaka on Sun Jun 01, 2008 1:44 am

    Very cool. ^^
    Do the programmers for ThunderMS use these scripts?


    _________________
    xx

    HermitDash

    Number of posts: 293
    Age: 16
    Location: Brooklyn NYC
    Warning:
    0 / 1000 / 100

    Character Name: iKitten.
    Registration date: 2008-04-30

    Re: Guild Scripts!!!

    Post by HermitDash on Sun Jun 01, 2008 11:15 pm

    Mainly we dont really have programmers. Vince is the Main person that makes things happen anyways We use these scripts embeded inside the Source Files.


    _________________

    New:

    Favorite:

    animangaman

    Number of posts: 85
    Location: Texas
    Warning:
    1 / 1001 / 100

    Registration date: 2008-05-11

    Re: Guild Scripts!!!

    Post by animangaman on Mon Jun 02, 2008 4:15 am

    If this would make a guild possible, I wanna be in one =D, can you make it cheaper to expand?

    Mystery

    Number of posts: 484
    Age: 16
    Location: London Hightbury
    Warning:
    0 / 1000 / 100

    Character Name: Mystery
    Registration date: 2008-04-24

    Re: Guild Scripts!!!

    Post by Mystery on Mon Jun 02, 2008 9:40 am

    Well, we are getting 4th job and guild, style npcs, etc. soon I think
    I wrote Vince a PM with all those scripts.
    ...Hope he add them soon Very Happy


    _________________
    Mystery FTW Very Happy


    Almunia, Sagna, Gallas, Toure, Clichy, Fabregas, Walcott, Nasri, Denilson, Van Persie, Adebayor.
    Go Arsenal London.



      Current date/time is Fri Nov 27, 2009 6:02 am