BeWan

Members
  • Content Count

    198
  • Avg. Content Per Day

    1
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by BeWan

  1. what do you mean by to add "eamod in phpmyadmin"
  2. try this - script mapflag -1,{ OnPCLoadMapEvent: if (gen_fild01 == gen_fild01){ mes "[SOS]"; mes "Help-me"+strcharinfo((0); close; } }
  3. i didnt notice that. anyway i thought i comment >= lol and btw the operator not causing the error.
  4. operators are correct i think he didnt know how to implement it right.
  5. tested already. 50000,TEST_ITEM,TEST ITEM,4,0,,0,,0,,0,0xFFFFFFFF,63,2,2048,,0,0,65,{ if(BaseClass >= 90 ) { bonus bHit,30-(3*(BaseLevel/10)); bonus bMaxHP,1000-(100*(BaseLevel/10)); bonus bMaxSP,200-(20*(BaseLevel/10)); bonus bVariableCastrate,-10+(BaseLevel/10); bonus bHealPower,150-(10*(BaseLevel/10)); bonus bHealPower2,10*(BaseLevel/10); bonus bAddItemHealRate,10*(BaseLevel/10); } },{},{}
  6. i think its possible if you use gepard function you can contact @Functor
  7. make a custom mob that same on npc looks and then on your script OnInit: monster "MAP_NAME",X,Y,"--ja--",mob_id,mob_quantity,"NpcName::OnMobDead1"; OnMobDead1: monster "MAP_NAME",X,Y,"--ja--",mob_id,mob_quantity,"NpcName::NpcSpawn"; //this will act as mvp tomb
  8. if you want to announce 1 message only you need to put condition on the script.
  9. BeWan

    mado error

    data / sprite / Àΰ£Á· / ¸öÅë
  10. yes you can. you can edit it in src or item script
  11. find this Add(1,18885,1,0,0,100,7179,400); 7179 - this is item id 400 - this is the amount. this is the info of adding items on the npc Add(<shop ID>,<reward ID>,<reward amount>, // <Zeny cost>,<point cost>,<success rate> // <required item ID>,<required item amount>{,...});
  12. use this one instead. https://github.com/rathena/rathena/blob/master/npc/custom/quests/quest_shop.txt
  13. bonus bIntravision; if i help you hit upvote button thanks
  14. yup save it after that use @reloaditemdb in game.
  15. @alexander0203 bonus2 bSubRace,RC_Player,35; bonus bDelayRate,-30; bonus2 bAddRace,RC_Player,30; bonus2 bMagicAddRace,RC_Player,30; bonus2 bAddClass,Class_Boss,20; bonus2 bResEff,Eff_Freeze,10000; bonus2 bResEff,Eff_Silence,10000;
  16. @NKCYBER you can edit the points and the item. prontera,150,150,5 script Bring Shopping 122,{ mes "[Item Trader]"; mes "Hi, "+strcharinfo(0)+"!"; mes "What can I do for you?"; next; switch(select(" > Information: > Trade in Items: > Point shop (^0055FF"+getd(.Points$)+"^000000): > Leave")) { case 1: mes "[Item Trader]"; mes "Do you find that you've got"; mes "useless Items lying around?"; mes "I'll be glad to take them off"; mes "your hands!"; next; mes "[Item Trader]"; mes "I'll give you ^0055FF"+.Points[0]+" Point"+((.Points[0] == 1)?"":"s")+"^000000 for normal Item each"; mes "Item you give me, and"; mes "^0055FF"+.Points[1]+" Points^000000 for Items."; mes "You can trade those points"; mes "for items later on."; mes "How does that sound?"; emotion ET_MONEY; close; case 2: mes "[Item Trader]"; mes "Select the Items you"; mes "want to trade in."; if (.Level) { mes " "; mes "They must be dropped"; mes "by monsters of level"; mes .Level+" and above."; } deletearray @sold_nameid[0],getarraysize(@sold_nameid); callshop "item_shopp",2; npcshopattach "item_shopp"; end; case 3: mes "[Item Trader]"; mes "You have ^0055FF"+getd(.Points$)+"^000000 Point"+((getd(.Points$) == 1)?".":"s."); callshop "item_shopp",1; npcshopattach "item_shopp"; end; case 4: mes "[Item Trader]"; mes "*yawn*"; mes "See you later!"; emotion ET_SLEEPY; close; } OnSellItem: mes "Items to sell:"; mes "-----------------------------------"; for(set [email protected],0; [email protected]<getarraysize(@sold_nameid); set [email protected],[email protected]+1) if (@sold_nameid[[email protected]] > 4000 && @sold_nameid[[email protected]] < 4700) { if (.Level) { query_sql("SELECT `LV` FROM `mob_db` WHERE `DropItemid` = "[email protected]_nameid[[email protected]],[email protected]); if ([email protected] < .Level) { dispbottom getitemname(@sold_nameid[[email protected]])+" is under the minimum level."; continue; } } set [email protected]_id[getarraysize([email protected]_id)], @sold_nameid[[email protected]]; set [email protected]_amt[getarraysize([email protected]_amt)], @sold_quantity[[email protected]]; set [email protected], compare(.ITEM$,""[email protected]_nameid[[email protected]]); mes (([email protected])?" ^FF0000":" ^777777")[email protected]_quantity[[email protected]]+"x "+getitemname(@sold_nameid[[email protected]])+"^000000"; set [email protected]_total, [email protected]_total+(@sold_quantity[[email protected]]*(([email protected])?.Points[1]:.Points[0])); } deletearray @sold_nameid[0], getarraysize(@sold_nameid); deletearray @sold_quantity[0], getarraysize(@sold_quantity); if ([email protected]_id) { mes " ^777777(none)^000000"; emotion ET_SWEAT; close; } mes " "; mes "---------- Total: ^0055FF"[email protected]_total+" pt.^000000 -------"; next; if(select(" > ^0055FFComplete trade...^000000: > ^777777Cancel^000000") == 2) { mes "[Item Trader]"; mes "Oh, okay..."; emotion ET_SCRATCH; close; } for(set [email protected],0; [email protected]<getarraysize([email protected]_id); set [email protected],[email protected]+1) delitem [email protected]_id[[email protected]],[email protected]_amt[[email protected]]; setd .Points$, getd(.Points$)[email protected]_total; mes "[Item Trader]"; mes "All done!"; emotion ET_DELIGHT; close; OnBuyItem: for(set [email protected],0; [email protected]<getarraysize(@bought_nameid); set [email protected],[email protected]+1) for(set [email protected],0; [email protected]<getarraysize(.Shop); set [email protected],[email protected]+2) if (@bought_nameid[[email protected]] == .Shop[[email protected]]) { set [email protected], [email protected]+(.Shop[[email protected]+1]*@bought_quantity[[email protected]]); break; } if ([email protected] > getd(.Points$)) { mes "[Item Trader]"; mes "You don't have enough Points."; emotion ET_HUK; } else { mes "Items purchased:"; mes "-----------------------------------"; for(set [email protected],0; [email protected]<getarraysize(@bought_nameid); set [email protected],[email protected]+1) { getitem @bought_nameid[[email protected]], @bought_quantity[[email protected]]; mes " ^777777"[email protected]_quantity[[email protected]]+"x "+getitemname(@bought_nameid[[email protected]])+"^000000"; } mes " "; mes "---------- Total: ^0055FF"[email protected]+" pt.^000000 -------"; setd .Points$, getd(.Points$)[email protected]; emotion ET_MONEY; } deletearray @bought_nameid[0], getarraysize(@bought_nameid); deletearray @bought_quantity[0], getarraysize(@bought_quantity); close; OnInit: //waitingroom "Item Trader",0; set .Level,0; // Minimum monster level to trade corresponding Items. set .Points$,"#Item_Points"; // Variable to store points. setarray .Shop[0], // Item Shop items: <ID>,<point cost> 512,10; setarray .Points[0],0,1,1; // Points per <normal Item>,<Item> set .ITEM$, // List of Items. "2504,2311"+ "2403,2103"; npcshopdelitem "item_shopp",909; for(set [email protected],0; [email protected]<getarraysize(.Shop); set [email protected],[email protected]+2) npcshopadditem "item_shopp",.Shop[[email protected]],.Shop[[email protected]+1]; end; } - shop item_shopp -1,909:-1
  17. 100% working. tested already 12118,Resist_Fire,Fireproof Potion,2,2,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ sc_end SC_ARMOR_ELEMENT_FIRE; sc_end SC_ARMOR_ELEMENT_WATER; sc_end SC_ARMOR_ELEMENT_EARTH; sc_end SC_ARMOR_ELEMENT_WIND; sc_start4 SC_ARMOR_ELEMENT_FIRE,1200000,-15,0,20,0; },{},{} 12119,Resist_Water,Coldproof Potion,2,2,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ sc_end SC_ARMOR_ELEMENT_FIRE; sc_end SC_ARMOR_ELEMENT_WATER; sc_end SC_ARMOR_ELEMENT_EARTH; sc_end SC_ARMOR_ELEMENT_WIND; sc_start4 SC_ARMOR_ELEMENT_WATER,1200000,20,0,0,-15; },{},{} 12120,Resist_Earth,Earthproof Potion,2,2,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ sc_end SC_ARMOR_ELEMENT_FIRE; sc_end SC_ARMOR_ELEMENT_WATER; sc_end SC_ARMOR_ELEMENT_EARTH; sc_end SC_ARMOR_ELEMENT_WIND; sc_start4 SC_ARMOR_ELEMENT_EARTH,1200000,0,20,-15,0; },{},{} 12121,Resist_Wind,Thunderproof Potion,2,2,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ sc_end SC_ARMOR_ELEMENT_FIRE; sc_end SC_ARMOR_ELEMENT_WATER; sc_end SC_ARMOR_ELEMENT_EARTH; sc_end SC_ARMOR_ELEMENT_WIND; sc_start4 SC_ARMOR_ELEMENT_WIND,1200000,0,-15,0,20; },{},{}
  18. View File Euphy's WoE Controller + @woe command ~ I add @woe command where players can warp in active castle. Submitter BeWan Submitted 02/02/2020 Category Scripts Video Content Author Euphy, BeWan  
  19. Version 1.0.0

    76 downloads

    ~ I add @woe command where players can warp in active castle.

    Free

  20. i made my own script that have red and blue team. kindly pm me if you are interested.
  21. you need to update his script.
  22. what is the view id? also increase hg limit number.