Jump to content

crazyarashi

Developer
  • Posts

    776
  • Joined

  • Last visited

  • Days Won

    22

Everything posted by crazyarashi

  1. this is a herc script :)) try this one i tried to make it for rathena prontera,155,183,5 script Items Seller#tax_shop 4_F_EDEN_OFFICER,{ mes "[ Dealer ]"; mes "-Currency Used-"; mes "- ^00FFFF"+getitemname(.currency)+"^000000 -"; next; if(select("Open Shop:Information") == 2){ mes "[ Dealer ]"; mes "I collect your money and give it to others."; close; } callshop "tax_shop",1; npcshopattach "tax_shop"; end; OnBuyItem: set .@TotalCost,0; for(.@i = 0; .@i < getarraysize(@bought_nameid); .@i++) for(.@i = 0; .@j < getarraysize(.item); .@j++) if(.item[.@j] == @bought_nameid[.@i]) .@TotalCost = .@TotalCost + ( .price[.@j] * @bought_quantity[.@i] ); if(countitem(.currency) >= .@TotalCost ){ delitem .currency,.@TotalCost; getitem @bought_nameid[.@i],@bought_quantity[.@i]; $collectedtax += .@TotalCost * 10; } else { dispbottom "Your "+getitemname(.currency)+" is not enough"; } deletearray @bought_quantity, getarraysize(@bought_quantity); deletearray @bought_nameid, getarraysize(@bought_nameid); end; OnInit: .currency = 673; setarray .item[0],501,502,503; setarray .price[0],1,2,3; npcshopdelitem "tax_shop",501; for(.@i = 0; .@i < getarraysize( .item ); .@i++) npcshopadditem "tax_shop",.item[.@i],.price[.@i]; end; } - shop tax_shop -1,501:10000 prontera,144,321,6 script Tax Collector#1 4_F_EDEN_OFFICER,{ if(select("View Collected Tax:Collect Tax") == 1){ mes "[ Tax Collector ]"; mes "You have collected [ ^00FFFF"+$collectedtax+"^000000 ]"; close; } if($collectedtax >= 0){ mes "[ Tax Collector ]"; mes "Here you go."; close2; .@TotalCollected = .@TotalCollected + $collectedtax; Zeny += .@TotalCollected; dispbottom "You have collected a total of "+.@TotalCollected+"z Taxes"; $collectedtax = 0; end; } mes "[ Tax Collector ]"; mes "You don't have anything to collect!"; close; }
  2. Looks nice, can it buy specific items like +9 knife with 4 thanatos card stuffs
  3. You still need to grant access to your database even though its a user with %
  4. I think its self-explanatory. rathena = rathena herc = herc
  5. I'd suggest OVH | Digital Ocean | Conoha RO Hostings out there doesn't really provide the services worth the price. It's better to learn it yourself :))
  6. You can either merge them in your GRF or just add it in your data.ini as for the palettes i don't suggest merging it though. you can use the grf editor for merging. ?
  7. View File Night Themed Patcher A very simple Night Themed Patcher - Includes RSS and PSD with it. Gonna update it soon with status buttons when I learn how to do it Forum Button [ Idle ] , Discord Button [ Hover ] and Register Button [ Clicked ] - I've noticed that there are not much patcher themes that are free here in rAthena so I decided to make one and release it here If you like my work hit the donate button for rAthena ~ Submitter crazyarashi Submitted 07/27/2018 Category Patcher Skins Video Content Author crazyarashi  
  8. Version 1.0.0

    458 downloads

    A very simple Night Themed Patcher - Includes RSS and PSD with it. Gonna update it soon with status buttons when I learn how to do it Forum Button [ Idle ] , Discord Button [ Hover ] and Register Button [ Clicked ] - I've noticed that there are not much patcher themes that are free here in rAthena so I decided to make one and release it here If you like my work hit the donate button for rAthena ~
    Free
  9. Diff Patcher Sourceforge try every client available here
  10. getmapxy(@mapname, @mapx, @mapy, UNITTYPE_NPC, "strnpcinfo(3)"); No need to make it hard :))
  11. I think there is nothing like that for now.. since readparam is reading only the base stats of the character
  12. I think that just add up to the every 5 sec regeneration.
  13. You know the client doesnt have connection in skills behavior since its all on server side. what hash are you using
  14. If you don't want to change the skill_db just use the mapflag monster_noteleport
  15. 2448,9,6,1,5,0x2,1:1:1:1:2,5,1,yes,0,0,0,magic,0,0x0, SO_POISON_BUSTER,Poison Buster Poison buster has a splash area. better try again :)) You can edit the skill splash in skill_db
  16. your request lacks information and on the wrong section, please do provide your request clearly
  17. I believe the current exp table only supports up to lvl 500, you can try doubling it :))
  18. Had a pretty good laugh with Capuche's comment, anways, npc/re/cities/dicastes
  19. The same as the customs put the script file on the destination and add it on the conf.
  20. sec_in02,154,165,6 script Fishing Hole 723,{ //Fishing rod set .@Rod,2764; //Fishing Lure set .@Lure,2775; //Auto-Fish set .@Auto,1; //Auto-Fish on Fail set .@AutoFail,1; Fish: if (isequipped(.@Rod)) && (isequipped(.@Lure)){ specialeffect EF_BUBBLE,"Fishing Hole"; dispbottom "[Fishing] Baiting....."; set .@fcast,11; if (isequipped(2550)) { //Fisher's Muffler set .@fcast,.@fcast - 2; } if (isequipped(2443)) { //Fisher's Boots set .@fcast,.@fcast - 2; } if (isequipped(2764)) { //Fishing Rode set .@fcast,.@fcast - 3; } if (isequipped(2775)) { //Fishing Lure set .@fcast,.@fcast - 1; } progressbar "ffffff",.@fcast; if (rand(1,10) == 2){ // 10% getitem 26080,1; //Credit specialeffect2 EF_TEMP_OK; mapannounce strcharinfo(3),strcharinfo(0)+" has caught a ATM Credit Card x1!",bc_map,"0xff77ff"; } if (rand(1,20) == 2){ // 5% getitem 7227,5; //TCG specialeffect2 EF_TEMP_OK; mapannounce strcharinfo(3),strcharinfo(0)+" has caught TCG Cards x5!",bc_map,"0xff77ff"; } if (rand(1,100) == 2){ 1% getitem 671,1; //Gold Coins specialeffect2 EF_TEMP_OK; mapannounce strcharinfo(3),strcharinfo(0)+" has caught a Gold Coin x1!",bc_map,"0xff77ff"; } if(.@Auto==1){ goto Fish;}else{ end;} } else { dispbottom "[Fishing] You need a Fishing Rod and Lure."; end; } } Applying the basic math for percentage will do the trick.
  21. You need to add it on the scripts conf. for customs put it in scripts_custom.conf Wiki - Basic of Adding Scripts npc: npc/custom/healer.txt // Load Healer
×
×
  • Create New...