Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Mia Boss Warper (TitanMs)

Status
Not open for further replies.
Initiate Mage
Joined
Jul 14, 2008
Messages
36
Reaction score
0
Heey guys
This is a simple guide on how to add Mia as a Boss Warper

Warning: You need to have the TeleporterNPC's Installed for this to work
http://forum.ragezone.com/showthread.php?t=381575/

Okay open TeleporterrNPC's.cpp

Place this code in it (doesn't really matter where)
Code:
// Mia Boss warper
void NPCsScripts::npc_9010002(NPC* npc){	
	int state = npc->getState();
if(state == 0){
    npc->addText("Heey What boss do you want to go fight? ~~Happy Exploring <3\r\n#L2#Mushmom#l\r\n#L3#Zombie Mushmom#l\r\n#L4#Jr.Balrog#l\r\n#L5#Headless Horsman#l\r\n#L6#Manon#l\r\n#L7#Griffey#l\r\n#L8#Pianus#l\r\n#L9#Black Crow#l\r\n#L10#Female Boss#l\r\n#L11#Blue Mushmom#l");
    npc->sendSimple();
}
if(state == 1){
int type = npc->getSelected();
npc->end();
npc->setVariable("type", type);
if(type == 2){    // Mushmom
npc->teleport(100000005);
}
else if(type == 3){ // Zombie Mushmom
npc->teleport(105070002);
}
else if(type == 4){ // Jr.Balrog
npc->teleport(105090900);
}
else if(type == 5){ // Headless Horsman
npc->teleport(682000001);
}
else if(type == 6){ // Manon
npc->teleport(240020401);
}
else if(type == 7){ // Griffey
npc->teleport(240020101);
}
else if(type == 8){ // Pianus
npc->teleport(230040420);
}
else if(type == 9){ // Black Crow
npc->teleport(800020130);
}
else if(type == 10){ // Female Boss
npc->teleport(801040003);
}
else if(type == 11){ // Blue Mushmom
npc->teleport(800010100);
}
}
}
Okay no open NPC'sScripts.h

Place this with all the other TeleporterNPC case's

Code:
case 9010002: npc_9010002(npc); break; // Mia Boss Warper

Then place
Code:
static void npc_9010002(NPC* npc);
With all the other Teleporter Static void's

Now Dubug and run and it should work

Thanks

~~iSavage
 
Status
Not open for further replies.
Back
Top