You are Unregistered, please register to gain Full access.
    


RaGEZONE sponsored advertisment:

Dragonica Image
The free 3D side scrolling MMORPG.

 
 
LinkBack (6) Thread Tools
Old 09-17-2008   6 links from elsewhere to this Post. Click to view. #1 (permalink)
Alpha
 
TeamCanada's Avatar
 
Rank: Member
Join Date: Jul 2008
Location: Toronto, Canada
Posts: 139
Thanked 0 Times in 0 Posts

[Release] Tombstone - Crack Seller/warper

Your Ad Here
Tested and works fully.

Based off of Adobis NPC (2030013).
Sells Piece of Cracked Dimensions for 25,000,000 mesos and has a warp feature. Also won't allow if not over a certain level.
You can edit these anytime you want..
Save it as "2041024.js" and put it into your Server>Scripts>NPC folder.

Code:
/*
NPC script made by GM Retro of EverlongMS
*/

importPackage(net.sf.odinms.tools);
importPackage(net.sf.odinms.client);

/* Tombstone
	Ludibrium: Deep Inside the Clocktower (220080000)
*/
var status = 0;
var price = 25000000;
var map = Array(220080000);

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) {
			cm.sendSimple("Welcome to Deep Inside the Clocktower ! Would you like to go inside and fight #bPapu#k ? If you want to fight him you need #b#t4031179##k so you can summon Papu! \r\n#L1#I would like to buy #b#t4031179##k for 25,000,000 Mesos!#l\r\n\#L2#I already have a #b#t4031179##k , Thanks anyways. #l");
			} else if (status == 1) {
			if (selection == 1) {
				if(cm.getMeso() >= 25000000) {
					cm.gainMeso(-25000000);
					cm.gainItem(4031179, 1);
					cm.sendOk("Enjoy!");
				} else {
					cm.sendOk("You don't have enough mesos to buy Piece of Cracked Dimension");
				}
				cm.dispose();
			} else if (status == 2) {
			} else if (selection == 2) {
                                            cm.getLevel() >= 105 
					cm.warp(220080000, 0);
					cm.dispose();
}
else{
cm.sendOk("You are not in the right levels to get inside. Come back when you're level 105+ (Level 105+) !");

			}
		}
	}
}
Enjoy.
TeamCanada is offline   Reply With Quote

RaGEZONE sponsored advertisment:
Old 09-17-2008   #2 (permalink)
Ace
The Master
 
Ace's Avatar
 
Rank: Omega
Join Date: Apr 2008
Location: Soccer Stadium
Posts: 5,299
Blog Entries: 25
Thanked 104 Times in 81 Posts

Re: [Release] Tombstone - Crack Seller/warper

doesnt this come with every server/repack o.o
__________________

Originally Posted by Akaruz View Post
RZ is a community , it isnt a group of friends who gather around and make chauvinist or sexist remarks toward other members gender or "ways of life"

Learning GFX~ 11/29/08
Ace is offline   Reply With Quote

Endorsement
Old 09-17-2008   #3 (permalink)
Alpha
 
TeamCanada's Avatar
 
Rank: Member
Join Date: Jul 2008
Location: Toronto, Canada
Posts: 139
Thanked 0 Times in 0 Posts

Re: [Release] Tombstone - Crack Seller/warper

Originally Posted by ihatehaxor View Post
doesnt this come with every server/repack o.o
Err no, The Tombstone npc doesn't have any functions/scripts.
Like I said, based off another NPC.
TeamCanada is offline   Reply With Quote

Endorsement

Old 09-17-2008   #4 (permalink)
=)
 
Rank: Member +
Join Date: Apr 2008
Location: Far, far away
Posts: 1,387
Thanked 1 Time in 1 Post

Re: [Release] Tombstone - Crack Seller/warper

I'm sorry but this fails and doesn't work.
RMZero213 is offline   Reply With Quote
Old 09-17-2008   #5 (permalink)
Alpha
 
