SnailMS
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Calaberx's Coder app

2 posters

Go down

Calaberx's Coder app Empty Calaberx's Coder app

Post by calaberx Sat Jul 10, 2010 8:43 am

Name: Chris

IGN: Calaberx

Age: 14

Experinces: I Coded some custom NPCs for insideMS and im currently learing reverse engineering and taking my java studys deeper!

Examples:
My First NPC Ever:

Npc = T-1337

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("Goodbye");
cm.dispose();
return;
}

if (mode == 1) {
status++;
}
else {
status--;
}

if (status == 0) {
cm.sendNext("I have been sent to...CRITICAL SYSTEM ERROR! .");
}
else if(status == 1) {
cm.sendOk (" I am cybernetic automation model T-1337 *BZZ*");
cm.dispose();
}
}
}

1 of My Current NPCs:

Npc = T-1337

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("Goodbye");
cm.dispose();
return;
}

if (mode == 1) {
status++;
}
else {
status--;
}

if (status == 0) {
cm.sendNext("Hello, I Give GM's GM Items");
}
else if(status == 1) {
cm.sendNext("Here is a list of the equips ONLY for GM's");
}
else if(status == 1) {
cm.sendNext("(#v[1322013]# #t[1322013]#)
(#v[1002140]# #t[1002140]#)
(#v[1042003]# #t[1042003]#)
(#v[1062007]# #t[1062007]#)
(#v[2022070]# #t[2022070]#)
(#v[2100001]# #t[2100001]#)
(#v[2100002]# #t[2100002]#)
(#v[2100003]# #t[2100003]#)
(#v[2100004]# #t[2100004]#)
(#v[2100005]# #t[2100005]#)
(#v[2100006]# #t[2100006]#)
(#v[2100007]# #t[2100007]#)
(#v[2100026]# #t[2100026]#)
(#v[2100027]# #t[2100027]#)
(#v[2100031]# #t[2100031]#)
(#v[2100032]# #t[2100032]#)
(#v[2100033]# #t[2100033]#)
(#v[2100034]# #t[2100034]#)
(#v[2100035]# #t[2100035]#)
(#v[2100036]# #t[2100036]#)
(#v[2100037]# #t[2100037]#)
(#v[2100038]# #t[2100038]#)
(#v[2100039]# #t[2100039]#)
(#v[2100040]# #t[2100040]#)
(#v[2101021]# #t[2101021]#)
(#v[2101022]# #t[2101022]#)
(#v[2101023]# #t[2101023]#)
(#v[2101024]# #t[2101024]#)
(#v[2101025]# #t[2101025]#)
(#v[2101026]# #t[2101026]#)
(#v[2101039]# #t[2101039]#)
(#v[2101050]# #t[2101050]#)
(#v[2101051]# #t[2101051]#)
(#v[2101052]# #t[2101052]#)
(#v[2101053]# #t[2101053]#)
(#v[2101054]# #t[2101054]#)
(#v[2101055]# #t[2101055]#)
(#v[2101056]# #t[2101056]#)
(#v[2102008]# #t[2102008]#)
(#v[2102009]# #t[2102009]#)");
}
else if(status == 1) {
cm.sendOk("Have a Good day GM #h #");
cm.dispose();
}
}
}

How would you benifit us?: I would help code custom NPC's and since im learing reverse engineering and more java i can soon help with other things

calaberx

Posts : 25
Reputation : 0
Join date : 2010-06-13

Back to top Go down

Calaberx's Coder app Empty Re: Calaberx's Coder app

Post by gunzlol55 Wed Jul 14, 2010 3:32 pm

GL

gunzlol55

Posts : 290
Reputation : 1
Join date : 2010-01-31

Back to top Go down

Back to top

- Similar topics

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