Excellzone

Forum and disscussions since 2010


You are not connected. Please login or register

View previous topic View next topic Go down Message [Page 1 of 1]

#1
Excell

avatar
Head Administer
Head Administer
Hey...
I have made the go command 1-37 with Level accept
Eldeon /go commands for level 90+
Luna /go commands for level 40+
Goblin Cave /go commands for level 45+
Forgotten Temple /go commands for level 70+
Sikuku Underground Prison /go command for level 160+

\World Server\gmcmds.cpp



Quote:
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)
{
if (thisclient->Stats->Level<40) // by VatriXxX
{
SendPM(thisclient, "You need to be a least Level 40 to visit Eucar!");
return true;
}
map = 51;
x = 5357;
y = 5013;
}
else if (loc == 5)
{
if (thisclient->Stats->Level<90) // by VatriXxX
{
SendPM(thisclient, "You need to be a least Level 90 to visit Xita Refuge!");
return true;
}
map = 61;
x = 5434;
y = 4569;
}
else if (loc == 6)
{
map = 21;
x = 5158;
y = 5352;
}
else if (loc == 7)
{
map = 23;
x = 5341;
y = 5071;
}
else if (loc == Cool
{
map = 24;
x = 5379;
y = 5329;
}
else if (loc == 9)
{
map = 25;
x = 5377;
y = 5185;
}
else if (loc == 10)
{
map = 26;
x = 5671;
y = 5107;
}
else if(loc == 11)
{
map = 27;
x = 5479;
y = 4976;
}
else if (loc == 12)
{
map = 28;
x = 5587;
y = 4734;
}
else if (loc == 13)
{
if (thisclient->Stats->Level<40) // by VatriXxX
{
SendPM(thisclient, "You need to be a least Level 40 to visit Freezing Plateau!");
return true;
map = 55;
x = 5789;
y = 4619;
}
else if (loc == 14)
{
if (thisclient->Stats->Level<40) // by VatriXxX
{
SendPM(thisclient, "You need to be a least Level 40 to visit Crystal Snowfields!");
return true;
map = 54;
x = 5094;
y = 4254;
}
else if (loc == 15)
{
if (thisclient->Stats->Level<40) // by VatriXxX
{
SendPM(thisclient, "You need to be a least Level 40 to visit Arumic Valley!");
return true;
map = 53;
x = 6229;
y = 5313;
}
else if (loc == 16)
{
if (thisclient->Stats->Level<40) // by VatriXxX
{
SendPM(thisclient, "You need to be a least Level 40 to visit Mana Snowfield!");
return true;
map = 52;
x = 6079;
y = 5269;
}
else if (loc == 17)
{
if (thisclient->Stats->Level<45) // by VatriXxX
{
SendPM(thisclient, "You need to be a least Level 45 to visit Goblin Cave (B1)!");
return true;
map = 31;
x = 5516;
y = 5437;
}
else if (loc == 18)
{
if (thisclient->Stats->Level<45) // by VatriXxX
{
SendPM(thisclient, "You need to be a least Level 45 to visit Goblin Cave (B2)!");
return true;
map = 32;
x = 5435;
y = 5259;
}
else if (loc == 19)
{
if (thisclient->Stats->Level<45) // by VatriXxX
{
SendPM(thisclient, "You need to be a least Level 45 to visit Goblin Cave (B3)!");
return true;
map = 33;
x = 5605;
y = 5488;
}
else if (loc == 20)
{
if (thisclient->Stats->Level<70) // by VatriXxX
{
SendPM(thisclient, "You need to be a least Level 70 to visit Forgotten Temple (B1)!");
return true;
map = 56;
x = 5035;
y = 5200;
}
else if (loc == 21)
{
if (thisclient->Stats->Level<70) // by VatriXxX
{
SendPM(thisclient, "You need to be a least Level 70 to visit Forgotten Temple (B2)!");
return true;
map = 57;
x = 5540;
y = 5145;
}
else if (loc == 22)
{
if (thisclient->Stats->Level<90) // by VatriXxX
{
SendPM(thisclient, "You need to be a least Level 90 to visit Shady Jungle!");
return true;
map = 62;
x = 5846;
y = 5206;
}
else if (loc == 23)
{
if (thisclient->Stats->Level<90) // by VatriXxX
{
SendPM(thisclient, "You need to be a least Level 90 to visit Marsh of Ghosts!");
return true;
map = 64;
x = 5197;
y = 5157;
}
else if (loc == 24)
{
if (thisclient->Stats->Level<90) // by VatriXxX
{
SendPM(thisclient, "You need to be a least Level 90 to visit Forest of Wandering!");
return true;
map = 63;
x = 5407;
y = 4481;
}
else if (loc == 25)
{
if (thisclient->Stats->Level<160) // by Terr0risT
{
SendPM(thisclient, "You need to be a least Level 160 to visit Sikuku Prison Underground!");
return true;
}
map = 65;
x = 5485;
y = 5285;
}
else if(loc == 26)
{
map = 37;
x = 5184;
y = 5256;
}
else if (loc == 27)
{
if (thisclient->Stats->Level<90) // by VatriXxX
{
SendPM(thisclient, "You need to be a least Level 90 to visit Lion's Plains!");
return true;
map = 8;
x = 5160;
y = 5080;
}
else if (loc == 28)
{
if (thisclient->Stats->Level<40) // by VatriXxX
{
SendPM(thisclient, "You need to be a least Level 40 to visit Mount Eruca!");
return true;
map = 58;
x = 5680;
y = 4287;
}
else if (loc == 29)
{
if (thisclient->Stats->Level<90) // by VatriXxX
{
SendPM(thisclient, "You need to be a least Level 90 to visit Luna Clanfield!");
return true;
map = 59;
x = 5102;
y = 5132;
}
else if (loc == 30)
{
if (thisclient->Stats->Level<30) // by VatriXxX
{
SendPM(thisclient, "You need to be a least Level 30 to visit Junon Clanfield Level 30-49!");
return true;
map = 11;
x = 5400;
y = 5200;
}
else if (loc == 31)
{
if (thisclient->Stats->Level<50) // by VatriXxX
{
SendPM(thisclient, "You need to be a least Level 50 to visit Junon Clanfield Level 50-69!");
return true;
map = 12;
x = 5400;
y = 5200;
}
else if (loc == 32)
{
if (thisclient->Stats->Level<70) // by VatriXxX
{
SendPM(thisclient, "You need to be a least Level 70 to visit Junon Clanfield Level 70-89!");
return true;
map = 13;
x = 5400;
y = 5200;
}
else if (loc == 33)
{
map = 20;
x = 5035;
y = 5149;
}
else if (loc == 34)
{
map = 22;
x = 5113;
y = 5261;
}
else if (loc == 35)
{
map = 38;
x = 5074;
y = 5342;
}
else if (loc == 36)
{
map = 6;
x = 5243;
y = 5240;
}
else if (loc == 37)
{
map = 29;
x = 5093;
y = 5144;
}
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 LvL1-13");
SendPM(thisclient, "2 = The city of Zant LvL12-25");
SendPM(thisclient, "3 = Junon Polis LvL36-41");
SendPM(thisclient, "4 = The city of Eucar LvL72-77");
SendPM(thisclient, "5 = Xita Refuge");
SendPM(thisclient, "6 = Valley of Luxem Tower LvL9-15");
SendPM(thisclient, "7 = Breezy Hills LvL15-26");
SendPM(thisclient, "8 = El Verloon Desert LvL20-35");
SendPM(thisclient, "9 = Anima Lake LvL30-44");
SendPM(thisclient, "10 = Forest of Wisdom LvL 42-60");
SendPM(thisclient, "11 = Kenji Beach LvL58-85");
SendPM(thisclient, "12 = Gorge of Silence LvL82-94");
SendPM(thisclient, "13 = Freezing Plateau LvL76-85");
SendPM(thisclient, "14 = Crystal Snowfields LvL83-91");
SendPM(thisclient, "15 = Arumic Valley LvL91-114");
SendPM(thisclient, "16 = Mana Snowfield LvL 111-130");
SendPM(thisclient, "17 = Goblin Cave (B1)");
SendPM(thisclient, "18 = Goblin Cave (B2)");
SendPM(thisclient, "19 = Goblin Cave (B3)");
SendPM(thisclient, "20 = Forgotten Temple (B1)");
SendPM(thisclient, "21 = Forgotten Temple (B2");
SendPM(thisclient, "22 = Shady Jungle");
SendPM(thisclient, "23 = Marsh of Ghosts");
SendPM(thisclient, "24 = Forest of Wandering");
SendPM(thisclient, "25 = Sikuku Underground Prison");
SendPM(thisclient, "26 = Sunshine Coast");
SendPM(thisclient, "27 = Lion's Plains");
SendPM(thisclient, "28 = Mount Eruca");
SendPM(thisclient, "29 = Luna Clan Field");
SendPM(thisclient, "30 = Junon Clan Field (30-49");
SendPM(thisclient, "31 = Junon Clan Field (50-69");
SendPM(thisclient, "32 = Junon Clan Field (70-89)");
SendPM(thisclient, "33 = [Storage] Fabrizio");
SendPM(thisclient, "34 = [Visitor Guide] Arua's Fairy");
SendPM(thisclient, "35 = Santa Planetoid");
SendPM(thisclient, "36 = Training grounds");
SendPM(thisclient, "37 = Desert of the Dead");
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;
}


View user profile http://excellzone.mrforum.net

View previous topic View next topic Back to top Message [Page 1 of 1]


Permissions in this forum:
You cannot reply to topics in this forum