Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 03/04/19 in all areas

  1. February Digest 2019 The following digest covers the month of February 2019. Staff Changes: None Development Highlights: CORE: Fixed a possible mail send server crash (2c47569f) Fixed a possible pet server crash (dd084234) Fixed a possible script exploit (25aaeec1, 8e325e41) Added the battle_config limits (from pc_changelook) to changelook script command (b032aae3) Added item bonus bNoWalkDelay (f235d89e) Cleaned up script command argument parsing (1f97beae, 42b71e6f) Fixed accessory equipping with cards (2ae2f25f) Added gvg warning (92de3065) Fixed Ice Wall units to match their official behavior (35611e78) Converted remaining C comments (c5a5c545) Corrected script commands containing arrays (d649ede4, 47866f60) Fixed Camouflage skill (5d69a4fe) Fixed an issue with progressbars (fc92a979) Added correct allocation info to strlib (913cf875) Fixed Taekwon Running fixed cast time (915c84f1) Minor clean up in `clif_displaymessage` function (bfb6b831) Corrected RODEX message size (7e649201) Fixed definitions for DB pathing (a5c93b60) Modified itemdb_read_flag error message (ec6c3698) Fixed a duplicate path status (757a4593) DATABASE: Updated Item DB (727078a6) Corrected some card combos (360cc25c) Fixed some item scripts (6a522e72) Corrected loyal pet bonuses (37772211) Corrected item DB of Wurst (214573ed) Updated Eddga's HP (4bf57de2) SCRIPT: Uncommented progressbar part in Devil tower (42920b27) Adjusted death event for Emperium Battleground (724bd3bf) OTHERS: Added Epoque to mailmap (c80b8acf) List of Contributors: @aleos89, @AnnieRuru, @Atemo, @attackjom, @Badarosk0, @BrOgBr, @cahya1992, @c0nflicts, @Daegaladh, @Epoque1, @esu1214, @Everade, @exneval, @functor-x, @JohnnyPlayy, @keitenai, @Lemongrass3110, @marky291, @mrjnumber1, @Indigo000, @raelemagy, @teededung, @Tokeiburu, @zhqfdn Show your support to rAthena by submitting your Issue or Pull Requests!
    3 points
  2. Version 1.0.0

    215 downloads

    Greetings rAthena! I hope you enjoy this npc of Maple Story, it is the fifth I have done. Please do not claim my work as yours. Please do not sell it or resell it.
    Free
    2 points
  3. View File Ragnarok Emojis v2.0 __________***PLEASE READ***__________ I updated a variety of ragnarok emojis. Example: became > Feel free to do whatever with the graphics. Use parts of it or fully, use them as a base or else - but please follow these rules: ________________________________________ Rules: Do not sell these graphics to anyone. Do not ask me to fix, adjust or change something unless you're willing to pay for it. If you upload them somewhere for others to download, please credit me and/or link back to herc.ws's download section. Contains: Ragnarok Emojis Contact Discord: 방탄#4526 Submitter Daifuku Submitted 02/10/2019 Category Other Video Content Author Daifuku  
    1 point
  4. Koe meu parça, fiz o sistema do Region do Eamod, fiz ele na src e funcionou! mas tms jnts man!!!
    1 point
  5. iawe manolo, fiz a ideia que você queria apenas manipulando a entrada dos comandos @go e @war, ta na mão, qualquer coisa fala awe xD https://pastebin.com/raw/WkUJbpp7
    1 point
  6. if ( (.@eaj & EAJL_THIRD) && ( BaseLevel > 174 ) ) { mes ( "you are third and 175 level" ) ; } if ( !(.@eaj & EAJL_THIRD) && !(BaseLevel > 174 ) ) { mes ( "you are not third and not 175 level" ) ; }
    1 point
  7. if ( getmapusers("mapname") >= 0 ) { // map exist. } else { // map not exist. }
    1 point
  8. You could add an event label and then call it when opening the shop. Let's say you want to create a label named 'OnCashShopOpening' (yeah should think about something else ^^) src/map/npc.c : void npc_read_event_script(void) { int i; struct { char *name; const char *event_name; } config[] = { {"Login Event",script_config.login_event_name}, {"Logout Event",script_config.logout_event_name}, {"Load Map Event",script_config.loadmap_event_name}, {"Base LV Up Event",script_config.baselvup_event_name}, {"Job LV Up Event",script_config.joblvup_event_name}, {"Die Event",script_config.die_event_name}, {"Kill PC Event",script_config.kill_pc_event_name}, {"Kill NPC Event",script_config.kill_mob_event_name}, {"Stat Calc Event",script_config.stat_calc_event_name}, ++ {"Cash Shop Event",script_config.cash_shop_event_name}, }; src/map/npc.h : //Script NPC events. enum npce_event { NPCE_LOGIN, NPCE_LOGOUT, NPCE_LOADMAP, NPCE_BASELVUP, NPCE_JOBLVUP, NPCE_DIE, NPCE_KILLPC, NPCE_KILLNPC, NPCE_STATCALC, ++ NPCE_CASHSHOP, NPCE_MAX }; src/map/script.c : struct Script_Config script_config = { 1, // warn_func_mismatch_argtypes 1, 65535, 2048, //warn_func_mismatch_paramnum/check_cmdcount/check_gotocount 0, INT_MAX, // input_min_value/input_max_value "OnPCDieEvent", //die_event_name "OnPCKillEvent", //kill_pc_event_name "OnNPCKillEvent", //kill_mob_event_name "OnPCLoginEvent", //login_event_name "OnPCLogoutEvent", //logout_event_name "OnPCLoadMapEvent", //loadmap_event_name "OnPCBaseLvUpEvent", //baselvup_event_name "OnPCJobLvUpEvent", //joblvup_event_name "OnPCStatCalcEvent", //stat_calc_event_name "OnTouch_", //ontouch_name (runs on first visible char to enter area, picks another char if the first char leaves) "OnTouch", //ontouch2_name (run whenever a char walks into the OnTouch area) ++ "OnCashShopOpening", }; src/map/script.h : extern struct Script_Config { unsigned warn_func_mismatch_argtypes : 1; unsigned warn_func_mismatch_paramnum : 1; int check_cmdcount; int check_gotocount; int input_min_value; int input_max_value; const char *die_event_name; const char *kill_pc_event_name; const char *kill_mob_event_name; const char *login_event_name; const char *logout_event_name; const char *loadmap_event_name; const char *baselvup_event_name; const char *joblvup_event_name; const char *stat_calc_event_name; const char* ontouch_name; const char* ontouch2_name; ++ const char* cash_shop_event_name; } script_config; src/map/clif.c void clif_parse_cashshop_open_request( int fd, struct map_session_data* sd ){ sd->npc_shopid = -1; // Set npc_shopid when using cash shop from "cash shop" button [Aelys|Susu] bugreport:96 clif_cashshop_open( sd ); ++ npc_script_event(sd, NPCE_CASHSHOP); } In any npc: - script dubnpc -1,{ OnCashShopOpening: debugmes "it works!!"; end; } Tested and working I don't know if there's a way to call a specific npc event or even to call a script function, sorry but I don't know much about src at all so that's all I've got.
    1 point
×
×
  • Create New...