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!

Sera gives jobs and starter packs!

Status
Not open for further replies.
Legendary Battlemage
Joined
May 23, 2008
Messages
628
Reaction score
4
Heh... Someone on my server asked me to do this and since I haven't contribute much to this forum... here you go :)

THIS IS FOR ODIN!

Download link:

Code:
/* Sera
	First NPC on Map 0
*/
//Made by MeGoesRawr of CEF/Ragezone...SpinMs Forever! If you want to use this please just give credits to me. Copyright 2008.
var wui = 0;

function start() {
	cm.sendSimple ("hello im sera, kevin's bish! i can use my magical fairy powers to make you into a job and den ill give u some stuff luls! Okay, let's get serious now...If you need help type in #r@help#k. Now which job would you like to become? \r\n#L0##bSuper Beginner!#k #l\r\n#L1##bBowman#k #l\r\n#L2##bMagician#k #l\r\n#L3##bWarrior#k #l\r\n#L4##bRogue#k #l");
}

function action(mode, type, selection) {
cm.dispose();
	if (selection == 0) {
			
cm.gainMeso(100000000); 
		cm.gainItem(1082149, 1);
		cm.gainItem(1050018, 1);
		cm.gainItem(1051017, 1);
		cm.gainItem(2022199, 1000);
		cm.gainItem(1122007, 1);
		cm.gainItem(1082102, 1);
		cm.gainItem(1002425, 1);
		cm.gainItem(1072275, 1);
		cm.gainItem(5220000, 10);
		cm.gainItem(2040821, 7);
		cm.warp(100000000, 0);
		} else if (selection == 1) {
		cm.setLevel(10);
		cm.changeJob(net.sf.odinms.client.MapleJob.BOWMAN);
		cm.gainMeso(100000000); 
		cm.gainItem(1082149, 1);
		cm.gainItem(1050018, 1);
		cm.gainItem(1051017, 1);
		cm.gainItem(2022199, 1000);
		cm.gainItem(1122007, 1);
		cm.gainItem(1082102, 1);
		cm.gainItem(1002425, 1);
		cm.gainItem(1072275, 1);
		cm.gainItem(5220000, 10);
		cm.gainItem(2040821, 7);
		cm.warp(100000000, 0);
		} else if (selection == 2) {
		cm.setLevel(8);
				cm.changeJob(net.sf.odinms.client.MapleJob.MAGICIAN);
		cm.gainMeso(100000000); 
		cm.gainItem(1082149, 1);
		cm.gainItem(1050018, 1);
		cm.gainItem(1051017, 1);
		cm.gainItem(2022199, 1000);
		cm.gainItem(1122007, 1);
		cm.gainItem(1082102, 1);
		cm.gainItem(1002425, 1);
		cm.gainItem(1072275, 1);
		cm.gainItem(5220000, 10);
		cm.gainItem(2040817, 7);
		cm.warp(100000000, 0);
		} else if (selection == 3) {
		cm.setLevel(10);
		cm.changeJob(net.sf.odinms.client.MapleJob.WARRIOR);
		cm.gainMeso(100000000); 
		cm.gainItem(1082149, 1);
		cm.gainItem(1050018, 1);
		cm.gainItem(1051017, 1);
		cm.gainItem(2022199, 1000);
		cm.gainItem(1122007, 1);
		cm.gainItem(1082102, 1);
		cm.gainItem(1002425, 1);
		cm.gainItem(1072275, 1);
		cm.gainItem(5220000, 10);
		cm.gainItem(2040821, 7);
		cm.warp(100000000, 0);
		} else if (selection == 4) {
		cm.setLevel(10)
		cm.changeJob(net.sf.odinms.client.MapleJob.THIEF)
		cm.gainMeso(100000000); 
		cm.gainItem(1082149, 1);
		cm.gainItem(1050018, 1);
		cm.gainItem(1051017, 1);
		cm.gainItem(2022199, 1000);
		cm.gainItem(1122007, 1);
		cm.gainItem(1082102, 1);
		cm.gainItem(1002425, 1);
		cm.gainItem(1072275, 1);
		cm.gainItem(5220000, 10);
		cm.gainItem(2040821, 7);
		cm.warp(100000000, 0);
		cm.dispose();
		}

	if (mode == 0 || wui == 1) {
		cm.dispose();
	} else {
		wui = 1;
		var statup = new java.util.ArrayList();
		var p = cm.c.getPlayer();
		var totAp = p.getRemainingAp() + p.getStr() + p.getDex() + p.getInt() + p.getLuk();
		p.setStr(4);
		p.setDex(4);
		p.setInt(4);
		p.setLuk(4);
		p.setRemainingAp (totAp - 16);
		statup.add (new net.sf.odinms.tools.Pair(net.sf.odinms.client.MapleStat.STR, java.lang.Integer.valueOf(4)));
		statup.add (new net.sf.odinms.tools.Pair(net.sf.odinms.client.MapleStat.DEX, java.lang.Integer.valueOf(4)));
		statup.add (new net.sf.odinms.tools.Pair(net.sf.odinms.client.MapleStat.LUK, java.lang.Integer.valueOf(4)));
		statup.add (new net.sf.odinms.tools.Pair(net.sf.odinms.client.MapleStat.INT, java.lang.Integer.valueOf(4)));
		statup.add (new net.sf.odinms.tools.Pair(net.sf.odinms.client.MapleStat.AVAILABLEAP, java.lang.Integer.valueOf(p.getRemainingAp())));

		p.getClient().getSession().write (net.sf.odinms.tools.MaplePacketCreator.updatePlayerStats(statup));
		cm.sendOk ("Have fun on the best server in the world, #bSpinMs#k!");
	}
}
 
Last edited:
Experienced Elementalist
Joined
Jun 22, 2008
Messages
264
Reaction score
0
Re: [Release]Sera gives jobs and starter packs!

Shweet, -Thumbs UP-

Ty, ^^
~dXm
 
Newbie Spellweaver
Joined
Jul 5, 2008
Messages
30
Reaction score
0
Re: [Release]Sera gives jobs and starter packs!

Yeah Sweet Too ^_^
 
Experienced Elementalist
Joined
Jul 18, 2008
Messages
232
Reaction score
0
Re: [Release]Sera gives jobs and starter packs!

help ful thanks!
 
Experienced Elementalist
Joined
Jul 18, 2008
Messages
232
Reaction score
0
Re: [Release]Sera gives jobs and starter packs!

but can you helpe me with something/
 
Experienced Elementalist
Joined
Jul 18, 2008
Messages
232
Reaction score
0
Re: [Release]Sera gives jobs and starter packs!

hw do i edit the items she gives
 
Experienced Elementalist
Joined
Jul 18, 2008
Messages
232
Reaction score
0
Re: [Release]Sera gives jobs and starter packs!

ty for answer
 
Legendary Battlemage
Joined
May 23, 2008
Messages
628
Reaction score
4
Re: [Release]Sera gives jobs and starter packs!

where it says gainItem(numbers)
Replace numbers with the item ID
 
Newbie Spellweaver
Joined
Jul 7, 2008
Messages
7
Reaction score
0
Re: [Release]Sera gives jobs and starter packs!

uuhh wat do i do with it?
 
Newbie Spellweaver
Joined
Jul 7, 2008
Messages
7
Reaction score
0
Re: [Release]Sera gives jobs and starter packs!

and is it titan ms source?
 
Newbie Spellweaver
Joined
May 25, 2008
Messages
98
Reaction score
0
Re: [Release]Sera gives jobs and starter packs!

So what item's does it give?
 
Newbie Spellweaver
Joined
Apr 28, 2008
Messages
7
Reaction score
0
Re: [Release]Sera gives jobs and starter packs!

Great release
 
Legendary Battlemage
Joined
May 23, 2008
Messages
628
Reaction score
4
Re: [Release]Sera gives jobs and starter packs!

This is odin source
 
Newbie Spellweaver
Joined
May 25, 2008
Messages
98
Reaction score
0
Re: [Release]Sera gives jobs and starter packs!

Hey, the only problem is it doesn't give HP and MP.
 
Legendary Battlemage
Joined
May 23, 2008
Messages
628
Reaction score
4
Re: [Release]Sera gives jobs and starter packs!

Why should it give hp and mp...?
I can do that... But i'm asking you why O_O
 
Newbie Spellweaver
Joined
May 18, 2008
Messages
6
Reaction score
0
Re: [Release]Sera gives jobs and starter packs!

Not to be noob, but i am so yeah... but which file do u put this in?
im new to odinms source, usually using titan, but takes up to much space, and i don't have much memory left, so now im using odin, but which file does this go in?
 
Legendary Battlemage
Joined
May 23, 2008
Messages
628
Reaction score
4
Re: [Release]Sera gives jobs and starter packs!

You put it in your scripts/npc/ folder
Replace if you want to
 
Newbie Spellweaver
Joined
Jul 13, 2008
Messages
81
Reaction score
0
Re: [Release]Sera gives jobs and starter packs!

AWeSOME
 
Experienced Elementalist
Joined
Apr 3, 2008
Messages
239
Reaction score
8
Re: [Release]Sera gives jobs and starter packs!

Not working for me? It doesn't change the job nor warp to the map.
 
Status
Not open for further replies.
Back
Top