You are Unregistered, please register to gain Full access.
    


RaGEZONE sponsored advertisment:

Dragonica Image
The free 3D side scrolling MMORPG.

 
 
LinkBack (8) Thread Tools
Old 07-01-2008   8 links from elsewhere to this Post. Click to view. #1 (permalink)
RaGEZONER
 
kirbyhood's Avatar
 
Rank: Hobbit
Join Date: Jun 2008
Posts: 85
Thanked 6 Times in 1 Post

[Release] White Scroll Maker NPC (OdinMS)

Your Ad Here
Hey, I decided to make this for my server and I'll release it to you guys to.
You can Make the Piece of Scroll (4001136) drop from anything you want.

Code:
// White Scroll Maker By Sawyer of LynnStory
//High Preist John (9201002)
importPackage(net.sf.odinms.client);
var status = 0;



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("Rawr!?");
			cm.dispose();
			return;
		}
		if (mode == 1)
			status++;
		else
			status--;
		if (status == 0) {
				cm.sendNext("I am John and if you have all of the materials I will make you a White Jesus Scroll!!! You will need #b5 Pieces of Scroll#k, #bHoly Water#k, and #b10 Mill Mesos#k.  ");
			}
		else if (status == 1) {
			if ((cm.haveItem(4001136, 5)) && (cm.haveItem(2050003)) && (cm.getMeso() >= 10000000)) {
			cm.sendYesNo("It seems like you have the required materials, do you want me to make a #bWhite Scroll#k for you?");
			}
			else if (!cm.haveItem(4001136, 5)) {
			cm.sendOk("You dont have the required items.");
			cm.dispose();
			}
			else if (!cm.haveItem(2050003)) {
			cm.sendOk("You dont have the required items.");
			cm.dispose();
			}
			else if (!cm.getMeso() <= 10000000) {
			cm.sendOk("You dont have the required items.");
			cm.dispose();
			}
			
		}
		else if (status == 2) {
			cm.gainMeso(-10000000);
			cm.gainItem(4001136, -5);
			cm.gainItem(2050003, -1);
			cm.gainItem(2340000, 1);
                        cm.dispose();
			
}
}
}
__________________

Last edited by kirbyhood; 07-21-2008 at 10:08 PM.
kirbyhood is offline   Reply With Quote

RaGEZONE sponsored advertisment:
Old 07-01-2008   #2 (permalink)
Victor
 
PixmaDragon's Avatar
 
Rank: Member +
Join Date: Apr 2008
Location: Planet Earth
Posts: 578
Blog Entries: 1
Thanked 0 Times in 0 Posts

Re: [Release] White Scroll Maker NPC (OdinMS)

nice!!!!!!!!!!
__________________

PixmaDragon is offline   Reply With Quote

Endorsement
Old 07-01-2008   #3 (permalink)
Member
 
refusion's Avatar
 
Rank: Hobbit
Join Date: Jun 2008
Posts: 39
Thanked 0 Times in 0 Posts

Re: [Release] White Scroll Maker NPC (OdinMS)

how to but this into my database?
sorry for being so noob
refusion is offline   Reply With Quote

Endorsement

Old 07-01-2008   #4 (permalink)
Alpha
 
Rank: Member
Join Date: Jun 2008
Posts: 144
Thanked 0 Times in 0 Posts

Re: [Release] White Scroll Maker NPC (OdinMS)

You need to get a NPC id, and put that script into a notepad document(also change the "John" to the name of NPC) same it, with the title of the document as the number of the NPC. Now, go to your source folder(for me its on my desktop, seans) then go to scrips, NPC, and put the document there.
Kaspar is offline   Reply With Quote
Old 07-09-2008   #5 (permalink)
luls i go rawr
 
Rank: Member +
Join Date: May 2008
Location: California
Posts: 904
Thanked 1 Time in 1 Post

Re: [Release] White Scroll Maker NPC (OdinMS)

Question...how do u put the scrolls or w/e into the monster
megoesrawr is offline   Reply With Quote
Old 07-09-2008   #6 (permalink)
Extreme Member
 
Rank: Member +
Join Date: Apr 2008
Posts: 414
Thanked 0 Times in 0 Posts

Re: [Release] White Scroll Maker NPC (OdinMS)

npc dont talk o.o
metroix is offline   Reply With Quote
Old 07-09-2008   #7 (permalink)
Alpha
 
Rank: Member
Join Date: Jun 2006
Location: azza
Posts: 136
Thanked 0 Times in 0 Posts

Re: [Release] White Scroll Maker NPC (OdinMS)

It doesnt change anything to the shop...
cablord is offline   Reply With Quote
Old 07-10-2008   #8 (permalink)
Creator of BrooklynStory
 
BrooklynMan's Avatar
 
Rank: Member +
Join Date: Jun 2008
Location: Brooklyn, NY
Posts: 426
Thanked 0 Times in 0 Posts

