LollyMS
Oh dear, it seems you're not logged in. Please log in or register with us to view our forums(:

Join the forum, it's quick and easy

LollyMS
Oh dear, it seems you're not logged in. Please log in or register with us to view our forums(:
LollyMS
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Mike's Coder Applicaton Come loooook Colors

+2
moveit56
baboo
6 posters

Page 1 of 2 1, 2  Next

Go down

Mike's Coder Applicaton Come loooook Colors Empty Mike's Coder Applicaton Come loooook Colors

Post  baboo Mon Apr 05, 2010 6:23 pm

name: Mike

Age:17

Coding skills:i can code NPC's, and i know a little Java coding.

What can you code?:Mostly NPCS

What can't you code/what are your weaknesses?: i can barely code java, what i mean is, i cant in-cooperate my npcs with java stuff as in edited stuff unless u just edit the whole item.

Do you have any examples?: yes?

Code:
/* Made by Mike from Kudoms
If u leach this, i hope u die */

var wui = 0;

function start() {
    cm.sendSimple ("Hello, I'm here to trade your trophies for some awsome top of the line Timeless Wepons. \r\n#L0# #r#r10#k trophies for a #rTimeless One hand Sword#k.#k #l\r\n#L1##r10#k trophies for #rTimeless 2 Hand Sword.#k  #l\r\n#L2##r10#k trophies for a #rTimeless one hand mace#k. #l\r\n#L3##r10#k Tropies for a #rTimeless 2 Hand Mace#k #l\r\n#L4##r10#k trophies for a #rTimeless One hand Axe#r#k #l\r\n#L5##r10#k trophies for a #rTimeless Two hand Axe#r#k CHOOSE WIZELY, NO REFUNDS");
}