TeamCanada's Avatar
 
Rank: Member
Join Date: Jul 2008
Location: Toronto, Canada
Posts: 139
Thanked 0 Times in 0 Posts

Re: [Release] Tombstone - Crack Seller/warper

Originally Posted by RMZero213 View Post
I'm sorry but this fails and doesn't work.
Actually, yes, it does work.

Have you even tested it? I have.
TeamCanada is offline   Reply With Quote
Old 09-17-2008   #6 (permalink)
Ownage
 
brianobb's Avatar
 
Rank: Member +
Join Date: May 2008
Location: IgnitionMs.tk / Saphms.tk
Posts: 480
Blog Entries: 1
Thanked 0 Times in 0 Posts

Re: [Release] Tombstone - Crack Seller/warper

this does come wit every repack prob just took it straight from his repack
__________________
Check out our youtube page when we playthrough / commentate on video games

Youtube.com/kingdomcommentary
brianobb is offline   Reply With Quote
Old 09-17-2008   #7 (permalink)
Owner of HitsuMs <3
 
Gmanpopinjay's Avatar
 
Rank: Alpha Member
Join Date: Dec 2007
Location: Downtown ^.^
Posts: 1,693
Thanked 10 Times in 5 Posts

Re: [Release] Tombstone - Crack Seller/warper

how old is this o.o lol
__________________
Gmanpopinjay is offline   Reply With Quote
Old 09-18-2008   #8 (permalink)
Alpha
 
TeamCanada's Avatar
 
Rank: Member
Join Date: Jul 2008
Location: Toronto, Canada
Posts: 139
Thanked 0 Times in 0 Posts

Re: [Release] Tombstone - Crack Seller/warper

Originally Posted by brianobb View Post
this does come wit every repack prob just took it straight from his repack
Again no.
It's something like this for ZAKUM, aka Adobis..
God, read please.
TeamCanada is offline   Reply With Quote
Old 09-18-2008   #9 (permalink)
=)
 
Rank: Member +
Join Date: Apr 2008
Location: Far, far away
Posts: 1,387
Thanked 1 Time in 1 Post

Re: [Release] Tombstone - Crack Seller/warper