Re: [Release] White Scroll Maker NPC (OdinMS)

Thank You. Added to my server already.
BrooklynMan is offline   Reply With Quote
Old 07-10-2008   #9 (permalink)
Account Upgraded | Title Enabled!
 
Tardilicious's Avatar
 
Rank: Member +
Join Date: Jul 2008
Location: Behind You
Posts: 211
Thanked 4 Times in 3 Posts

Re: [Release] White Scroll Maker NPC (OdinMS)

Seems nice i'll try it latr
__________________
Tardilicious is offline   Reply With Quote
Old 07-10-2008   #10 (permalink)
RaGEZONER
 
Rank: Hobbit
Join Date: Jun 2008
Posts: 80
Thanked 0 Times in 0 Posts

Re: [Release] White Scroll Maker NPC (OdinMS)

White Jesus Scroll. xD
Love it. Thanks.
Phoenix14 is offline   Reply With Quote
Old 07-11-2008   #11 (permalink)
RaGEZONER
 
Rank: Hobbit
Join Date: Nov 2007
Posts: 88
Thanked 0 Times in 0 Posts

Re: [Release] White Scroll Maker NPC (OdinMS)

I have a quick question, Why is it that I have to re-login to speak with him again? If I click on him again, he dosen't say anything just sits there. I re-login, and click, he works perfectly.

This happens to Duey The skill maxer as well.

~Blaze
Blazer9131 is offline   Reply With Quote
Old 07-11-2008   #12 (permalink)
Bang...
 
Hitsu's Avatar
 
Rank: Alpha Member
Join Date: May 2005
Location: Tokyo
Posts: 1,649
Thanked 0 Times in 0 Posts

Re: [Release] White Scroll Maker NPC (OdinMS)

Originally Posted by Blazer9131 View Post
I have a quick question, Why is it that I have to re-login to speak with him again? If I click on him again, he dosen't say anything just sits there. I re-login, and click, he works perfectly.

This happens to Duey The skill maxer as well.

~Blaze
Because it's not dispose properly

