Jump to content

Dastgir

Script Developers
  • Content Count

    3803
  • Joined

  • Last visited

  • Days Won

    248

Reputation Activity

  1. Upvote
    Dastgir got a reaction from Khazou in Gravity error without message   
    DMP file is not that useful...
    What I can suggest is, to isolate each thing and try, first disable all npc and try, if there's still error, try changing client and try..
    Otherwise, checkout fresh Hercules and try . The problem is not Soo clear, so you might need to do several try to get to know exact error.
    I still assume, some other script might be doing some activity like playing music/etc.
  2. Upvote
    Dastgir got a reaction from Easycore in Plugin Collections   
    Hex format should have worked.
    Anyways, I forgot to tell, recently, there was change in DispBottom to support color.
    Syntax:
    dispbottom "Message", <color>;
    Color is in hex, so red = 0xFF0000
  3. Upvote
    Dastgir got a reaction from DoriTos Nacho in Vending Crash Error   
    Get updated msgstringtable.txt , that's the cause of client crashhttps://github.com/ROClientSide/Translation
  4. Upvote
    Dastgir got a reaction from Cherminator in Script for converter mob_db   
    Use this: https://github.com/HerculesWS/Hercules/blob/master/tools/mobdbconverter.py
  5. Upvote
    Dastgir got a reaction from roking in Login-server crash   
    Explain stop working/crash, if possible, provide screenshot
  6. Upvote
    Dastgir got a reaction from Easycore in Requesting plugin like dispbottom command script   
    https://github.com/dastgir/HPM-Plugins/commit/005e78635082b2719123bb1ae45f011e19e19b84
  7. Upvote
    Dastgir got a reaction from MikZ in @autoattack specific map   
    ACMD(autoattack)
    {
    if (sd->bl.m != map->mapname2mapid("gold_room_map_name")) {
    clif->message(fd, "AutoAttack cannot be used on this map.");
    return false;
    }
    if (sd->sc.option & OPTION_AUTOATTACK) {
    sd->sc.option &= ~OPTION_AUTOATTACK;
    unit->stop_attack(&sd->bl);
    clif->message(fd, "Auto Attack OFF");
    } else {
    sd->sc.option |= OPTION_AUTOATTACK;
    timer->add(timer->gettick()+200, autoattack_timer, sd->bl.id, 0);
    clif->message(fd, "Auto Attack ON");
    }
    clif->changeoption(&sd->bl);
    return true;
    }

  8. Upvote
    Dastgir got a reaction from Ehwaz in Requesting plugin like dispbottom command script   
    https://github.com/dastgir/HPM-Plugins/commit/005e78635082b2719123bb1ae45f011e19e19b84
  9. Upvote
    Dastgir got a reaction from x13th in [Question] Plugin   
    You could pretty much do many things, you only need to figure out which function to hook and which new functions to add.
    You can view all my plugin for examples and get the idea of how to do it: https://github.com/dastgir/HPM-Plugins/tree/master/src/plugins
    You can also view more plugins from downloads section by various other authors
  10. Upvote
    Dastgir got a reaction from Legend in Requesting plugin like dispbottom command script   
    https://github.com/dastgir/HPM-Plugins/commit/005e78635082b2719123bb1ae45f011e19e19b84
  11. Upvote
    Dastgir got a reaction from midnightr in Guide setting up 2013+ Client for Hercules   
    Update your itemInfo, seems some encoding gone wrong
  12. Upvote
    Dastgir got a reaction from Legend in MaxLvExpGain   
    Change these 2 lines for the meantime:
    int max_blv_exp_gain = 5; // when player reach this BaseLevel, they stop gain BaseExp
     
    int max_jlv_exp_gain = 5; // when player reach this JobLevel, they stop gain JobExp
     
    I just learned that addBattleConf needs some changes so that it can read from battle folder.
  13. Upvote
    Dastgir got a reaction from master@ragna in Correct Method to close live server   
    Use @kickallKicking all would mean force saving the characters, I usually give broadcast in server from 1 hour before. So that's clear indication for not doing anything important.
    (Also don't believe what the others say), kickall should save all things almost instantly, so closing all of them after few seconds of kicking would mean the same as closing map server and waiting...
  14. Upvote
    Dastgir got a reaction from Wolfeh in Severe prontera lag or unwalkable tiles?   
    WeeMapCache would change the MapID completely,
    It have some weird issues with water tiles
    Better to use hercules mapcache with --rebuild argument
    "mapcache.exe --rebuild"
    would rebuild the mapcache completely.
  15. Upvote
    Dastgir got a reaction from ZelosAvalon in new start point int_land warp to izlude bugged   
    Hercules bug (introduced on recent training ground changes):
    Fixed @ https://github.com/HerculesWS/Hercules/commit/c40d4995c93a9e932356ed952328f97e97c3aa0f
    (Please open bug report at github, so it could be referred on commit message, and also not all dev see forum for bug report)
  16. Upvote
    Dastgir got a reaction from Ridley in Official RO Server Aegis test to improve Herc   
    Honestly, Dev's are more interested in raw data, rather than testing from server(which is too much time consuming), but testing too are required, but only some times, and not everytime
  17. Upvote
    Dastgir reacted to esu1214 in Aegis id2name_V2   
    I now upload Aegis_id2name.txt since many Aegis names of item_db in both Herc and rAthena are not correct.
     
    Update 2016.10.11
    I have made some mistaked in the first version.
    Try V2.
    Aegis_id2name_V2.txt
  18. Upvote
    Dastgir reacted to Ridley in 2016-10-02 : Update to the Intro   
    This is an update to the intro, to be more specific, to the spawning location and everything happening before the Crituria Academy
     
    Changes
    New spawning location for RENEWAL is iz_int 18 27New outerior is int_land. You have to do a small quest here. This is optional, you can also go directly to Izlude. The additinal poring drop is fully handled by our quest_db.conf and you do not need to edit anything.  In order to fully support this change, you need the latest translation files for navigation and iteminfo. You can find them here:
    https://github.com/ROClientSide/Translation  
    The confusion about iz_int
     
    We saw question about a black iz_int quite often. Is is also simply why this happens. The map was changed on official, and the small ship was turned into a ship interior. The old coordinates were a black spot on this "new" map, and to fix it, you simply had to put in the "old" iz_int map files.
    For this change, you now need the new map, the one. 
    I once uploaded both to hercules. In case you need it, you can download it here.
     
    The new iz_int is included in any recent kro from the back to december 2015. If you used the old iz_int, you just have to replace it.
     
     
     
  19. Upvote
    Dastgir reacted to esu1214 in [Instance]Horror Toy Factory (Aegis Server)   
    Here is the full. Enjoy it.
    xm_d.rar
  20. Upvote
    Dastgir got a reaction from MikZ in INCREASE ALL DAMAGE normal and skills   
    db/(pre-)re/map_zone_db.conf
    Find the zone with name: "All"
    Add These Mapflags:
    mapflags: ( "weapon_damage_rate 200", "magic_damage_rate 200", "misc_damage_rate 200", "long_damage_rate 200", "short_damage_rate 200", ) These will double the attacks (200% Damage)
  21. Upvote
    Dastgir got a reaction from Ridley in INCREASE ALL DAMAGE normal and skills   
    db/(pre-)re/map_zone_db.conf
    Find the zone with name: "All"
    Add These Mapflags:
    mapflags: ( "weapon_damage_rate 200", "magic_damage_rate 200", "misc_damage_rate 200", "long_damage_rate 200", "short_damage_rate 200", ) These will double the attacks (200% Damage)
  22. Upvote
    Dastgir got a reaction from Mystery in [Guide] Adding New Status Icons   
    Hello Hercules Community,
    Here's a Guide to Add a New Custom Status Icons(the one displayed on the right)
     
     
    What you Need?
    Knowledge of Editing and Compiling Server(and ofcourse custom icons)

     
    1) Server Side Edits:
    open
    src/map/status.h
     
    Find
     
    SC_MAX  Add Before
     
    SC_MYCUSTOMBUTTON,  
     
    Find
    SI_MAX, Add Before
     
    SI_MYCUSTOMBUTTON = ID_OF_BUTTON, (ID of Button can be any, but I suggest to have them > 2000, so not to avoid any updates with kRO(which is at 900) now)
    P.S: Remember that ID_OF_BUTTON, we gonna need them later.
     
     
    src/map/status.c
    Find
    status->IconChangeTable[SC_DECORATION_OF_MUSIC] = SI_DECORATION_OF_MUSIC; Add Below
    status->IconChangeTable[SC_MYCUSTOMBUTTON] = SI_MYCUSTOMBUTTON;  
    Recompile 
     
    2) ClientSide Edits
    Get a CleanCopy of statusicon folder (https://github.com/ROClientSide/Translation/tree/master/Data/luafiles514/lua%20files/stateicon)
     
    Open efstids.lub
    Find:
    __newindex = function()error("unknown state") Before it add,
     
    EFST_MYCUSTOMBUTTON = ID_OF_BUTTON,  P.S: ID_OF_BUTTON should match the one on source(status.h)
     
     
    Open  stateiconinfo.lub
    Find
     
    StateIconList[EFST_IDs.EFST_JUMPINGCLAN] = {  Add Before
    StateIconList[EFST_IDs.EFST_MYCUSTOMBUTTON] = { haveTimeLimit = 1, posTimeLimitStr = 2, descript = { { "My Custom Button Heading", COLOR_TITLE_BUFF }, {"%s", COLOR_TIME}, --do not edit this, this shows time remaining { "Description 1" }, { "Description 2" }, { "Description 3" } }} Open
    stateiconimginfo.lua
    Find
     
    [PRIORITY_GOLD] = { OR
    [PRIORITY_RED] = {  OR
    [PRIORITY_BLUE] = {  OR
    [PRIORITY_GREEN] = {  OR
    [PRIORITY_WHITE] = {  (Depending on what background your Custom Button is)
    Add below
     
    [EFST_IDs.EFST_MYCUSTOMBUTTON] = "MYCUSTOMBUTTONFILE.TGA",  P.S: Your Button File must be in .TGA form only.
    .tga file must go to data/texture/effect/ Folder
     
    And Its DONE!!!
     
    NOTE: Replace MYCUSTOMBUTTON with your own Icon/Effect Name
  23. Upvote
    Dastgir got a reaction from Shatowolf in [Release] ExtendedBG for Hercules (with eAmod BG modes)   
    *looks around me**hides away for a month*
  24. Upvote
    Dastgir got a reaction from Shatowolf in [Release] ExtendedBG for Hercules (with eAmod BG modes)   
    Been working on it since past 2-3 days, and Rankings are implemented completely(need to test off, but code is done)
  25. Upvote
    Dastgir got a reaction from Easycore in Extended Vending is not working   
    You might have not enabled HPMHook plugin
×
×
  • Create New...

Important Information

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