Jump to content

Asheraf

Core Developers
  • Content Count

    252
  • Joined

  • Last visited

  • Days Won

    33

Reputation Activity

  1. Upvote
    Asheraf got a reaction from tedexx in Hat Preview in item description & Description link mouse over   
    Simply that server uses a newer client version both the features that you talked about them are client side features from kRO.
  2. Upvote
    Asheraf got a reaction from loki in Hat Preview in item description & Description link mouse over   
    the first one I don't know the date but for the item preview it got added in 2016-10-26 in kRO (not sure if in sakray or main or both).
    Edit: no Hercules does not support clients > 2015 yet.
  3. Upvote
    Asheraf got a reaction from dhaisuke in How to announce Classname of Player   
    jobname(Class)

  4. Upvote
    Asheraf got a reaction from VexillioEX in Itemmall npc   
    Hercules support 2ways of adding shops first one similar to what you said
    <map name>,<x>,<y>,<facing><TAB>shop<TAB><NPC Name><TAB><sprite>,<itemid>:<price> also there is another way to do it using trader type, you can check the documentation at https://github.com/HerculesWS/Hercules/blob/master/doc/script_commands.txt#L309-L330
     
    and for some samples check https://github.com/HerculesWS/Hercules/blob/master/doc/sample/npc_trader_sample.txt
  5. Upvote
    Asheraf reacted to refis in generate itemInfo.lua   
    hay, hercules.
     
    This file will automatically generate necessary information for itemInfo.lub from GRF and generate it.(ex. jRO)
     
    But, there is a possibility that a bug exists in this file, It contains source code for this fix and you can freely modify the code.
     
    sory, google translation text...im not good at English...
    gii_project.zip
  6. Upvote
    Asheraf got a reaction from Ragno in R> How to squash commits on GitHub?   
    Check this tutorial http://gitready.com/advanced/2009/02/10/squashing-commits-with-rebase.html
  7. Upvote
    Asheraf got a reaction from ZelosAvalon in Verus maps (NPC's & Monsters)   
    As ridley said those quests cant be completed due to missing of other official features. I have a completed Verus city scripts but it miss a lot because of that.
  8. Upvote
    Asheraf got a reaction from Ragno in Verus maps (NPC's & Monsters)   
    As ridley said those quests cant be completed due to missing of other official features. I have a completed Verus city scripts but it miss a lot because of that.
  9. Upvote
    Asheraf reacted to Adel in Adel's Sprite Showcase   
    Hello people~
    I am Adel and this is my updated sprite showcase.
    ❤   ❤   ❤  Hope you enjoy    ❤   ❤   ❤
    Note: Please do not steal the display images.
    Some of the references for my sprites were taken from other game sources.  
          
          
       
          
       
          
          
       
          
          
          
       
          
             
             
       
          
             

          
       
             
           
              
          
          
       
           
           
             
          
       
           
           
             
          
          
             
          
          
                
            

        
                
             
          
       
          

             
           
        
          
          
          
          
          
        
     
          
          
          
          
     
    Mob Sprites
     
             
          
             
       

    Other Sprites

     
  10. Upvote
    Asheraf got a reaction from Tsuuu in [Job] Usage restriction   
    Use job names (example):
    Job: { Swordsman: true Magician: true Merchant: true Knight: true Wizard: true Blacksmith: true Crusader: true Rogue: true Alchemist: true Taekwon: true Star_Gladiator: true Soul_Linker: true Gunslinger: true } and you could check the header of item db file for a list of all the available jobs.
  11. Upvote
    Asheraf got a reaction from Tsuuu in Food buffs !   
    please check conf/battle/items.conf
    // How much time must pass between cash food uses? Default: 60000 (1 min) cashfood_use_interval: 60000
  12. Upvote
    Asheraf got a reaction from Danz in Exp Map & MvP Card dropped   
    every 30 min the rates on the old map would be rested to .origin_rate (100)
  13. Upvote
    Asheraf got a reaction from Danz in Exp Map & MvP Card dropped   
    here you go (exp npc) just add maps to the array.
    - script exp_event FAKE_NPC,{ OnMinute30: setarray(.maps$, "prontera", "geffen", "izlude", "alberta"); .origin_rate = 100; .event_rate = 200; if (.pick$ != "") { setmapflag(.pick$, mf_bexp, .origin_rate); setmapflag(.pick$, mf_jexp, .origin_rate); } .pick$ = .maps$[rand(getarraysize(.maps$)-1)]; setmapflag(.pick$, mf_bexp, .event_rate); setmapflag(.pick$, mf_jexp, .event_rate); announce(_("The rates on map: " + .pick$ + " are " + .event_rate + " now."), bc_all); end; }
  14. Upvote
    Asheraf reacted to Sephus in Hercules Battlegrounds   
    Hercules Battlegrounds
    A full conversion and enhancement of eAmod's Battlegrounds system into a easy-to-install Hercules plugin library.
    Version: 1.0a (alpha)
     

     
    Repository @ https://github.com/Smokexyz/HerculesBG

    Installation
    1) Place plugin files in plugin directory. (If you wish to re-compile the code, please do so the standard way.)
    2) Place all script files in the default directory provided in the repository (or your own).
    3) Place all database and config parts in their respective files.
    4) in conf/plugins.conf add "hBG".
     
    Instructions on installing Plugins - http://herc.ws/wiki/HPM#Building_a_plugin
     
    Battleground Modes
    Capture the Flag Eye of Storm Triple Inferno Team DeathMatch Bossnia Conquest Stone Control Domination Rush Free For All Why use it?
    1) Prevents conflicts when updating Hercules.
    2) Easy to install.
    3) Can be easily modified for more functions/features in the future.

    For contributors
    If you wish to add a free BG script to the list of available battleground modes, please contact me.
     
    Bug Reporting
    Please feel free to open an issue on the repository and I'll get to it as soon as I can.

    Donate to support the project and motivate updates.


  15. Upvote
    Asheraf reacted to Sephus in Hercules Battlegrounds   
    Added 2 commits:
     
    1) Added maps.conf
    Added map_index.txt
    Added mob_avail.txt
    Added quest_db.conf
    Implemented guild skills to be shown but not usable yet.
    Corrected logout cleanup functions.
    Cleanup of some queue to team building functions.   2) Team balance Improvements Working guild skills in BGs with less than 3 teams.
    More code optimization.   This should most probably get us into a somewhat stable state without crashes, so we can start completing the features. Updated original post.
  16. Upvote
    Asheraf got a reaction from Like it~* in Hercules Battlegrounds   
    Warning 1 warning C4138: '*/' found outside of comment Hercules-master\src\plugins\hBG.c 165 1 hBG Warning 2 warning C4138: '*/' found outside of comment Hercules-master\src\plugins\hBG.c 166 1 hBG Warning 3 warning C4138: '*/' found outside of comment Hercules-master\src\plugins\hBG.c 168 1 hBG Error 4 error C2039: 'class_' : is not a member of 'mmo_charstatus' Hercules-master\src\plugins\hBG.c 402 1 hBG Warning 5 warning C4018: '<' : signed/unsigned mismatch Hercules-master\src\plugins\hBG.c 832 1 hBG Warning 6 warning C4018: '>=' : signed/unsigned mismatch Hercules-master\src\plugins\hBG.c 1900 1 hBG Warning 7 warning C4018: '<' : signed/unsigned mismatch Hercules-master\src\plugins\hBG.c 1954 1 hBG Warning 8 warning C4018: '<' : signed/unsigned mismatch Hercules-master\src\plugins\hBG.c 2068 1 hBG try to change line 402 from 
    WFIFOW(fd,c*104+18) = psd->status.class_; to 
    WFIFOW(fd,c*104+18) = psd->status.class;
  17. Upvote
    Asheraf got a reaction from Legend in i need little help of scripting a freebies npc   
    new_1-1,51,67,3 script ShadowRO Gifter 10039,{
    mes "[ShadowRO Gift]";
    mes "Hi, Welcome to Shadow Ragnarok Online !";
    if (#gotgift) {
    mes "You have already claimed your gift.";
    close2;
    warp "prontera",116,73;
    end;
    }
    mes "Do you want your gift ?";
    next;
    switch(select("Sure !", "Hmmm..")) {
    case 1:
    mes "[ShadowRO Gift]";
    mes "Have Fun,";
    mes "Remember, the job master will meet you in the middle of prontera.";
    next;
    mes "[ShadowRO Gift]";
    mes "See You !";
    next;
    savepoint "prontera",116,73;
    getitem 755, 1;
    #gotgift = 1;
    warp "prontera",116,73;
    end;
    case 2:
    mes "[ShadowRO Gift]";
    mes "... !?";
    close;
    }
    }

  18. Upvote
    Asheraf got a reaction from Legend in how can i add mobs on a map   
    Hello there, you can read more about permanent monster spawning in the script command doc https://github.com/HerculesWS/Hercules/blob/master/doc/script_commands.txt#L148 
  19. Upvote
    Asheraf got a reaction from Legend in Time Request   
    Hello there i made it in 2 ways 
    1- short way
    - script timeannouncer FAKE_NPC,{ OnMinute00: announce("It is currently " + gettimestr("%Y-%m/%d %H:%M:%S", 21), bc_all); end; } 2- A bit long one
    - script timeannouncer FAKE_NPC,{ OnMinute00: setarray(.@Days$, "Monday", "Thuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"); setarray(.@Months$, "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"); .@sec = gettime(GETTIME_SECOND); .@min = gettime(GETTIME_MINUTE); .@hour = gettime(GETTIME_HOUR); .@day = gettime(GETTIME_WEEKDAY); .@dayofmonth = gettime(GETTIME_DAYOFMONTH); .@month = gettime(GETTIME_MONTH); .@year = gettime(GETTIME_YEAR); if (.@dayofmonth == 1) { .@tr$ = "st"; } else if (.@dayofmonth == 2) { .@tr$ = "nd"; } else if (.@dayofmonth == 3) { .@tr$ = "rd"; } else { .@tr$ = "th"; } announce(sprintf("It is currently %d:%d:%d on %s, %s %d%s, %d", .@sec, .@min, .@hour, .@Days$[.@day], .@Months$[.@month], .@dayofmonth, .@tr$, .@year), bc_all); end; } (ps: maybe there is a better way to do this but i dont know it )
  20. Upvote
    Asheraf got a reaction from Gravrei in Inter-server.conf   
    To config databases check conf/global/sql_connection.conf
  21. Upvote
    Asheraf got a reaction from haniko in How to edit item scripts and add new items?   
    Probably you didn't diff the client with the increase headgear viewID option so its limited to 2000 try to increase it using nemo.
  22. Upvote
    Asheraf got a reaction from haniko in How to edit item scripts and add new items?   
    2015-05-13aRagexe client use iteminfo file so you need to add your items there, the items scripts can be founded in the item_db.conf
    and you can find some item sprites at the download section http://herc.ws/board/files/category/3-sprites-palettes/
  23. Upvote
    Asheraf got a reaction from Legend in Script Quest Dimensional Travel   
    nope questprogress is a Herc script command
    for the script as Aeromesi said 
    if (questprogress(11350) == 1)
  24. Upvote
    Asheraf got a reaction from Legend in Broadcast zeny fee   
    I would suggest using the channel system for this npc instead of looping for every player, however here you go
    - script broadcast FAKE_NPC,{ OnCommand: if (!getstrlen(.@atcmd_parameters$)) { message strcharinfo(PC_NAME), "Please, enter a message (usage: @bst)."; end; } if (agitcheck()) { message strcharinfo(PC_NAME), "Unable to use this command,"; message strcharinfo(PC_NAME), "War of Emperium is ongoing!"; close; } $@input$ = implode(.@atcmd_parameters$, " "); $@name$ = strcharinfo(PC_NAME); .@symbol$ = substr(.@atcmd_parameters$, 0, 1); if (.@symbol$ != "B>" && .@symbol$ != "S>" && .@symbol$ != "T>") { message strcharinfo(PC_NAME), "Market Symbol is Needed when using this command ( B> S> T>)"; end; } if (bst_delay + 60 > gettimetick(2)) { message strcharinfo(PC_NAME), "There is a 60 seconds delay of using this command again"; end; } if (Zeny < 1000000) { message strcharinfo(PC_NAME), "You need to pay a 1m fee before sending your message."; end; } Zeny -= 1000000; query_sql ("SELECT `char`.`account_id` FROM `char` JOIN `login` ON `char`.`account_id` = `login`.`account_id` WHERE `char`.`online` = 1", .@account_id); bst_delay = gettimetick(2); // delay while (.@i < getarraysize(.@account_id)) { if (attachrid( .@account_id[.@i])) dispbottom "[ Market ] " + $@name$ + " : " + $@input$,0xFFD700; // display to every character on the server. detachrid; ++.@i; } end; OnInit: bindatcmd "bst", strnpcinfo(NPC_NAME) + "::OnCommand", 0, 1; // bind @bst command. end; }  
  25. Upvote
    Asheraf reacted to Rytech in r813 - 2016-02-03aRagexeRE Support / Finished Expanded Babys Support   
    =General
    *Added support for the 2016-02-03aRagexeRE client.
    -Note: This was supposed to replace the 2015-10-29aRagexeRE
    -support entirely, but one of Nemo's important patches fails on
    -the new client at this time. The support for the older client
    will remain here until the issue is fixed.

    *Replaced the 2016-03-23bRagexe support with the 2016-12-07eRagexeRE.
    -This is used for experimental development.

    *The "jobchange" command is updated.
    -Updated the listing of jobs and ID's.
    -All expanded jobs for babys are now listed in its own group.



    =Database
    *Updated the exp and exp2 experience tables.
    -Added tables for baby star gladiator and baby ninja/gunslinger.



    =Jobs
    *Baby Summoner
    *Baby Ninja
    *Baby Kagerou
    *Baby Oboro
    *Baby Taekwon
    *Baby Star Gladiator
    *Baby Soul Linker
    *Baby Gunslinger
    *Baby Rebellion
    -All jobs listed above are now fully playable.
    -Note: A 2016-12-07 or newer client is needed to view these jobs.
    -There are no stable clients for these dates available to the
    -public at this time.
×
×
  • Create New...

Important Information

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