just add
PHP Code:
cm.dispose(); 
After
PHP Code:
        else if (status == 2) {
            
cm.gainMeso(-10000000);
            
cm.gainItem(4001136, -5);
            
cm.gainItem(2050003, -1);
            
cm.gainItem(23400001); 
__________________
Faith
Hitsu is offline   Reply With Quote
Old 07-11-2008   #13 (permalink)
♣ Hectic ♣
 
Regurgitate's Avatar
 
Rank: Member +
Join Date: Apr 2008
Posts: 1,205
Thanked 0 Times in 0 Posts

Re: [Release] White Scroll Maker NPC (OdinMS)

Thanks, you gave me the ID for white scrolls!
__________________
Coolies, I'm back :)
Regurgitate is offline   Reply With Quote
Old 07-23-2008   #14 (permalink)
I like P servers
 
Rank: Member +
Join Date: Apr 2008
Posts: 295
Thanked 0 Times in 0 Posts

Re: [Release] White Scroll Maker NPC (OdinMS)

Thank you very useful.
I edited it a bit .
elizool99 is offline   Reply With Quote
Old 07-25-2008   #15 (permalink)
Member
 
Rank: Hobbit
Join Date: May 2008
Posts: 39
Thanked 0 Times in 0 Posts

Re: [Release] White Scroll Maker NPC (OdinMS)

What are the required items?
Minseok is offline   Reply With Quote
Old 08-15-2008   #16 (permalink)
Owner Of ThugStory
 
xElkinx's Avatar
 
Rank: Member +
Join Date: Aug 2008
Location: USA
Posts: 238
Thanked 0 Times in 0 Posts

Re: [Release] White Scroll Maker NPC (OdinMS)

Hey could u tell me a bit more about changing the white scoller seller NPC

Coz i dont want John to sell i want Wonky the fairy to sell it

Could u help me on this 1 i would rlly appreciate it
__________________
xElkinx is offline   Reply With Quote
Old 08-15-2008   #17 (permalink)
Extreme Member
 
Onesky's Avatar
 
Rank: Member +
Join Date: Aug 2008
Location: In Your Bed
Posts: 232
Thanked 0 Times in 0 Posts

Re: [Release] White Scroll Maker NPC (OdinMS)

wasnet this like posted so much times already?
__________________
Onesky is offline   Reply With Quote
Old 08-15-2008   #18 (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] White Scroll Maker NPC (OdinMS)

Thx =P but i just sell the white scrools for 1bil but ill try this out
__________________
Gmanpopinjay is offline   Reply With Quote
Old 08-15-2008   #19 (permalink)
The Omega
 
SGxiaosin's Avatar
 
Rank: Hobbit
Join Date: Aug 2008
Location: Singapore, Aljunied
Posts: 84
Thanked 0 Times in 0 Posts

Re: [Release] White Scroll Maker NPC (OdinMS)

Originally Posted by xElkinx View Post
Hey could u tell me a bit more about changing the white scoller seller NPC

Coz i dont want John to sell i want Wonky the fairy to sell it

Could u help me on this 1 i would rlly appreciate it
just change the NPC id that you are using to wonky's which is (2013000.js)

and this is released alot of times, don't go claiming that you did it!
__________________


~*Loves his Mommy & Daddy!!!*~
~*Misery acquaints a man with strange bedfellows*~
~*OdinMs FTW!!!*~
SGxiaosin is offline   Reply With Quote
Old 09-01-2008   #20 (permalink)
Newbie
 
Rank: Hobbit
Join Date: May 2008
Posts: 8
Thanked 0 Times in 0 Posts

Re: [Release] White Scroll Maker NPC (OdinMS)

This is an awfully great idea in my opinion, great job! I'd like to ask though, isn't this bit of code rather inefficient?

Code:
			else if (!cm.haveItem(4001136, 5)) {
			cm.sendOk("You dont have the required items.");
			cm.dispose();
			}
			else if (!cm.haveItem(2050003)) {
			cm.sendOk("You dont have the required items.");
			cm.dispose();
			}
			else if (!cm.getMeso() <= 10000000) {
			cm.sendOk("You dont have the required items.");
			cm.dispose();
			}
I've had some experience with VB.NET and Visual C++, and to my understanding, there's usually an "OR" function separating various conditions in an if else statement. For example in Visual Visual Basic, the coding syntax goes something like

Code:
elseif cm.haveitem(item1) = false or cm.haveitem(item2) = false or cm.haveitem(item3) = false
		outputstring.text = "You dont have the required items."
else
	...
Just asking, because I have almost no experience with Javascript ^^
aeronex is offline   Reply With Quote
Old 09-01-2008   #21 (permalink)
NormalMS Owner
 
jason27131's Avatar
 
Rank: Member +
Join Date: Jun 2008
Posts: 211
Thanked 0 Times in 0 Posts

Re: [Release] White Scroll Maker NPC (OdinMS)

i rather hand out scrolls as event prizes.
jason27131 is offline   Reply With Quote
Old 09-01-2008   #22 (permalink)
Onions
 
Commie's Avatar
 
Rank: Member +
Join Date: Jul 2008
Location: The Coop.
Posts: 1,173
Thanked 0 Times in 0 Posts

Re: [Release] White Scroll Maker NPC (OdinMS)

Wasn't this released before?
__________________

Is this good?
Commie is offline   Reply With Quote
Old 09-01-2008   #23 (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] White Scroll Maker NPC (OdinMS)

well this is an old release
__________________

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
Old 09-13-2008   #24 (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] White Scroll Maker NPC (OdinMS)

Originally Posted by megoesrawr View Post
Question...how do u put the scrolls or w/e into the monster
make a monsterdrop sql

Code:
 insert into `monsterdrops`
there i start for u :play_ball
__________________
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-14-2008   #25 (permalink)
OniGameZ. MMORPG Develop
 
meetoo's Avatar
 
Rank: Member +
Join Date: Jul 2008
Location: Canada ~eh.
Posts: 510
Thanked 0 Times in 0 Posts

Re: [Release] White Scroll Maker NPC (OdinMS)

Thankz man for the Release<..
meetoo is offline   Reply With Quote
 

Bookmarks

Thread Tools


LinkBacks (?)
LinkBack to this Thread: http://forum.ragezone.com/f427/release-white-scroll-maker-npc-odinms-423351/
Posted By For Type Date
maplestory libary This thread Refback 07-17-2009 07:49 PM
MapleStory Development Team: OdinMS Based: NPCs This thread Refback 05-10-2009 03:35 PM
MapleStory Development Team This thread Refback 04-09-2009 04:46 AM
[OdinMS]Releases,Guides,Repacks,Revs,orials,HTML-PHP,Tools,Handbook - Maplestory Releases - ServerFiles.org This thread Refback 04-01-2009 06:14 PM
GamerzPlanet - For All Your Online Gaming Needs!! - View Single Post - [Release] [Library of Useful OdinMS Stuff] [Fixes] [Guides] [Registration Pages] This thread Refback 03-31-2009 12:54 PM
OdinMS Source Releases,Guides,Repacks,Revs,Tutorials,HTML-PHP,Tools,Handbook - GameCheetah This thread Refback 03-31-2009 04:09 AM
MapleStory Private Server Libary :Npcs: - GameCheetah This thread Refback 03-26-2009 06:54 PM
[Release] [Library of Useful OdinMS Stuff] [Fixes] [Guides] [Registration Pages] - GameCheetah This thread Refback 03-25-2009 10:50 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