Jump to content

isaw4sal3

Members
  • Posts

    40
  • Joined

  • Last visited

Posts posted by isaw4sal3

  1. can you help me with this one? the rate is 10k/10k.

    //Experience tables format:
    //Max Level,Class list,Type (0 - Base Exp; 1 - Job Exp),Exp for Lv 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
    //Base - Normal and Baby Jobs
    99,0:1:2:3:4:5:6:7:8:9:10:11:12:13:14:15:16:17:18:19:20:21:23:24:25:26:4023:4024:4025:4026:4027:4028:4029:4030:4031:4032:4033:4034:4035:4036:4037:4038:4039:4040:4041:4042:4043:4044:4045:4046:4047:4048:4049,0,9,16,25,36,77,112,153,200,253,320,385,490,585,700,830,970,1120,1260,1420,1620,1860,1990,2240,2504,2950,3426,3934,4474,6889,7995,9174,10425,11748,13967,15775,17678,19677,21773,30543,34212,38065,42102,46323,53026,58419,64041,69892,75973,102468,115254,128692,142784,157528,178184,196300,215198,234879,255341,330188,365914,403224,442116,482590,536948,585191,635278,687211,740988,925400,1473746,1594058,1718928,1848355,1982340,2230113,2386162,2547417,2713878,3206160,3681024,4022472,4377024,4744680,5125440,5767272,6204000,6655464,7121664,7602600,9738720,11649960,13643520,18339300,23836800,35658000,48687000,58135000,99999999
    //Base - Adv Jobs
    99,4001:4002:4003:4004:4005:4006:4007:4008:4009:4010:4011:4012:4013:4014:4015:4016:4017:4018:4019:4020:4021:4022,0,10,18,28,40,85,123,168,220,278,400,481,613,731,875,1038,1213,1400,1575,1775,2268,2604,2786,3136,3506,4130,4796,5508,6264,9645,12392,14220,16159,18209,21649,24451,27401,30499,33748,47342,58160,64711,71573,78749,90144,99312,108870,118816,129154,174196,213220,238080,264150,291427,329640,363155,398116,434526,472381,610848,731828,806448,884232,965180,1073896,1170382,1270556,1374422,1481976,1850800,3389616,3666333,3953534,4251217,4559382,5129260,5488173,5859059,6241919,7374168,9570662,10458427,11380262,12336168,13326144,14994907,16130400,17304200,18516326,19766760,29216160,34949880,40930560,55017900,71510400,106974000,146061000,174405000,343210000
    //Job - Novice
    10,0:4023,1,10,18,28,40,91,151,205,268,340
    //Job - 1st Classes
    50,1:2:3:4:5:6:26:4024:4025:4026:4027:4028:4029:4046,1,30,43,58,76,116,180,220,272,336,520,604,699,802,948,1125,1668,1937,2226,3040,3988,5564,6272,7021,9114,11473,15290,16891,18570,23229,28359,36478,39716,43088,52417,62495,78160,84175,90404,107611,125915,153941,191781,204351,248352,286212,386371,409795,482092,509596
    //Job - 2nd Classes
    50,7:8:9:10:11:12:13:14:15:16:17:18:19:20:21:4030:4031:4032:4033:4034:4035:4036:4037:4038:4039:4040:4041:4042:4043:4044:4049,1,144,184,284,348,603,887,1096,1598,2540,3676,4290,4946,6679,9492,12770,14344,16005,20642,27434,35108,38577,42206,52708,66971,82688,89544,96669,117821,144921,174201,186677,199584,238617,286366,337147,358435,380376,447685,526989,610246,644736,793535,921810,1106758,1260955,1487304,1557657,1990632,2083386
    //Job - Super Novice
    99,23:4045,1,30,43,58,76,116,180,220,272,336,520,604,699,802,948,1125,1668,1937,2226,3040,3988,5564,6272,7021,9114,11473,15290,16891,18570,23229,28359,36478,39716,43088,52417,62495,78160,84175,90404,107611,125915,153941,191781,204351,248352,286212,386371,409795,482092,509596,982092,992092,1002092,1012092,1022092,1032092,1042092,1052092,1062092,1072092,1082092,1092092,1102092,1112092,1122092,1132092,1142092,1152092,1162092,1172092,1182092,1192092,1202092,1212092,1222092,1232092,1242092,1252092,1262092,1272092,1282092,1292092,1302092,1312092,1322092,1332092,1342092,1352092,1362092,1372092,1382092,1392092,1402092,1412092,1422092,1432092,1442092,1452092,1462092
    //Job - Novice High
    10,4001,1,11,20,31,44,100,166,226,295,374
    //Job - Adv First Classes
    50,4002:4003:4004:4005:4006:4007,1,60,86,116,152,232,360,440,544,672,1040,1208,1398,1604,1896,2250,3336,3874,4452,6080,7976,11128,12544,14042,18228,28683,38225,42228,46425,58073,70898,91195,99290,107720,131043,156238,195408,210430,226010,269028,314788,384853,479453,510878,620880,715530,965928,1024488,1205230,1273990
    //Job - Adv Second Classes
    70,4008:4009:4010:4011:4012:4013:4014:4015:4016:4017:4018:4019:4020:4021:4022,1,288,368,568,696,1206,1774,2192,3196,5080,7352,8580,9892,13358,18984,31925,35860,40013,51605,68585,87770,96443,105515,131770,167428,206720,223860,241673,294553,362303,479053,513362,548856,656197,787507,927154,985696,1046034,1231134,1449220,1678177,1773024,2182221,2534978,3043585,3782865,4461912,4672971,5971896,6250158,6875174,7562691,8318960,9150856,10065942,11877812,14015818,16538655,19515624,23028437,28094693,34275525,41816141,51015692,62239144,79666104,101972614,130524946,167071930,213852071
    //Job - Star Gladiator
    50,4047:4048,1,27434,27434,27434,27434,27434,27434,27434,27434,27434,27434,27434,27434,27434,27434,27434,27434,27434,27434,54868,70216,77154,84412,105416,133942,165376,179088,193338,235642,289842,348402,373354,399168,477234,572732,674294,716870,760752,895370,1053978,1220492,1289472,1587070,1843620,2213516,2521910,2974608,3115314,3981264,4166772
    //Job - Ninja/Gunslinger
    70,24:25,1,72,92,142,174,301,443,548,799,1270,1838,2145,2473,3339,4746,6385,7172,8002,10321,13717,17554,19288,21103,26354,33485,41344,44772,48334,58910,72460,87100,93338,99792,119308,143183,231068,257377,274363,314246,371105,431038,476309,588548,665256,801731,916689,1130023,1188623,1477408,1551289,1746582,1845236,1954741,2124555,2345698,2548763,2759555,3021488,3254111,3489547,3695474,4012251,4181112,4302211,4496584,4578951,4869523,5022114,5123654,5395117
    

  2. 485150_282944238465256_100002490465724_610113_274476502_n.jpg

    how can i edit this?

    i want to know how to fix the zeny function, if you buy a custom item the prize is 1z, but in the quest requirments it cost 100m etc. etc.

    case 1: callsub OnBuyItem,7227,1000,512,500,10000000,"SZeny",20120,1,"announce";

    can you help me how to script it?

  3. Try This one dude

    Credis to Emistry's Currency Shop

    Just change the ITEM ID name PRICE.

    // Leave this alone...

    - shop QwertyRO_Shop -1,512:100

    prontera,155,181,5 script Donation NPC 757,{

    function ShopSettings;

    function ValidateCost;

    function CurrencyInfo;

    function ClearData;

    function ValueConvert;

    function ErrorNotice;

    mes "Welcome to^FF0000Donate Shop^000000.";

    mes "^00FF00____________________________^000000";

    mes "So,Which shop you would like to look at it";

    next;

    // Menu Selection

    select("Armor:Garment:Shoes:Shield:Weapon:Accesory"); // Change The Name Here for EX. Donation 1:Donation2:Donation3...etc.etc.

    ClearData();

    ShopSettings( @menu );

    npcshopitem "QwertyRO_Shop",512,100;

    npcshopdelitem "QwertyRO_Shop",512;

    for(set .@i,0; .@i < getarraysize( @ItemLists ); set .@i,.@i+1)

    npcshopadditem "QwertyRO_Shop",@ItemLists[.@i],@ItemCost[.@i];

    mes "Okay...wait awhile";

    mes "^00FF00____________________________^000000";

    CurrencyInfo( @Currency$ );

    mes "^00FF00____________________________^000000";

    callshop "QwertyRO_Shop",1;

    npcshopattach "QwertyRO_Shop";

    end;

    function ShopSettings {

    switch( getarg(0) ){

    Case 1:

    // Currency [ Item ID / Variable Name ]

    set @Currency$,"10515";

    // Item ID Lists

    setarray @ItemLists[0],512=; // Your Item ID Goes Here. You can put 20 ID Items

    // Item Price

    setarray @ItemCost[0],1000=; // Put The Price Here.

    break;

    Case 2:

    // Currency [ Item ID / Variable Name ]

    set @Currency$,"10515";

    // Item ID Lists

    setarray @ItemLists[0],512=; // Your Item ID Goes Here. You can put 20 ID Items

    // Item Price

    setarray @ItemCost[0],1000=; // Put The Price Here

    break;

    Case 3:

    // Currency [ Item ID / Variable Name ]

    set @Currency$,"10515";

    // Item ID Lists

    setarray @ItemLists[0],512; // Your Item ID Goes Here. You can put 20 ID Items

    // Item Price

    setarray @ItemCost[0],1000=; // Put The Price Here

    break;

    Case 4:

    // Currency [ Item ID / Variable Name ]

    set @Currency$,"10515";

    // Item ID Lists

    setarray @ItemLists[0],512; // Your Item ID Goes Here. You can put 20 ID Items

    // Item Price

    setarray @ItemCost[0],1000; // Put The Price Here

    break;

    Case 5:

    // Currency [ Item ID / Variable Name ]

    set @Currency$,"10515";

    // Item ID Lists

    setarray @ItemLists[0],512; // Your Item ID Goes Here. You can put 20 ID Items

    // Item Price

    setarray @ItemCost[0],1000; // Put The Price Here

    break;

    Case 6:

    // Currency [ Item ID / Variable Name ]

    set @Currency$,"10515";

    // Item ID Lists

    setarray @ItemLists[0],512; // Your Item ID Goes Here. You can put 20 ID Items

    // Item Price

    setarray @ItemCost[0],1000; // Put The Price here

    break;

    default:

    ErrorNotice( "Invalid Menu Selection for Menu "+@menu+"." );

    close;

    }

    if( @Currency$ == "" )

    ErrorNotice( "Invalid Currency Setting in Menu "+@menu+" ." );

    if( getarraysize( @ItemCost ) != getarraysize( @ItemLists ) || getarraysize( @ItemLists ) != getarraysize( @ItemCost ) )

    ErrorNotice( "Missing or Extra Value of Item or Cost Settings in Menu "+@menu+" ." );

    return;

    }

    function ErrorNotice {

    mes "^FF0000ERROR^000000 - "+getarg(0);

    mes "^00FF00____________________________^000000";

    mes "Inform this Message to ^0000FFGame Staffs^000000 immediately !";

    close;

    }

    function CurrencyInfo {

    if( getitemname( atoi( getarg(0) ) ) != "null" ){

    mes "Item Currency : ^FF0000"+getitemname( atoi( getarg(0) ) )+"^000000";

    mes "Available Amount : ^0000FF"+ValueConvert( countitem( atoi( getarg(0) ) ) )+"^000000";

    }else if( getitemname( atoi( getarg(0) ) ) == "null" ){

    mes "Variable Currency : ^FF0000"+getarg(0)+"^000000";

    mes "Available Amount : ^0000FF"+ValueConvert( getd( getarg(0) ) )+"^000000";

    }

    return;

    }

    function ValidateCost {

    if( getitemname( atoi( getarg(0) ) ) != "null" ){

    if( countitem( atoi( getarg(0) ) ) < getarg(1) ) return 1;

    }else if( getitemname( atoi( getarg(0) ) ) == "null" ){

    if( getd( getarg(0) ) < getarg(1) ) return 1;

    }

    return;

    }

    function ClearData {

    set @Currency$,"";

    set @TotalCost,0;

    deletearray @bought_nameid[0],getarraysize( @bought_nameid );

    deletearray @bought_quantity[0],getarraysize( @bought_quantity );

    deletearray @ItemLists[0],getarraysize( @ItemLists );

    deletearray @ItemCost[0],getarraysize( @ItemCost );

    return;

    }

    function ValueConvert {

    set .@num, atoi(""+getarg(0));

    if ( .@num == 0 || .@num >= 2147483647 ) return getarg(0);

    set .@l, getstrlen(""+.@num);

    for ( set .@i,0; .@i < .@l; set .@i, .@i + 1 ) {

    set .@num$, .@num % pow(10,.@i+1) / pow(10,.@i) + .@num$;

    if ( (.@i+1) % 3 == 0 && .@i+1 != .@l ) set .@num$, ","+ .@num$;

    }

    return .@num$;

    }

    OnBuyItem:

    ShopSettings( @menu );

    for(set @i,0; @i < getarraysize( @bought_nameid ); set @i,@i+1)

    for(set @j,0; @j < getarraysize( @ItemLists ); set @j,@j+1)

    if( @ItemLists[@j] == @bought_nameid[@i] )

    set @TotalCost,@TotalCost + ( @ItemCost[@j] * @bought_quantity[@i] );

    mes "^FF0000 BILLING LIST^000000";

    mes "^00FF00____________________________^000000";

    for( set @i,0; @i < getarraysize( @bought_nameid ); set @i,@i+1 )

    mes "^FF0000"+@bought_quantity[@i]+" x ^0000FF"+getitemname( @bought_nameid[@i] )+"^000000";

    mes "^00FF00____________________________^000000";

    if( getitemname( atoi( @Currency$ ) ) != "null" )

    mes "Total Cost : ^0000FF"+ValueConvert( @TotalCost )+" x "+getitemname( atoi( @Currency$ ) )+"^000000";

    else if( getitemname( atoi( @Currency$ ) ) == "null" ){

    mes "Total Cost : ^0000FF"+ValueConvert( @TotalCost )+" "+@Currency$+"^000000";

    }

    mes "^00FF00____________________________^000000";

    if( ValidateCost( @Currency$,@TotalCost ) ){

    if( getitemname( atoi( @Currency$ ) ) != "null" )

    mes "[ ^FF0000X^000000 ] Insufficient ^0000FF"+getitemname( @Currency$ )+"^000000";

    else if( getitemname( atoi( @Currency$ ) ) == "null" ){

    mes "[ ^FF0000X^000000 ] Insufficient ^0000FF"+@Currency$+"^000000";

    }

    }else{

    if( select( "^0000FFPurchase^000000:Cancel" ) == 1 ){

    if( getitemname( atoi( @Currency$ ) ) != "null" )

    delitem atoi( @Currency$ ),@TotalCost;

    else if( getitemname( atoi( @Currency$ ) ) == "null" ){

    set getd( @Currency$ ),getd( @Currency$ ) - @TotalCost;

    }

    for(set @i,0; @i < getarraysize( @bought_nameid ); set @i,@i+1)

    getitem @bought_nameid[@i],@bought_quantity[@i];

    message strcharinfo(0),"Purchased "+getarraysize( @bought_nameid )+" Items.";

    mes "Thank you for shopping.";

    }

    }

    ClearData();

    close;

    }

  4. try this one dude. it's more faster :)

    prontera,xx,yy,4 script NameOFTheNPC 911,{

    set .@npc$,"[NameOfTheNPC]";

    mes .@npc$;

    menu "Yggdrasil Berry",l_ygg,"Yggdrasil Seed",l_yygs,"Box Of Thunder",l_bot;

    l_ygg:

    mes .@npc$;

    next;

    if(countitem(607) <100) goto l_noitem;

    delitem 607,100;

    getitem BERRYBOXID,1;

    close;

    l_noitem:

    mes .@npc$;

    next;

    mes "Not Enough Yggdrasil Berries!";

    close;

    l_yggs:

    mes .@npc$;

    next;

    if(countitem(608) <100) goto l_noitem2;

    delitem 608,100;

    getitem YGGSEEDBOXID,1;

    close;

    l_noitem2:

    mes .@npc$;

    next;

    mes "Not Enough Yggdrasil Seeds!";

    close;

    l_bot:

    mes .@npc$;

    next;

    if(countitem(12028) <100) goto l_noitem3;

    delitem 12028,100;

    getitem BOXOFTHUNDERID,1;

    close;

    l_noitem3:

    mes .@npc$;

    next;

    mes "Not Enough Box Of Thunder!";

    close;

    }

  5. I need "KING OF THE HILL EVENT" that have time like before 8:00pm (+8GMT) please i need help, i have my script but it's not automated event. it's kinda manual, but it's working. can anyone please give me "KING OF THE HILL EVENT" that have time.? please i need it badly.

    koth.txt

    here's my script but it's not automated, please help me with my script.

    THANK YOU GUYS.

    WillRO Staff

    Nix™ [ Scripter GM ]

×
×
  • Create New...