Code:
			} else if (status == 1) {
			if (selection == 1) {
				if(cm.getMeso() >= 25000000) {
					cm.gainMeso(-25000000);
					cm.gainItem(4031179, 1);
					cm.sendOk("Enjoy!");
				} else {
					cm.sendOk("You don't have enough mesos to buy Piece of Cracked Dimension");
				}
				cm.dispose();
			} else if (status == 2) {
			} else if (selection == 2) {
                                            cm.getLevel() >= 105
Just. No.
RMZero213 is offline   Reply With Quote
Old 09-18-2008   #10 (permalink)
Kuchiki Byakuya
 
chuayaowei's Avatar
 
Rank: Alpha Member
Join Date: Jul 2008
Location: Singapore
Posts: 1,517
Thanked 1 Time in 1 Post

Re: [Release] Tombstone - Crack Seller/warper

Thanks, I will test it.
chuayaowei is offline   Reply With Quote
Old 09-18-2008   #11 (permalink)
Infraction Banned
 
XxOsirisxX's Avatar
 
Rank: Alpha Member
Join Date: Jul 2008
Posts: 2,677
Thanked 0 Times in 0 Posts

Re: [Release] Tombstone - Crack Seller/warper

I remember now, i saw this NPC in a "default" NPC, the one that takes you to Horntail.. well it was added by the server owner.. but anyhow.. it's pretty bad made as RMZero just said.

cm.getLevel() >= 105 is not over a condition for check this level, plus have no ;, it will ever works like that.

I trough Release section have a rule "Test Before Release".
XxOsirisxX is offline   Reply With Quote
Old 09-18-2008   #12 (permalink)
i Quit :) On to C++
 
xazerrx's Avatar
 
Rank: Member +
Join Date: Jul 2008
Location: SiNGaPoRe
Posts: 736
Thanked 0 Times in 0 Posts

Re: [Release] Tombstone - Crack Seller/warper

Shouldn't this
Code:
importPackage(net.sf.odinms.tools);
importPackage(net.sf.odinms.client);
Be this?
Code:
package net.sf.odinms.tools;
package net.sf.odinms.client;
Anyways, you didn't need it. And yeah the level check doesn't work that way.
__________________

Blader's pwnzor gfx. Thanks Blader.
xazerrx is offline   Reply With Quote
Old 09-21-2008   #13 (permalink)
Account Upgraded | Title Enabled!
 
desert123100's Avatar
 
Rank: Member +
Join Date: Aug 2008
Location: In a box
Posts: 845
Thanked 0 Times in 0 Posts

Re: [Release] Tombstone - Crack Seller/warper

Originally Posted by RMZero213 View Post
I'm sorry but this fails and doesn't work.
yes this does work, i have a similar function on mine except its a plain shop.


~NICE RELEASE~
__________________
Code:
Sheen says:
omg msn porn
Sheen says:
making me hawneeey
Sheen says:
everytime i go to ragezone i get a boner
desert123100 is offline   Reply With Quote
Old 09-21-2008   #14 (permalink)
Rest In Peace, Igor
 
Rank: Alpha Member
Join Date: Aug 2008
Location: Wherever you ar
Posts: 2,675
Thanked 4 Times in 4 Posts

Re: [Release] Tombstone - Crack Seller/warper

Oh my god...when I first read the title I was like
"Wth a crack seller who probably warps to Crack Island? ZOMG!"
Then I read the thread. lolz Dx
HydroBenZ is offline   Reply With Quote
Old 09-21-2008   #15 (permalink)
YouFail.org
 
alan4241's Avatar
 
Rank: Member +
Join Date: Aug 2008
Posts: 302
Thanked 1 Time in 1 Post

Re: [Release] Tombstone - Crack Seller/warper

Tyvm
__________________

If i helped, you know what to do.^^

MaplefoxMS Site!
alan4241 is offline   Reply With Quote
Old 09-21-2008   #16 (permalink)
Kuchiki Byakuya
 
chuayaowei's Avatar
 
Rank: Alpha Member
Join Date: Jul 2008
Location: Singapore
Posts: 1,517
Thanked 1 Time in 1 Post

Re: [Release] Tombstone - Crack Seller/warper

It does work but it doesn't check for lvl.
chuayaowei is offline   Reply With Quote
Old 09-21-2008   #17 (permalink)
YouFail.org
 
alan4241's Avatar
 
Rank: Member +
Join Date: Aug 2008
Posts: 302
Thanked 1 Time in 1 Post

Re: [Release] Tombstone - Crack Seller/warper

Originally Posted by RMZero213 View Post
I'm sorry but this fails and doesn't work.
it doesent fail ur not smart is the thing
__________________

If i helped, you know what to do.^^

MaplefoxMS Site!
alan4241 is offline   Reply With Quote
Old 09-21-2008   #18 (permalink)
~Tex~
 
DarkGoddes's Avatar
 
Rank: Member +
Join Date: Sep 2008
Location: Planet Eaaaaarth
Posts: 203
Thanked 0 Times in 0 Posts

Re: [Release] Tombstone - Crack Seller/warper

Basic , easy to add
__________________
DarkGoddes is offline   Reply With Quote
Old 09-21-2008   #19 (permalink)
Alpha Member
 
Rank: Alpha Member
Join Date: Jul 2008
Location: Palo Alto, CA
Posts: 2,605
Thanked 628 Times in 223 Posts

Re: [Release] Tombstone - Crack Seller/warper

Originally Posted by alan4241 View Post
it doesent fail ur not smart is the thing
Dude he's a beast. You don't know what you're talking about or talking to.

PHP Code:
else if (selection == 2) {
                                            
cm.getLevel() >= 105 
Does this look like this will work? NO SEMICOLON? I'm guessing it doesn't work as you want it to work. It'll just skip that step where it checks level.

What is
PHP Code:
else if (status == 2) {
        } 
Test this one. If you define a variable, it only makes sense to use them.
PHP Code:
/*
NPC script made by GM Retro of EverlongMS
Edited by Moogra
 */

importPackage (net.sf.odinms.tools);
importPackage(net.sf.odinms.client);

/* Tombstone
    Ludibrium: Deep Inside the Clocktower (220080000)
 */
var status 0;
var 
price 25000000;
var 
map = Array(220080000);

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

function 
action(modetypeselection) {
    if (
mode == -1) {
        
cm.dispose();
    } else {
        if (
mode == && status == 0) {
            
cm.dispose();
            return;
        }
        if (
mode == 1)
            
status++;
        else
            
status--;
        if (
status == 0) {
            
cm.sendSimple("Welcome to Deep Inside the Clocktower! Would you like to go inside and fight #bPapulatus#k? If you want to fight him you need #b#t4031179##k so you can summon Papulatus! \r\n#L1#I would like to buy #b#t4031179##k for 25,000,000 Mesos!#l\r\n\#L2#I already have a #b#t4031179##k , Thanks anyways. #l");
        } 
        else if (
status == 1) {
            if (
selection == 1) {
                if(
cm.getMeso() >= price) {
                    
cm.gainMeso(-price);
                    
cm.gainItem(40311791);
                    
cm.sendOk("Enjoy!");
                } else {
                    
cm.sendOk("You don't have enough mesos to buy Piece of Cracked Dimension");
                }
                
cm.dispose();
            } 
            else {
                if(
cm.getLevel() >= 105){
                    
cm.warp(map0);
                    
cm.dispose();
                }
                else{
                    
cm.sendOk("You are not in the right levels to get inside. Come back when you're level 105+ (Level 105+) !");
                    
cm.dispose();
                }
            }
        }
    }

Moogra is offline   Reply With Quote
Old 09-21-2008   #20 (permalink)
Nuff Said
 
Clysse's Avatar
 
Rank: Alpha Member
Join Date: Feb 2008
Posts: 2,882
Thanked 20 Times in 13 Posts

Re: [Release] Tombstone - Crack Seller/warper

Originally Posted by Moogra View Post
Dude he's a beast. You don't know what you're talking about or talking to.

PHP Code:
else if (selection == 2) {
                                            
cm.getLevel() >= 105 
Does this look like this will work? NO SEMICOLON? I'm guessing it doesn't work as you want it to work. It'll just skip that step where it checks level.

What is
PHP Code:
else if (status == 2) {
        } 

loool

this script is UBER FAIL!
__________________



Press the Thank Button :3
Clysse is offline   Reply With Quote
Old 09-21-2008   #21 (permalink)
Extreme Member
 
Rank: Member +
Join Date: Aug 2008
Location: West Coast
Posts: 236
Thanked 0 Times in 0 Posts

Re: [Release] Tombstone - Crack Seller/warper

Here is a working npc with level check.

Code:
/*
	This file is part of the OdinMS Maple Story Server
    Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc> 
                       Matthias Butz <matze@odinms.de>
                       Jan Christian Meyer <vimes@odinms.de>

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU Affero General Public License version 3
    as published by the Free Software Foundation. You may not use, modify
    or distribute this program under any other version of the
    GNU Affero General Public License.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Affero General Public License for more details.

    You should have received a copy of the GNU Affero General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

importPackage(net.sf.odinms.tools);
importPackage(net.sf.odinms.client);

/* Adobis
	Zakum entrance
*/
var status = 0;
var price = 1500000000;
var map = Array(240010501);

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) {
			cm.sendSimple("Welcome to Entracnce to Zakum Altar ! Would you like to go inside and fight #bZakum#k ? If you want to fight him you need #b#t4001017##k, so you can summon Zakum .\r\n#L1#I would like to buy a #b#t4001017##k for 1,500,000,000 Mesos !#l\r\n\#L2#I already have a #b#t4001017##k , Let me in!#l");
			} else if (status == 1) {
			if (selection == 1) {
				if(cm.getMeso() >= 1500000000) {
					cm.gainMeso(-1500000000);
					cm.gainItem(4001017, 1);
					cm.sendOk("Enjoy!");
				} else {
					cm.sendOk("You don't have enough mesos to buy eye of fire!");
				}
				cm.dispose();
			} else if (status == 2) {
			} else if (selection == 2) {
                                           if (cm.getLevel() >=150) {
					cm.warp(280030000, 0);
					cm.dispose();
} else {
cm.sendOk("You are not in the right level to go fight Zakum. Please come back when you are level 150 or higher");
cm.dispose();
}

			}
		}
	}
}
Hope this helps.
__________________
[admin]Read our rules about signatures. Thanks[/admin]
Intensetay is offline   Reply With Quote
Old 09-21-2008   #22 (permalink)
Infraction Banned
 
XxOsirisxX's Avatar
 
Rank: Alpha Member
Join Date: Jul 2008
Posts: 2,677
Thanked 0 Times in 0 Posts

Re: [Release] Tombstone - Crack Seller/warper

this actually have sintaxys error..

but yeah.. it always works, but never check for level.
XxOsirisxX is offline   Reply With Quote
Old 09-21-2008   #23 (permalink)
Moderator
 
ch1nkayy's Avatar
 
Rank: Moderator
Join Date: Apr 2008
Posts: 2,508
Thanked 24 Times in 13 Posts

Re: [Release] Tombstone - Crack Seller/warper

uhh cool thanks lol.
ch1nkayy is offline   Reply With Quote
Old 09-21-2008   #24 (permalink)
Ultimate Member
 
Rank: Member
Join Date: Sep 2008
Posts: 167
Thanked 0 Times in 0 Posts

Re: [Release] Tombstone - Crack Seller/warper

Congratz on coping and pasting and releasing something that was released about 10 times now
candyman3333 is offline   Reply With Quote
Old 09-21-2008   #25 (permalink)
Nuff Said
 
Clysse's Avatar
 
Rank: Alpha Member
Join Date: Feb 2008
Posts: 2,882
Thanked 20 Times in 13 Posts

Re: [Release] Tombstone - Crack Seller/warper

Originally Posted by candyman3333 View Post
Congratz on coping and pasting and releasing something that was released about 10 times now
were u banned again?

and this is not the same as the rest, this one fails 10x more
__________________



Press the Thank Button :3
Clysse is offline   Reply With Quote
 

Bookmarks

Thread Tools


LinkBacks (?)
LinkBack to this Thread: http://forum.ragezone.com/f427/release-tombstone-crack-seller-warper-468655/
Posted By For Type Date
MapleStory Development Team: February 2009 This thread Refback 08-31-2009 03:07 PM
maplestory libary This thread Refback 08-09-2009 01:51 AM
MapleStory Development Team: OdinMS Based: NPCs This thread Refback 05-31-2009 10:22 PM
MapleStory Development Team This thread Refback 04-27-2009 08:47 PM
MapleStory Private Server Libary :Npcs: - GameCheetah This thread Refback 03-26-2009 06:50 PM
[Release] [Library of Useful OdinMS Stuff] [Fixes] [Guides] [Registration Pages] - GameCheetah This thread Refback 03-24-2009 11:05 PM



Translated by Google
Albanian Arabic Belarusian Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Hungarian Icelandic Indonesian Italian Japanese Korean Latvian Lithuanian Maltese Norwegian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swedish Taiwanese Thai Turkish Ukrainian Vietnamese
no new posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274