[Release] My Services

Status
Not open for further replies.
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.
 
Possibly when you rebirth Each monster becomes 2x stronger with 2x Each stat? Then 3x and so on? This would use Your Rebirth method and reference the Db table thus making the multiplier change equivalent to that of the Rebirth table for that user?

I dunno if thats possible, but I though Id throw that out there.

(Hehe)
 
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

Already made 6 for you. But isnt mine better since you can do the party~
 
hey, which one is the ap code where when you level you type @str and it adds that many ap you have in your.. box thing.. (ie. you level up like 5 times and have 25 ap, you type @str 25 and it automatically adds it)?

also, ive tried every ap code on there and i keep getting the error of like..

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(){

yeah.. can someone tell me what im doing wrong?
i get like 5x of each errors listed up there so about 25-27 each time i try, and when i take it out, its successful..
 
Do you know how to fix GainGP function?

Edit: Nvm, I fixed it

what did you fix for it?

btw Airflow0, can you make so that after you kill a player gain only 1GP for your guild + an annocement to your guild that you killed *player*. Right now, the GP are completey random and i dont know what it is based on...
 
hey can u correc tthis NPC for me ?

it is to open other npcs
Code:
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(); 
    } 
}
 
I don't really see anything wrong with it. Maybe the openNpc function you have isn't working? Try using this and if it doesn't work post the openNpc function..

Code:
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); 
    }
}
 
Status
Not open for further replies.
Back