- Joined
- Apr 12, 2008
- Messages
- 61
- Reaction score
- 28
Well mabye you can help then? you know that "nxcode" in mysql. can you make a npc, that makes random code, that gives 10k nx for 20 mill, 20k nx for 40 mill and 30k nx for 55 mill? thx.
Can't you do this with XML WZ Editting? And just say cm.gainItem(ID,amount)?
&&
Airflow could you make a cm.warpParty([mapid]) NPC command? So that it warps everybody in the party your in to the map. **this is optional ONLY if their in the same map as the one who clicked
private static String getCharInfoById(int id){
private static void setReportStatus(int id, String status){
private static ResultSet getReport(int id){
private static void deleteReport(int id){
private static ResultSet getReports(){
Do you know how to fix GainGP function?
Edit: Nvm, I fixed it
function start() {
cm.sendSimple ("Hello #h # ! I am Fredrick and i have travelled around the world and took some G-Star NPC's number. Pick one G-Star to talk to\r\n#L0#Job advancer (jm from the streets)#l\r\n#L1#the everything shop (cody)#l\r\n#L2#skill maxer (mia)#l\r\n#L3#pvp warper (amos the strong)#l\r\n#L4#warper (spinel)#l\r\n#L5#coloured item seller (casey)#l\r\n#L6#trophy quest (duey)#l\r\n#L7#trophy trader (mad bunny)#l\r\n#L8#nx seller (perion nana)#l\r\n#L9#resetter or adder (henesy nana)#l\r\n#L10#gm caller (jake)#l\r\n#L11#rebirther (mr.pickall)#l\r\n#L12#gambler (coco)#l\r\n#L13#first job bowman inst #l\r\n#L14#first job warrior inst #l\r\n#L15#first job magican inst #l\r\n#L16#first job thief inst #l");
}
function action(mode, type, selection) {
cm.dispose();
if (selection == 0) {
cm.openNpc (1052003);
} else if (selection == 1) {
cm.openNpc (9200000);
} else if (selection == 2) {
cm.openNpc (9010004);
} else if (selection == 3) {
cm.openNpc (9201043);
} else if (selection == 4) {
cm.openNpc (9000020);
} else if (selection == 5) {
cm.openNpc (1012008);
} else if (selection == 6) {
cm.openNpc (9010009);
} else if (selection == 7) {
cm.openNpc (9200001);
} else if (selection == 8) {
cm.openNpc (9201027);
} else if (selection == 9) {
cm.openNpc (9201001);
} else if (selection == 10) {
cm.openNpc (1052006);
} else if (selection == 11) {
cm.openNpc (9000008);
} else if (selection == 12) {
cm.openNpc (9000017);
} else if (selection == 13) {
cm.openNpc (1012100);
} else if (selection == 14) {
cm.openNpc (1022000);
} else if (selection == 15) {
cm.openNpc (1032001);
} else if (selection == 16) {
cm.openNpc (1052006);
} else {
cm.dispose();
}
}
function start() {
cm.sendSimple("Hello #h #! I am Fredrick and I have traveled around the world and took some G-Star NPC's number. Pick one G-Star to talk to\r\n#L0#Job advancer (jm from the streets)#l\r\n#L1#the everything shop (cody)#l\r\n#L2#skill maxer (mia)#l\r\n#L3#pvp warper (amos the strong)#l\r\n#L4#warper (spinel)#l\r\n#L5#coloured item seller (casey)#l\r\n#L6#trophy quest (duey)#l\r\n#L7#trophy trader (mad bunny)#l\r\n#L8#nx seller (perion nana)#l\r\n#L9#resetter or adder (henesy nana)#l\r\n#L10#gm caller (jake)#l\r\n#L11#rebirther (mr.pickall)#l\r\n#L12#gambler (coco)#l\r\n#L13#first job bowman inst#l\r\n#L14#first job warrior inst#l\r\n#L15#first job magican inst #l\r\n#L16#first job thief inst #l");
}
function action(mode, type, selection) {
cm.dispose();
if (selection == 0) {
cm.openNpc(1052003);
} else if (selection == 1) {
cm.openNpc(9200000);
} else if (selection == 2) {
cm.openNpc(9010004);
} else if (selection == 3) {
cm.openNpc(9201043);
} else if (selection == 4) {
cm.openNpc(9000020);
} else if (selection == 5) {
cm.openNpc(1012008);
} else if (selection == 6) {
cm.openNpc(9010009);
} else if (selection == 7) {
cm.openNpc(9200001);
} else if (selection == 8) {
cm.openNpc(9201027);
} else if (selection == 9) {
cm.openNpc(9201001);
} else if (selection == 10) {
cm.openNpc(1052006);
} else if (selection == 11) {
cm.openNpc(9000008);
} else if (selection == 12) {
cm.openNpc(9000017);
} else if (selection == 13) {
cm.openNpc(1012100);
} else if (selection == 14) {
cm.openNpc(1022000);
} else if (selection == 15) {
cm.openNpc(1032001);
} else if (selection == 16) {
cm.openNpc(1052006);
}
}