Jump to content

brunoshp

Members
  • Posts

    180
  • Joined

  • Last visited

Everything posted by brunoshp

  1. How i can fix the button battleground on ALT+V, is it possible to call script in the options? when i click in Individual can i call one script?
  2. Koe meu parça, fiz o sistema do Region do Eamod, fiz ele na src e funcionou! mas tms jnts man!!!
  3. Have other solution to do this? - script AnunciadorTown -1,{ OnInit: setarray .Map$, // <mapname>,<Map Nick>, "payon"," Uma cidade na floresta ..LOL", "hugel"," Onde fica isso ?", "izlude"," Cidade dos Guerreiros ?", "prontera", "Capital de Rune Midgard", "geffen"," Cidade Mágica ?"; for( set .i,0; .i < getarraysize( .Map$ ) - 1; set .i,.i + 2 ) setmapflag .Map$[.i],mf_loadevent; end; OnPCLoadMapEvent: for( set .i,0; .i < getarraysize( .Map$ ) - 1; set .i,.i + 2 ) if( strcharinfo(3) == .Map$[.i] ) announce "Bem Vindo a "+.Map$[.i+1]+" .",bc_self,0x1affff; end; } i dont want to set maps in loadevents, have other solution? in other emulator exist region_db, but is very very very old emulator kkkkk
  4. hi, i want to change the FULLSTRIP like this: when STALKER use this skill, him will remove all (armor,helm,shield and weapon) example: wizz received fullstrip but wizz dont have armor equipped, but will receive full strip in armor too. bool skill_strip_equip(struct block_list *src, struct block_list *target, uint16 skill_id, uint16 skill_lv) { nullpo_retr(false, src); nullpo_retr(false, target); struct status_change *tsc = status_get_sc(target); if (!tsc || tsc->option&OPTION_MADOGEAR) // Mado Gear cannot be divested [Ind] return false; const int pos[5] = {EQP_WEAPON, EQP_SHIELD, EQP_ARMOR, EQP_HELM, EQP_ACC}; const enum sc_type sc_atk[5] = {SC_STRIPWEAPON, SC_STRIPSHIELD, SC_STRIPARMOR, SC_STRIPHELM, SC__STRIPACCESSORY}; const enum sc_type sc_def[5] = {SC_CP_WEAPON, SC_CP_SHIELD, SC_CP_ARMOR, SC_CP_HELM, SC_NONE}; struct status_data *sstatus = status_get_status_data(src), *tstatus = status_get_status_data(target); int rate, time, location, mod = 100; switch (skill_id) { // Rate case RG_STRIPWEAPON: case RG_STRIPARMOR: case RG_STRIPSHIELD: case RG_STRIPHELM: case GC_WEAPONCRUSH: rate = 50 * (skill_lv + 1) + 2 * (sstatus->dex - tstatus->dex); mod = 1000; break; case ST_FULLSTRIP: { int min_rate = 50 + 20 * skill_lv; rate = min_rate + 2 * (sstatus->dex - tstatus->dex); rate = max(min_rate, rate); mod = 1000; break; } case GS_DISARM: rate = sstatus->dex / (4 * (7 - skill_lv)) + sstatus->luk / (4 * (6 - skill_lv)); rate = rate + status_get_lv(src) - (tstatus->agi * rate / 100) - tstatus->luk - status_get_lv(target); break; case WL_EARTHSTRAIN: { int job_lv = 0; if (src->type == BL_PC) job_lv = ((TBL_PC*)src)->status.job_level; rate = 6 * skill_lv + job_lv / 4 + sstatus->dex / 10; break; } case SC_STRIPACCESSARY: rate = 12 + 2 * skill_lv; break; default: return false; } if (rnd()%mod >= rate) return false; switch (skill_id) { // Duration case SC_STRIPACCESSARY: case GS_DISARM: time = skill_get_time(skill_id, skill_lv); break; case WL_EARTHSTRAIN: case RG_STRIPWEAPON: case RG_STRIPARMOR: case RG_STRIPSHIELD: case RG_STRIPHELM: case GC_WEAPONCRUSH: case ST_FULLSTRIP: if (skill_id == WL_EARTHSTRAIN) time = skill_get_time2(skill_id, skill_lv); else time = skill_get_time(skill_id, skill_lv); if (target->type == BL_PC) time += skill_lv + 500 * (sstatus->dex - tstatus->dex); else { time += 15000; time += skill_lv + 500 * (sstatus->dex - tstatus->dex); } break; } switch (skill_id) { // Location case GC_WEAPONCRUSH: case RG_STRIPWEAPON: case GS_DISARM: location = EQP_WEAPON; break; case RG_STRIPARMOR: location = EQP_ARMOR; break; case RG_STRIPSHIELD: location = EQP_SHIELD; break; case RG_STRIPHELM: location = EQP_HELM; break; case ST_FULLSTRIP: location = EQP_WEAPON|EQP_SHIELD|EQP_ARMOR|EQP_HELM; break; case SC_STRIPACCESSARY: location = EQP_ACC; break; case WL_EARTHSTRAIN: location = EQP_SHIELD|EQP_ARMOR|EQP_HELM; if (skill_lv >= 4) location |= EQP_WEAPON; if (skill_lv >= 5) location |= EQP_ACC; break; } for (uint8 i = 0; i < ARRAYLENGTH(pos); i++) { if (location&pos[i] && sc_def[i] > SC_NONE && tsc->data[sc_def[i]]) location &=~ pos[i]; } if (!location) return false; for (uint8 i = 0; i < ARRAYLENGTH(pos); i++) { if (location&pos[i] && !sc_start(src, target, sc_atk[i], 100, skill_lv, time)) location &=~ pos[i]; } return location ? true : false; } i changed this code in any mods, but i cant do it!
  5. How i dot it on new emulators? SOLVED
  6. i have all // Caster: The groups for which the adjustment takes effect. (bitmask) // BL_PC = Player // BL_MOB = Monster // BL_PET = Pet // BL_HOM = Homunculus // BL_MER = Mercenary // BL_ELEM = Elemental // // Map: // 1 - Normal (the maps that aren't classified as these maps below) // 2 - PVP // 4 - GVG // 8 - Battlegrounds // 16 - 'skill_damage' mapflag // Restricted zones - they're configured by 'restricted <number>' mapflag // 32 - Zone 1 // 64 - Zone 2 // 128 - Zone 3 // 256 - Zone 4 // 512 - Zone 5 // 1024 - Zone 6 // 2048 - Zone 7 // // Notes: // Damage is a percentage between -100 and 100000. // Negative values decrease damage and positive values increase it (0 = no change). // // Examples: // MC_MAMMONITE,BL_PC,1,50 // In normal maps, players deal +50% damage to other players with Mammonite. //MO_EXTREMITYFIST,BL_PC,15,-99,-99,-99,-99 //MO_EXTREMITYFIST,1,15,-99,-99,-99,-99 but dont increase ou decrease damage skills.
  7. if i pt MO_EXTREMITYFIST,BL_PC,15,-50,-50,-50,-50 dont work too
  8. i made this commit but not have result. i put this: 271,1,15,-500,-500,-500,-500 or MO_EXTREMITYFIST,1,15,-500,-500,-500,-500 or MO_EXTREMITYFIST,BL_PC,15,-500,-500,-500,-500 or 271,BL_PC,15,-500,-500,-500,-500
  9. i cant reduce damage skill : 271 how i do it? i cant fond code in core.h too. was removed?
  10. what i do to fix it? gcc: @CFLAGS_AR@: No such file or directory make[1]: *** [obj/core.o] Error 1 make[1]: Leaving directory `/home/emulador/src/common' make: *** [common] Error 2 ps: have core.o in past obj.
  11. how i change to display separate MVPS cards? or have other method to make drop x and show in @mobinfo 2x?
  12. Hi man! are you fine?

  13. How i Able skill vending in map Noskill???
  14. you need put @aloottype +2 this is usable itens.
  15.  

    Good morning, how do I get the anti-hacker service?

    1. brunoshp

      brunoshp

      Man call me in Skype i have Problems in hackers

  16. i have this error whe buy in npc [Warning]: pc_paycash: More kafra points provided than needed (price=0, points=65536, account_id=2000000, char_id=150000). but whe i buy in cash button, the trader was ok!
  17. rathena , but i change my hexed and now ok! thz!
  18. how do you fixe it?
  19. item_cash_db items only appear for adms 99. in my other account lvl 1 i cant see itens! how i fix it?
  20. Man I have problem in Script in this line.
  21. i make this changes, but error now is other. [Warning]: itemdb_search: Item ID 28 does not exists in the item_db. Using dummy data. [Error]: wrong egg item inventory 82 when relog if a egg in inventory, and he crashed
  22. https://rathena.org/board/tracker/issue-6472-about-pet-item-data/ where i can see this Fixeded in r16897? the link off.
×
×
  • Create New...