[Release]Spinel teleporter

Page 1 of 2 12 LastLast
Results 1 to 15 of 27
  1. #1
    Enthusiast DevelopmentAsia is offline
    MemberRank
    Jul 2008 Join Date
    30Posts

    [Release]Spinel teleporter

    This Is The Code For Spinel Teleporter. Thank Me If Helped

    Code:
    */
    
    var status = 0;
    var maps = Array(680000000, 230000000, 211000000, 101000000, 100000000, 251000000, 103000000, 222000000, 104000000, 240000000, 240030000, 220000000, 250000000, 800000000, 600000000, 221000, 200000000, 102000000, 801000, 105040300);
    var cost = Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1);
    var costBeginner = Array(100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100);
    var selectedMap = -1;
    var job;
    
    importPackage(net.sf.odinms.client);
    
    function start() {
    status = -1;
    action(1, 0, 0);
    }
    
    function action(mode, type, selection) {
    if (mode == -1) {
    cm.dispose();
    } else {
    if (status >= 2 && mode == 0) {
    cm.sendOk("Alright, see you next time.");
    cm.dispose();
    return;
    }
    if (mode == 1)
    status++;
    else
    status--;
    if (status == 0) {
    cm.sendNext("Hi, I am Super Taxi ");
    } else if (status == 1) {
    cm.sendNextPrev("I can take you to many locations for just a small fee. Beginners will get a 90% discount on normal prices.")
    } else if (status == 2) {
    var selStr = "Select your destination.#b";
    if (cm.getJob().equals(net.sf.odinms.client.MapleJob.BEGINNER)) {
    for (var i = 0; i < maps.length; i++) {
    selStr += "\r\n#L" + i + "##m" + maps[i] + "# (" + costBeginner[i] + " meso)#l";
    }
    } else {
    for (var i = 0; i < maps.length; i++) {
    selStr += "\r\n#L" + i + "##m" + maps[i] + "# (" + cost[i] + " meso)#l";
    }
    }
    cm.sendSimple(selStr);
    } else if (status == 3) {
    if (cm.getJob().equals(net.sf.odinms.client.MapleJob.BEGINNER)) {
    if (cm.getMeso() < costBeginner[selection]) {
    cm.sendOk("You do not have enough mesos.")
    cm.dispose();
    } else {
    cm.sendYesNo("So you have nothing left to do here? Do you want to go to #m" + maps[selection] + "#?");
    selectedMap = selection;
    }
    }
    else {
    if (cm.getMeso() < cost[selection]) {
    cm.sendOk("You do not have enough mesos.")
    cm.dispose();
    } else {
    cm.sendYesNo("So you have nothing left to do here? Do you want to go to #m" + maps[selection] + "#?");
    selectedMap = selection;
    }
    } 
    } else if (status == 4) {
    if (cm.getJob().equals(net.sf.odinms.client.MapleJob.BEGINNER)) {
    cm.gainMeso(-costBeginner[selectedMap]);
    }
    else {
    cm.gainMeso(-cost[selectedMap]);
    }
    cm.warp(maps[selectedMap], 0);
    cm.dispose();
    }
    }
    }


  2. #2
    Enthusiast DevelopmentAsia is offline
    MemberRank
    Jul 2008 Join Date
    30Posts

    Re: [Realease]Spinel teleporter [OdinMs]

    Any bugs For This? Comment Pls *

  3. #3
    Proficient Member xXPhillipXx is offline
    MemberRank
    Jun 2008 Join Date
    TaiwanLocation
    198Posts

    Re: [Realease]Spinel teleporter [OdinMs]

    Where would we put this?
    What is the NPC ID?

  4. #4
    Proficient Member xXPhillipXx is offline
    MemberRank
    Jun 2008 Join Date
    TaiwanLocation
    198Posts

    Re: [Realease]Spinel teleporter [OdinMs]

    Original Spinel (If any errors):
    Code:
    var status = 0;
    var maps = Array(680000000, 230000000, 211000000, 101000000, 100000000, 251000000, 103000000, 222000000, 104000000, 240000000, 240030000, 220000000, 250000000, 800000000, 600000000, 221000000, 200000000, 102000000, 801000000, 105040300);
    var cost = Array(1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000);
    var costBeginner = Array(100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100);
    var selectedMap = -1;
    var job;
    
    importPackage(net.sf.odinms.client);
    
    function start() {
    	status = -1;
    	action(1, 0, 0);
    }
    
    function action(mode, type, selection) {
    	if (mode == -1) {
    		cm.dispose();
    	} else {
    		if (status >= 2 && mode == 0) {
    			cm.sendOk("Alright, see you next time.");
    			cm.dispose();
    			return;
    		}
    		if (mode == 1)
    			status++;
    		else
    			status--;
    		if (status == 0) {
    			cm.sendNext("Hi, I drive a World Tour Mobile.");
    		} else if (status == 1) {
    			cm.sendNextPrev("I can take you to many locations for just a small fee. Beginners will get a 90% discount on normal prices.")
    		} else if (status == 2) {
    			var selStr = "Select your destination.#b";
    			if (cm.getJob().equals(net.sf.odinms.client.MapleJob.BEGINNER)) {
    				for (var i = 0; i < maps.length; i++) {
    					selStr += "\r\n#L" + i + "##m" + maps[i] + "# (" + costBeginner[i] + " meso)#l";
    				}
    			} else {
    				for (var i = 0; i < maps.length; i++) {
    					selStr += "\r\n#L" + i + "##m" + maps[i] + "# (" + cost[i] + " meso)#l";
    				}
    			}
    			cm.sendSimple(selStr);
    		} else if (status == 3) {
    			if (cm.getJob().equals(net.sf.odinms.client.MapleJob.BEGINNER)) {
    				if (cm.getMeso() < costBeginner[selection]) {
    					cm.sendOk("You do not have enough mesos.")
    					cm.dispose();
    				} else {
    					cm.sendYesNo("So you have nothing left to do here? Do you want to go to #m" + maps[selection] + "#?");
    					selectedMap = selection;
    				}
    			}
    			else {
    				if (cm.getMeso() < cost[selection]) {
    					cm.sendOk("You do not have enough mesos.")
    					cm.dispose();
    				} else {
    					cm.sendYesNo("So you have nothing left to do here? Do you want to go to #m" + maps[selection] + "#?");
    					selectedMap = selection;
    				}
    			}		
    		} else if (status == 4) {
    			if (cm.getJob().equals(net.sf.odinms.client.MapleJob.BEGINNER)) {
    				cm.gainMeso(-costBeginner[selectedMap]);
    			}
    			else {
    				cm.gainMeso(-cost[selectedMap]);
    			}
    			cm.warp(maps[selectedMap], 0);
    			cm.dispose();
    		}
    	}
    }

  5. #5
    Account Upgraded | Title Enabled! AsiaStory is offline
    MemberRank
    Jul 2008 Join Date
    387Posts

    Re: [Realease]Spinel teleporter [OdinMs]

    Quote Originally Posted by xXPhillipXx View Post
    Original Spinel (If any errors):
    Code:
    var status = 0;
    var maps = Array(680000000, 230000000, 211000000, 101000000, 100000000, 251000000, 103000000, 222000000, 104000000, 240000000, 240030000, 220000000, 250000000, 800000000, 600000000, 221000000, 200000000, 102000000, 801000000, 105040300);
    var cost = Array(1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000);
    var costBeginner = Array(100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100);
    var selectedMap = -1;
    var job;
    
    importPackage(net.sf.odinms.client);
    
    function start() {
    	status = -1;
    	action(1, 0, 0);
    }
    
    function action(mode, type, selection) {
    	if (mode == -1) {
    		cm.dispose();
    	} else {
    		if (status >= 2 && mode == 0) {
    			cm.sendOk("Alright, see you next time.");
    			cm.dispose();
    			return;
    		}
    		if (mode == 1)
    			status++;
    		else
    			status--;
    		if (status == 0) {
    			cm.sendNext("Hi, I drive a World Tour Mobile.");
    		} else if (status == 1) {
    			cm.sendNextPrev("I can take you to many locations for just a small fee. Beginners will get a 90% discount on normal prices.")
    		} else if (status == 2) {
    			var selStr = "Select your destination.#b";
    			if (cm.getJob().equals(net.sf.odinms.client.MapleJob.BEGINNER)) {
    				for (var i = 0; i < maps.length; i++) {
    					selStr += "\r\n#L" + i + "##m" + maps[i] + "# (" + costBeginner[i] + " meso)#l";
    				}
    			} else {
    				for (var i = 0; i < maps.length; i++) {
    					selStr += "\r\n#L" + i + "##m" + maps[i] + "# (" + cost[i] + " meso)#l";
    				}
    			}
    			cm.sendSimple(selStr);
    		} else if (status == 3) {
    			if (cm.getJob().equals(net.sf.odinms.client.MapleJob.BEGINNER)) {
    				if (cm.getMeso() < costBeginner[selection]) {
    					cm.sendOk("You do not have enough mesos.")
    					cm.dispose();
    				} else {
    					cm.sendYesNo("So you have nothing left to do here? Do you want to go to #m" + maps[selection] + "#?");
    					selectedMap = selection;
    				}
    			}
    			else {
    				if (cm.getMeso() < cost[selection]) {
    					cm.sendOk("You do not have enough mesos.")
    					cm.dispose();
    				} else {
    					cm.sendYesNo("So you have nothing left to do here? Do you want to go to #m" + maps[selection] + "#?");
    					selectedMap = selection;
    				}
    			}		
    		} else if (status == 4) {
    			if (cm.getJob().equals(net.sf.odinms.client.MapleJob.BEGINNER)) {
    				cm.gainMeso(-costBeginner[selectedMap]);
    			}
    			else {
    				cm.gainMeso(-cost[selectedMap]);
    			}
    			cm.warp(maps[selectedMap], 0);
    			cm.dispose();
    		}
    	}
    }
    nice code for spinel teleporter ^^

  6. #6
    Apprentice dark_reaper1 is offline
    MemberRank
    Jul 2008 Join Date
    6Posts

    Re: [Release]Spinel teleporter

    can someone pls tell me whats a code?
    nub here.

  7. #7
    Apprentice ngchinghang is offline
    MemberRank
    Jul 2008 Join Date
    12Posts

    Re: [Release]Spinel teleporter

    Quote Originally Posted by dark_reaper1 View Post
    can someone pls tell me whats a code?
    nub here.
    code is 9000020

    thanks for the spinel

  8. #8
    Account Upgraded | Title Enabled! echicken is offline
    MemberRank
    Apr 2008 Join Date
    1,402Posts

    Re: [Release]Spinel teleporter

    AHH! HE TOOK OUT THE GNU LISENCE o_0. Lulz. I still see that last end quote there.

    Nice release anyways.

  9. #9
    Account Upgraded | Title Enabled! megoesrawr is offline
    MemberRank
    May 2008 Join Date
    CaliforniaLocation
    873Posts

    Re: [Release]Spinel teleporter

    old =p

  10. #10
    Enthusiast myviet is offline
    MemberRank
    Jul 2008 Join Date
    37Posts

    Re: [Release]Spinel teleporter

    Quote Originally Posted by megoesrawr View Post
    old =p
    So what do we do with this code? Someone please tell me

  11. #11
    Proficient Member Darkwar4ever is offline
    MemberRank
    Jun 2008 Join Date
    Albany, New YorkLocation
    189Posts

    Re: [Release]Spinel teleporter

    Replace it?...

    @Original thread creator, you need some more details. Just plastering it there isn't considered a "release".

  12. #12
    Account Upgraded | Title Enabled! megoesrawr is offline
    MemberRank
    May 2008 Join Date
    CaliforniaLocation
    873Posts

    Re: [Release]Spinel teleporter

    LOL! I wonder why this forum keeps on bumping old threads..

  13. #13
    Durex Member pokkax is offline
    MemberRank
    Apr 2008 Join Date
    352Posts

    Re: [Release]Spinel teleporter

    how old is this?

  14. #14
    Valued Member aly2cool is offline
    MemberRank
    May 2008 Join Date
    New YorkLocation
    119Posts

    Re: [Release]Spinel teleporter

    Lmao, i dont get it. All you did was take spinels code and paste it on the forum. O.o nothing new here...

    I can go get duey's code for skill maxing and paste it here and call it a release if this is what you call a release...

  15. #15
    Apprentice doomscorpzy is offline
    MemberRank
    May 2008 Join Date
    20Posts

    Re: [Release]Spinel teleporter

    Quote Originally Posted by aly2cool View Post
    Lmao, i dont get it. All you did was take spinels code and paste it on the forum. O.o nothing new here...

    I can go get duey's code for skill maxing and paste it here and call it a release if this is what you call a release...
    I agree...



Page 1 of 2 12 LastLast

Advertisement