Jump to content

hemagx

Core Developers
  • Content Count

    248
  • Joined

  • Days Won

    10

Reputation Activity

  1. Upvote
    hemagx got a reaction from Nebraskka in Odin Server side manner   
    File Name: Odin Server side manner
    File Submitter: hemagx
    File Submitted: 17 Jan 2014
    File Category: Plugins
     
    ~ Hello
     
    Here's my Server side manner based on ind one with more advanced options.
     
    ~ Features
     
    -- For Full Version
    it uses regular expressions
    Option to bypass by GM Level or Group Permission or by using special Variable
    Auto mute

    -- Full Lite Version
    it uses regular expressions
    Option to bypass by Group Permission
    eh.. yep nothing else that why it's LITE

    ~ How to install
    Download the File
    Copy manner.c to "src/plugins"
    Copy the config files to "conf/plugin"
    Follow usual installation guide

     
    ~ How to customize
     
    To change plugin options you can check "conf/plugin/manner.conf " ( Not Available in Lite Version )
    To add more words to the filter you can add it to "conf/plugin/manner.txt"
     
    ~ useful information
     
    you can know more about regex from : http://www.regular-e...quickstart.html
    you can also test your regex and write your regex by this useful tools : http://www.rubular.com or http://regexp-evaluator.de/evaluator/ or http://www.weitz.de/regex-coach/ or http://regex101.com/
    you have to know that one wrong regex can make no one able to talk.
     
    ~ Credits
    Haruna
    Ind
    Hemagx

     
    ~ Changelog
    Unknow date - First Working Version v0.1
    2015/12/12 v0.2 - Update to work with latest Hercules, optimized a bit for faster plugin, officially release lite version.

    ~ thank you
     
    Click here to download this file
  2. Upvote
    hemagx reacted to Ind in Christmas Patch! Gift'o   
    Gift'o! From Hercules, to your server!
    We wish you happy holidays, and thank you for your support.
    May the New Year bring you happiness and peace.
     
    2013-12-23c Client Support
    Thanks to Yommy and Rytech! NPC Market Support A new type of NPC Shop where item availability is limited, for example you can have a vender start with 50x Red Potions and set mechanics for the red potions to be refurbished (for example could be as simple as a OnClock, where Red Potions are refurbished every y hour, or elaborate e.g. be connected with a game quest where players need to help a merchant npc get to the shop in order for it to be resupplied) Available as a NPC Trader subset (details will follow) @costume Oktoberfest NPC Trader
    A whole different way to set up shops, they're easier to read and flexible to customize. Previous format still supported (in the scenario we drop the previous we'll provide a conversion tool) To begin with, 'trader' is a phony name, its only purpose is to sign the parser that 'this npc will open the shop when clicked'. the trader npc is in fact a 'script' type (and thus script types can create/manipulate trader shops, and open them with the help of openshop()). Normal Zeny Shop moc_ruins,93,53,2    trader    Item Collector#moc1    4_M_03,{ OnInit:     sellitem Scell;     sellitem Monster's_Feed;     sellitem Animal's_Skin;     sellitem Bill_Of_Birds; } Custom Shop Script has full control over currency, which allows for scripts to use anything, from quests, to items, variables, etca. For Example: prontera,153,152,1    trader    TestCustom2    952,{ OnInit:     tradertype(NST_CUSTOM);     sellitem Red_Potion;     end;   /* allows currency to be Red_Potion */ OnCountFunds:     setcurrency(countitem(Red_Potion));     end;   /* receives @price (total cost) */ OnPayFunds:     if( countitem(Red_Potion) < @price )         end;     delitem Red_Potion,@price;     purchaseok();     end; } NPC Market ShopThis is the type I mentioned earlier, where item availability is limited prontera,150,160,6    trader    HaiMarket    952,{ OnInit:     tradertype(NST_MARKET);     sellitem Red_Potion,-1,50;     end;   OnClock0000://resupplies red potions on midnight OnMyResupply://instead of midnight, a event could trigger HaiMarket::OnMyResupply     if( shopcount(Red_Potion) < 50 )         sellitem Red_Potion,-1,50;     end; }The quantity data is disaster-safe, I mean it is persistent to @reloadscript and server restarts (If there were 39 Red Potions on sale upon restart/reloadscript, it continues to be 39 instead of resetting back to 50). 7 script commands to help control (documentation for all of them is present in script_commands.txt): openshop,sellitem,stopselling,setcurrency,tradertype,purchaseok,shopcount Trader Design by
    Yommy Haru jaBote mkbu95 Gepard Emistry Ind Special Thanks To
    Haru Yommy JaBote Muad_Dib Link'u~!
    Commit: https://github.com/HerculesWS/Hercules/commit/cf19b26d50ac96111e44c33a80afd1f1ea935cec NPC Trader Samples: https://raw.github.com/herculesWS/Hercules/master/doc/sample/npc_trader_sample.txt (Upcoming) GM Interface for Cash Shop Control

    Found that on the new client, support is being worked on (Data thanks to Yommy <3).
  3. Upvote
    hemagx reacted to kisuka in Ragnarok Episode Timeline   
    This is a work in progress. Parts will be added as they are organized.
     
    This topic will list out the major episode releases of kRO and the updates under them. This is to keep track of what episodes had which updates. This will assist us in making sure we aren't missing anything in Hercules. The dates below are for Main server release, not RE/Sakray testing period.
     
    * Note: Official Hercules Developers and High Council members have permission to add or modify this list.
    2002.08.03: Episode 1.0 : Start of the Adventure
    2002.12.17: Episode 2.0 : Lutie
    2003.02.04: Episode 3.0 : Comodo
    2003.05.02: Episode 4.0 : War of Emperium
    2003.07.15: Episode 5.0 : Yuno
    2003.10.07: Episode 6.0 : Global Project
    2003.10.11 : Amatsu 2003.10.11 : Kunlun / Gonryun 2003.11.25 : Weddings/Marriage 2004.01.13 : Super Novice 2004.01.30: Episode 7.0 : Umbala ~ Village of the Utan Tribe
    2004.02.02 : 2-1 and 2-2 class in Sakray 2004.02.24: Episode 8.1.1 : Niflheim ~ City of the Dead
    2004.12.23: Episode 8.1.2 : Louyang & Jawaii
    2004.12.23: Episode 8.2 : Ayothaya
    2005.01.18: Episode 8.3 : Payon Remodelling
    2005.05.12: Episode 9.0 : Rebirth
    2005.09.21: Episode 10.1.1 : The Sign & Geffenia Dungeon
    2005.09.22: Episode 10.1.2 : Einbroch
    2006.02.24: Episode 10.2 : Lighthalzen
    2005.08.16: Episode 10.3 : Noghalt
    2006.12.28: Episode 10.4 : Hugel
    2007.04.20: Episode 11.1 : Rachel
    2007.09.10: Episode 11.2 : Veins
    2007.04.10: Episode 11.3 : Nameless Island
    2007.04.10 : Mercenary System 2007.10.17: Episode 12 : Satan Morroc
    2007.10.17 : Moscovia 2007.11.21 : WoE: SE (Schwaltzvald) 2007.11.21 : WoE: SE (Arunafeltz) 2007.12.05 : World Map System 2007.12.10 : Battlegrounds 2007.12.12 : Endless Tower & Sealed Shrine 2008.06.25 : Episode 13.1 : Ash Vacuum
    2008.08.25 : Poring Wars 2008.11.19 : Improved Pet System 2008.12.17 : Episode 13.2 : Encounter
    2008.12.23 : New Pets 2009.02.25 : Hidden Slot Enchantment 2009.03.11 : Endless Tower Fixes 2009.04.08 : New Hairstyles 2009.06.17 : Renewal Release (3-1 Jobs) 2009.08.19 : Brasilis 2009.10.14 : 3-2 Jobs 2009.12.23 : Episode 13.3 : El Dicastes
    2010.03.17 : Party Recruiting System 2010.03.31 : Baby 3rd Jobs 2010.05.12 : Purchasing Shops. Sorcerer Spirit System 2010.06.30 : Episode 14.1 : Bifrost
    Memorial Dungeon, Misty Labyrinth Forest. 2010.07.28 : Equipment Synthesis, Costume System. 2010.08.18 : Search Vending Shops 2010.09.29 : Indonesia Localized Map, Dewata 2010.11.24 : Cat Hand HQ / Malangdo Island Item Mall Icon Level 86~99 Eden Group Quests on 2nd Floor Floor 6 added to Izlude Dungeon (Only available to Gold Netcafe Users) Grave Markers (MVP or major monster dies, it leaves a grave marker that shows the time of death and who killed it. The gravestone will remain until the monster respawns.) New Mounts
      2010.12.29 : Super Novice Expansion 2011.03.09 : Replay System 2011.03.30 : Biolabs 4th Floor 2011.05.25 : Thanatos Tower Changes. 2011.06.29 : (WoE1 Renewal) Number of forts reduced from 5 to 4 in WoE1 castles. Guild Investment System (Hall of Abyss). New Guild Dungeon
      2011.08.17 : 7x7 Padding around NPCs. 2011.08.31 : (Class Balance + Homunculus S) Large number of class balancing improvements. Homunculus S
      2011.09.28 : Philippines localized map, Port Malaya. [1] [2] 2011.11.02 : Kagero and Oboro Job Classes [1] [2] 2011.11.16 : New Alberta. 2011.11.30 : Eden Quests for levels 100~110. 2011.12.07 : Nightmare mode for Pyramid Dungeon. 2011.12.14 : Party System improvements. 2011.12.21 : Episode 14.2 : Eclage
    2011.12.27 : Battlegrounds Queue System 2012.02.08 : New Carts for Mechanics & Genetics. 2012.02.08 : Guild Creation system to no longer allow blank space(s) in the name. 2012.03.21 : Eden Quests for Level 111 ~ 120. 2012.03.21 : Falcon Flute 2012.03.28 : Navigation System. 2012.03.28 : New Izlude + Novice Training Academy + New Character Creation Method (5 copies of Izlude) 2012.04.04 : HP Bars added to Monsters. 2012.04.18 : Changes to Enchanting on Malangdo 2012.04.25 : WoE: Training Edition 2012.04.25 : Transcendent quest to waive the cost of transcending. 2012.05.30 : Old Glastheim memorial dungeon 2012.06.13 : Monster Shadow Size 2012.07.11 : Headgear Synthesis Quests 2012.07.25 : WoE:TE Mini God Item quest + guild and daily quests in siege areas. 2012.08.14 : Job EXP increased from Monsters with lvl 100+. 2012.08.22 : Heroes' Trails (Part 1) Faceworm Nest, Memorial Dungeon. Sarah's Memory, Memorial Dungeon.
      2012.08.22 : Memorial Dungeon, Wave. Added new Eden quests for level 121 ~ 130 range Max base level changed from 150 to 160/50. Skill Timers
      2012.09.19 : Champion Mobs. 2012.10.10 : Ranger Falcon changed to Owl. 2012.10.17 : Heroes' Trails (Part 2) Devil's Tower Memorial Dungeon Cursed Knight Memorial Dungeon Geffen Magic Tournament Memorial Dungeon
      2012.10.31 : Eden Quests for levels 131~140. 2012.12.18 : Horror Toy Factory Memorial Dungeon 2012.12.18 : Shadow System 2012.12.28 : Episode 14.3 : Decisive Battle (Part 1)
    2013.02.20 : Equipment Comparison System 2013.03.13 : 'Clock Tower Dungeon' Nightmare Mode. 2013.03.20 : Episode 14.3 : Decisive Battle (Part 2)
    2013.03.20 : Level Increased to 175 / 60. 2013.03.20 : New Third Class Skills 2013.05.22 : Max Zeny Vending Price = 1 Billion Zeny. 2013.06.12 : Bank System 2013.06.26 : Clan System (Golden mace Guild, Sword Guild, Crossbow Guild and Rod Guild) 2013.07.03 : Episode 15.1 : Fantasmagorica
    Lots of NPC placement changes. 5 New Quests Memorial Dungeon, Charleston Factory New Items 2013.07.31 : Rebellion Class 2013.08.02 : Rebellion Weapons 2013.08.14 : New Clothing Dyes for Kagerou & Oboro classes. 2013.08.21 : Max HP Limits (lvl 99 = 330k, 150 = 660k, 175 = 1.1m) 2013.09.25 : Heroes' Trail Part (Part 3) Fenrir and Airship Assault Memorial Dungeons.
      2013.12.17 : Nightmare Biolabs 2013.12.23 : Episode 15.2 : Memory Record
    2014.01.08 : New World Map. 2014.01.22 : Shop History (Buy/Sell Log) 2014.03.12 : Eden Group Market Hall 2014.04.16 : Summons & Homunculus S Update 2014.08.06 : Monster EXP Increased (Base 75% & Job 100%) 2014.08.06 : Monster HP/ATK Adjustment 2014.09.16 : WoE TE Items 2014.10.07 : Lucky Roulette 2014.10.07 : Pet Evolution 2014.10.28 : Infinite Space 2014.11.05 : Clan System 2014.11.11 : RoDex (Revamped Mail System) 2015.02.25 : Episode 16.1 : Banquet of Heroes
    2015.02.25 : Achievement and Title System Added 2015.02.25 : Banquet Preparation 2015.02.25 : New Dungeon 2015.02.25 : Honor Tokens and New Enchant Item 2015.07.01 : Infinite Space Dungeon Improvements 2015.10.07 : Item Link System (show your items via PM) 2015.10.07 : Eden Group Revamp (missions changed) 2015.10.14 : Reputation System 2016.01.26 : Styling Shop Interface 2016.03.09 : Episode 16.2 : Terra Gloria
    2016.05.10 : Rebellion Class Changes 2016.08.30 : Card Removal System Update 2016.09.06 : Eden Group Changes (100-140) 2016.12.07 : Rock Ridge 2016.12.13 : Marriage System Update (Doram x Human) 2016.12.27 : New Dungeon : Illusion of Moonlight 2017.01.03 : Glastheim Changes 2017.01.25 : New Dungeon : Illusion of Vampire 2017.02.21 : New Dungeon : Illusion of Frozen 2017.04.18 : New Dungeon : Illusion of Abyss 2017.05.23 : Party System UI Update 2017.06.07 : Autotrading / Vending Overhaul 2017.06.21 : Equipment Replace System 2017.06.21 : Orc Memory Changes 2017.06.27 : Monster Racing Revamp 2017.09.26 : Moscovia Card Updates 2018.03.09 : New Dungeon : Illusion of Teddy Bear 2018.05.04 : New Dungeon : Illusion of Luanda 2018.06.27 : World Map Improvements 2018.07.18 : Episode 17.1 : Illusion
    2018.08.09 : Max Level Increased to 185
  4. Upvote
    hemagx reacted to jTynne in Harmony Patch 3.3.12 30 MAI   
    You and the others are amazing and I love you. Please have my children.
     
    On a serious note, thank you. That Sirius no longer provides support for a $200 product is disappointing, but that's the internet for you. Renewable liscences would have been more preferred than having to wait for members from a different project all together to make someone else's paid product work on their software. That said, the commitment to ensuring end-users like myself without the coding knowledge necessary to accomplish such feats is greatly appreciated.
  5. Upvote
    hemagx reacted to Neo-Mind in NEMO - Client Patcher   
    EDIT: Thank you chrome for double posting that !!   
  6. Upvote
    hemagx reacted to Mumbles in Post your Picture!   
  7. Upvote
    hemagx reacted to jaBote in Dont you think this is a good Idea?   
    The idea is good, but good developers will jealously keep their secrets from being told to other projects until they implement them first. So it won't have any actual effect on improvement of any kind.
  8. Upvote
    hemagx reacted to Michi in Implement rathena npc.   
    Hi,
     
    Just want to suggest to implement all rathena npc. There is a lot of fix/new npc in rathena. But there is also some src modification to do for new instance and homunculus S evolution.
     
    I'm the only one that want to see this in herc?
     
    This is the revision that add the new instance system.
    http://trac.rathena.org/changeset/17386/rathena
    http://trac.rathena.org/changeset/17387/rathena
     
    And this is the new instance from malaya.
    http://trac.rathena.org/changeset/17397/rathena
     
    and here for the homunculus S evolution
    http://trac.rathena.org/changeset/17220/rathena
     
     I think the instance system is a priority =)
     
    Thanks for your great jobs.
  9. Upvote
    hemagx reacted to Louis T Steinhil in Ragnarok History?   
    I'm not here to judge. I just wanted to share insights about this blog. I don't know much about the hisrtory of ragnarok...but it's definitely a good article for it.
    Though I don't say that this is something real or fake...
     
    Happy Reading everyone!
     
    http://adultimum.net/rw/extras.php?section=soappserv
  10. Upvote
    hemagx got a reaction from Zephy in Anti 0 Delay GRF   
    i think you should use Harmony.
  11. Upvote
    hemagx reacted to jTynne in Wandering Poring v1.0   
    This is a very simple event script I created for the GM's of my server.
     
    Basically, you type one command and it spawns 5 "Wandering Porings" on the map of your choosing.
     
    You will want to customize the prizes that you receive from the event (it gives Red/Yellow/Orange/White/Blue Potions by default). It's also extremely easy to add in additional prizes.
     
    // Syntax: Item ID / Quantity
    if(.@prize == 1) { getitem 501,1; }
    if(.@prize == 2) { getitem 502,1; }
    if(.@prize == 3) { getitem 503,1; }
    if(.@prize == 4) { getitem 504,1; }
    if(.@prize == 5) { getitem 505,1; }
    // 25 Poring Coins Base Prize
    getitem 7539,25;
     
    Below is the code; After you change the values noted above in red, you should be able to just save this as a .txt, load it in-game, and voila.
     
    Questions, comments? Post as a response to this thread! If you find it useful, please +1 this thread and rate me five stars. Thanks!
     
     
    - script poringbind -1,{OnInit: unbindatcmd "poring"; bindatcmd("poring","poringbind::OnAtcommand",20,90); end; OnAtcommand:if(getgroupid() < 20) { end; }set @map$,.@atcmd_parameters$[0]; if(@map$ == "") {dispbottom "Syntax: @poring <mapname>";dispbottom "Five Porings will spawn on the map you choose. Recommended usage for this event is 3-5 times per day.";dispbottom "NOTE: Do NOT use capitals in the map name otherwise no Poring will spawn!";end;} monster @map$,0,0,"Wandering Poring",1002,5,"poringbind::OnKill";announce "[Wandering Poring] : 5x Wandering Porings have been sighted on the map: "+@map$+". The first person to find and kill each will receive an award!",0;end; OnKill:// Update Here!set .@prize,rand(1,5);announce "[Wandering Poring] : "+strcharinfo(0)+" has captured a Wandering Poring on the map "+strcharinfo(3)+"!",0;// Syntax: Item ID / Quantityif(.@prize == 1) { getitem 501,1; }if(.@prize == 2) { getitem 502,1; }if(.@prize == 3) { getitem 503,1; }if(.@prize == 4) { getitem 504,1; }if(.@prize == 5) { getitem 505,1; }// 25 Poring Coins Base Prizegetitem 7539,25;end; }
  12. Upvote
    hemagx got a reaction from Michi in CrashSaver   
    Hi,
     
    Sometimes we get crash without know the reason and GDB log can't help so what we will do ? Q_Q
     
    Here's my idea to help servers owners to know reason of that unknow crashes simply a little log name CrashSaver that record every thing happen in the server and every 5 min delete the log and start record again ( it's record every thing player attacked somethin,player used skill id,player used NPC,player traded, blah ) so we can check last actions happened in the server and try to know how crash happened.
     
    some issus we will have with this High load on server , Super Duper number of SQL queries so i think we have to make it optional thing can be enabled or not only in important cases.
     
    thanks
  13. Upvote
    hemagx reacted to Emistry in A Surprise for Ind.....   
    /me throw this at Ind in his Birthday Party...  /gg
     

  14. Upvote
    hemagx reacted to Ind in Memory Slasher !!" - May 30 Patch   
    Hercules casts "Memory Slasher !!" - May 30 Patch
    Memory Slasher !!
    Regardless all the fancy features in it, this patch's greatest achievement is smart, clever employment of memory, by looking at our memory usage wisely we've been able to reduce map-server's memory (RAM) usage by more than 2/3, about 183MB of RAM were dropped, while maintaining Hercules outstanding record on performance improvement. Beyond the memory usage drop there is also a significant processing speed improvement which can be noticed during boot, map cache loading which used to account for most of the map-servers boot time no longer exists, its gone, dead, fini, boom! it was replaced by a smart map cache handler that loads its data only when a map is necessary (the data is then kept until shut down), this logic also makes map-server's shut down process a hell lot faster.
     
    Instance Rework
    As suggested by the community, this wasnt supposed to be bundled with this commit but the memory usage improvements required me to modify how instances were stored, so I re-wrote part of it to fit the suggestion as well.
    Instance Functionality/Feature Server may now create instances of any maps regardless of client-side edits, e.g. one can clone prontera and call it "mymapname" (as is best described in the *instance_attachmap script command note) Instances may now be available in 4 distinct ways (as is best described in *instance_create script command note), by nobody (server type instance, to be used with special map names), by a sole character, by a party, or by a guild Script Command Changes *instance_create 2nd param is now called owner_id instead of party_id, and it got a 3rd optional param that defines what kind of owner id it is (when not provided, assumes party_id, for backwards compatibility), available options are (IOT_ stands for INSTANCE OWNER TYPE) IOT_NONE (0), IOT_CHAR (1), IOT_PARTY (2) and IOT_GUILD (3). *instance_destroy no longer autodetects instance id from party id *instance_attachmap now supports a 4th, optional, param, "<new map name>", it will allow you to specify a entirely new map name for the instance (without the need of client-side edits). This option can be best employed when used on a instance of <owner_type> IOT_NONE *instance_detachmap no longer autodetects instance id from party id *instance_id no longer supports any param *instance_set_timeout no longer autodetects instance id from party id *instance_announce no longer autodetects instance id from party id, and to tell it to autodetect from the attached script you must set instance_id param as -1 as opposed to 0 *instance_npcname no longer autodetects instance id from party id *has_instance no longer autodetects instance from party, however it now checks if attached player possesses a instance with same map as has_instance(<param>) checks for *instance_warpall no longer autodetects instance from party Other ChangesInstance IDs (valid ones) are now always >= 0 as opposed to > 0 (update your scripts!) Battlegrounds Queue
    As suggested by the community, most of its features were added in this patch, we were unable to finish it though because we lacked some information, we've put our questions in this topic, once our questions are answered we should be able to finish it in a matter of minutes (all the heavy lifting was done in this patch).
    Arenas They're easily configurable in the new conf/battlegrounds.conf file, it possible to add more arenas by editing the client's lua files/entryqueue/entryqueuelist.lua file Configuration Sample arenas: ({    name: "Tierra Gorge" //must match the name in client files    event: "Tierra_BG2::OnPlayerListReady"    minLevel: 80    maxLevel: 150    reward: {/* amount of badges awarded on each case */        win: 3        loss: 1        draw: 1    }    minPlayers: 6 /* minimum amount of players to start */    maxPlayers: 60 /* maximum amount of players */    minTeamPlayers: 6 /* minimum amount of team members required for a team (party or guild) to join */    delay_var: "Tierra_BG_Tick" /* npc variable name that will store the delay for this match */    maxDuration: 30 /* maximum duration in minutes, if reached game ends and highest score wins (or calls a draw if scores are equal) */},{    name: "KVM (Level 59 and below)" //must match the name in client files    event: "KvM03_BG::OnPlayerListReady"    minLevel: 1    maxLevel: 59    reward: {/* amount of badges awarded on each case */        win: 1        loss: 0        draw: 0    }    minPlayers: 4 /* minimum amount of players to start */    maxPlayers: 60 /* maximum amount of players */    minTeamPlayers: 5 /* minimum amount of team members required for a team (party or guild) to join */    delay_var: "KVM_BG_Tick" /* npc variable name that will store the delay for this match */    maxDuration: 30 /* maximum duration in minutes, if reached game ends and highest score wins (or calls a draw if scores are equal) */}) QueueWe wanted to make the queue as easy to play with as possible, so we've created a whole new set of script commands designed with this purpose. These commands make it easy to create and control queues for anything, games, events, quests, and of course in this case, the battleground's queue. Queue - Script Commands *queue()creates a new queue instance, returns created queue id set .@id,queue(); *queuesize(<queue_id>)returns the amount of entries in queue instance of <queue_id>. set .@length,queuesize(.@queue_id); *queueadd(<queue_id>,<var_id>)adds <var_id> to queue of <queue_id>, returns 1 if <var_id> is already present in the queue, 0 otherwise. queueadd(.@queue_id,.@var_id); *queueremove(<queue_id>,<var_id>)removes <var_id> from queue of <queue_id>, returns 1 if <var_id> is not present in the queue, 0 otherwise. queueremove(.@queue_id,.@var_id); *queueopt(<queue_id>,<optionType>,{Optional <option val>})modifies <queue_id>'s <optionType>, when <option val> is not present, <optionType> is removed from <queue_id>, when present it modifies <queue_id>'s <optionType> with the new <option val> value.
    Currently 3 options are available, HQO_OnDeath (0), HQO_OnLogout (1), HQO_OnMapChange (2) (the constant names are not final). queueopt(.@queue_id,0,"MyNPC::MyOnQueueMemberDeathEventName");It allows you to hook npc events to be triggered by specific actions that may happen to a player in the queue (when the queue in question is used for account ids) *queuedel(<queue_id>)deletes <queue_id> returns 1 when <queue_id> is not found, 0 otherwise. queuedel(.@queue_id); *queueiterator(<queue_id>)creates a new queue iterator instance, a queue iterator is not a reference to a queue's actual members, it copies the queues members when initialized, this way you can loop through them even if you remove them from the queue set .@it,queueiterator(.@queue_id); *qicheck(<queue_iterator_id>)checks whether there is a next member in the iterator's queue, 1 when it does, 0 otherwise. qicheck(.@queue_iterator_id); *qiget(<queue_iterator_id>)obtains the next member in the iterator's queue, returns the next member's id or 0 when it doesnt exist. for( set .@elem,qiget(.@queue_iterator_id); qicheck(.@queue_iterator_id); set .@elem,qiget(.@queue_iterator_id) ) *qiclear(<queue_iterator_id>)deletes a queue iterator from memory, returns 1 when it fails, 0 otherwise. qiclear(.@queue_iterator_id) Sample Usage: /* say create a queue */set .@id,queue();queueadd(.@id,getcharid(3));/* ... add as many entries ... (no limit) */if( queuesize(.@id) == 999 ) {    /* whatever */}/* anywhere in the code */set .@it,queueiterator(.@id);for( set .@elem,qiget(.@it); qicheck(.@it); set .@elem,qiget(.@it) ) {    //do anything e.g.    /* attachrid .@elem; */    /* mes "ID:"+.@elem; */}qiclear(.@it); Special Thanks To
    Yommy for providing me with a hell lot of data for the BG Queue, wouldn't have been able to get it to this point without his help. Rosiel for his suggestion on the instance feature Xgear for his help with the network timeout bug mkbu95 for pinpointing the script parser bug All of Hercules Staff for their ideas/suggestions/criticism and support, and for keeping me sane during this memory slashing madness The Future~! This patch sure has taken me away from my usual bug-squashing mode, I'll be going back to my over-10-bug-fix-a-day schedule. We have quite a hell lot planned so this might not last long, make sure to keep an eye on your bug reports for I sure will be replying to them. Link~u! Commit 1 Commit 2 Commit 3
  15. Upvote
    hemagx reacted to Jguy in rAthena devs/staff/members on Hercules   
    Hello,
     
    While we do not mind that rAthena developers, staff members and regular members register an account, post or send PM's on our forums, we do not take kindly to 'rAthena is better because x y and z' posts, or anything promoting rAthena as a superior emulator because of such and such. There is no such post on rAthena made by a Hercules staff member about Hercules and we intend to keep it that way, we would appreciate the same respect.
     
    Those who do not follow this simple clause listed above will have their post(s) deleted and/or hidden from view. Repeat offenders will be suspended from our forum with no further warnings or post manipulation.
     
    We do not appreciate, nor welcome drama here. While criticism is welcome in the form of 'why doesn't Hercules have such and such a feature', drama and belittling a project (hercules or not) will not be tolerated. This is a collaboration, not a drama infested 12 year old's contest.
     
    Thank you.
  16. Upvote
    hemagx got a reaction from Enko in @warp ignore map walk area   
    well, in Aegis GM can ignore walk area when use warp command ( /mm mapname )
    so my suggestion is make new option like if GM Group id is more than 2 can ignore walk area when warping so GM can warp to
    eg. @warp prontera 10 10 if his group is more than 2
     
    and thx
    sorry for bad english
  17. Upvote
    hemagx reacted to malufett in @warp ignore map walk area   
    if it has a good purpose +1 but if there is nothing then I say used the athena way...
     

  18. Upvote
    hemagx reacted to jTynne in @warp ignore map walk area   
    +1, I've always wanted this.
  19. Upvote
    hemagx reacted to Kenpachi in @warp ignore map walk area   
    Well, since it's an official behaviour and implementing it just means to comment out 6 lines of code I'd say yes.
  20. Upvote
    hemagx got a reaction from icabit in @warp ignore map walk area   
    well, in Aegis GM can ignore walk area when use warp command ( /mm mapname )
    so my suggestion is make new option like if GM Group id is more than 2 can ignore walk area when warping so GM can warp to
    eg. @warp prontera 10 10 if his group is more than 2
     
    and thx
    sorry for bad english
  21. Upvote
    hemagx reacted to Ind in Hercules CC Program   
    Hercules CC Program
    Hello~! - What?!
    We're changing how the CC Badge works, making it a position that actually makes sense with it's name: a position given to community members who've contributed to Hercules.
     
    Badge Requirement
    Any of the following will make you elegible to receive the title, be aware the position is not automatically-granted, the staff who oversees the section in question will appoint you to receive the title.
    Outstanding presence in the bug report section Outstanding presence in the wiki Outstanding presence in the support sections (helping others) Outstanding presence in the downloads sections (sharing your stuff) Help the development by providing key information Any other outstanding effort to contribute to Hercules not necessarily listed here (we'll add more items as we see fit)  
    Position Benefits
    We have plans/intentions to implement specific benefits depending on why each title was given (e.g. if its because you're active in the bug reports section you may receive pseudo-moderation-powers on that section), however at this point in time the title is only a title -- there are no benefits to it yet.
  22. Upvote
    hemagx reacted to Ind in Hercules CC Program   
    barely announced it and already heard some stuff, nevermind them -- I'll clear this point tho
    The "Community Participation Badges" (they didn't even mind to rename it) was introduced by me to them while I was in their staff last year.
     
    Yeah, such a surprise! (not)
  23. Upvote
    hemagx reacted to Judas in Cash Shop Window   
    http://forums.warpportal.com/index.php?/topic/61943-cash-shop-icon/
     
    ^ Ways to reduce icon size =)
  24. Upvote
    hemagx reacted to GreenBox in multiple map-server support   
    1. Introduction
    I feel like we need this, as I don't have anything to do this month, I'll dedicate it to Hercules <3
    Our inter server communication is very buggy and exploitable, mainly when we put a second zone server in the game.
    I'll use this topic to manage TODOs and discuss about the implementation design.
     
    2. Implementation Steps
    Create a standard way of defining "classes": COBJ https://github.com/HerculesWS/Hercules/commit/5e018af1749be4b64e0c0bdf77d412eaa82dae57 Rewrite Inter code using COBJ Implement session_data synchronization between zones

    3. Further Work
    Rewrite already existing code to use COBJ Optimize inter server communication

    Branch: https://github.com/HerculesWS/Hercules/tree/zones
    Documentation: https://drive.google.com/#folders/0B1C53TZ4rjH7d3FXakhjeHRpZzQ
     
    ~in progress~
     
    * Moved to public section so we can take user input
  25. Upvote
    hemagx reacted to Feefty in Feefty's FluxCP Addons Release   
    Vote for Points - Version 1.2
     
     
     
    Freebies - Version 1.2.2
     
     

    Support Tickets - Version 1.2.1 
     

    Github: http://github.com/Feefty
    Email: [email protected]
    rAthena: Feefty
    Hercules: Feefty
    PM me for suggestions.
    Buy me a coffee
    voteforpoints-1.2.rar
    freebies-1.2.2.rar
    support-1.rar
    support-1.2.1.rar
×
×
  • Create New...

Important Information

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