[Release] 1-Npc Guild HideOuts

Page 1 of 2 12 LastLast
Results 1 to 25 of 41
  1. #1
    Grand Master KillShadow05 is offline
    Grand MasterRank
    Apr 2008 Join Date
    United StatesLocation
    705Posts

    [Release] 1-Npc Guild HideOuts

    First off, i know this is very easy to make, but know one released it here yet, so i guess i will..
    All you need to do is add one simple line for each guild and its good.

    This helps so you dont need 1 npc for each and every individual guild.
    Now i used Professor Foxwit, if you read the script it'll make more sense.
    Haha

    Code:
    /* Gangstas Guild Hideout Warper
    */
    /*Made by ShadowMS (Killshadow05) of Ragezone
    */
    
    
    function start() {
        status = -1;
        action(1, 0, 0);
    }
    
    function action(mode, type, selection) {
        if (mode == -1) {
            cm.dispose();
        } else {
            if (mode == 0) {
                cm.dispose();
            }
            if (mode == 1)
                status++;
            else
                status--;
    
            if (status == 0) {
                cm.sendNext("Hello.  I am in charge of Guild Hideouts.\r\nThe Hideout is a map that only your guild can go to.\r\nThis gives you a chance for Guild events and other specials that your leader has chosen.\r\n\r\nWould you like to go for a ride to your guilds Hide-Out?");
                }
            else if (status == 1) {
                if (cm.getPlayer().getGuildId() == 55) {
                cm.warp(180000000, 0);
                cm.sendNext("Have fun in ------'s GM hideout!");
                cm.dispose();            
                }
                else if (cm.getPlayer().getGuildId() == Guild ID) {
                cm.warp(MAP ID, 0);
                cm.sendNext("Have fun in NAMEHERE's hideout!");
                cm.dispose();
                }
                else {
                cm.sendNext("Sorry your either not in a guild, or your Guild leader has not sponsored a hideout.  If you are in a guild, be sure to talk to your guild leader for more info.");
                cm.dispose();
    
    }
    }
    }
    }
    Very simple.

    Now, to get GuildID, you just simply go into your MySQL Database, and under the guilds tab.
    Look up the guild name you want, and beside it will be the guild id, and you just simply place it there.

    Now, what makes this cool is you need 1 npc.
    And the very simple script to show how to add more is by this.

    Beneath This:
    Code:
                if (cm.getPlayer().getGuildId() == 55) {
                cm.warp(180000000, 0);
                cm.sendNext("Have fun in ------'s GM hideout!");
                cm.dispose();            
                }
    Add this, ones already put there for ya.

    Code:
                else if (cm.getPlayer().getGuildId() == Guild ID) {
                cm.warp(MAP ID, 0);
                cm.sendNext("Have fun in NAMEHERE's hideout!");
                cm.dispose();
                }
    Now, dont forget to edit the GuildID, The Map ID, and the 'NAMEHERE' is the guild name.

    Add one of those as much as you want, and you got yourself a succesful guild hideout.

    ~Little Tips~

    Ok, and the maps i recommend, are Event maps.
    Mainly 'The Town in the East' or something like that.
    To search for good ones, usualy ust type in-game these commands,
    !search North , !search South , !search East , !search West

    And if u look under the maps, there should be those event maps.
    Those are very good, and pretty small but not too small, for guild hideouts.


    Hope this helped,
    And dont forget to give credits for THIS Script to ShadowMS Staff..
    Thanks

    Credits:
    ShadowMS Staff
    Original person who thought of this idea.


  2. #2
    Sorcerer Supreme Im Blue is offline
    Member +Rank
    Aug 2008 Join Date
    415Posts

    Re: [Release] 1-Npc Guild HideOuts

    1st post <3 you reaper :D

  3. #3
    Grand Master ProGamerForLife is offline
    Grand MasterRank
    Sep 2008 Join Date
    iTouchMsLocation
    1,195Posts

    Re: [Release] 1-Npc Guild HideOuts

    easy but good job ?
    two guild hideouts in 10 min

  4. #4
    Grand Master KillShadow05 is offline
    Grand MasterRank
    Apr 2008 Join Date
    United StatesLocation
    705Posts

    Re: [Release] 1-Npc Guild HideOuts

    U can add as many guild hideouts as you want.
    And i was over msn talking to someone, thats why it took a bit of time to release.

    Like i said its very easy, but no one released it yet, soo.

  5. #5
    Elite Member blogworm is offline
    Member +Rank
    Oct 2008 Join Date
    210Posts

    Re: [Release] 1-Npc Guild HideOuts

    Aha, here it is ^^

    Nice.

  6. #6
    Grand Master ProGamerForLife is offline
    Grand MasterRank
    Sep 2008 Join Date
    iTouchMsLocation
    1,195Posts

    Re: [Release] 1-Npc Guild HideOuts

    Quote Originally Posted by KillShadow05 View Post
    U can add as many guild hideouts as you want.
    And i was over msn talking to someone, thats why it took a bit of time to release.

    Like i said its very easy, but no one released it yet, soo.
    som 1 just released it
    and they are the same release pretty much
    just some minor edits by you

  7. #7
    Grand Master Markii is offline
    Grand MasterRank
    Nov 2008 Join Date
    NewyorkLocation
    1,917Posts

    Re: [Release] 1-Npc Guild HideOuts

    Nice :]

  8. #8
    Grand Master KillShadow05 is offline
    Grand MasterRank
    Apr 2008 Join Date
    United StatesLocation
    705Posts

    Re: [Release] 1-Npc Guild HideOuts

    Ik someone just released something like this.
    I released this one BECAUSE of the other one.

    Theirs you have to make a npc for each guild
    This is an all in 1 guild.

  9. #9
    Sorcerer Supreme Im Blue is offline
    Member +Rank
    Aug 2008 Join Date
    415Posts

    Re: [Release] 1-Npc Guild HideOuts

    Yeah i just read that post, its one NPC Per Guild.
    His is one NPC and you get warped to whatever map your guild "owns"

  10. #10
    Sorcerer Supreme bendanx3 is offline
    Member +Rank
    Sep 2008 Join Date
    417Posts

    Re: [Release] 1-Npc Guild HideOuts

    If this is for multi-guild, wouldnt Arrays be more useful here? o.o

  11. #11
    Grand Master maplepuppet is offline
    Grand MasterRank
    Nov 2008 Join Date
    New JerseyLocation
    905Posts

    Re: [Release] 1-Npc Guild HideOuts

    Thanks and nice release, I just wish I knew how to use Java, I'm all for sqls.

  12. #12
    Sorcerer Supreme hakstern is offline
    Member +Rank
    Oct 2008 Join Date
    LALocation
    349Posts

    Re: [Release] 1-Npc Guild HideOuts

    when i add i cant click npc..or when i click noting happens

  13. #13
    Grand Master KillShadow05 is offline
    Grand MasterRank
    Apr 2008 Join Date
    United StatesLocation
    705Posts

    Re: [Release] 1-Npc Guild HideOuts

    Let me see your script and see if u did anything wrong.

  14. #14
    Sorcerer Supreme IamAzhar is offline
    Member +Rank
    Jun 2008 Join Date
    319Posts

    Re: [Release] 1-Npc Guild HideOuts

    lols what if other guild members talk to the npc.
    when the current guild is still in there ?

  15. #15
    Grand Master xblackcat is offline
    Grand MasterRank
    Aug 2008 Join Date
    nowhereLocation
    1,655Posts

    Re: [Release] 1-Npc Guild HideOuts

    Basically what the other guy released but with else if statements. Yay

  16. #16
    Infraction Banned MiniAxel is offline
    Grand MasterRank
    Sep 2006 Join Date
    906Posts

    Re: [Release] 1-Npc Guild HideOuts

    Why is everybody releasing these... If it's really needed I'll release a proper guild hide outs after I'm done auctions.

  17. #17
    Newbie schabad is offline
    MemberRank
    Jun 2007 Join Date
    P-Town, ILLocation
    18Posts

    Re: [Release] 1-Npc Guild HideOuts

    nice release
    lol 2 in 10 min

  18. #18
    Grand Master JusticeDK is offline
    Grand MasterRank
    Aug 2008 Join Date
    McDonaldLocation
    806Posts

    Re: [Release] 1-Npc Guild HideOuts

    will it be possible 2 guild togheter in the same map?

  19. #19
    Member -revil is offline
    MemberRank
    Nov 2008 Join Date
    48Posts

    Re: [Release] 1-Npc Guild HideOuts

    Nice, try making the registration fee of hideout 10mil+.

  20. #20
    Grand Master KillShadow05 is offline
    Grand MasterRank
    Apr 2008 Join Date
    United StatesLocation
    705Posts

    Re: [Release] 1-Npc Guild HideOuts

    Guys.

    This is not the other guys hideout script edited.
    I made this myself...

    And justice, yes it will, just create the if statement, and for map id...put the same id

    @MiniAxel

    The only reason i released THIS is because the other guys was stupid and you would need an npc for each guild.
    This is a proper guild hideout script, because you just need this npc and just keep adding guild.

    And if you guys dont like it..dont post.
    I only released this for the people who do want it,
    not you stupid flamers..

  21. #21
    Infraction Banned MiniAxel is offline
    Grand MasterRank
    Sep 2006 Join Date
    906Posts

    Re: [Release] 1-Npc Guild HideOuts

    Quote Originally Posted by KillShadow05 View Post
    Guys.

    This is not the other guys hideout script edited.
    I made this myself...

    And justice, yes it will, just create the if statement, and for map id...put the same id

    @MiniAxel

    The only reason i released THIS is because the other guys was stupid and you would need an npc for each guild.
    This is a proper guild hideout script, because you just need this npc and just keep adding guild.

    And if you guys dont like it..dont post.
    I only released this for the people who do want it,
    not you stupid flamers..
    I wasn't flaming, if that was directed towards me. I was just pointing out you could make an easier to use script by just adding some functions in java

  22. #22
    Grand Master xblackcat is offline
    Grand MasterRank
    Aug 2008 Join Date
    nowhereLocation
    1,655Posts

    Re: [Release] 1-Npc Guild HideOuts

    Quote Originally Posted by KillShadow05 View Post

    The only reason i released THIS is because the other guys was stupid and you would need an npc for each guild.
    This is a proper guild hideout script, because you just need this npc and just keep adding guild.

    And if you guys dont like it..dont post.
    I only released this for the people who do want it,
    not you stupid flamers..
    How about i will post, your script is nothing more then a bunch of else if statements. A fricken 2 year old could figure that out and place them there

  23. #23
    Grand Master Moogra is offline
    Grand MasterRank
    Jul 2008 Join Date
    1,804Posts

    Re: [Release] 1-Npc Guild HideOuts

    Well this script works, no matter how badly coded it is.
    I was thinking of making a function that gets all the guilds and using arraylists for this. This way, you'd never have to update it and it would still work. However, I'm nub at javascript and I'm not sure that would work (do arraylists work in javascript? I know arrays do). I'm also not sure javascript can get sql statements

  24. #24
    Member DarkShadower is offline
    MemberRank
    Nov 2008 Join Date
    SG Duh?Location
    69Posts

    Re: [Release] 1-Npc Guild HideOuts


  25. #25
    Sorcerer Supreme bendanx3 is offline
    Member +Rank
    Sep 2008 Join Date
    417Posts

    Re: [Release] 1-Npc Guild HideOuts

    Quote Originally Posted by Moogra View Post
    Well this script works, no matter how badly coded it is.
    I was thinking of making a function that gets all the guilds and using arraylists for this. This way, you'd never have to update it and it would still work. However, I'm nub at javascript and I'm not sure that would work (do arraylists work in javascript? I know arrays do). I'm also not sure javascript can get sql statements
    ArrayLists doesnt work in JavaScript and it cant get sql statements, you'll have to do a method in NPCConversationManager o.o



Page 1 of 2 12 LastLast

Advertisement