Jump to content

LOOLP - OFF

Members
  • Posts

    233
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by LOOLP - OFF

  1. save the database logs, when you give the date, you return the information to today's file.
  2. This set_cell does not work perfectly, for the situation. But anyway, SOLVED.
  3. Se você ta usando HAMACHI no clientinfo, porq não ta usando no servidor ? O servidor está localhost com a conexão para hamachi. Deixa tudo com o IPv4 do Hamachi.
  4. has anyone experienced this problem or know how to solve? When I use the skill: GN_SLINGITEM with the banana bomb ... The enemy is forced to sit for x seconds. However, I am having the problem that the sitting effect is working, but the character is not sitting ... you must use @refresh or leave and return from the screen to see the character sitting. Would anyone have a light to solve this?
  5. // Max armor def/mdef // NOTE: This setting have no effect if server is run on Renewal Mode (RENEWAL) // NOTE: does not affects skills and status effects like Mental Strength // If weapon_defense_type is non-zero, it won't apply to max def. // If magic_defense_type is non-zero, it won't apply to max mdef. max_def: 99 conf/battle/player
  6. f the formula is correct, you should not change it. Unless it's really necessary. To increase or decrease damage, you can do this by changing any skill in: db/skill_damage_db.txt
  7. Line 3251: * flag&0xF000 - Values from enum e_skill_display I did not understand what you wanted to say for the solution.
  8. Greetings, how would I add animation to a skill when it is instant cast? Example, the skill gn_hells_plant when it is instant cast, it has no animation, I wanted to add, how could I do this maneuver?
  9. Acess : https://github.com/rathena/rathena If you are Brazilian and talking about the items in the bRO, there will not be many and it has to be done by hand. I already have, if you are interested, contact me;)
  10. This is a custom map for rAthena, or not yet implemented in case of new updates from new servers. If you want to see if the map exists in rAthena and has map_cache, just go to conf / maps_athena .. otherwise, you will need to add the new map. The GRAPHIC part you can find in the grf of servers like kRO, if it has already been inserted there.
  11. Seu item criado tem que estar em ITEM_DB seja ele pre-re ou RE .. e da um @reloaditemdb, se não tiver erro em sua construção, basta dar @item no ID, que ira aparecer. Your created item has to be in ITEM_DB be it pre-re or RE .. and give an @reloaditemdb, if there is no error in its construction, just give @item in the ID, which will appear. Para o caso de skills não precisa de pre requisita, você altera em db/[re ou pre/ skill_required ... Encontre a skill e faça as alterações de acordo com o padrão ja descrito no proprio arquivo. For the case of skills you don't need a pre-requisite, you change it in db / [re or pre / skill_required ... Find the skill and make the changes according to the pattern already described in the file itself.
  12. skill: GN_WALLOFTHORN Behavior in rAthena: Throws the target out of the skill walls. Corroide behavior: Throws the target into the center of the walls when it hits them. Would anyone have a solution? 
  13. This is a typo in some file of your date, I recommend using the zack date. It is compatible with version 2018-06-20 and without errors. https://github.com/zackdreaver/ROenglishRE
  14. For Download https://gitlab.com/4144/Nemo
  15. You can use the current rathena. What I said about the old version is client side. Hexed The custom Homunculus AI does not work as of 2017-09-20bRagexeRE because simply Gravity dropped it, Homunculus cannot auto attack but got a status boost and will get 10% of player exp and have autofeeding, this cannot be changed in the time being. Download good version : https://gitlab.com/4144/Nemo Then you can use a solution listed above, then: "Fix Homunculo Attack AI"
  16. Rathena after 2017-09-xx I don't remember the exact value, had the base data changed according to kRO, no longer supporting the idea of Homunc playing automatically due to AI. To make AI resolution, clean attack as Homunculus has always been, previous versions must be used.
  17. // conf/battle/misc.conf#L65 Actual -> night_at_start: no Alter -> night_at_start: yes // conf/battle/misc.conf#L75 Actual -> night_duration: 0 Keep at 0, but if there is still a change to day mode for some reason, change this value 0 to 86400000.
  18. case 1: set .@purchase[0],@bought_nameid; copyarray .@purchase[1],getd(".item_"+@bought_nameid+@opt+"[0]"),getarraysize(getd(".item_"+@bought_nameid+@opt+"[0]")); if ( !.@purchase[1] ) { mes strcharinfo(0) + " Un error ocurrio."; close; } mes "Deseas comprar el item " + getitemname(.@purchase[1]) + " al precio de ^DF0101" + .@purchase[3] * @bought_quantity + " BG's jugados?^000000"; if ( select ( " - Sí : - Mejor no " ) == 2 ) close; if ( countitem( 32025 ) < .@purchase[3] * @bought_quantity ) { next; mes "No tienes la cantidad de bg's jugados"; mes "Actualmente tienes : " + countitem( 32025 ) + " BG's jugados"; } else { getitem @bought_nameid , .@purchase[2] * @bought_quantity; delitem 32025, .@purchase[3] * @bought_quantity; } close; //no-break;
  19. You have to remove pos / delay .. not cast .. But yes it's in skill_cast_db. //-- NJ_SHADOWJUMP 529,0,1000,0,0,0,0 //-- AS_CLOAKING 135,0,0,0,500:1000:2000:3000:4000:5000:6000:7000:8000:9000,0,0
  20. //===== rAthena Script ======================================= //= Ticket Refiner //===== By: ================================================== //= Euphy //===== Current Version: ===================================== //= 1.1 //===== Compatible With: ===================================== //= rAthena Project //===== Description: ========================================= //= [Official Conversion] //= Refiner that uses +5~9/+11 refine tickets to refine //= equipment with no chance of failure. //= NOTE: This NPC is currently disabled on official servers. //===== Additional Comments: ================================= //= 1.0 First version. [Euphy] //= 1.1 Do not refine above ticket level. [Euphy] //============================================================ // Main NPC :: safety_Ref_NPC //============================================================ prontera,184,177,6 script Refine Master 851,{ disable_items; if (countitem(6238) || countitem(6228) || countitem(6229) || countitem(6230) || countitem(6231) || countitem(6456)) set .@bWeaponUp,1; if (countitem(6239) || countitem(6232) || countitem(6233) || countitem(6234) || countitem(6235) || countitem(6457)) set .@bArmorUp,1; if (!.@bWeaponUp && !.@bArmorUp) { mes "[Refine Master]"; mes "Hello!"; mes "What's up?"; mes "I'm a specialist"; mes "for refining items,"; mes "but I don't work anymore."; next; switch(select("I'll go on my way.:Hmm... this makes me curious.")) { case 1: mes "[Refine Master]"; mes "Take care, adventurer."; close; case 2: mes "[Refine Master]"; mes "Actully, I sometimes provide refine services for adventurers with a ^006400Refine Ticket^000000..."; mes "Bye bye~!"; close; } } emotion ET_SURPRISE; mes "[Refine Master]"; mes "Greetings!"; mes "I can refine an item up to the ^006400same level as your ticket^000000."; mes "You don't have to worry! There's no chance of breaking your item."; next; if(select("I'll come back later.:Refine item with ticket.") == 1) { mes "[Refine Master]"; mes "Okay."; mes "You can come again later."; close; } mes "[Refine Master]"; mes "Which equipment would you like to refine?"; next; setarray .@position$[1],"Head upper","Armor","Left hand","Right hand","Robe","Shoes","Accessory 1","Accessory 2","Head middle","Head lower"; setarray .@indices[1], EQI_HEAD_TOP, EQI_ARMOR, EQI_HAND_L, EQI_HAND_R, EQI_GARMENT, EQI_SHOES, EQI_ACC_L, EQI_ACC_R, EQI_HEAD_MID, EQI_HEAD_LOW; for(set .@i,1; .@i<=10; set .@i,.@i+1) set .@menu$, .@menu$+((getequipisequiped(.@indices[.@i]))?getequipname(.@indices[.@i]):.@position$[.@i]+"- [Empty]")+":"; set .@part, .@indices[ select(.@menu$) ]; if (!getequipisequiped(.@part)) { mes "[Refine Master]"; mes "You have to equip the item you want to refine."; close; } if (!getequipisenableref(.@part)) { emotion ET_OTL; mes "[Refine Master]"; mes "Oh, I'm sorry."; mes "This item is impossible to refine."; close; } .@refineitemid = getequipid(.@part); // save id of the item .@refinerycnt = getequiprefinerycnt(.@part); //save refinery count setarray .@card[0], getequipcardid(.@part,0), getequipcardid(.@part,1), getequipcardid(.@part,2), getequipcardid(.@part,3); switch(getequipweaponlv(.@part)) { default: case 0: setarray .@tickets[0],6457,6235,6234,6233,6232,6239; setarray .@levels[0],5,6,7,8,9,11; set .@type$,"Armor"; set .@check,.@bArmorUp; break; case 1: case 2: case 3: case 4: setarray .@tickets[0],6456,6231,6230,6229,6228,6238; setarray .@levels[0],5,6,7,8,9,11; set .@type$,"Weapon"; set .@check,.@bWeaponUp; break; } if (!.@check) { emotion ET_THINK; mes "[Refine Master]"; mes "If you want to refine this ^006400"+.@type$+"^000000, please come along with ^006400"+.@type$+" Refine Ticket^000000."; mes "See you later!"; close; } mes "[Refine Master]"; mes "Please choose which ^006400"+.@type$+" Refine Ticket^000000 you want to use."; next; set .@menu$,""; for(set .@i,0; .@i<getarraysize(.@tickets); set .@i,.@i+1) set .@menu$, .@menu$+getitemname(.@tickets[.@i])+":"; set .@select, select(.@menu$)-1; set .@ticket_lv, .@levels[.@select]; set .@ticket_id, .@tickets[.@select]; if (countitem(.@ticket_id) == 0) { emotion ET_QUESTION; mes "[Refine Master]"; mes getitemname(.@ticket_id)+" is not in your inventory. Did you put it in your storage?"; mes "Please check again."; mes "See you later!"; close; } if (getequiprefinerycnt(.@part) >= .@ticket_lv) { emotion ET_PROFUSELY_SWEAT; mes "[Refine Master]"; mes "^8B4513This item is already refined as much as your deed.^000000"; mes "Please come along with an item refined less than your ticket."; close; } mes "[Refine Master]"; mes "I'm going to refine ^006400"+getequipname(.@part)+"^8B4513 up to the +"+.@ticket_lv+" level^000000 with ^006400"+getitemname(.@ticket_id)+"^000000."; mes "May I proceed?"; next; if(select("No.:Yes.") == 1) { emotion ET_THINK; mes "[Refine Master]"; mes "Oh, you changed your mind."; mes "Ok."; mes "You can come back later."; close; } mes "[Refine Master]"; mes "Great."; mes "As you wish!"; mes "I have my own special way to refine..."; mes ".......ka boom!"; if (countitem(.@ticket_id)) { delitem .@ticket_id,1; // anti-hack if (callfunc("F_IsEquipIDHack", .@part, .@refineitemid) || callfunc("F_IsEquipRefineHack", .@part, .@refinerycnt) || callfunc("F_IsEquipCardHack", .@part, .@card[0], .@card[1], .@card[2], .@card[3])) { mes "[Refine Master]"; emotion ET_FRET; mes "Wait a second..."; mes "Do you think I'm stupid?!"; mes "You switched the item while I wasn't looking! Get out of here!"; close; } } else { next; mes "Error!"; mes "Please report this."; close; } set .value, rand(0,100); if(.value >= 98){ specialeffect EF_SUI_EXPLOSION; successrefitem .@part, .@ticket_lv - getequiprefinerycnt(.@part); }else{ mes "Refinement failed, ticket was consuming. Try again."; } next; emotion ET_DELIGHT; mes "[Refine Master]"; mes "Alright, here it is~"; mes "Well, ^0000FF"+strcharinfo(0)+"^000000!"; mes "Congratulations on your shining "+.@type$+"."; mes "You look GREAT!"; mes "Farewell~!"; close; } It's like 2% success, you'll see it will fail! Just edit the value down there again to correct it for 40 .. I changed the effect of success for when it succeeds, I have no way to test or refine the code now, because I'm in the company ...
  21. Yeah! set .value, rand(0,100); // It will generate a value from 0 to 99 ..
  22. Find successrefitem .@part, .@ticket_lv - getequiprefinerycnt(.@part); Alter : set .value, rand(0,100); if(.value >= 20){ successrefitem .@part, .@ticket_lv - getequiprefinerycnt(.@part); }else{ mes "Refinement failed, ticket was consuming. Try again."; } It has a 20% failure rate and 80% success rate, it will consume the ticket anyway, it will not break if it fails. If it's different rates for each level of refinement, just do an OnInit stating the odds and check on an array.
  23. To spawn random mobs, use the same array idea as the items, set the quantity, id of the mobs, and invoke the same way as the poring in question. Just use the array [x]
  24. You did it correct, I just presented some improvements :)
×
×
  • Create New...