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!

[Release] Showa Transportrator (WORKING)

Status
Not open for further replies.
Experienced Elementalist
Joined
Apr 13, 2008
Messages
211
Reaction score
0
Realy simple, i made a showa transportrator from Popo, an npc on the left part of showa.
picture:
npmaple - [Release] Showa Transportrator (WORKING) - RaGEZONE Forums

he will take you from showa to anywhere in victoria island, and to mushroom shrine.

ok now codes.
put this in your Teleporters.cpp or TeleportNPCs.cpp whatever you got:
Code:
//SHOWA2 POPO
//by npmaple
void NPCsScripts::npc_9120014(NPC* npc){
	int state = npc->getState();
	if(state == 0){
		npc->addText("What’s up? Im Popo, the showa transportrator. think of me as a taxi. i can take you (almost) anywhere in victoria island.");
		npc->addText("Remember that you can always come back from transportrators at lith harbor, henesys and perion.");
		npc->sendNext();
	}
	if(state == 1){
		npc->addText("Please choose where you would like to go:\r\n#L0#Henesys#l\r\n#L1#Ellinia#l\r\n#L2#Lith Harbor#l\r\n#L3#Perion#l\r\n#L4#Mushroom Shrine#l");
		npc->sendSimple();
	}
	if(state == 2){
		type = npc->getSelected();
		npc->setVariable("type", type);
		if(type == 0){ // Heneseys
			npc->addText("You don’t have anything else to do here, huh? Do you really want to go to #bHeneseys#k?");
			npc->sendYesNo();
		}
		else if(type == 1){ // Ellinia
			npc->addText("You don’t have anything else to do here, huh? Do you really want to go to #bEllinia#k?");
			npc->sendYesNo();			
		}
		else if(type == 2){ // Lith Harbor
			npc->addText("You don’t have anything else to do here, huh? Do you really want to go to #bLith Harbor#k?");
			npc->sendYesNo();
		}
		else if(type == 3){ // Perion
			npc->addText("You don’t have anything else to do here, huh? Do you really want to go to #bPerion#k?");
			npc->sendYesNo();
		}
		else if(type == 4){ // Mushroom Shrine
			npc->addText("You don’t have anything else to do here, huh? Do you really want to go to #bMushroom Shrine#k?");
			npc->sendYesNo();
		}
	}
	if(state == 3 && type == 0){
		if(npc->getSelected() == YES){
			npc->end();
			npc->teleport(100000000);
		}
		else{
			npc->addText("There’s a lot to see in this town, too. Come back and find me when you need to go to a different town.");
			npc->sendOK();
		}
		npc->end();
	}
	if(state == 3 && type == 1){
		if(npc->getSelected() == YES){
			npc->teleport(101000000);
		}
		else{
			npc->addText("There’s a lot to see in this town, too. Come back and find me when you need to go to a different town.");
			npc->sendOK();
		}
		npc->end();
	}
	if(state == 3 && type == 2){
		if(npc->getSelected() == YES){
			npc->teleport(104000000);
		}
		else{
			npc->addText("There’s a lot to see in this town, too. Come back and find me when you need to go to a different town.");
			npc->sendOK();
		}
		npc->end();
	}
	if(state == 3 && type == 3){
		if(npc->getSelected() == YES){
			npc->teleport(102000000);
		}
		else{
			npc->addText("There’s a lot to see in this town, too. Come back and find me when you need to go to a different town.");
			npc->sendOK();
		}
		npc->end();
	}
		if(state == 3 && type == 4){
		if(npc->getSelected() == YES){
			npc->teleport(800000000);
		}
		else{
			npc->addText("There’s a lot to see in this town, too. Come back and find me when you need to go to a different town.");
			npc->sendOK();
		}
		npc->end();
	}
}
//by npmaple

and these to NPCsScripts.h, you whould know where to put them:
Code:
case 9120014: npc_9120014(npc); break; //Popo: Showa
Code:
static void npc_9120014(NPC* npc); //Popo: Showa

and now you are done!
you can use these to get to showa:
http://forum.ragezone.com/f427/release-spinel-warps-mushroom-shrine-showa-387336/
or
http://forum.ragezone.com/f427/release-perry-npc-get-you-into-showa-towen-387272/ (needs update lol)
or the updated taxi from MapleFXP repack...

CREDITS: ME FOR MAKING THIS NPC!
and to whoever made the first normal taxi, cuz i used it's script.
 
Last edited:
Experienced Elementalist
Joined
Apr 13, 2008
Messages
211
Reaction score
0
Re: [Realese] Showa Transportrator

BTW tested and full working!
 
Custom Title Activated
Loyal Member
Joined
Apr 5, 2008
Messages
1,025
Reaction score
5
Re: [Realese] Showa Transportrator

hi you messed something up. you need to space out the ELSEIF to else if
 
Experienced Elementalist
Joined
Apr 13, 2008
Messages
211
Reaction score
0
Re: [Realese] Showa Transportrator (WORKING)

yea i see
fixing
but you know
you can change that alone if you want
 
