[Source] /go 1 to 31

Page 1 of 2 12 LastLast
Results 1 to 15 of 30
  1. #1
    Enthusiast icerok is offline
    MemberRank
    May 2007 Join Date
    BrazilLocation
    38Posts

    [Source] /go 1 to 31

    I compiled serv I will be that I can place moderators here?

    I made of the 1 to the 31


    XD

    ^_^

    \World Server\gmcmds.cpp

    else if (strcmp(command, "go")==0) // AtCommandGo
    {
    if(Config.Command_go > thisclient->Session->accesslevel)
    return true;
    if ((tmp = strtok(NULL, " ")) == NULL) tmp = 0; int loc=atoi(tmp);
    if(Config.Command_Go > thisclient->Session->accesslevel)
    return true;
    int x = 0;
    int y = 0;
    int map = 0;
    if(loc == 1)
    {
    map = 22;
    x = 5098;
    y = 5322;
    }
    else if(loc == 2)
    {
    map = 1;
    x = 5240;
    y = 5192;
    }
    else if (loc == 3)
    {
    map = 2;
    x = 5516;
    y = 5236;
    }
    else if (loc == 4)
    {
    map = 51;
    x = 5357;
    y = 5013;
    }
    else if (loc == 5)
    {
    map = 61;
    x = 5434;
    y = 4569;
    }
    else if (loc == 6)
    {
    map = 6;
    x = 5243;
    y = 5240;
    }
    else if (loc == 7)
    {
    map = 24;
    x = 5379;
    y = 5329;
    }
    else if (loc == 8)
    {
    map = 31;
    x = 5516;
    y = 5437;
    }
    else if (loc == 9)
    {
    map = 29;
    x = 5093;
    y = 5144;
    }
    else if (loc == 10)
    {
    map = 65;
    x = 5485;
    y = 5285;
    }
    else if(loc == 11)
    {
    map = 37;
    x = 5184;
    y = 5256;
    }
    else if (loc == 12)
    {
    map = 8;
    x = 5160;
    y = 5080;
    }
    else if (loc == 13)
    {
    map = 25;
    x = 5377;
    y = 5185;
    }
    else if (loc == 14)
    {
    map = 32;
    x = 5435;
    y = 5259;
    }
    else if (loc == 15)
    {
    map = 33;
    x = 5605;
    y = 5488;
    }
    else if (loc == 16)
    {
    map = 53;
    x = 6229;
    y = 5313;
    }
    else if (loc == 17)
    {
    map = 56;
    x = 5035;
    y = 5200;
    }
    else if (loc == 18)
    {
    map = 57;
    x = 5540;
    y = 5145;
    }
    else if (loc == 19)
    {
    map = 58;
    x = 5680;
    y = 4287;
    }
    else if (loc == 20)
    {
    map = 11;
    x = 5160;
    y = 5132;
    }
    else if (loc == 21)
    {
    map = 59;
    x = 5102;
    y = 5132;
    }
    else if (loc == 22)
    {
    map = 21;
    x = 5158;
    y = 5352;
    }
    else if (loc == 23)
    {
    map = 62;
    x = 5846;
    y = 5206;
    }
    else if (loc == 24)
    {
    map = 20;
    x = 5035;
    y = 5149;
    }
    else if (loc == 25)
    {
    map = 22;
    x = 5113;
    y = 5261;
    }
    else if (loc == 26)
    {
    map = 23;
    x = 5341;
    y = 5071;
    }
    else if (loc == 27)
    {
    map = 26;
    x = 5671;
    y = 5107;
    }
    else if (loc == 28)
    {
    map = 28;
    x = 5587;
    y = 4734;
    }
    else if (loc == 29)
    {
    map = 54;
    x = 5088;
    y = 4257;
    }
    else if (loc == 30)
    {
    map = 64;
    x = 5197;
    y = 5157;
    }
    else if (loc == 31)
    {
    map = 38;
    x = 5074;
    y = 5342;
    }
    else
    {
    SendPM(thisclient, "Please input a number after the go command, below is a list of places and their appropriate number");
    SendPM(thisclient, "1 = Adventurers plains");
    SendPM(thisclient, "2 = The city of Zant");
    SendPM(thisclient, "3 = Junon Polis");
    SendPM(thisclient, "4 = The city of Eucar");
    SendPM(thisclient, "5 = Xita Refuge");
    SendPM(thisclient, "6 = Training grounds");
    SendPM(thisclient, "7 = El Verloon Desert");
    SendPM(thisclient, "8 = Goblin Cave (B1)");
    SendPM(thisclient, "9 = Desert of the Dead");
    SendPM(thisclient, "10 = Sikuku Underground Prison");
    SendPM(thisclient, "11 = Sunshine Coast");
    SendPM(thisclient, "12 = Lion's Plains");
    SendPM(thisclient, "13 = Anima Lake");
    SendPM(thisclient, "14 = Goblin Cave (B2)");
    SendPM(thisclient, "15 = Goblin Cave (B3)");
    SendPM(thisclient, "16 = Arumic Valley");
    SendPM(thisclient, "17 = Forgotten Temple (B1)");
    SendPM(thisclient, "18 = Forgotten Temple (B2)");
    SendPM(thisclient, "19 = Mount Eruca");
    SendPM(thisclient, "20 = Junon Clan Field");
    SendPM(thisclient, "21 = Luna Clan Field");
    SendPM(thisclient, "22 = Valley of Luxem Tower");
    SendPM(thisclient, "23 = Shady Jungle");
    SendPM(thisclient, "24 = [Visitor Guide] Arua\'s Fairy");
    SendPM(thisclient, "25 = [Ferrell Guild Storage Keeper] Fabrizio");
    SendPM(thisclient, "26 = Breezy Hills");
    SendPM(thisclient, "27 = Forest of Wisdom");
    SendPM(thisclient, "28 = Gorge of Silence");
    SendPM(thisclient, "29 = Crystal Snowfields");
    SendPM(thisclient, "30 = Marsh of Ghosts");
    SendPM(thisclient, "31 = Santa Planetoid");
    SendPM(thisclient, "Example; /go 3");
    }

    if( (x != 0) && (y != 0) && (map != 0) )
    {
    fPoint coord;
    coord.x = x;
    coord.y = y;
    MapList.Index[map]->TeleportPlayer( thisclient, coord, false );
    Log( MSG_GMACTION, " %s : /go %i" , thisclient->CharInfo->charname, loc);
    }
    return true;
    }
    compile the Server and have fun =P

    4shared.com - online file sharing and storage - download WorldServer.rar
    Last edited by icerok; 23-06-07 at 10:32 PM.


  2. #2
    Proficient Member babhie001 is offline
    MemberRank
    Sep 2005 Join Date
    philippinesLocation
    159Posts

    Re: /go 1 to 31

    lol this seems incomplete

  3. #3
    Enthusiast icerok is offline
    MemberRank
    May 2007 Join Date
    BrazilLocation
    38Posts

    Re: /go 1 to 31

    Xd

    =_=

  4. #4
    Account Upgraded | Title Enabled! blacksnow is offline
    MemberRank
    Nov 2005 Join Date
    Training Crusander CampLocation
    306Posts

    Re: /go 1 to 31

    oh thx u :D its not helpfull but its nice

  5. #5
    Monkey of NARose monkeyrose is offline
    MemberRank
    Jun 2007 Join Date
    MonkeyJungle NC,USALocation
    270Posts

    Re: /go 1 to 31

    I liked how the /go fit on the screen, so I added another go (go1/go2) with other locations as well. We just had to visit Santa!

  6. #6
    Enthusiast icerok is offline
    MemberRank
    May 2007 Join Date
    BrazilLocation
    38Posts

    Re: /go 1 to 31

    yes I even placed of NPC to go quicker

  7. #7
    Account Upgraded | Title Enabled! darkdeathfox is offline
    MemberRank
    Mar 2007 Join Date
    704Posts

    Re: /go 1 to 31

    Shouldn't this go in the release section?

  8. #8
    Devil myripper is offline
    MemberRank
    Aug 2006 Join Date
    ZodiacLocation
    199Posts

    Re: /go 1 to 31

    Your Welcome.

  9. #9
    Enthusiast GTmaster is offline
    MemberRank
    Apr 2007 Join Date
    PhilippinesLocation
    31Posts

    Re: /go 1 to 31

    LOL, you could add /go 1 until /go 999 it wouldn't really hit big unless you do something about the new maps like add some spawns or change some mobs..

    Anyway, just a tip.. add only places that are important.. i'd rather that you cancel Temple (deep places) so players have to go through the looong hallways just to get there. Give them some little challenge..

    But then again, it's always the admin's choice. LOL!

  10. #10
    Enthusiast icerok is offline
    MemberRank
    May 2007 Join Date
    BrazilLocation
    38Posts

    Re: /go 1 to 31

    Quote Originally Posted by darkdeathfox View Post
    Shouldn't this go in the release section?
    Sorry ^_^

    I placed /go to hinder /tele because somebody always goes for the wrong place.

    XD

  11. #11
    Enthusiast roughdraft is offline
    MemberRank
    Apr 2007 Join Date
    43Posts

    Re: /go 1 to 31

    what i will do next if i have paste it ....??


    coz i have compile it but its not working...?

  12. #12
    You don't know me. Paco44 is offline
    MemberRank
    Apr 2006 Join Date
    IllinoisLocation
    1,777Posts

    Re: /go 1 to 31

    Quote Originally Posted by roughdraft View Post
    what i will do next if i have paste it ....??


    coz i have compile it but its not working...?
    Reload your server..? It doesn't refresh itself you know.

    And thank you Icerok, I have added this to my file.

  13. #13
    Enthusiast icerok is offline
    MemberRank
    May 2007 Join Date
    BrazilLocation
    38Posts

    Re: /go 1 to 31

    I will be placing for download ja configured and compiled with the /go 1 to 31 and ash drop up to 250

  14. #14
    Enthusiast roughdraft is offline
    MemberRank
    Apr 2007 Join Date
    43Posts

    Re: /go 1 to 31

    ow thanks alot i hope it will work to me


    coz me i my server is not open when i have compiled it

    but it didnt work...??

    did the compiled and server should be on the same folder..?


    thanks i hope u can help me so it will be more clearer to me

  15. #15



Page 1 of 2 12 LastLast

Advertisement