Jump to content

Dastgir

Script Developers
  • Content Count

    3803
  • Joined

  • Last visited

  • Days Won

    249

Reputation Activity

  1. Upvote
    Dastgir got a reaction from Hadeszeus in Any chance to know or debug which is missing?   
    Not a missing map, but source trying to get MapID of an empty mapname..
  2. Upvote
    Dastgir got a reaction from binbinH in "LaunchZC_SKILL_USE" error help   
    Update your kRO, that file can be found in data.grf but is missing from yours.
  3. Upvote
    Dastgir got a reaction from Söel in Ultimate Guild Ranker   
    eAmod don't have direct assessment of variables, you have to change it yourself.
    like
     
    .@UGR_breaks = 1;   
    will become
     
    set .@UGR_breaks,1; 
  4. 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
  5. Upvote
    Dastgir reacted to evilpuncker in Community >> Call to Action!!! << lets save resources!   
    We all know that we don't really have many files here in the forum download section and users need to go to others forum in order to download some of them, that is kinda fine, but what if the other forum is offline? So I wanna ask to everyone that like to give back something back to RO community, that we start to import downloads from any other RO related forum to here (with proper credits/permission of course) so users will be able to find all of them in one place instead of the need of searching for hours and hours and ending up into broken links or offline sites!
     
    what you can do:
     
    upload resources that are laying on your hd that you don't use anymore download from rA/eA and upload here in Hercules stopping being a leech xDD

     
     
     
     
    and since this is a call to action thing, lets give some love to yommy so we can get a new client <3 there are hundreds of servers using hercules and earning money, but seems like people doesn't like to give things back lets stop being a moneywh*re guys!!!
     
    help this community with a smile
  6. Upvote
    Dastgir got a reaction from evilpuncker in Auraset   
    About effect disappear, I would check(can't view video)
    About teleport effect on warp, I will fix it asap.
  7. Upvote
    Dastgir got a reaction from evilpuncker in Auraset   
    Isn't that already implemented?
  8. Upvote
    Dastgir got a reaction from IndieRO in How to support packet encryption in 2013-08-07a Ragexe   
    Packet First Key Encryption [58AA359A]
    Packet Second Key Encryption [55F86C1E]
    Packet Third Key Encryption [3F094C49]
    Make sure you change those keys in SRC/map/packets.h and recompile
    (Show packets.h if you have done it already)
  9. Upvote
    Dastgir got a reaction from KaitoKid in 2013-08-07a Ragexe - Unsupported Packet   
    Set it to 0, since you selected "Disable Packet Encryption" Diff in the client.Then restart...
  10. Upvote
    Dastgir got a reaction from Tio Akima in Alt+a for new hexed   
    Get new lua files/hotkey.lub
    Check my signature for clientside repo link..
  11. Upvote
    Dastgir got a reaction from Roberto in IND please!   
    So far to be so close....Release it Ind...
  12. Upvote
    Dastgir got a reaction from ZelosAvalon in Custom Items ( ItemInfo.lub )   
    Client reads iteminfo.lub but I recommend yo diff it with custom name, since kRO updating would replace it... And update that file ..Check my signature for client side translation project(thats the one with most up-to-date iteminfo.)
  13. Upvote
    Dastgir reacted to Ind in Hercules Ultimate Localization Design   
    Hercules Ultimate Localization Design
    Hello~! - What?!
    Servers are now able to run under any number of languages, without having any of the default files modified Designed by Haruna and Ind  
    Translating NPCs without editing them
    By launching map server with the --generate-translations param a .pot (.po template) file will be created with all of the servers translate-able strings (including all npc dialogue), this file can be edited in text mode or by utilising any .po editor (there are many out there; for a high range of OSes) A .po file does not need to be fully translated to be used, map server will know when loading the file, and will fallback to the hardcoded string in the npc files as necessary Users are able to change their language with the new @lang command, @lang controls what language users see in @commands (msg_txt stuff) as well as over npc dialogues map-server.conf has a new setting called default_language where server owners may specify which language should be used as a base When you have a new .po file you want map server to use, add it to db/translations.conf Easy to Maintain
    Since .po is a widely used format there are many tools that can help with merging for example Poedit, which easily consolidates a translated .po file with a newly generated .pot. For example when you have a translated .po and since it was created npc dialogs were added or modified all you have to do is launch map server to generate a new .pot, open your old .po in Poedit, go "Catalog -> Update from POT file" and it will insert the new translatable strings without touching your existing translations, it will also notify you of any "obsolete" strings that are in your .po file but that are no longer in use Script Command Macro
    Besides messages.conf, all the dialogue utilised by 'mes' and 'select' is included in the .pot automatically, this patch also introduces a mechanism for utilising strings outside of these commands, the script macro _() which can be employed just as if it were a script function, for example set .@status$,_("Available"); tells map server to export "Available" as a translate-able string when it is run with --generate-translations (when running map server normally the macro has no overhead during runtime) Special Thanks to
    Raizen and Roberto from Cronus, we would not have worked on this if it weren't for them Links~!
    Commit Editing Example
  14. Upvote
    Dastgir got a reaction from Skyline in Plugin Collections   
    Updated @afk to be supportable with last version of hercules.
  15. Upvote
    Dastgir got a reaction from ZelosAvalon in Invasion Event   
    By reading the script, I feel something wrong

    set getarg(0),getarg(1,0),getarg(2,0);Should be
    warp getarg(0),getarg(1,0),getarg(2,0);
  16. Upvote
    Dastgir got a reaction from ZelosAvalon in Eden Quest 99+   
    Not difficult, I will try to get hands on eden this week.
  17. Upvote
    Dastgir got a reaction from karazu in Eden Quest 99+   
    Not difficult, I will try to get hands on eden this week.
  18. Upvote
    Dastgir got a reaction from Ehwaz in Eden Quest 99+   
    Not difficult, I will try to get hands on eden this week.
  19. Upvote
    Dastgir reacted to Yommy in What kind of RO interests the Ragnarok community?   
    easy, setup a really shit server and have no clue about what you are doing, then you are destined for 2000 players.but be careful, any kind of professionalism in your setup, you are lucky to get 200 players
     
    good luck
  20. Upvote
    Dastgir got a reaction from evilpuncker in Ultimate Guild Ranker   
    File Name: Ultimate Guild Ranker
    File Submitter: Dastgir
    File Submitted: 17 Mar 2014
    File Category: PvP, WoE, GvG, & Battleground
     
    Script By Request : http://herc.ws/board/topic/4756-ultimate-guild-ranking
    Percentage Changes:AgitCount= 20%Emp Break = 50%Active Participants = 20%KDR = 10%
    Features:
    Guild Ranking
    Previous Month Guild Ranking
    Rewards based on previous month

    Edits to made after installing the Script:
    Open npc/guild/agit_main.txt
    Add Following Line
    doevent "UltimateRanker#00::OnEmpBreak";
    Before
    // Adjust Economy Invest Level for Castle set .@Economy,getcastledata(strnpcinfo(2),2) - 5;
     
    Have a Custom WoE? And its not triggering the Script??
    Solution: add the following line on EmperiumBreaking Label.
    doevent "UltimateRanker#00::OnEmpBreak";
     
    Please report any bugs/suggestions.
     
    Click here to download this file
  21. Upvote
    Dastgir got a reaction from KohakuSan in Ultimate Guild Ranker   
    Not yet, (rather I forgot to), will add in upcoming days
  22. Upvote
    Dastgir reacted to zackdreaver in Client Translation Project   
    Project update :
    [*]Added new decompiled lub file [*]Added TXT format for pre-renewal item info [*]Added monstertalktable.xml [*]Added new 3 strongman hairs in iteminfo [*]Added Custom and Official pettalktable.xml (the official now work perfect after i clean it...yay!) [*]Fixed "coin fling.bmp" [*]Added pet Golem pettalktable.xml [*]Fix dancer and bard skills [*]Changed Teleport skill so it more versatile


    More info :

    Click here
     
     
    "To use pettalktable with talk different than poring, you need to edit pet_db
    and changed talk_convert_class to corresponding Pet ID that present in pettalktable.xml
    if there is no succubus in pettalktable.xml you can use Zealotus ID"
  23. Upvote
    Dastgir got a reaction from ShadowLight in Automatic Join #main   
    atcommand "@join #main";
  24. Like
    Dastgir got a reaction from simplexjay2 in Plugin Collections   
    Hello Community,
     I am feeling like, there's many plugin on forum, but not been actively used, due to out-of-date plugin
     
    I have updated Shikazu's Plugin first(as it was requested on the thread from 25th April), maybe Shikazu busy on his rl.
    Also I have included My Plugins there.
     
    I would like to add more plugins there(which are not updated on hercules forum <- please suggest if you find some outdated plugin and want me to update it )
     
    List of Plugins and Owners:
    https://github.com/dastgir/HPM-Plugins/blob/master/README.md  
    Repository: https://github.com/dastgir/HPM-Plugins
     
    Thanks.
  25. Upvote
    Dastgir got a reaction from Tio Akima in Custom Mob   
    500 is not a range for monsters.
    Monsters have range from 1000-3999 (Depends upto client, 2013 ones have till 3999)
    and the new client than 2013(2014 and up) have mobs range starting from (1000-3999 and 25000-2xxxx), not sure about till what they go.
×
×
  • Create New...

Important Information

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