Kaotic Owner
Loyal Member
Joined
Oct 12, 2005
Messages
1,282
Reaction score
70
Re: [Realese] Showa Transportrator (WORKING)

does anyone have the XML files for showa cuz i cant find them anywhere and im using the rev 7 xml files.
 
Newbie Spellweaver
Joined
Dec 12, 2007
Messages
54
Reaction score
0
Re: [Realese] Showa Transportrator (WORKING)

does anyone have the XML files for showa cuz i cant find them anywhere and im using the rev 7 xml files.

Sorry to be a witch and all. Read the Forum rules, no requesting for files...

Apart from that, Nice work! Keep it up!

meh.. if it hasn't been released yet this is Konpei

Credits: anonymus >_> got it off some repack 4got which one lmao.. If you can get the name PM me or post here i'll edit the post

Code:
void NPCsScripts::npc_9120015(NPC* npc){ //Konpei - Showa
	int state = npc->getState();
	if(state == 0){
		npc->addText("Yo, you think you're tough? Pfft, meet me at the hideout.");
		npc->sendNext();
	}
	else if(state == 1){
		npc->addText("You wanna goto the hideout now?");
		npc->sendYesNo();
	}
	else if(state == 2){
		if(npc->getSelected() == YES){
			npc->end();
			npc->teleport(801040000);
		}
		else {
			npc->addText("Yea, whatever.");
			npc->sendOK();
		}
	}
	else if(state == 3){
		npc->end();
	}
}

void NPCsScripts::npc_9120200(NPC* npc){ // Konpei - Hideout
	int state = npc->getState();
	if(state == 0){
		npc->addText("What!? Leaving already?");
		npc->sendNext();
	}
	else if(state == 1){
		npc->addText("You wanna goto back to Showa?");
		npc->sendYesNo();
	}
	else if(state == 2){
		if(npc->getSelected() == YES){
			npc->end();
			npc->teleport(801000000);
		}
		else {
			npc->addText("Yea, whatever.");
			npc->sendOK();
		}
	}
	else if(state == 3){
		npc->end();
	}
}

And in NPCScripts.h
Code:
case 9120015: npc_9120015(npc); break;	//Konpei: Showa
case 9120200: npc_9120200(npc); break;	//Konpei: Near the hideout

Code:
static void npc_9120015(NPC* npc); //Konpei: Showa
static void npc_9120200(NPC* npc); //Konpei: Near the hideout

*note* credits not me... found it in my TeleporterNPCs.cpp file
 
Experienced Elementalist
Joined
Apr 6, 2008
Messages
296
Reaction score
3
Re: [Realese] Showa Transportrator (WORKING)

See that would be a good anti-leech that would be good and funny. Keeping the elseif kept together so they cant just copy/paste but its REAL easy to fix lmao :p

But nice work adding in now
 
Experienced Elementalist
Joined
Apr 13, 2008
Messages
211
Reaction score
0
Re: [Realese] Showa Transportrator (WORKING)

Sorry to be a witch and all. Read the Forum rules, no requesting for files...

Apart from that, Nice work! Keep it up!

meh.. if it hasn't been released yet this is Konpei

Credits: anonymus >_> got it off some repack 4got which one lmao.. If you can get the name PM me or post here i'll edit the post

Code:
void NPCsScripts::npc_9120015(NPC* npc){ //Konpei - Showa
    int state = npc->getState();
    if(state == 0){
        npc->addText("Yo, you think you're tough? Pfft, meet me at the hideout.");
        npc->sendNext();
    }
    else if(state == 1){
        npc->addText("You wanna goto the hideout now?");
        npc->sendYesNo();
    }
    else if(state == 2){
        if(npc->getSelected() == YES){
            npc->end();
            npc->teleport(801040000);
        }
        else {
            npc->addText("Yea, whatever.");
            npc->sendOK();
        }
    }
    else if(state == 3){
        npc->end();
    }
}

void NPCsScripts::npc_9120200(NPC* npc){ // Konpei - Hideout
    int state = npc->getState();
    if(state == 0){
        npc->addText("What!? Leaving already?");
        npc->sendNext();
    }
    else if(state == 1){
        npc->addText("You wanna goto back to Showa?");
        npc->sendYesNo();
    }
    else if(state == 2){
        if(npc->getSelected() == YES){
            npc->end();
            npc->teleport(801000000);
        }
        else {
            npc->addText("Yea, whatever.");
            npc->sendOK();
        }
    }
    else if(state == 3){
        npc->end();
    }
}
And in NPCScripts.h
Code:
case 9120015: npc_9120015(npc); break;    //Konpei: Showa
case 9120200: npc_9120200(npc); break;    //Konpei: Near the hideout
Code:
static void npc_9120015(NPC* npc); //Konpei: Showa
static void npc_9120200(NPC* npc); //Konpei: Near the hideout
*note* credits not me... found it in my TeleporterNPCs.cpp file

konpei is alredy realesed LONG ago......
anyway, about the one the requsted showa maps, you have 2 options:
1. use a repack (alredy in it)
or
2. use a DB (MySQL) database, showa is in there too.
 
Status
Not open for further replies.
Back
Top