function action(mode, type, selection) {
cm.dispose();
    if (selection == 0) {

                    if (cm.haveItem(4000038, 10)) {
                      cm.gainItem(1302081,1);
                      cm.gainItem(4000038, -10);
                      cm.sendOk("Enjoy");
                      cm.dispose();
            } else {
                cm.sendOk(" Sorry. You do not have enough trophies. ");
                cm.dispose();
                }

   
        } else if (selection == 1) {


                    if (cm.haveItem(4000038, 10)) {
                      cm.gainItem(1402046,1);
                      cm.gainItem(4000038, -10);
                      cm.sendOk("Enjoy");
                      cm.dispose();
            } else {
                cm.sendOk(" Sorry. You do not have enough trophies. ");
                cm.dispose();
                }


        } else if (selection == 2) {

                    if (cm.haveItem(4000038, 10)) {
                      cm.gainItem(1322060,1);
                      cm.gainItem(4000038, -10);
                      cm.sendOk("Enjoy");
                      cm.dispose();
            } else {
                cm.sendOk(" Sorry. You do not have enough trophies. ");
                cm.dispose();
                }



        } else if (selection == 3) {


                    if (cm.haveItem(4000038, 10)) {
                      cm.gainItem(1422037,1);
                      cm.gainItem(4000038, -10);
                      cm.sendOk("Enjoy");
                      cm.dispose();
            } else {
                cm.sendOk(" Sorry. You do not have enough trophies. ");
                cm.dispose();
                }
               
               
               
            } else if (selection == 4) {
 
                    if (cm.haveItem(4000038, 10)) {
                      cm.gainItem(1312037,1);
                      cm.gainItem(4000038, -10);
                      cm.sendOk("Enjoy");
                      cm.dispose();
            } else {
                cm.sendOk(" Sorry. You do not have enough trophies. ");
                cm.dispose();
                }



        } else if (selection == 5) {
 
                    if (cm.haveItem(4000038, 10)) {
                      cm.gainItem(1412033,1);
                      cm.gainItem(4000038, -10);
                      cm.sendOk("Enjoy");
                      cm.dispose();
            } else {
                cm.sendOk(" Sorry. You do not have enough trophies. ");
                cm.dispose();
                }

        cm.dispose();
        }   


   
(alt+c)



Please tell us a little bit about yourself:

well if coders get GM privelages, i wont let u down because well... ive been a gm in many many other private servers before, and i know all the gm rules... but if i get accepted i needa ask you a couple of questions... im finishing school in 54 days to be exact from the moment i post this app... when i say finish i mean im done... no more studying... so imma be on 24/7. well thanks for reading got any questions? IGn( HOPEFULLY) mike if not, then its baboo.



didnt make it too long because i know how it sucks to read a long app... trust me ive been in ur shoes loads of times...

well peace and have a nice day

baboo
Niblet
Niblet

Posts : 21
Join date : 2010-04-05
Age : 31

Back to top Go down

Mike's Coder Applicaton Come loooook Colors Empty Re: Mike's Coder Applicaton Come loooook Colors

Post  moveit56 Mon Apr 05, 2010 8:24 pm

hmmmm that script does not look right

u forgot if to get children (TROPHY ID HERE) because if you dont do that then it will give you it even if you dont have a trophy
then the reset should work
moveit56
moveit56
Lurking Lurker
Lurking Lurker

Posts : 32
Join date : 2010-01-02
Location : on maplestory.... bein lonnly

http://well join teh hamachi and it will be 5.94.132.226

Back to top Go down

Mike's Coder Applicaton Come loooook Colors Empty Re: Mike's Coder Applicaton Come loooook Colors

Post  baboo Tue Apr 06, 2010 5:28 am

ur wrong... lol i tested this and it works fine ...

baboo
Niblet
Niblet

Posts : 21
Join date : 2010-04-05
Age : 31

Back to top Go down

Mike's Coder Applicaton Come loooook Colors Empty Re: Mike's Coder Applicaton Come loooook Colors

Post  Natural Tue Apr 06, 2010 1:50 pm

If you're doing a non-status script, why add the status? "wui"

Edit: I would also suggest using variables with a loop to make it shorter; because it's hard to read that small box filled with text.
Natural
Natural
Spam Addict
Spam Addict

Posts : 138
Join date : 2010-03-16
Age : 28
Location : Earth

Back to top Go down

Mike's Coder Applicaton Come loooook Colors Empty Re: Mike's Coder Applicaton Come loooook Colors

Post  baboo Tue Apr 06, 2010 6:33 pm

ur right i can... but i made this long ago.. lol i wasnt as experienced as i am now.

baboo
Niblet
Niblet

Posts : 21
Join date : 2010-04-05
Age : 31

Back to top Go down

Mike's Coder Applicaton Come loooook Colors Empty Re: Mike's Coder Applicaton Come loooook Colors

Post  Natural Tue Apr 06, 2010 6:34 pm

Coolio, any tricks?
Natural
Natural
Spam Addict
Spam Addict

Posts : 138
Join date : 2010-03-16
Age : 28
Location : Earth

Back to top Go down

Mike's Coder Applicaton Come loooook Colors Empty Re: Mike's Coder Applicaton Come loooook Colors

Post  baboo Tue Apr 06, 2010 6:35 pm

like?

baboo
Niblet
Niblet

Posts : 21
Join date : 2010-04-05
Age : 31

Back to top Go down

Mike's Coder Applicaton Come loooook Colors Empty Re: Mike's Coder Applicaton Come loooook Colors

Post  Natural Tue Apr 06, 2010 6:36 pm

Multi-dimensional arrays, maybe. :d
Natural
Natural
Spam Addict
Spam Addict

Posts : 138
Join date : 2010-03-16
Age : 28
Location : Earth

Back to top Go down

Mike's Coder Applicaton Come loooook Colors Empty Re: Mike's Coder Applicaton Come loooook Colors

Post  baboo Tue Apr 06, 2010 6:40 pm

hmmmm... u mean like fredrick or an all in one shop? yea...

baboo
Niblet
Niblet

Posts : 21
Join date : 2010-04-05
Age : 31

Back to top Go down

Mike's Coder Applicaton Come loooook Colors Empty Re: Mike's Coder Applicaton Come loooook Colors

Post  Natural Tue Apr 06, 2010 6:41 pm

No, that would be opening several shops, whereas I meant: [649887, 849849] [8789798, 8798798]. Sorta like Gachapon
Natural
Natural
Spam Addict
Spam Addict

Posts : 138
Join date : 2010-03-16
Age : 28
Location : Earth

Back to top Go down

Mike's Coder Applicaton Come loooook Colors Empty Re: Mike's Coder Applicaton Come loooook Colors

Post  baboo Tue Apr 06, 2010 6:45 pm

imma be honest with you... i havent tried something like that before... but i can learn.

baboo
Niblet
Niblet

Posts : 21
Join date : 2010-04-05
Age : 31

Back to top Go down

Mike's Coder Applicaton Come loooook Colors Empty Re: Mike's Coder Applicaton Come loooook Colors

Post  Natural Tue Apr 06, 2010 6:57 pm

Oh, I'm not the only noob ;D.
Natural
Natural
Spam Addict
Spam Addict

Posts : 138
Join date : 2010-03-16
Age : 28
Location : Earth

Back to top Go down

Mike's Coder Applicaton Come loooook Colors Empty Re: Mike's Coder Applicaton Come loooook Colors

Post  baboo Tue Apr 06, 2010 6:59 pm

dude... wth is this servers website?

baboo
Niblet
Niblet

Posts : 21
Join date : 2010-04-05
Age : 31

Back to top Go down

Mike's Coder Applicaton Come loooook Colors Empty Re: Mike's Coder Applicaton Come loooook Colors

Post  Natural Tue Apr 06, 2010 7:04 pm

Apparently, it's still in the making or something. This is the website until further notice; I presume.
Natural
Natural
Spam Addict
Spam Addict

Posts : 138
Join date : 2010-03-16
Age : 28
Location : Earth

Back to top Go down

Mike's Coder Applicaton Come loooook Colors Empty Re: Mike's Coder Applicaton Come loooook Colors

Post  baboo Tue Apr 06, 2010 7:06 pm

alright... and oh i aint a noob... thats just one thing i dont know how to do... lol i can do other shizz.. lol Razz what about u what can u do?

baboo
Niblet
Niblet

Posts : 21
Join date : 2010-04-05
Age : 31

Back to top Go down

Mike's Coder Applicaton Come loooook Colors Empty Re: Mike's Coder Applicaton Come loooook Colors

Post  Natural Tue Apr 06, 2010 7:07 pm

Nothing. ;D
Natural
Natural
Spam Addict
Spam Addict

Posts : 138
Join date : 2010-03-16
Age : 28
Location : Earth

Back to top Go down

Mike's Coder Applicaton Come loooook Colors Empty Re: Mike's Coder Applicaton Come loooook Colors

Post  baboo Tue Apr 06, 2010 7:09 pm

haha.. no seriously...

baboo
Niblet
Niblet

Posts : 21
Join date : 2010-04-05
Age : 31

Back to top Go down

Mike's Coder Applicaton Come loooook Colors Empty Re: Mike's Coder Applicaton Come loooook Colors

Post  Natural Tue Apr 06, 2010 7:10 pm

Not sure. Most of my knowledge isn't complete since there aren't too many sources.
Natural
Natural
Spam Addict
Spam Addict

Posts : 138
Join date : 2010-03-16
Age : 28
Location : Earth

Back to top Go down

Mike's Coder Applicaton Come loooook Colors Empty Re: Mike's Coder Applicaton Come loooook Colors

Post  baboo Tue Apr 06, 2010 7:14 pm

make a test server... then just learn using trial and error... and try to implement some Npc's that are already available... then just use ur head to create something original Very Happy lol thats how i did it... and thats how i plan on learning that Multi dimensional Array stuff

baboo
Niblet
Niblet

Posts : 21
Join date : 2010-04-05
Age : 31

Back to top Go down

Mike's Coder Applicaton Come loooook Colors Empty Re: Mike's Coder Applicaton Come loooook Colors

Post  Natural Tue Apr 06, 2010 7:15 pm

You can't make it without proper commands or examples.
Natural
Natural
Spam Addict
Spam Addict

Posts : 138
Join date : 2010-03-16
Age : 28
Location : Earth

Back to top Go down

Mike's Coder Applicaton Come loooook Colors Empty Re: Mike's Coder Applicaton Come loooook Colors

Post  baboo Tue Apr 06, 2010 7:19 pm

i had the propper commands... and i studied the NPC's script before i try something... keeping in mind, i know what the npc's function is... i track what happens and compare it with the code... thats how u figure out the correct codes dont u think... and its also how to find errors in the NPC. if ur telling me its like gachapon... it shouldnt be hard...

baboo
Niblet
Niblet

Posts : 21
Join date : 2010-04-05
Age : 31

Back to top Go down

Mike's Coder Applicaton Come loooook Colors Empty Re: Mike's Coder Applicaton Come loooook Colors

Post  Natural Tue Apr 06, 2010 7:21 pm

It's not just gachapon. Gachapon is a Random Multi-Dim array. There are several others which I don't know
Natural
Natural
Spam Addict
Spam Addict

Posts : 138
Join date : 2010-03-16
Age : 28
Location : Earth

Back to top Go down

Mike's Coder Applicaton Come loooook Colors Empty Re: Mike's Coder Applicaton Come loooook Colors

Post  baboo Tue Apr 06, 2010 7:27 pm

lol it looks like u havnt been on google for a while man... do your research. lol Razz

baboo
Niblet
Niblet

Posts : 21
Join date : 2010-04-05
Age : 31

Back to top Go down

Mike's Coder Applicaton Come loooook Colors Empty Re: Mike's Coder Applicaton Come loooook Colors

Post  Natural Tue Apr 06, 2010 7:35 pm

Mind showing me one? I can't seem to find any
Natural
Natural
Spam Addict
Spam Addict

Posts : 138
Join date : 2010-03-16
Age : 28
Location : Earth

Back to top Go down

Mike's Coder Applicaton Come loooook Colors Empty Re: Mike's Coder Applicaton Come loooook Colors

Post  baboo Tue Apr 06, 2010 7:37 pm

http://www.javascriptkit.com/javatutors/twoarray1.shtml

... lol that took less than 2 minits m8... just implement this to maple...

baboo
Niblet
Niblet

Posts : 21
Join date : 2010-04-05
Age : 31

Back to top Go down

Mike's Coder Applicaton Come loooook Colors Empty Re: Mike's Coder Applicaton Come loooook Colors

Post  Sponsored content


Sponsored content


Back to top Go down

Page 1 of 2 1, 2  Next

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum