Jump to content

zeusc137

Members
  • Posts

    105
  • Joined

  • Last visited

Everything posted by zeusc137

  1. Hello sir! Thanks for sharing this so long ago! May I ask if this format is correct to my mapflag? I created my own `rathena/npc/mapflag/autotrade.txt` a also imported on `rathena/npc/scripts_mapflags.conf`. Is this the format I should use? prt_mk mapflag autotrade 1
  2. May I ask for some direction on this @afk command? I'm studying how to make @autotrade create a clone and keep you logged in, but this @afk might help me too. Have a good time!
  3. Hello sir! It's been some time since your last visit! May I ask you if you ever found out anything about adding madogears to this job classes? Hope you have a good time!
  4. Hey! Any chance you could help me find the SPR an ACT files for the mado? I wanted to create an atcommand like @hidemadogear
  5. Thanks! I needed to know where to find the sprite names for my monster, because the Alice.spr was showing up like a solider! hahah I was able to fix after finding out in a different GRF I was overwriting the sprite file name! Thanks!
  6. Hi there! By any chance would you be able to help me find the file like *accname.lub* to map IDs/enum to sprite resources for visual/costumes? Like this one: Costume Guardian Angel Wings (ID: 480201)
  7. Hello bro, I found out how to show the damage in the CLIENT, I only needed to check this SETTING: I was using client 2022-03-30! I hope that helps!
  8. I was trying to get the first argument with `getchar(0)` but it looks this only works inside of functions? I'm still trying to understand better this part, but it works nice when I use @atcmd_parameters$[0], thanks!
  9. Hey I found out a good way I can use your suggestion with TimeLimit and the end result will be as I wished. I just changed this part of src/map/quest.cpp: // if (time_today >= (qi->time % 86400)) // Carry over to the next day if (time_today >= qi->time) // Don't Carry over to the next day day_shift = 1;
  10. I tested this one, but the only problem is this scenario: - Player starts instance at 11h30pm and finishes it before 11h50pm for example - Then he stays up to go for the next round by just waiting a few minutes - However instead of reseting at midnight of "that day" it needs to wait for +1 day, right? I thought I could create a script/npc that call "erasequest2all" using OnTimer/OnClock, but it's getting very hard to understand the ".cpp" part of it and create my own "erasequest2all"... I'm even considering writing a direct "UPDATE ragnarok.quest SET timer=mycustomtime WHERE quest_id IN ( MY_LIST_OF_QUESTS_TO_RESET )" Would you go that far or maybe give me a different opinion? Thank you very much so far!
  11. Hello! I figured out a way to overwrite this config even if you pass on "./configure --enable-packetver=DIFFERENT". I changed my src/custom/defines_pre.hpp and added my define there: #define PACKETVER 20230330
  12. zeusc137

    OnHour:

    Thanks for the information! I just figured out you are damm right and I was doing it wrong trying to use OnHour2300, and the documentation is very clear: OnClock<hour><minute>: OnMinute<minute>: OnHour<hour>: On<weekday><hour><minute>: OnDay<month><day>:
  13. I know erasequest uses the information from the player that executed the erasequest, in other words the player that interacted with the NPC script. What about my script like the one below, but that call erasequest for all chars from all login: - script ResetInstancesAtMidnight -1,{ OnHour00: erasequest 99999; announce "[Timer] Instance was reseted"; end; } Any ideas are very welcome! I was trying to create my own "erasequest2" command but I didn't find a way to run sql there and get all the accountid: /** * erasequest2 <ID>{,<char_id>}; **/ BUILDIN_FUNC(erasequest) { map_session_data* sd; // list of all player I get from SELECT accountid from ragnarok.login: if (!script_charid2sd(3, sd)) return SCRIPT_CMD_FAILURE; if (quest_delete(sd, script_getnum(st, 2)) == -1) { script_reportsrc(st); script_reportfunc(st); } pc_show_questinfo(sd); return SCRIPT_CMD_SUCCESS; } Thanks in advance!
  14. I was considering creating a script with similar idea, but as I didn't know the existence of *instance_list* I would need to put manually all quest/instance IDs I wanted to destroy. It is so good to search for other alternatives as soon as you got your own idea in mind, that's such a good approach! Thank you for sharing this!
  15. Very nice! Thanks very much for sharing this content! Have a good one!
  16. If you want anyone with group_id greater than VIP to use this command you just need to change the first line after OnAtcommand like this: // Remove or comment this one: // if(vip_status(VIP_STATUS_ACTIVE)){ // Use this one instead: if(getgroupid() >= VIP_STATUS_ACTIVE){
  17. Hey! I found out I have this option inside the game, as soon as I check this option "Expand Damage" on Game Settings I can see damages greater than 999,999: Check my test too:
  18. Thank you very much for sharing! I'll make sure I open each video no Youtube to like, comment and follow you!
  19. Have you ever found some tips to do that? I'm trying to do that using Warp/Nemo but maybe that diff is not working anymore? It looks like IncrAtkDisplay should do the trick but I can't find it inside Warp nowadays: https://nemo.herc.ws/patches/IncreaseAtkDisplay/
  20. I found out my Rag client does not support this patch, only older ones, you can check yours here: https://nemo.herc.ws/patches/IncreaseAtkDisplay/
  21. Hello sir, Did you find anything in your client to diff and increase that max damage above 999,999?
  22. @GM Winter I think I found an alternative solution for you, YOU DON'T CHANGE groups.yml and change your script to work like this: - script MVP Status -1,{ OnAtcommand: if(vip_status(VIP_STATUS_ACTIVE)){ mes "^E630FF[ MVP Checker ]^000000"; mes "^00CD10Green[ Alive ]^000000 | ^FF0000Red[ Dead ]^000000 | Map"; for( .@i = 0; .@i < getarraysize( .mvp_name$ ); .@i++ ) { switch (.@i) { case 42: .@alive = ( $@thana_summon < 6 || mobcount( "thana_boss", "#Death::OnThanaDead" ) ); break; default: .@alive = mobcount( .mvp_map$[.@i], "" ); break; } if ( .display_type == 2 ) .@menu$ = .@menu$ + ( ( .@alive ) ? "^00CD10" : "^FF0000" ) + .mvp_name$[.@i] + "^000000 (" + .mvp_map$[.@i] + "):"; else if ( .display_type == 1 ) mes ( ( .@alive ) ? "^FF0000" : "^00CD10" ) + .mvp_name$[.@i] + "^000000 (" + .mvp_map$[.@i] + ")"; } if ( .display_type == 1 ) close; .@num = select( .@menu$ ) - 1; if (.warp_to_mvp == 1) warp .mvp_map$[.@num],0,0; else if(.warp_to_mvp == 2) { sleep2 1000; sc_start SC_BOSSMAPINFO,600000,0; } }else{ message strcharinfo(0),"this command only for vip!."; } end; OnInit: bindatcmd "mvpstatus",strnpcinfo(3)+"::OnAtcommand",0,99; // 0 = disabled, 1 = enabled, 2 = enabled + SC_BOSSMAPINFO .warp_to_mvp = 0; setarray .mvp_map$, "moc_pryd06","ra_fild03","ra_fild04","ve_fild01","ve_fild02", "lou_dun03","prt_maze03","abbey03", "gl_chyard","abyss_03","gef_dun02","gef_dun01","treasure02", "pay_fild10","gon_dun03","abbey02","xmas_fild01","ra_san05", "prt_sewb4","mosk_dun03","thor_v03","ama_dun03", "kh_dun02","ayo_dun02","niflheim","anthell02", "mjolnir_04","pay_dun04","gef_fild02","gef_fild14","gef_fild10", "moc_pryd04","in_sphinx5","moc_fild17","ein_dun02","xmas_dun02", "beach_dun","thana_boss","tur_dun04","odin_tem03", "jupe_core","lhz_dun02"; setarray .mvp_name$, "AmonRa","Atroce","Atroce","Atroce","Atroce", "Bacsojin","Baphomet","Beelzebub", "DarkLord","Detale","Doppelganger","Dracula","Drake", "Eddga","EvilSnakeLord","FallenBishop","Garm","GloomUnderNight", "GoldenThiefBug","Gopinich","Ifrit","IncantationSamurai", "KielD01","LadyTanee","LordofDeath","Maya", "Mistress","MoonlightFlower","OrcHero","OrcHero","OrcLord", "Osiris","Pharaoh","Phreeoni","RSX0806","Stormy Knight", "TaoGunka","Thanatos","TurtleGeneral","ValkyrieRandgris", "Vesper","Ygnizem"; .display_type = 1; if( .warp_to_mvp > 0 ) .display_type = 2; OnTimer0050: showscript "MVP Checker", getnpcid(0); initnpctimer; end; }
  23. Hello! Any suggestions on acomplishing this different colors for GM names?
  24. Actually, I'm still testing this as I could not get it to work with my VIP players
  25. The atcommand worked nice with my GM account using it like this: bindatcmd "MVPSTATUS",strnpcinfo(0)+"::ONMVPSTATUS",1,99; I tested your script and both for regular players and VIP players the command does not exist, as follows:
×
×
  • Create New...