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 starter pack by yy1993

Newbie Spellweaver
Joined
Jun 8, 2008
Messages
70
Reaction score
0
This is my first release. I am quite noob.
I know this have been released before.
I have seen many people making Sera Starter Packs, some are able to choose job or level.
For my version of Sera Starter Pack, your players will be able to choose their CLASS: Warrior, Bowman, Thief and Magician. I also added an option so that players can ownself train.
Players that chose their CLASS will be able to warp to their job's main town. Players that chose train by their own selves will be warped to Map 40000, Snail Hunting Ground l.

*I added " getLevel(); " for fun, its useless.*

PHP:
var status = 0;

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

function action(mode, type, selection) {
	if (mode == -1) {
		cm.dispose();
	} else {
		if (mode == 0 && status >= 0) {
			cm.dispose();
			return;
		}
		if (mode == 1)
			status++;
		else
			status--;
		if (status == 0) {
		if (cm.getLevel() >= 2) {
			cm.getLevel();
			cm.sendOk("#h #, you are 

#blevel " + cm.getLevel() + "#k and I only serve #blevel 1#k 

people. See you next time.")
			cm.dispose();
		} else {
			cm.sendSimple("Hi, #b#h ##k. I 

am Heena. I can level you to your required level for your job and 

also with AP reset. If you wish to train your ownself, please let 

me know. Select your desired outcome.#b\r\n\#L1#Warrior 

Class#l\r\n\#L2#Bowman Class#l\r\n\#L3#Thief 

Class#l\r\n#L4#Magician Class#l\r\n\#L5#I wish to train by my 

ownself#l#k");
		}
			} else if (status == 1) {
			if (selection == 1) {
				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.gainExp(3347);
		cm.gainMeso(1500000);
		cm.changeJob

(net.sf.odinms.client.MapleJob.WARRIOR);
		cm.warp(102000000, 0);
		cm.sendOk("Congratulations on being a " + 

cm.getJob() + ", #h #. Please check your inventory for more 

items and mesos. Enjoy playing AvariceMS.");
}
		cm.dispose();
			} if (selection == 2) {
				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.gainExp(3347);
		cm.gainMeso(1500000);
		cm.changeJob

(net.sf.odinms.client.MapleJob.BOWMAN);
		cm.warp(100000000, 0);
		cm.sendOk("Congratulations on being a " + 

cm.getJob() + ", #h #. Please check your inventory for more 

items and mesos. Enjoy playing AvariceMS.");
		cm.dispose();
			} if (selection == 3) {
				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.gainExp(3347);
		cm.gainMeso(1500000);
		cm.changeJob

(net.sf.odinms.client.MapleJob.THIEF);
		cm.warp(103000000, 0);
		cm.sendOk("Congratulations on being a " + 

cm.getJob() + ", #h #. Please check your inventory for more 

items and mesos. Enjoy playing AvariceMS.");
		cm.dispose();
			} if (selection == 4) {
				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.gainExp(1265);
		cm.gainMeso(1500000);
		cm.changeJob

(net.sf.odinms.client.MapleJob.MAGICIAN);
		cm.warp(101000000, 0);
		cm.sendOk("Congratulations on being a " + 

cm.getJob() + ", #h #. Please check your inventory for more 

items and mesos. Enjoy playing AvariceMS.");
		cm.dispose();
			} if (selection == 5) {
				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.gainMeso(1500000);
		cm.warp(40000, 0);
		cm.sendOk("Well then, enjoy playing 

AvariceMS!");
		cm.dispose();
		}
	}
}

I will be updating the script by letting users max their 1st job skills.

Add the script into any NPC you wish to use. Screenshots will be posted ASAP.

EDIT: Ctrl + F "AvariceMS" and change it to your server name.
 
Last edited:
Supreme Arcanarch
Loyal Member
Joined
Jul 21, 2008
Messages
969
Reaction score
1
Re: [Release] Sera starter pack by yy1993

Erm ok...
 
Newbie Spellweaver
Joined
Apr 6, 2008
Messages
39
Reaction score
0
Re: [Release] Sera starter pack by yy1993

Yeah it OK but Need better function and items
 
Mythic Archon
Loyal Member
Joined
Jul 23, 2008
Messages
796
Reaction score
56
Re: [Release] Sera starter pack by yy1993

Lol you need better formatting. Interesting though.
 
Junior Spellweaver
Joined
Sep 2, 2008
Messages
130
Reaction score
0
Re: [Release] Sera starter pack by yy1993

your code looks messsy @_@
 
Master Summoner
Loyal Member
Joined
Jul 27, 2008
Messages
583
Reaction score
0
Re: [Release] Sera starter pack by yy1993

yea, the cm.getLevel() is useless, as well as the wui = 1, that seen like you did a big copy/paste, plus wui is not being defined. wui is used as status in sera "default" from OdinMS.
 
Junior Spellweaver
Joined
Sep 2, 2008
Messages
130
Reaction score
0
Re: [Release] Sera starter pack by yy1993

yea, the cm.getLevel() is useless, as well as the wui = 1, that seen like you did a big copy/paste, plus wui is not being defined. wui is used as status in sera "default" from OdinMS.
yea not defined. Hey, its his first release, give him/her some encouragement..? Lolz.
 
Master Summoner
Loyal Member
Joined
Jul 27, 2008
Messages
583
Reaction score
0
Re: [Release] Sera starter pack by yy1993

I'm not saying she/he sux at coding or something, I'm just saying the errors, so it may take care of then next time.
 
Newbie Spellweaver
Joined
Aug 11, 2008
Messages
94
Reaction score
1
Re: [Release] Sera starter pack by yy1993

Zomg. Will people stop posting this.
This is like the 10 "release" of the same thing. Except that she gives different items.
 
Junior Spellweaver
Joined
Sep 2, 2008
Messages
130
Reaction score
0
Re: [Release] Sera starter pack by yy1993

I'm not saying she/he sux at coding or something, I'm just saying the errors, so it may take care of then next time.
ohh.. ic :X
lolz, Sera is getting popular by days..
 
Skilled Illusionist
Loyal Member
Joined
Jun 23, 2008
Messages
324
Reaction score
0
Re: [Release] Sera starter pack by yy1993

Mind posting SS for your sera starter pack?
 
Experienced Elementalist
Joined
Jul 18, 2008
Messages
232
Reaction score
0
Re: [Release] Sera starter pack by yy1993

NEVER release your Ducking uselessness here again >_>
Come back when you have something useful!
 
Newbie Spellweaver
Joined
Jun 8, 2008
Messages
70
Reaction score
0
Re: [Release] Sera starter pack by yy1993

lol so much flaming around here. Well, its my first release though, you can't expect a noob to give you something nice and good. Unless there's someone to help him.
 
Skilled Illusionist
Loyal Member
Joined
Jun 23, 2008
Messages
324
Reaction score
0
Re: [Release] Sera starter pack by yy1993

Well, i din't flame u , im just requesting u to post some SS abt wad your sera has
 
Elite Diviner
Loyal Member
Joined
Apr 30, 2008
Messages
414
Reaction score
0
Re: [Release] Sera starter pack by yy1993

Flame is a very big word, and if used correctly, people would understand more clearly, anyways, nice work mate, looks really good.
 
Newbie Spellweaver
Joined
Jun 8, 2008
Messages
70
Reaction score
0
Re: [Release] Sera starter pack by yy1993

Flame is a very big word, and if used correctly, people would understand more clearly, anyways, nice work mate, looks really good.

Erm, flame is a very big word. What about the Quote below? lol

NEVER release your Ducking uselessness here again >_>
Come back when you have something useful!
 
Junior Spellweaver
Joined
Aug 3, 2008
Messages
138
Reaction score
11
Re: [Release] Sera starter pack by yy1993

finally good starterpack
 
Back
Top