Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 07/27/19 in Posts

  1. 1 point
    Dastgir

    [NPC] Campfire to regenerate HP/SP

    It's because the plugin (https://github.com/dastgirp/HPM-Plugins/blob/master/src/plugins/npc-duplicate.c) has changed it's syntax So, do the following in campfire.txt, Change duplicatenpc("Campfire#CF", "Campfire", sprintf("CF_%d", .@curr_char_id), .@mapname$, .@mapx, .@mapy, 0); to duplicatenpc("Campfire#CF", sprintf("Campfire#CF_%d", .@curr_char_id), .@mapname$, .@mapx, .@mapy, 0);
  2. 1 point
    TecnoCronus

    Source variables

    As far as I know, these are commonly struct pointers used in source to point to structs like: map_session_data, etc.. you first need to learn the basis of C language, I suggest you this site: http://www.programiz.com/c-programming then you're able to understanding the source code of Hercules, you can find some info about it in her's wiki: http://herc.ws/wiki/Main_Page and I did a long time ago a little doc with a few explanations about eAthena's Source Code, it's outdated but can be helpful for learning: https://xp-dev.com/svn/tecnocronus_scripts/docs/EN/source_documentation.txt the best way to learn hercule's or eAthena source code is to studying C language a lot and looking source snippets, see what they can do a good way to learn too.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.