Jump to content

iraciz

Members
  • Posts

    562
  • Joined

  • Last visited

  • Days Won

    6

iraciz last won the day on November 28 2023

iraciz had the most liked content!

About iraciz

  • Birthday February 3

Profile Information

Contact Methods

Recent Profile Visitors

11854 profile views

iraciz's Achievements

  1. this is gold, I still use this solution nowadays
  2. Still getting those warnings, but not harmfull. thankyou
  3. Hello I implemented this code to broadcast mvp respawns. scr/map/mob.cpp md->spawn_timer = INVALID_TIMER; mob_spawn(md); Under this line I placed: // if monster boss -> do announce if( md->spawn->state.boss ) { char message[128]; sprintf(message, "[MVP Spawn]: %s has been spawned on %s map.", md->name, map_mapid2mapname(md->spawn->m)); clif_broadcast(&md->bl, message, strlen(message) + 1, BC_DEFAULT, ALL_CLIENT); } } return 0; It's working fine, MvP Respawns are being broadcasted, but now may I now is there any way to get rid of some console warnings? 1>mob.cpp 1>C:\Users\mario\Desktop\rAthena \src\map\mob.cpp(1049,80): warning C4267: 'argumento': conversión de 'size_t' a 'int'; posible pérdida de datos 1>C:\Users\mario\Desktop\rAthena \src\map\mob.cpp(2839,57): warning C4267: 'argumento': conversión de 'size_t' a 'int'; posible pérdida de datos 1>C:\Users\mario\Desktop\rAthena \src\map\mob.cpp(3009,58): warning C4267: 'argumento': conversión de 'size_t' a 'int'; posible pérdida de datos 1>C:\Users\mario\Desktop\rAthena \src\map\mob.cpp(6410,50): warning C4267: 'inicializando': conversión de 'size_t' a 'int'; posible pérdida de datos 1>C:\Users\mario\Desktop\rAthena \src\map\mob.cpp(6411,65): warning C4267: 'inicializando': conversión de 'size_t' a 'int'; posible pérdida de datos Can you guys lend me a hand?
  4. Solved! Fixed here: https://github.com/rathena/rathena/issues/7247
  5. Client and other players experience crashing everytime this script runs - Id: 18856 AegisName: W_King_Tiger_Doll_Hat Name: W King Tiger Doll Hat Type: Armor Buy: 10 Defense: 10 Locations: Head_Top: true ArmorLevel: 1 EquipLevelMin: 1 Refineable: true View: 973 Script: | bonus bStr,2; bonus bDex,2; bonus2 bAddRace,RC_Brute,10; bonus2 bAddRace,RC_Player_Doram,10; .@r = getrefine(); autobonus "{ bonus2 bSPLossRate,5,1000; bonus bBaseAtk,25*max(1,getrefine()); }",3*.@r,3000,BF_NORMAL,"{ active_transform 1115,3000; specialeffect2 EF_POTION_BERSERK; showscript \"Traaaansformation-!! Eddga form!!\"; }"; autobonus2 "{ bonus2 bSPLossRate,5,1000; bonus bBaseAtk,25*max(1,getrefine()); }",.@r,3000,BF_NORMAL,"{ active_transform 1115,3000; specialeffect2 EF_POTION_BERSERK; showscript \"Traaaansformation-!! Eddga form!!\"; }"; or - Id: 11592 AegisName: Trance_Candy_R Name: Trans Candy Red Type: Healing Buy: 20 Weight: 30 Script: | itemheal 45,0; transform 1507,600000,SC_MTF_MHP,20; specialeffect2 EF_CLOAKING; showscript "Trans-Form-!! Bloody Murderer Fo-rm!!"; There is no console error or .exe crash log to identify the source. any idea?
  6. Sorry for the necro posting! both skills hit twice, but not as I would like, showing the 2 hits with yellow numbers. I got this in scr/map/battle.c Line switch (skill_id) { case RK_WINDCUTTER: if (sd && sd->weapontype1 == W_2HSWORD) wd->div_ = 2; break; add: case RG_BACKSTAP: skill_lv = pc_checkskill(sd, TF_DOUBLE); if (skill_lv > 0) { if(rnd()%100 < (7 * skill_lv)) { wd->div_++; } } break; case RG_RAID: skill_lv = pc_checkskill(sd, TF_DOUBLE); if (skill_lv > 0) { if(rnd()%100 < (7 * skill_lv)) { wd->div_++; } } break; It work as I wish, both skills are taking tf_double chances to hit double, bad is that! It does it with any weapon or even barehanded.. I would like to make it work with daggerclass only!
  7. yes this is gold. I was wondering if this could come with a NPC to make the players know the actual bonus map.
  8. May I ask for this please? DOTD (Dungeon Of The Day): Every day there will be Dungeon maps with increased experience (+10%). Even those summoned by branches inside the map from a random list. PRE-RENEWAL
  9. atcommand "@useskill 151 1 self"
  10. Good day,please help me! Bindatcommands are not working in the item scripts. TXT Example: 40574,Moonlight Bell,Moonbell,11,0,,0,,,,,0xFFFFFFFF,63,2,,,,,,{ specialeffect2 549; soundeffectall "moonlight_move.wav",0; atcommand "@bonus"; },{},{} @bonus is a custom npc bind atcommand that I use to apply random options to the gear. Oncommand only works with typing or talking to the NPC, but I want activate the script by using the item above. What can I do?
  11. Is this possible via SCR? Without editing skilldb.yml Chances Need to work together with tf_double skill level.
  12. Good day, This is [Euphy] rathena custom npc default warper. Any way to reset last warp map and coordinates OnPCLogOutEvent if (lastwarp$ == "") message strcharinfo(0),"You haven't warped anywhere yet. Last warp resets with logout."; else warp lastwarp$,lastwarpx,lastwarpy; end; function Go { set lastwarp$, getarg(0); set lastwarpx, getarg(1,0); set lastwarpy, getarg(2,0); warp getarg(0),getarg(1,0),getarg(2,0); end; } Help please
×
×
  • Create New...