Newbie Spellweaver
- Joined
- May 5, 2008
- Messages
- 9
- Reaction score
- 0
put this in Gamemasters.cpp at the bottom
Add these in NPCscrpits.h
NOTE: if this was already out, I put it because since the forum update not many people can enter old links, so i guess this is a re-release
Code:
void NPCsScripts::npc_9900001(NPC* npc){
int state = npc->getState();
int type = npc->getSelected();
npc->setVariable("type", type);
if(state == 0){
npc->addText("Welcome to My Private Server please select one of the below\r\n\r\n\r\n#L102#Go to a place#l\r\n#L100#View all GM commands#l\r\n#L101#View all GM's#l");
npc->sendSimple();
}
else if(state == 1){
if(type == 100){ // GM Commands
npc->addText("Here's a list with all GM commands. Please remember the server will crash when you don't type a mob id in the summon command.");
npc->addText("\r\n\r\n");
npc->addText("!map [MAP ID]\n\r");
npc->addText(" !summon [MOB ID] [AMOUNT]\n\r");
npc->addText(" !warp [PLAYER] [MAP]\n\r");
npc->addText(" !warpto [PLAYER]\n\r");
npc->addText(" !warptome [PLAYER]\n\r");
npc->addText(" !notice [TXT] (Blue notice)\n\r");
npc->addText(" !shop (GM shop)\n\r");
npc->addText(" !item [ITEMID] [AMOUNT]\n\r");
npc->addText(" !level [NUMBER]\n\r");
npc->addText(" !job [JOBID]\n\r");
npc->addText(" !ap [NUMBER]\n\r");
npc->addText(" !sp [NUMBER]\n\r");
npc->addText(" !killall (Kill all monsters at map)\n\r");
npc->addText(" !horntail (Summons Horntail\n\r");
npc->addText(" !heal (Heals you)\n\r");
npc->addText(" !kill all/gm/me/players\n\r");
npc->addText(" !zakum (Summons Zakum)\n\r");
npc->addText(" !header (Change's the header until server restarts)\n\r");
npc->sendSimple();
}
else if(type == 101){ // GM List
npc->addText("The following people are a GM:");
npc->addText("\r\n\r\n");
npc->addText("GM#1\r\n");
npc->addText("GM#2\r\n");
npc->addText("GM#3\r\n");
npc->addText("GM#4");
npc->sendSimple();
}
else if(type == 102){
npc->addText("#L0#Amherst#l\r\n#L1#Southperry#l\r\n#L2#Lith Harbour#l\r\n#L3#Henesys#l\r\n#L4#Ellinia#l\r\n#L5#Kerning City#l\r\n#L6#Perion#l\r\n#L7#Sleepywood#l\r\n#L8#Orbis#l\r\n#L9#El Nath#l\r\n#L10#Aquarium#l\r\n#L11#Korean Folk Town#l\r\n#L12#Ludibrium#l\r\n#L13#Omega Sector#l\r\n#L14#Amoria#l\r\n#L15#Mushroom Shrine#l\r\n#L16#New Leaf City#l\r\n#L17#Mu Lung#l\r\n#L18#Herb Town#l\r\n#L19#Leafre#l\r\n#L20#Haunted House#l\r\n#L21#Florina Beach#l\r\n#L22#Showa Town");
npc->sendSimple();
}
}
else if(state == 2){
if(type == 0){ // Amherst
npc->teleport(1010000);
}
else if(type == 1){ // Southperry
npc->teleport(60000);
}
else if(type == 2){ // Lith Harbour
npc->teleport(104000000);
}
else if(type == 3){ // Henesys
npc->teleport(100000000);
}
else if(type == 4){ // Ellinia
npc->teleport(101000000);
}
else if(type == 5){ // Kerning
npc->teleport(103000000);
}
else if(type == 6){ // Perion
npc->teleport(102000000);
}
else if(type == 7){ // Sleepywood
npc->teleport(105040300);
}
else if(type == 8){ // Orbis
npc->teleport(200000000);
}
else if(type == 9){ // El Nath
npc->teleport(211000000);
}
else if(type == 10){ // Aquarium
npc->teleport(230000000);
}
else if(type == 11){ // Korean Folk Town
npc->teleport(222000000);
}
else if(type == 12){ // Ludibrium
npc->teleport(220000000);
}
else if(type == 13){ // Omega Sector
npc->teleport(221000000);
}
else if(type == 14){ // Amoria
npc->teleport(680000000);
}
else if(type == 15){ // Mushroom Shrine
npc->teleport(800000000);
}
else if(type == 16){ // New Leaf City
npc->teleport(600000000);
}
else if(type == 17){ // Mu Lung
npc->teleport(250000000);
}
else if(type == 18){ // Herb Town
npc->teleport(251000000);
}
else if(type == 19){ // Leafre
npc->teleport(240000000);
}
else if(type == 20){ // Haunted House
npc->teleport(682000000);
}
else if(type == 21){ // Florina Beach
npc->teleport(110000000);
}
else if(type == 22){ // Showa Town
npc->teleport(801000000);
}
Code:
case 9900001: npc_9900001(npc); break;
Code:
static void npc_9900001(NPC* npc);
NOTE: if this was already out, I put it because since the forum update not many people can enter old links, so i guess this is a re-release