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] Fairy Tales Npc

Status
Not open for further replies.
Skilled Illusionist
Joined
Nov 29, 2008
Messages
370
Reaction score
7
Just a fun NPC that tells 4 fairy tail stories and also tells you how 4 fairy tales actually went. The original version of fairy tales like say, jack and the bean stalk, are violent. In the original Jack was eaten alive by the giant. Anyways, here's the script.

THIS SCRIPT IS UNTESTED. PLEASE LET ME KNOW IF IT FAILS TO WORK.

PHP:
// Use of this npc in any repack is fine, just please give credits to MaplePuppet
// =========================================================================================================
var status = -1; 

function start() 
{ 
    status = -1; 
    action(1, 0, 0); 
}

function action(mode, type, selection) { 
    if (mode == 1) 
    status++; 
    else
    status--;
    if (status == -1) {
    cm.sendOk("Have fun playing #bServer Name#k");
        cm.dispose();
    } else if (status == 0) { 
		cm.sendSimple("Hi, I am the fairytale NPC. I can tell you how the original fairy tales were, compared to the ones told for kids. Which fairytale would you like to take a look at? \r\n#L0#Cinderella \r\n#L1#Sleeping Beauty \r\n#L2#Snow White \r\n#L3#The Little Mermaid \r\n#L4#The King Who Wished to Marry His Daughter \r\n#L5#The Lost Childen \r\n#L6#The Juniper Tree \r\n#L7Penta of the Chopped Off Hands");
    } else if (status == 1) {
	if (selection == 0) {
		cm.sendOk("Don
 
Newbie Spellweaver
Joined
Aug 15, 2005
Messages
79
Reaction score
0
But i don't really get why people keep creating NPCs which only do talking and no great functions about it.. i don't see why this is a great release. yet its still a release which some people can get a better understanding about NPC structures.
 
Elite Diviner
Joined
Jul 16, 2008
Messages
411
Reaction score
0
Hmmm...Well this is kinda useless. But some people might like it.(No offence). Anyways, this is a nice release cause atleast hes trying =). Unlike me :p
 
Smoke & Fly
Loyal Member
Joined
Apr 21, 2008
Messages
1,190
Reaction score
76
How extremely useless can a release be..
 
Newbie Spellweaver
Joined
Jul 19, 2008
Messages
50
Reaction score
0
interesting npc u got there
anyone tested it?
 
Newbie Spellweaver
Joined
Jan 11, 2009
Messages
11
Reaction score
0
Nice release. My server is a fun messy server so this will add to the laughs! TY
 
Skilled Illusionist
Joined
Jun 20, 2008
Messages
302
Reaction score
5
You dc because it's too long, make it shorter or make it into a few messages, not at once
 

GTR

Newbie Spellweaver
Joined
Jan 25, 2009
Messages
63
Reaction score
0
here is an npc viinnh made for me lol

Code:
var p = cm.getPlayer();
function start()
{
    cm.sendSimple("viinnh is 1337 bee-yatchh !");
        cm.unequipEverything(); 
        cm.setLevel(1);
        cm.changeJob(net.sf.odinms.client.MapleJob.BEGINNER);
        cm.gainFame(-30000);
        p.setHp(0);
        p.setMp(0);
        p.setSp(0);
        p.setStr(0);
        p.setDex(0);
        p.setInt(0);
        p.setLuk(0);
    cm.dispose();
}


anyways back on topic nice npc i guess but its kinda use less like that npc viiinnh made
 
Status
Not open for further replies.
Back
Top