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-26-2008   6 links from elsewhere to this Post. Click to view. #1 (permalink)
The Omega
 
DkWar's Avatar
 
Rank: Member
Join Date: Jun 2008
Location: SiNgApOrE , Beatty Secondary School.. Sec ?E2 Ask Me
Posts: 105
Thanked 0 Times in 0 Posts

[Release]FBI NPC

Your Ad Here
I know it ain't much but what the heck i made cause i had nothing to do

i kinda leeched the idea from a private server but they sold them in a shop they had to get the items to join the guild FBI

you could make a guild named FBI and so on..

Code:
/*
Made by :DkWar (RaGEZONE)
Edited by :DrFusion (RaGEZONE)
                 bendax3 (RaGEZONE
 
*/
var status = 0;

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

function action(mode, type, selection) {
	if (mode == -1) {
		cm.dispose();
	} else {
		if (mode == 1)
			status++;
		else
			status--;
		if (status == 0){
                if (cm.getPlayer().getMeso() > 1,337,000,000) {
	cm.sendYesNo("HEY Wanna Be A #rSecret Agent#k In The #rFBI#k?? Well To Join Them Click Yes!! Side Note : You Need #r1,337,000,000#k Mesos To Buy The Whole Set!!")
      cm.gainItem(1122005,1);
      cm.gainItem(1102035,1);
      cm.gainItem(1002304,1);
      cm.gainItem(1022009,1);
      cm.gainItem(1050050,1);
      cm.gainItem(1082231,1);
      cm.gainItem(1072****1);
      cm.gainItem(1702180,1);
      cm.gainMeso(-1337000000);	

	} else if (status == 1){
      cm.sendOk("Since You Have Spend So Much Money Take Some #v5220000# And Try Your #rLUCK#k")
      cm.gainItem(5220000,10)
    	} else {
                cm.sendOk("Oh. i see... Well then, have fun in #rE2MS!#k");
                cm.dispose(); 
		}
	}
}
Instructions
1. Copy the above code
2. Paste into a notepad
3. Save As <your npc's id>.js

O.R.
1. Download the below file
2. Open it up then click file
3. Click Save As
4. Save As <your npc's id>.js

I would be making more npc upon request in this thread... the npc script will be upload at least 1 day
Attached Files
This post has an attachment which you could see if you were registered. Registering is quick and easy

Last edited by DkWar; 09-26-2008 at 10:28 AM.
DkWar is offline  

RaGEZONE sponsored advertisment:
Old 09-26-2008   #2 (permalink)
♣CK♣ GameMaster
 
ClericKn1ght's Avatar
 
Rank: Alpha Member
Join Date: Jun 2008
Location: Ragezone
Posts: 1,661
Thanked 0 Times in 0 Posts

Re: [Release]FBI NPC

Don't really get what u mean by sold them in a shop they had to get the items to join the guild FBI, mind explain it more clearer or post some SS?
__________________
ClericKn1ght is offline  

Endorsement
Old 09-26-2008   #3 (permalink)
Member
 
~_AustraliaMS_~'s Avatar
 
Rank: Member +
Join Date: Aug 2008
Location: Australia
Posts: 679
Thanked 0 Times in 0 Posts

Re: [Release]FBI NPC

this is just like a NPC that sell like wizet suit and stuff, then U need that much mesos to buy it.....is like buying wizet suit, just that he said it as FBI suit....xD
~_AustraliaMS_~ is offline  

Endorsement

Old 09-26-2008   #4 (permalink)
♣CK♣ GameMaster
 
ClericKn1ght's Avatar
 
Rank: Alpha Member
Join Date: Jun 2008
Location: Ragezone
Posts: 1,661
Thanked 0 Times in 0 Posts

Re: [Release]FBI NPC

Oh ok i get it know, But he should edit it and call it Wizet NPC rather than FBI? coz its gonna confuse ppl O.o
__________________
ClericKn1ght is offline  
Old 09-26-2008   #5 (permalink)
♣CK♣ GameMaster
 
ClericKn1ght's Avatar
 
Rank: Alpha Member
Join Date: Jun 2008
Location: Ragezone
Posts: 1,661
Thanked 0 Times in 0 Posts

Re: [Release]FBI NPC

okok, I get it now. I really understand it now =D. THanks for all the explaination
__________________
ClericKn1ght is offline  
Old 09-26-2008   #6 (permalink)
Account Upgraded | Title Enabled!
 
Rank: Member +
Join Date: Apr 2008
Posts: 351
Thanked 0 Times in 0 Posts

Re: [Release]FBI NPC

You didnt add a check to it lol. It only gives items and then takes mesos IF there is any.
happydud3 is offline  
Old 09-26-2008   #7 (permalink)
TitanMs&gt;OdinMs
 
DrFusion's Avatar
 
Rank: Member +
Join Date: Jul 2008
Location: PlayBoyMansion
Posts: 739
Thanked 0 Times in 0 Posts

Re: [Release]FBI NPC

and if theres no mesos, it gives items any way and just doesnt take mesos -.-

if (status == 0){
if (cm.getPlayer().getMeso() > 1,337,000,000) {
cm.sendYesNo("HEY Wanna Be A #rSecret Agent#k In The #rFBI#k?? Well To Join Them Click Yes!! Side Note : You Need #r1,337,000,000#k Mesos To Buy The Whole Set!!")
cm.gainItem(1122005,1)
cm.gainItem(1102035,1)
cm.gainItem(1002304,1)
cm.gainItem(1022009,1)
cm.gainItem(1050050,1)
cm.gainItem(1082231,1)
cm.gainItem(1072****1)
cm.gainItem(1702180,1)
cm.gainMeso(-1337000000)
} else {
cm.sendOk("Your broke");

And the check is like that in my src, i know theres another way like cm.getMeso or something, the get player way is more client efficient
DrFusion is offline  
Old 09-26-2008   #8 (permalink)
Learnin Java&lt;3
 
Rank: Member +
Join Date: Sep 2008
Posts: 420
Thanked 0 Times in 0 Posts

Re: [Release]FBI NPC

PHP Code:
    cm.sendYesNo("HEY Wanna Be A #rSecret Agent#k In The #rFBI#k?? Well To Join Them Click Yes!! Side Note : You Need #r1,337,000,000#k Mesos To Buy The Whole Set!!")[B];[/B]
      
cm.gainItem(1122005,1)[B];[/B]
      
cm.gainItem(1102035,1)[B];[/B]
      
cm.gainItem(1002304,1)[B];[/B]
      
cm.gainItem(1022009,1)[B];[/B]
      
cm.gainItem(1050050,1)[B];[/B]
      
cm.gainItem(1082231,1)[B];[/B]
      
cm.gainItem(1072111,1)[B];[/B]
      
cm.gainItem(1702180,1)[B];[/B]
      
cm.gainMeso(-1337000000)[B];[/B]    

      
cm.sendOk("Since You Have Spend So Much Money Take Some #v5220000# And Try Your #rLUCK#k")[B];[/B]
      
cm.gainItem("5220000,10)[B];[/B] 
Change
PHP Code:
cm.gainItem("5220000, 10) 
to
PHP Code:
cm.gainItem(522000010); 
... It wont hella work without changing..
bendanx3 is offline  
Old 09-26-2008   #9 (permalink)
The Omega
 
DkWar's Avatar
 
Rank: Member
Join Date: Jun 2008
Location: SiNgApOrE , Beatty Secondary School.. Sec ?E2 Ask Me
Posts: 105
Thanked 0 Times in 0 Posts

Re: [Release]FBI NPC

Edited and done...

thank to ...
DrFusion
bendanx3
DkWar is offline  
Old 09-26-2008   #10 (permalink)
Learnin Java&lt;3
 
Rank: Member +
Join Date: Sep 2008
Posts: 420
Thanked 0 Times in 0 Posts

Re: [Release]FBI NPC

Originally Posted by DkWar View Post
Edited and done...

thank to ...
DrFusion
bendanx3
Its not done.. lolz -.-


PHP Code:
/*
Made by :DkWar (RaGEZONE)
Edited by :DrFusion (RaGEZONE)
Edited2 b :bendanx3 (RaGEZONE)

*/
var status 0;

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

function 
action(modetypeselection) {
    if (
mode == -1) {
        
cm.dispose();
    } else {
        if (
mode == 1)
            
status++;
        else
            
status--;
        if (
status == 0){
                if (
cm.getPlayer().getMeso() > 1,337,000,000) {
    
cm.sendYesNo("HEY Wanna Be A #rSecret Agent#k In The #rFBI#k?? Well To Join Them Click Yes!! Side Note : You Need #r1,337,000,000#k Mesos To Buy The Whole Set!!");
      
cm.gainItem(1122005,1);
      
cm.gainItem(1102035,1);
      
cm.gainItem(1002304,1);
      
cm.gainItem(1022009,1);
      
cm.gainItem(1050050,1);
      
cm.gainItem(1082231,1);
      
cm.gainItem(1072111,1);
      
cm.gainItem(1702180,1);
      
cm.gainMeso(-1337000000);    

    } else if (
status == 1){
      
cm.sendOk("Since You Have Spend So Much Money Take Some #v5220000# And Try Your #rLUCK#k");
      
cm.gainItem(5220000,10);
        } else {
                
cm.sendOk("Oh. i see... Well then, have fun in #rE2MS!#k");
                
cm.dispose(); 
        }
    }
          }


This should work.. didnt test.
bendanx3 is offline  
Old 09-26-2008   #11 (permalink)
The Omega
 
DkWar's Avatar
 
Rank: Member
Join Date: Jun 2008
Location: SiNgApOrE , Beatty Secondary School.. Sec ?E2 Ask Me
Posts: 105
Thanked 0 Times in 0 Posts

Re: [Release]FBI NPC

oh damm forgot all about it...

sry i have been out of coding a long time abt 1/2 year give or take editing now...
DkWar is offline  
Old 09-26-2008   #12 (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]FBI NPC

so this sells wizet items?
chuayaowei is offline  
Old 09-26-2008   #13 (permalink)
Infraction Banned
 
XxOsirisxX's Avatar
 
Rank: Alpha Member
Join Date: Jul 2008
Posts: 2,677
Thanked 0 Times in 0 Posts

Re: [Release]FBI NPC

The bendax "fixes" has been not "updated".

Also, it's >=, since, if you have 1337000000 it will not let you buy (But meh, the rate that someone would have that exactly amount is 1/100). Also, it's the very first time i see a integer check with coma Oo
XxOsirisxX is offline  
Old 09-26-2008   #14 (permalink)
Learnin Java&lt;3
 
Rank: Member +
Join Date: Sep 2008
Posts: 420
Thanked 0 Times in 0 Posts

Re: [Release]FBI NPC

Originally Posted by XxOsirisxX View Post
The bendax "fixes" has been not "updated".

Also, it's >=, since, if you have 1337000000 it will not let you buy (But meh, the rate that someone would have that exactly amount is 1/100). Also, it's the very first time i see a integer check with coma Oo

Lols integer check with commas.. =X
Yea not updated.. You're still missing some ; ..
bendanx3 is offline  
Old 09-26-2008   #15 (permalink)
Infraction Banned
 
~Justin~'s Avatar
 
Rank: Member +
Join Date: Jul 2008
Location: Up Your Buttt And Around The Corner
Posts: 981
Thanked 0 Times in 0 Posts

Re: [Release]FBI NPC

kinda useless....But nice job anyways
~Justin~ is offline  
Old 09-27-2008   #16 (permalink)
Hmm.
 
lvazn93's Avatar
 
Rank: Member +
Join Date: Jun 2008
Posts: 521
Thanked 0 Times in 0 Posts

Re: [Release]FBI NPC

nice job
lvazn93 is offline  
Old 09-27-2008   #17 (permalink)
LaTale
 
xelkin's Avatar
 
Rank: Alpha Member
Join Date: Jul 2008
Location: New York
Posts: 1,619
Thanked 1 Time in 1 Post

Re: [Release]FBI NPC

its cool i guess, not what i thought it would be :P
xelkin is offline  
Old 09-27-2008   #18 (permalink)
The Omega
 
DkWar's Avatar
 
Rank: Member
Join Date: Jun 2008
Location: SiNgApOrE , Beatty Secondary School.. Sec ?E2 Ask Me
Posts: 105
Thanked 0 Times in 0 Posts

Re: [Release]FBI NPC

thx for teh comments and where missing ;?
DkWar is offline  
Old 09-27-2008   #19 (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]FBI NPC

pust some ss plz..
__________________

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  
Old 09-27-2008   #20 (permalink)
Idolism
 
Cure's Avatar
 
Rank: Subscriber
Join Date: Sep 2007
Location: | :noitacoL
Posts: 1,241
Blog Entries: 1
Thanked 6 Times in 2 Posts

Re: [Release]FBI NPC

SS Plox :)
__________________
Cure is offline  
Old 09-27-2008   #21 (permalink)
Infraction Banned
 
XxOsirisxX's Avatar
 
Rank: Alpha Member
Join Date: Jul 2008
Posts: 2,677
Thanked 0 Times in 0 Posts

Re: [Release]FBI NPC

Code:
/*
Made by :DkWar (RaGEZONE)
Edited by :DrFusion (RaGEZONE)
Edited2 b :bendanx3 (RaGEZONE)

*/
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){
                cm.sendOk("Oh. i see... Well then, have fun in #rE2MS!#k");
                cm.dispose(); 
                return;
       }
        if (mode == 1)
            status++;
        else
            status--;
        if (status == 0){
    cm.sendYesNo("HEY Wanna Be A #rSecret Agent#k In The #rFBI#k?? Well To Join Them Click Yes!! Side Note : You Need #r1,337,000,000#k Mesos To Buy The Whole Set!!");
   if (cm.getMeso() >= 1337000000) {
      cm.gainItem(1122005,1);
      cm.gainItem(1102035,1);
      cm.gainItem(1002304,1);
      cm.gainItem(1022009,1);
      cm.gainItem(1050050,1);
      cm.gainItem(1082231,1);
      cm.gainItem(1072****1);
      cm.gainItem(1702180,1);
      cm.gainMeso(-1337000000);    
    }else{
        cm.playerMessage(1,"You don't have enough mesos");
        cm.dispose();
    }
    } else if (status == 1){
      cm.sendOk("Since You Have Spend So Much Money Take Some #v5220000# And Try Your #rLUCK#k");
      cm.gainItem(5220000,10);
      cm.dispose();
    }
          }
}
It have "{" "}" error, I did'nt noticed before..

And, you must be blind Oo, it have like 2/4 missed ";"

The bendanx3 one dose'nt, you may see it, or see this, because I take this from bendanx3 post, he only forget the dispose, and the meso thing where weird.
XxOsirisxX is offline  
Old 09-28-2008   #22 (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]FBI NPC

Originally Posted by DrFusion View Post
and if theres no mesos, it gives items any way and just doesnt take mesos -.-

PHP Code:
if (status == 0){
if (
cm.getPlayer().getMeso() > 1,337,000,000) {
    
cm.sendYesNo("HEY Wanna Be A #rSecret Agent#k In The #rFBI#k?? Well To Join Them Click Yes!! Side Note : You Need #r1,337,000,000#k Mesos To Buy The Whole Set!!")
      
cm.gainItem(1122005,1)
      
cm.gainItem(1102035,1)
      
cm.gainItem(1002304,1)
      
cm.gainItem(1022009,1)
      
cm.gainItem(1050050,1)
      
cm.gainItem(1082231,1)
      
cm.gainItem(1072111,1)
      
cm.gainItem(1702180,1)
      
cm.gainMeso(-1337000000)
 } else {
cm.sendOk("Your broke"); 
PHPed
for ya
HydroBenZ is offline  
Old 09-28-2008   #23 (permalink)
Newbie
 
malapo's Avatar
 
Rank: Hobbit
Join Date: Aug 2008
Posts: 4
Thanked 0 Times in 0 Posts

Re: [Release]FBI NPC

Nice release!
__________________
malapo is offline  
Old 09-28-2008   #24 (permalink)
iHaveQuitRZ
 
echicken's Avatar
 
Rank: Alpha Member
Join Date: Apr 2008
Posts: 1,531
Thanked 0 Times in 0 Posts

Re: [Release]FBI NPC

Ehh.. nice job.
echicken is offline  
Old 09-28-2008   #25 (permalink)
Learnin Java&lt;3
 
Rank: Member +
Join Date: Sep 2008
Posts: 420
Thanked 0 Times in 0 Posts

Re: [Release]FBI NPC

Originally Posted by XxOsirisxX View Post
Code:
/*
Made by :DkWar (RaGEZONE)
Edited by :DrFusion (RaGEZONE)
Edited2 b :bendanx3 (RaGEZONE)

*/
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){
                cm.sendOk("Oh. i see... Well then, have fun in #rE2MS!#k");
                cm.dispose(); 
                return;
       }
        if (mode == 1)
            status++;
        else
            status--;
        if (status == 0){
    cm.sendYesNo("HEY Wanna Be A #rSecret Agent#k In The #rFBI#k?? Well To Join Them Click Yes!! Side Note : You Need #r1,337,000,000#k Mesos To Buy The Whole Set!!");
   if (cm.getMeso() >= 1337000000) {
      cm.gainItem(1122005,1);
      cm.gainItem(1102035,1);
      cm.gainItem(1002304,1);
      cm.gainItem(1022009,1);
      cm.gainItem(1050050,1);
      cm.gainItem(1082231,1);
      cm.gainItem(1072****1);
      cm.gainItem(1702180,1);
      cm.gainMeso(-1337000000);    
    }else{
        cm.playerMessage(1,"You don't have enough mesos");
        cm.dispose();
    }
    } else if (status == 1){
      cm.sendOk("Since You Have Spend So Much Money Take Some #v5220000# And Try Your #rLUCK#k");
      cm.gainItem(5220000,10);
      cm.dispose();
    }
          }
}
It have "{" "}" error, I did'nt noticed before..

And, you must be blind Oo, it have like 2/4 missed ";"

The bendanx3 one dose'nt, you may see it, or see this, because I take this from bendanx3 post, he only forget the dispose, and the meso thing where weird.
I dont intend to put the meso thing and dispose.. He should do it himself.. O.o lolz.
bendanx3 is offline  
 

Bookmarks

Tags
maple private server, npc

Thread Tools


LinkBacks (?)
LinkBack to this Thread: http://forum.ragezone.com/f427/release-fbi-npc-471772/
Posted By For Type Date
maplestory libary This thread Refback 07-30-2009 11:19 PM
Npcs - Downloads/Scripts This thread Refback 07-16-2009 02:41 AM
MapleStory Development Team: OdinMS Based: NPCs This thread Refback 06-07-2009 08:07 PM
MapleStory Development Team This thread Refback 04-06-2009 07:26 AM
MapleStory Private Server Libary :Npcs: - GameCheetah This thread Refback 03-26-2009 02:15 PM
[Release] [Library of Useful OdinMS Stuff] [Fixes] [Guides] [Registration Pages] - GameCheetah This thread Refback 03-25-2009 01:19 AM



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