Jump to content

ffman22

Members
  • Posts

    29
  • Joined

  • Last visited

Everything posted by ffman22

  1. hi, thank you for the script, really use full, but I dont know why the shop doesn't work after I put 8 items. there is an option to add more than 8 items? I dont know if is because I clone it in the same script. // Author: Ehwaz // Version: 2018/06/01 // Dummy shop to insert items into: - shop templ_shop -1,501:50. prontera,147,158,5 script Templ Shop 20610,{ dispbottom DisplayCurrency(.currency); callshop .shop_name$,1; npcshopattach .shop_name$; end; OnBuyItem: BuyProcess(.priceList, .currency); OnInit: .shop_name$ = "templ_shop"; .npcName$ = strnpcinfo(1); //Visiable name .currency = 7517; // 0: Zeny, else Item setarray .items,18119,1, //Thanos_Bow 15380,5, //Lava_Leather_Robe 15378,5, //Lava_Leather_Armor 15379,3, //Lava_Leather_Suits 20935,3, //Lava_Leather_Manteau 20936,3, //Lava_Leather_Muffler 20937,2, //Lava_Leather_Hood 5658,20; //Imp_Hat InitItemShop(.items,.shop_name$,.npcName$); end; } - shop templ_shop1 -1,501:50. prontera,147,155,5 script Templ Shop2 1_M_WIZARD,{ dispbottom DisplayCurrency(.currency); callshop .shop_name$,1; npcshopattach .shop_name$; end; OnBuyItem: BuyProcess(.priceList, .currency); OnInit: .shop_name$ = "templ_shop1"; .npcName$ = strnpcinfo(1); //Visiable name .currency = 0; // 0: Zeny, else Item setarray .items,523,rand(11111,22222), //Holy_Water 19935,200000000, //C_Hunting_Cap_Of_Gust 2860,rand(1200,5999999), //Aqua_Orb 15026,rand(2400,5999999), //Aqua_Robe 2468,rand(2400,5999999), //Aqua_Shoes 6456,15000000, //Guarantee_Weapon_5Up 6457,18000000, //Guarantee_Armor_5Up 15117,12000000, //Felock_Armor 20744,12000000, //Felock_Cape 22047,12000000, //Felock_Boots 2581,18000000, //Black_Wing_Manteau 2480,18000000, //Black_Wing_Boots 20373,10000000; //C_Watermelon_Hat InitItemShop(.items,.shop_name$,.npcName$); end; }
  2. I am getting an error when I use the #worldboss 1 it said #worldboss faild player not found I have another question, how can we display a global announce that say that the world boss is going to spawn in the specific map? and that the kills for spawn the world boss is reached? there is an option to spawn a world boss every day, just 1 time.?
  3. sorry for the noob question how can I apply that patch?
  4. for me it is not working in instances like faceworn or in OGH challenge
  5. in config you can add the in the file call jobs.php
  6. I having a problem when the items and mobs doesn't show in the control panel, but I import the info in the MySQL databases.
  7. hello a noob question, where can I get the itemdbsql and the modsql to import then into my database
  8. I change it but still has the issue Thank that finally works
  9. - Id: 28942 AegisName: Bloody_Knight_Shield Name: Cursed Knight's Shield Type: Armor Weight: 800 Slots: 1 Locations: Left_Hand: true EquipLevelMin: 1 Refineable: true Script: | bonus bAspdRate,10; bonus2 bAddClass,Class_All,3; bonus bMatkRate,3; bonus2 bSubEle,Ele_All,7; autobonus2 "{ bonus2 bSPRegenRate,25,1000; }",50,5000; autobonus "{ bonus2 bHPRegenRate,150,1000; }",50,5000; .@r = getrefine(); if (.@r>=7) { bonus bBaseAtk,10; bonus bMatk,10; } if (.@r>=9) { bonus bAspd,1; } if (.@r>=12) { bonus bDelayrate,-3; } - Id: 28945 AegisName: Bloody_Knight_Shield_ Name: Bloody Knight's Shield Type: Armor Weight: 800 Slots: 1 Locations: Left_Hand: true EquipLevelMin: 1 Refineable: true Script: | bonus bAspdRate,10; bonus2 bAddClass,Class_All,3; bonus bMatkRate,3; bonus2 bSubEle,Ele_All,7; autobonus2 "{ bonus2 bSPRegenRate,25,1000; }",50,5000; autobonus "{ bonus2 bHPRegenRate,150,1000; }",50,5000; .@r = getrefine(); if (.@r>=7) { bonus bBaseAtk,10; bonus bMatk,10; } if (.@r>=9) { bonus bAspd,1; } if (.@r>=12) { bonus bDelayrate,-3; } - Id: 28946 AegisName: Bloody_Knight_Shield__ Name: Purified Knight's Shield Type: Armor Weight: 800 Slots: 1 Locations: Left_Hand: true EquipLevelMin: 1 Refineable: true Script: | bonus bAspdRate,10; bonus2 bAddClass,Class_All,5; bonus bMatkRate,5; bonus2 bSubEle,Ele_All,10; autobonus2 "{ bonus2 bSPRegenRate,50,1000; }",50,5000; autobonus "{ bonus2 bHPRegenRate,300,1000; }",50,5000; .@r = getrefine(); if (.@r>=7) { bonus bBaseAtk,20; bonus bMatk,20; } if (.@r>=9) { bonus bAspd,2; } if (.@r>=12) { bonus bDelayrate,-5; } hello some knows why the paladin and royal guard shield skills are not working with all of the versions of the Purified Knight's Shield
  10. function script resetskip { if(doneS == 0){ setarray .@quest161[0],7681,7682,11420,7684,14516,14469,7682,14474,7683,7686,14507,14495,7682,5403,5402,11400,11412,14475,14487,14481,14480,14482,14500,12369,5415,5416,5417,5418,5419,5420,5421,5422,5423,5424,5425,5428,5431,5436,5439,5442,5445,5432; setarray .@quest162[0],7741,14615,16031,14602,14602,16019,16061,14600,11462,14601,11464,14613,5737,16030,16048,16045,16050,16014,16028,16054,16055,16056,16057,16013,16027,16041,16032,16041,16029,16036,12376,7746,7747,7748,7749,7751; for(set .@i,0; .@i<(getarraysize(.@quest161)); set .@i,.@i+1) { //mes "quest "+ .@quest161[.@i] + " ^FF0000 set^000000"; setquest .@quest161[.@i]; } next; for(set .@i,0; .@i<(getarraysize(.@quest161)); set .@i,.@i+1) { //mes "quest "+ .@quest161[.@i] + " ^FF0000 complete ^000000"; completequest .@quest161[.@i]; if( .@i == (getarraysize(.@quest161))){ } } dispbottom "16.1 done"; for(set .@i,0; .@i<(getarraysize(.@quest162)); set .@i,.@i+1) { mes "quest "+ .@quest162[.@i] + " ^FF0000 set^000000"; setquest .@quest162[.@i]; } for(set .@i,0; .@i<(getarraysize(.@quest162)); set .@i,.@i+1) { //mes "quest "+ .@quest162[.@i] + " ^FF0000 complete ^000000"; completequest .@quest162[.@i]; if( .@i == (getarraysize(.@quest162))){ } } mes "16.2 done"; dispbottom "16.2 done"; questinfo_refresh(); terra_gloria_main = 25; ep_illusion = 0; set doneS, 1; dispbottom "use /navi prt_cas_q 21/39 speak with Nihilim to start the episode 17.1 "; warp "prt_cas_q",134,8; }(doneS == 1){ dispbottom "you already use this item in this character, if your are stuck speak with an admin."; getitem, 11000022; ] } I create that function that works exactly like the NPC, for a custom item, but I am getting the problem that the second condition doesnt work i dont know why
  11. we are using head gear for the moment, but we want to use the system of the garmet, that with one item it use different act for each class so in that way the same item can match the animation with each class.
  12. hello, I have a question, how can I show a custom garmet or wing in front of the player sprite? something like this there I am using in the example a custom headgear no a custom_garmet
  13. hello, thank you for the guide I did all of it, but my sprite didnt show up in the equip menu or in the character. and I need that the sprite show in front of the character sprite. like this example that I am using a normal item.
  14. hello, I am trying to create a fuction, to use in my custom branch to spawn, diferent mvps, with a specific chance for each one, I want to create a version that is more easy to implement, or use with a biger number of MVPs this is the current script that I made. function script active_branch { set .tw,0; set .@ms,0; setarray .mob_id[0],1582,1112,1492,1147; setarray .mob_c[0],80,60,20,10; for(set .@i,0; .@i< (getarraysize(.mob_c)); set .@i,.@i+1) { .tw += .mob_c[.@i]; } set .rnum, rand(.tw); debugmes "total weight is: "+.tw; debugmes .rnum; freeloop(1); for(set .@i,0; .@i< (getarraysize(.mob_c)); set .@i,.@i+1) { if(.rnum <= .mob_c[.@i]){ if(.@ms==0){ debugmes .mob_id[.@i]; monster "this", -1,-1, "--ja--",.mob_id[.@i], 1, ""; .@ms = 1; } // } else { //debugmes .rnum + "substracted by: "+.mob_c[.@i]; .rnum -= .mob_c[.@i]; } } freeloop(0); }
  15. ok thanks you, and in the case that I need to get a parameter to select the random group that I want to use? like example callfunc "LHZ_Boss(1)"; because I want to use the same fuction in diferent branches. I am trying something like this function active_branch { if(getarg(0)==1){ setarray .mvpid[0],1147,1582,1492,1112; } monster "this",-1,-1,"--ja--",.mvpid[rand(4)],1,""; } function active_branch { if(getarg(0)==1){ setarray .mvpid[0],1147,1582,1492,1112; } monster "this",-1,-1,"--ja--",.mvpid[rand(4)],1,""; } I am getting this error, buildin_callfunc: Function not found! I include my script in the script_custom.conf like this. npc: npc/custom/branch_script.txt thank you for the answer, I just notice that my emulator doesnt have the MOBG_MAX in the list /// Random Monster Groups enum e_random_monster : uint16 { MOBG_Branch_Of_Dead_Tree = 0, MOBG_Poring_Box, MOBG_Bloody_Dead_Branch, MOBG_Red_Pouch_Of_Surprise, MOBG_ClassChange, MOBG_Taekwon_Mission, }; in that case I just need to add it after MOBG_Taekwon_Mission, ?
  16. @BeWan can you explain me how to do that, I never did that before.
  17. hi i have this problem with my fluxcp. the fluxcp is full configurate, but a lot of times give my this error.can you help me? the fluxcp wrok perfectly but some time give me this error why?
  18. i have a problem the vote sites doesnt show up in my fluxcp help. http://gate-ro.net/cp/?module=voteforpoints
  19. close the topic i solved the problem
  20. in my fluxcp dont show up the current vote points: why ?? http://gate-ro.net/cp/?module=voteforpoints
  21. but i cant select nothing in the purchease section
  22. i have a problem with the purchease section of my fluxcp, if you look my item list section is ok, all items show up but in the purchease section they dont show up
  23. another noob question where do i need copy the 3 files of the rar?
  24. who can i install this i dont know?
×
×
  • Create New...