Jump to content

Legend

Members
  • Content Count

    375
  • Joined

  • Days Won

    5

Reputation Activity

  1. Upvote
    Legend reacted to hemagx in [2016-04-16] introduction of private headers   
    Hello ~
     
    Rationale:
     
    For long time we had many functions or variables that were supposed to be kept privately used, but because of the design of our header files were kept a public access. This caused, on one hand, poor design choices (too much binding between separate components), and on the other hand, excessively long long re-compile for the whole project if anything changed in this headers (because cause any or all files can be affected). Now with private headers only the file meant to use this header will be recompiled resulting in less compile times, waaay less!
     
    Contents:
     
    The login server client interface (lclif) was chosen as a working prototype of this, and now has a private interface (lclif.p.h) alongside its public interface (lclif.h).
     
    Details:
     
    Currently we will start limit the private function/variable/databases to a private interface under a private header only meant to be used by the module itself. This will stop other modules from accessing the private function/variable/databases (lclif.p.h should only be included by lclif.c, but never included by other .c files), however plugins will still be able to access it if they need to (the private interface is fully HPM and HPMHooking compliant).
     
    The private interface is exposed through an opaque pointer inside the public interface.
     
    the private data can be accessed through the interface through the private interface pointer
    interface->p->private_function(); //General example lclif->p->parse_sub(fd, sd); // Example for login client interface  to be able to use the private interface into your plugin please make sure to include the private header !
    It's recommended to still include the public interface as well.
     
    //General example #include "project/file.h" #include "project/file.p.h" // Example to include Login Client Interface Private header #include "login/lclif.h" #include "login/lclif.p.h" Merge Date:Sat, 16 Apr 2016 15:37:47 +0200
     
    Related Pull Requests:
    - #1255 - https://github.com/HerculesWS/Hercules/pull/1255 - Login clif rewrite [hemagx]
     
    Related Commits:
    - 79d9ace - https://github.com/HerculesWS/Hercules/commit/79d9ace - Wed, 30 Mar 2016 23:58:17 +0200 Added support for private headers to the HPMDataCheck/HPMHooking generators [Haru]
    - c0178d2 - https://github.com/HerculesWS/Hercules/commit/c0178d2 - Thu, 31 Mar 2016 00:16:02 +0200 HPM Hooks Update [Haru]
    - ab42483 - https://github.com/HerculesWS/Hercules/commit/ab42483 - Thu, 31 Mar 2016 14:42:56 +0200 Updated GNU Make build system to support private headers [Haru]
    - 7555700 - https://github.com/HerculesWS/Hercules/commit/7555700 - Mon, 28 Mar 2016 21:54:46 +0200 Rewrite client interface for login server (part 7) [hemagx]
    - 37cc46c - https://github.com/HerculesWS/Hercules/commit/37cc46c - Thu, 31 Mar 2016 00:16:48 +0200 HPM Hooks Update [Haru]
    - 15c9710 - https://github.com/HerculesWS/Hercules/commit/15c9710 - Sat, 16 Apr 2016 15:21:18 +0200 Moved packet_db to the private interface of lclif [Haru]
    - 8448e3f - https://github.com/HerculesWS/Hercules/commit/8448e3f - Sat, 16 Apr 2016 15:22:21 +0200 HPM Hooks Update [Haru]
    - bbcb040 - https://github.com/HerculesWS/Hercules/commit/bbcb040 - Sat, 16 Apr 2016 15:37:47 +0200 Merge pull request #1255 from HerculesWS/login-clif_rewrite [ibrahem Hossam]
  2. Upvote
    Legend reacted to hemagx in Playing in Official Server ? we need your help!   
    Hello ~
     
    Want your name to be in the glorious history of ragnarok online servers emulators ?
    here's your chance if you have an high-end or many characters in any official server that can perform tests and such to help us implement new systems.
     
    currently we're having many unfinished system or open bug-reports waiting to be confirmed and tested on official servers or so, unfortunately we don't have enough testers usually and so it delay many systems to be added or bugs to be resolved, however we now ask YOU to help us and bring your name to the glorious history of ragnarok servers emulators.
     
    Requirements ~
     
    to have an account on any official servers (preferred iRO, fRO, kRO).
    this accounts can be high end or not, all kind of characters or classes we may need also the more access to different places the easier for you and us to do tasks.
     
    How to apply ~
     
    You can send me a Private message on forums with server name and available characters to perform tasks, please explain job and level and builds if possible, i will be making lists to make it easy for us to chose the one who should do the task or so.
     
    or you can join our IRC Channel for Hercules Official server testers #Hercules-Testers on Rizon network, and have little discussion with me there!
     
    How it will work ? ~
     
    whenever we face bug or new system need to be tested we will be sending an private message to all testers who can perform the task, as soon as you get it you will have to answer if you can take it or not, then all testers who will do the task and give us results will be thanked and credited of helping in this bug/feature!
     
     
    Don't miss the chance !
     
    Thank you.


    Here we go!
  3. Upvote
    Legend reacted to Jguy in Name and source changes [2016 April Fool]   
    Hello folks,
     

     
    Glad I could catch you. I have an announcement to make, that I'm sure you will find most satisfactory.
     
    From hence here forth, Hercules will be renamed to JmanAthena. This is to reflect my superiority over the Ragnarok Online Emulator scene. A commit will go through shortly that will reflect the change to the emulator.
     
    The source code will also change thusly:
     
    * The GNU GPL license will be removed and replaced with "GNUJman version 1". This license is basically "All your base are belong to me".
    * The 'src' folder will immedately be renamed to 'jman'. Yes, this will probably break a lot of stuff, but it'll be up to you as users to deal with it.
    * We will immediately be removing support for the /db/ folder as it stands now. Instead, all of the databases will be hosted on JmanAthena's servers.

    Furthermore, the following staff changes will be effective immediately:
     
    * Ind's account will be deleted. All contributions of his to the emulator either via the forum or source will be permanently deleted.
    * I am promoting this guy: http://herc.ws/board/user/15-zach/ to be JmanAthena's new development manager. Yes, no commits to the git repository and no forum posts, but I believe he has what it takes to do the job.
    * The moderator's abilities as moderators will be eliminated. Instead, all moderator actions must go through myself or the new Development Manager
    * Haru and Mystery will keep their titles but as the regular moderators, their actions must go through me. Their existence as administrators will be pretty much eliminated.
     
    Furthermore, the server hosting JmanAthena will be hosted on a 192kbit connection out of my house. But don't worry, my internet is as stable as the communications between the Philae lander and Earth.
     
    Welcome to the future! Welcome to the best RO Emulator money can buy (oh yeah, forgot to mention, to get access you must pay $9.99/mo plus shipping and handling of $39.99 in order to use JmanAthena). Welcome to JmanAthena!
     
    (Note: Some of this post might be exaggerated for humor and entertainment value. Results may differ.)
    Note: Special thanks to hemagx for the logo.
     
  4. Upvote
    Legend reacted to Aeromesi in [Event] Treasure Hunter   
    File Name: [Event] Treasure Hunter
    File Submitter: Aeromesi
    File Submitted: 06 Apr 2016
    File Category: Events & Games
     

    So, what exactly is my Treasure Hunter Event?
     
    All begins with '@treasurehunt' command. Able to start off by creating Treasure Hunter Event settings. Able to disable or delete the setup to start configuring new treasure hunter event. (Note: It will be able to tell if created or event is active.)
     
    When setting up you input:
    Input map for Treasure Hunter Event:
    Normal Treasure Chest that give nothing.
    Special Treasure Chest that gives x item and y amount of Reward that you configure via during setup
     
    Last player to find the last Treasure Chest gets the Secret Treasure Chest that has best reward! Which you also configure reward in the setup also.
     
    '@repeathunt' - Allows you the GM to repeat the previous Treasure Hunt setup you made!
     
    '@joinhunt' - Allow player to warp to the designated map where event is being held.
     
     
    3 Simple commands to control the whole Treasure Hunter Event.
     
    Enjoy <3 (Download Attachment)
     
    Here's some screenshots btw:
     
    For player to click Treasure Hunter to see if event is active and what details you put:
     

     
     
     

     
     
     
    What it shows when you finish/disable or even while still active your options with '@treasurehunt'.


     



     
    Click here to download this file
  5. Upvote
    Legend reacted to Kubix in Queue BG rewrite   
    Hello!
    I find eAmod BGs in public and rewrite some src and scripts for Hercules.
     
    BG:
    Conquest Rush Flavius TD Register - @joinbg or NPC, leave - @leavebg
    This is queue BG with multiple windows checking by Gepard ID or IP.
     
    Items:
    56 BG consumable items (using only on BG) with boxes 56 WoE consumable items (using only on WoE) with boxes Item list New script commands:
    bg_reward bg_team_reveal flooritem flooritem2xy bg_getitem bg_getkafrapoints bg_single bg_create_team (added OnPCDie and OnPCLogout events.) Settings:
     
    OnInit: // ===== Multiple Windows checking by ? // = 1 - Gepard Shield // = 2 - IP .MultipleCheck = 1; // ===== BG Colors setarray .BG_Color$[0], "0xDDA0DD", "0x7CCD7C", "0xFFA500"; // ===== BG NPC & Arena Names setarray .BG_Names$[0], "Rush", "Flavius TD", "Conquest"; setarray .BG_Arena$[0], "Rush", "Flavius_TD", "Conquest"; // ===== BG Player Amount setarray .BG_Min[0], 2, 2, 2; setarray .BG_Max[0], 30, 30, 30; // ===== BG Locations setarray .BG_Map$[0], "rush_cas04", "bat_b03", "schg_cas06"; // ===== BG X/Y Coordinates setarray .BG_GuillX[0], 270, 390, 264; setarray .BG_GuillY[0], 292, 10, 379; setarray .BG_CroixX[0], 270, 10, 295; setarray .BG_CroixY[0], 288, 290, 379; bindatcmd "joinbg", strnpcinfo(0) + "::OnJoinBG", 0, 99; bindatcmd "leavebg", strnpcinfo(0) + "::OnLeaveBG", 0, 99; // ===== Time to flood in seconds. .Flood_Time = 180; // ===== Enable debug mode? .debug = false; Sorry, not all instructions translated to English now.
    Github: https://github.com/kubixservice/QueueBG
  6. Upvote
    Legend reacted to Cretino in Add duration to disguise   
    I was looking your post and I decided make it, you can test and see if it works, at least here it works normally.
    Sorry for my english, I only understand a little of english.

    @EDIT
    V2: Some little fixes and atcommand 'disguiseguild' with timer now.
    V3: More fixes.

    Usage:

     
     
    disguise_with_timer_by_cretino_hercules_rev30326_v3.patch
    disguise_with_timer_by_cretino_hercules_rev30326_v2.patch
    disguise_with_timer_by_cretino_hercules_rev30326.patch
  7. Upvote
    Legend got a reaction from Domo in [Question] How to add custom Emoticons   
    Hi @@Domo!   
    Im not sure if this thing is possible.
    But i think, you need to hex the client if you wanted to add custom emoticons.
  8. Upvote
    Legend reacted to recca062 in Ragnarok Index ( RO database on your computer )   
    (NEW)Ragindex v.0.3.1
    by : Recca
    Hi RO players ! I been working on this for months and the aim is to
    make a simple RO Database Search Engine that provide simple mob & item informations
    I'm excited/happy that I had finally contributed something to the RO community after 9+ years of Ragnarok.
     
    I hope this can makes your RO life better, and you no longer need to strain your eyes
    looking at the chatlog when using @mi , @ii , @whereis
    ======================== [email protected] ======================== 
    "Hey ****, what's the dumbest thing you ever done in your RO years ?"
    "I tried to download RMS for the search engine, it took the whole day and doesn't even work"
    "I feel you ;~; say no more.."

    + What's News in v0.3.1: ( Download Link FIXED )
    Ragindex's colors can now be change via .ini file ( Personalize your Ragindex ) Ragindex Stylish - GUI to help with easy editing Ragindex color Included new themes/colors Reduce space between results + Features:
    Works offline ( Only for Full Version ) Decent / constant load rate Renewal / Pre-Renewal Database New itemInfo.lub with new item's description format Sorting item drops by percentage in 'Drop By' window from high -> low On maps info (no respawn time, sorry) Element Effectiveness chart NPC Venders information Free memory Direct Ratemyserver link Direct iW Database link COOL in-game cursor + Search Modes:
    Item - can be search by : ID , Aegis Name, Screen Name Mob  - can be search by : ID , Sprite Name, kRO Name, iRO Name Item's description  -Examples of finding stat related items with "Search Item's description"
    "STR +" , "drop chance" , "enables use of" , "MaxHP" "after cast delay" , "cast time" , "`% chance of" "Demihuman" , "Fire property" , "medium size" + ToolTips:
    Item's description Mob's image *Right Click = On , Left Click = Off ( or just move your mouse away )
     
    + Customizable:
    GUI color Add new mob Add new item Hide-Window hotkey Element table Base-EXP, Job-EXP, and drop rates + Credits:
    All images belong to Gravity and their respective creators. Taffy for the motivation and feedbacks. + DOWNLOAD: (Updated)
    FIXED - Ragindex Full (Included Ragindex Stylish) - Ragindex Full ( 30 MB ) ~ Mediafire ( Recommended ) Ragindex Lite - Ragindex Lite ( 1.3 MB ) ~ Mediafire ( More like a demo version, unsupported ) * The differences between the two is that the Lite use online images and the Full use internal images
     
    + Pictures:

    ---------------------------------------------------------------------------------------------------------------------

    ---------------------------------------------------------------------------------------------------------------------

    ---------------------------------------------------------------------------------------------------------------------

    + Ragindex Stylish Pictures:

     
    + Themes created from Ragindex Stylish: * You can make your own too.





     
    **************************************************************************************************************************************************************************
    This application was made with the intention of making Ragnarok item / mob's database easier to access in-game. Especially for slow computers that
    have trouble running browser and RO client at the same time.
    - Any feedback is appreciated !!! and you are more than welcome to share your Ragindex Skin
  9. Upvote
    Legend got a reaction from Domo in Character Sprite NPCs   
    Hello!
    Can you elaborate more with your question?
  10. Upvote
    Legend reacted to Haru in [2016-01-13] ConstDB converted to libconfig format, added doc/constants.md   
    Rationale:
    This is an (unplanned) episode in the txt->libconfig conversion project. The reason for the conversion is that we suddenly needed a way to add attributes (specifically, "deprecated" to some constants, since simply removing them would mean that any scripts using them would silently fail (talk about terrible script engine).
     
    Contents:
    The Constants Database (db/const.txt) has been converted to the usual libconfig format. This allows us to add new attributes to the constants.
    Old, unused, constants have been marked as deprecated using the facilities provided by the new database format (mostly, Job_Alchem, VAR_*), and their use will now trigger a warning at parse time (previously, it would result in a value of zero being used silently, in a very nasty way).
    A new docuemntation file (doc/constants.md) is provided, listing all the constants available to the scripting engine (coming from Constants DB, Item DB, Mob DB, Skill DB or even hardcoded in source), since there wasn't any centralized place where all the constants were listed. The file will get automatically updated in future through the HerculesWSAPI bot.
    The document is readily available online through the following link: https://github.com/HerculesWS/Hercules/blob/master/doc/constants.md (it will always point to the latest version)
     
    Impact:
    The impact of this changeset on customizations is low. If using custom constants in const.txt, users can either use the provided script to re-generate their constants.conf, or add the entries manually.
     
    Details:
    The format of constants.conf is the following:

    constants_db: { /************* Entry structure (short) ************************************ Identifier: value // (int) ************* Entry structure (full) ************************************* Identifier: { Value: value // (int) Parameter: true // (boolean) Defaults to false. Deprecated: true // (boolean) Defaults to false. } **************************************************************************/ (each entry can use either the short or full format).
     
    A special "comment__" field can be added, to generate a corresponding title in the documentation file. Comments will have no other effects (they're not normally parsed, but they're available to plugins).
     
    Merge Date:
    Wed, 13 Jan 2016 19:22:45 +0300
     
    Related Pull Requests:
    - #1088 - https://github.com/HerculesWS/Hercules/pull/1088 - Constdb revamp [Haru]
    - #908 - https://github.com/HerculesWS/Hercules/pull/908 - Add EQP_ = Equipment Position constants [AnnieRuru]
    - #1124 - https://github.com/HerculesWS/Hercules/pull/1124 - Constdb2doc plugin (doc/constants.md) [Haru]
     
    Related Commits:
    - a815472 - https://github.com/HerculesWS/Hercules/commit/a815472 - Sun, 10 Jan 2016 02:01:55 +0100 Converted const.txt to libconfig format [Haru]
    - 6ae9045 - https://github.com/HerculesWS/Hercules/commit/6ae9045 - Sun, 10 Jan 2016 02:33:15 +0100 Added support to mark constants in db/constants.conf as deprecated [Haru]
    - 3f56ffc - https://github.com/HerculesWS/Hercules/commit/3f56ffc - Sun, 10 Jan 2016 02:33:41 +0100 Marked Job_Alchem and Job_Baby_Alchem as deprecated [Haru]
    - 99f707e - https://github.com/HerculesWS/Hercules/commit/99f707e - Wed, 13 Jan 2016 11:47:47 +0100 Added converter script from const.txt to constants.conf [Haru]
    - 49081f4 - https://github.com/HerculesWS/Hercules/commit/49081f4 - Wed, 13 Jan 2016 19:22:45 +0300 Merge pull request #1088 from HerculesWS/constdb [Andrei Karas]
    - 9e48e2a - https://github.com/HerculesWS/Hercules/commit/9e48e2a - Wed, 13 Jan 2016 17:23:31 +0100 HPM Hooks Update [Hercules.ws] (dastgir/master)
    - de33b02 - https://github.com/HerculesWS/Hercules/commit/de33b02 - Fri, 15 Jan 2016 20:34:26 +0100 Fixed a typo in the constdb converter script [Haru]
    - a1310e2 - https://github.com/HerculesWS/Hercules/commit/a1310e2 - Wed, 6 Jan 2016 16:38:43 +0800 Remove VAR_ constants - there are 2 same constants for setlook script command, remove the wrong one - VAR_ constant added by l
    one_wolf is invalid https://github.com/HerculesWS/Hercules/commit/f4278f36db32f35e535a0ea8feb1cf83ca95019e, so use the LOOK_ constant [AnnieRuru]
    - 7610346 - https://github.com/HerculesWS/Hercules/commit/7610346 - Sat, 16 Jan 2016 20:23:57 +0100 Merge pull request #908 from AnnieRuru/request_26 [Haru]
    - e3253b4 - https://github.com/HerculesWS/Hercules/commit/e3253b4 - Mon, 25 Jan 2016 16:52:27 +0100 Added source support for special comments in the constdb [Haru]
    - 72a75cb - https://github.com/HerculesWS/Hercules/commit/72a75cb - Mon, 25 Jan 2016 15:53:56 +0100 Added constdb2doc plugin [Haru]
    - 15bca8f - https://github.com/HerculesWS/Hercules/commit/15bca8f - Mon, 25 Jan 2016 16:00:44 +0100 Generated doc/constants.md [Haru] (HEAD -> constdb2doc, origin/constdb2doc)
     
    Trivia:
    The constdb2doc plugin introduced in 72a75cb is based on my 'vimsyntaxgen' plugin (see https://github.com/HerculesWS/StaffPlugins/tree/master/Haru/vimsyntaxgen).
  11. Upvote
    Legend reacted to Kubix in Xenforo & ragnarok accounts integration   
    request: http://herc.ws/board/topic/11776-request-forum-system/
     
    For?
    You can give rewards ingame for forum achievements.
    Example:
     
    100 messages = 500K zeny
    20 likes = 50k zeny
    3 trophies = 3K zeny
    and whatever you want:)
     
    Maybe later I will write a new functions for give rewards on forum for achievements in game
    Example:
    100 pvp kills = new icon on forum and etc.
     
    Info:
    Forum tables must be in one database with ragnarok tables (because I do not remember whether you can use a different database from RO, in addition to the one that is configured in inter_athena)
     
    Video: https://youtu.be/2C3VzMWV2G4
    Download (sample NPC and FluxCP addon): Google Drive
     
    Configure /addons/integration/lang/en_us.php !
  12. Upvote
    Legend reacted to Haru in [2015-12-31] FAKE_NPC and the NPC View ID -1   
    Rationale:
    This is part of the NPC scripts standardization project. In the past, NPCs were defined with numeric View IDs, while now we've replaced most of them with more human-readable (and as such easier to maintain) constants - the same constants that AEGIS scripts use, making the numeric IDs obsolete (and deprecated).
     
    Contents:
    When the NPC View IDs were converted to constants, the only leftover was the special ID '-1' we use for invisible / floating NPCs, that didn't have an equivalent constant defined at the time.
    This changeset defines a constant 'FAKE_NPC' for it, and replaces all the '-1' view IDs with the new constant.
    The exception for the -1 case is removed from the code (making it effectively deprecated, just like the other numeric IDs).
     
    Impact:
    The impact of this changeset on custom scripts is low. All old code will still work (but it'll throw a deprecation warning).
    It's recommended to update all the affected code as soon as possible - the support for the old style IDs may be removed from the code at any time in the future (after at least a month from the commit).
     
    Details:
    The use of the sprite ID '-1' in NPC headers to specify an invisible NPC is now deprecated. 'FAKE_NPC' should be used instead. This affects all NPC types (script, shop, trader, duplicate, etc)
    /* Before: */ - script TurboTrap#tt_main -1,{ // ... } in_moc_16,65,162,0 duplicate(SinTrap) 02_2 -1,0,0 /* Now: */ - script TurboTrap#tt_main FAKE_NPC,{ // ... } in_moc_16,65,162,0 duplicate(SinTrap) 02_2 FAKE_NPC,0,0 Merge Date:Thu, 31 Dec 2015 23:40:48 +0100
     
    Related Pull Requests:
    - #1000 - https://github.com/HerculesWS/Hercules/pull/1000 - define FAKE_NPC as -1 in const.txt [AnnieRuru]
     
    Related Commits:
    - ef171a8 - https://github.com/HerculesWS/Hercules/commit/ef171a8 - Mon, 21 Dec 2015 19:59:38 +0800 define FAKE_NPC as -1 in const.txt [AnnieRuru]
    - efaaf84 - https://github.com/HerculesWS/Hercules/commit/efaaf84 - Mon, 21 Dec 2015 20:12:45 +0800 Replace -1,{ with FAKE_NPC,{ replace using Notepad++ [AnnieRuru]
    - b4c99db - https://github.com/HerculesWS/Hercules/commit/b4c99db - Tue, 29 Dec 2015 02:16:49 +0100 Replaced leftover -1 view IDs with FAKE_NPC [Haru]
    - 32a42ee - https://github.com/HerculesWS/Hercules/commit/32a42ee - Tue, 29 Dec 2015 02:17:26 +0100 Extended the numeric view ID deprecation to '-1' (FAKE_NPC) [Haru]
    - 0e99004 - https://github.com/HerculesWS/Hercules/commit/0e99004 - Thu, 31 Dec 2015 23:40:48 +0100 Merge branch 'AnnieRuru-request_29' into hercules [Haru]
     
    Trivia:
    Commit efaaf84 was done with a find and replace in Notepad++, to globally replace '-1' view IDs with 'FAKE_NPC' (as described in the commit notes).
    Commit b4c99db caught the leftovers (less common cases where the -1 is not followed by ',{'), and was powered by vim macros and grep (and vimgrep). It also features manual clean up of trailing whitespace or extra tabs in a small subset of the affected lines.
  13. Upvote
    Legend reacted to Dastgir in [GUIDE] Add Custom Quest (In Any Tab)   
    Hello Community,
     
    Yesterday, I was trying to make Quest Appear on other TAB's and result was successful.
     
    Prerequisite:
    You need latest ROClientside Repository : https://github.com/ROClientSide/Translation/ https://github.com/ROClientSide/Translation/commit/9d93ef1 (This Commit is necessary) you need Client >= 2014-10-22 (Haven't Tested with old clients, You can test and tell if it works )  
    Here's a Guide:
     
    questluafilelist.lub:
     
    You need 2 files, local_XYZquest_list and l_XYZ_list and in the folders as mentioned below:
    Add Following lines to questluafilelist.lub(at end of file) without EXTENSIONS as mentioned below:
    Add[[localquest\local_dastgirquest_list]] Add[[localquest\questinfo\l_dastgir_list]]  
    local_dastgirquest_list.lub(Sample Files, Modify to your needs):
    LOCAL_DastgirQuest_List = { { name = [[Dastgir Custom Quests]], imagefile = [[ep_test_sample.bmp]], list = { { name = [[Novice]], list = { { name =[[Test1]], scrfilename = [[DastgirQuest]], questID = 1019, }, { name =[[Test2]], scrfilename = [[DastgirQuest]], questID = 1017, } } }, { name = [[Quests 11~25]], list = { { name =[[11-15]], scrfilename = [[DastgirQuest]], questID = 1017, }, { name =[[16-20]], scrfilename = [[DastgirQuest]], questID = 1019, }, } } } } } _G.QuestTable.add(LOCAL_DastgirQuest_List, "EVENT")  
    It needs Following line at the bottom for compulsary
     
    _G.QuestTable.add(LOCAL_XYZQuest_List, "TAB") where TAB's are
    EVENT LOCAL EP NEW RECOMMENDED Replace LOCAL_XYZQuest_List with Table name at top of this file...
     
    l_dastgir_list.lub(Sample File, Modify to your needs):
    DastgirQuest_List = { [1019] = { NPCFromName = [[Dastgir]], NPCFromMap = [[new_1-1]], NPCFromSpr = [[4_M_01]], NPCFromX = 63, NPCFromY = 53, NPCToName = [[Dastgir]], NPCToMap = [[prontera]], NPCToSpr = [[4_M_01]], NPCToX = 86, NPCToY = 84, Item = [[]], PrizeItem = [[]], Title = [[Event QuestInfo ]], Info = [[Testing the Event.]], QuickInfo = [[QuickInfo.]], Hunt1 = [[]], Hunt2 = [[]], Hunt3 = [[]], Time = [[0]], LV = [[0]], }, [1017] = { NPCFromName = [[Dastgir-1]], NPCFromMap = [[prontera]], NPCFromSpr = [[4_BRICKPILE]], NPCFromX = 84, NPCFromY = 123, NPCToName = [[Dastgir-2]], NPCToMap = [[payon]], NPCToSpr = [[4_BOARD3]], NPCToX = 76, NPCToY = 114, Item = [[]], PrizeItem = [[]], Title = [[Event QuestInfo ]], Info = [[Testing the Event.]], QuickInfo = [[QuickInfo.]], Hunt1 = [[Alarm]], Hunt2 = [[]], Hunt3 = [[]], Time = [[0]], LV = [[0]], }, } _G.QuestTable.addList("DastgirQuest",DastgirQuest_List) In this file too, you need Following line in the end
    _G.QuestTable.addList("XYZQuest",XYZQuest_List) where XYZQuest_List is table_name(mentioned in first line of this file), (Please see the quotes)
     
     
    and that's it. put it into your GRF, and it will work
     
     
    NOTE: Many Functions are modified, so you would need quest_function.lub provided in the repository
     
    ScreenShot:

     
    Please Don't Remove credits in the quest_function file...
  14. Upvote
    Legend reacted to AnnieRuru in All in one Event Manager -> help me find all the event scripts !   
    My event script go 1st
    Run or Die event Last Man Standing event Portal event Martial Arts Tournament Fight for Treasure Chest event Scuffle event King of Emperium Hill Devil Square card collector event candy event lucky pick event did you think I only have 3 ? LOL
    others in eathena
    dice event clucker event yes I know there is an updated version in our repo ...
    disguise event
    yes I know there is an updated version in our repo ... russian roulette find the mushroom poring punch juggernaut event others in rathena
    count the poring event stolaos-auto-event 7 elements emperium list of my script request not sure which one should take, seems like there are a few of them
    others in hercules
    poring summoner gamble event
    > gamble some of your points with other players, and winner takes all
    > ... need some rewrite, the idea is nice btw some ideas I really want to make now
    assault event invasion event    
    after I read through Smoke's battleground, now I'm convinced that battleground system can be turn into events
    so battleground scripts will be added here too
    bg_pvp_points bg_emp_round bg_assassinate battleground rush war over rune poring ball arathi basin trade or raid ..... I need to test every script in smoke's collection, maybe some of them are unique  
    yes I know there are a lot out there, but I am not satisfy with any of them, going to make another one
    Current Total -> 32 events !
    .
    .
    Rejected list :-
    stop the clock
    this script has rumor that bots and openkore player can always get the time correctly find the baphomet
    too similar to find the mushroom tarot card of fate event
    too similar to roulette event monster hunt event or mvp hunt event
    too similar to invasion event poring ball -> another link
    > this script is too tough, I not sure I want to write this or not guess the password event
    > after I reread this script again, this event has to start by GM because GM has to set hint and password   .
    some topics worth note :
    http://herc.ws/board/topic/14528-release-babbs-event-scripts/
     
     
    post up ! just post up here
    make this the truly ALL in One Event manager script, let your server event non-stop 24/7 LOL
    when you post the event name, remember to post the link to that topic, so I can rewrite them
  15. Upvote
    Legend reacted to KeyWorld in ROChargenPHP - Free PHP Character Viewer   
    ROChargenPHP
     
      
     
     
     
    Features

    Core [*]Support for .spr, .act, .pal, .grf, ... [*].act file completed support (transparency, scale, color, rotate, ...) [*]Characters fully implemented ( body, head, hats, weapon, shield, robe, mount) with palettes support. [*]Can modify action, animation and direction. [*]Class to generate : Full Character / Character Head only / Monster-NPC-Homunculus / Avatar / Signature. [*]Cache system available (and can be set off) with configurable time to cache. [*]Emblem Loader available.
    Client
    [*]Data.ini file support (to list your GRFs) [*]Support GRF (0x200 version only without DES encryption - repack before uploading) - the data folder is always read first. [*]Auto-Extract files from GRF if needed (optimize performance) [*]Updater script available to convert some lua files to PHP.





    How to use

    Really url-friendly:
    myserver.com/chargen/<controller>/<data> // with url-rewritingmyserver.com/chargen/index.php/<controller>/<data> // without url-rewriting Example for my character called "KeyWorld":myserver.com/chargen/avatar/KeyWorld // avatarmyserver.com/chargen/signature/KeyWorld // signaturemyserver.com/chargen/character/KeyWorld // full Charactermyserver.com/chargen/characterhead/KeyWorld // Character's head  

    You can change the default link by modify the array $routes in the index.php file:// $routes['url'] = controller$routes['/avatar/(.*)'] = 'Avatar';$routes['/character/(.*)'] = 'Character';$routes['/characterhead/(.*)'] = 'CharacterHead';$routes['/monster/(d+)'] = 'Monster';$routes['/signature/(.*)'] = 'Signature'; 




    Custom display

    At least, the tool is really easy to use, here an example on how to display a static character:
     
    $chargen = new CharacterRender(); $chargen->action = CharacterRender::ACTION_READYFIGHT; $chargen->direction = CharacterRender::DIRECTION_SOUTHEAST; $chargen->body_animation = 0; $chargen->doridori = 0; // Custom data: $chargen->sex    = "M"; $chargen->class = 4002; $chargen->clothes_color = 0; $chargen->hair = 5; $chargen->hair_color = 12; // ... head_top, head_mid, head_bottom, robe, weapon, shield, ... // Generate Image $img = $chargen->render(); imagepng($img);  
     




    Examples / Demos









     

    Sources
     
     


    Get the source
    (Thanks to report all bugs)


    License

    Instead of selling it, I give a try to "Open Source project with Donation".
    So if you think, you would have buy it if i was selling it, think to give a donation ?




     


    Notes [*]A directory "client" is in the project, it will be a good idea to move it to a directory not accessible by the user (for example /home/client/). [*]If you use generate images from GRFs you have to know it's a little slower, i recommend you in this case to allow the "AutoExtract" option to gain performance. [*]GRFs have to be save as 0x200 version without any encryption (even the official DES), good idea is to remove unused folders ( textures, wav, models).. [*]If you use the options Cache and AutoExtract, don't forget the script need to have a write access to the client and cache folder. [*]Thanks to Khazou for the acces to his server to fully testing the tool

  16. Upvote
    Legend got a reaction from Triedge in How to DISABLE HP/SP TABLE   
    How about this?
    HP/SP Table Generator by malufett
  17. Upvote
    Legend reacted to AnnieRuru in Charms   
    Download: 1.6
    plugin
     
     
    tested with
    { Id: 909 AegisName: "Jellopy" Name: "Jellopy" Buy: 6 Weight: 10 BuyingStore: true Charm: true // Charm_Stack: true Script: <" bonus bStr, 10000; "> OnEquipScript: <" sc_start4 SC_ENDURE,60000,10,0,0,1; hateffect HAT_EF_BOTTOM_BLOODYLUST, true; "> OnUnequipScript: <" sc_end SC_ENDURE; hateffect HAT_EF_BOTTOM_BLOODYLUST, false; "> // OnRentalStartScript: <" dispbottom "rent start"; "> // OnRentalEndScript: <" dispbottom "rent end"; "> }, just having Jellopy inside inventory will get bonus
    Remember: it has to use IT_ETC type item, which has been default to type 3 if you didn't specify
    and also "Charm: true" flag
    if added the "Charm_Stack: true" flag, the charms will stack
    - if the flag is false (default), having 10 same charms will give bonus 10 times, because they are separate items
    - if the flag is true, having 10 same charms will only give bonus once, because they are stack together
     
    version 1.3 onwards, added nocharms mapflag
    http://herc.ws/board/topic/15219-modification-to-noitem-plugin/
    to disable charms bonuses given in certain maps
    prontera mapflag nocharms disable all charms from taking effect on the map
    prontera mapflag nocharms 909 prontera mapflag nocharms Jellopy disable only this 'Jellopy' charm from giving bonus
     
    version 1.5 onwards, added OnEquipScript and OnUnequipScript support
    now you can gives permanent SC_ENDURE bonus like eddga card like effect
    or gives hateffect bonus like the example shown
     
     
    credit to digitalhamster
    in case you guys forgotten, I fixed digitalhamster's patch on eathena forum 4 years ago
    and the one in rathena also credited my name
    and if you like this plugin, remember to also repup Dastgir's post in this topic
    because I copy paste most of his stuffs
     
  18. Upvote
    Legend reacted to Dastgir in Show error item on pc_bonus2   
    Already on suggestion:
    http://herc.ws/board/topic/9332-warning-pc-bonusx-display-itemid/
     
    About bonuses, we could do like other things maybe? Like status->calc_pc_unknown
  19. Upvote
    Legend reacted to Dastgir in dDelays(Anti NoDelays) - Releasing this weekend   
    Hello Community,

    What is dDelays?

    You should have heard about Delays hack by editing out grf or whatsoever method..
    This will make the delays hard-coded and will not be able to use those hacks.

     
    Site https://ddelays.dastgir.tech/ Price Introductory Offer:
    Weekly: 1.25$
    Monthly: 5$
    Quarterly: 18$
    Beta Date 27th October 2019 (Sunday) Payment Method PayPal / PayTM / Others(Message in discord) Discord
    For Any kind of support/question/payment related query: https://discord.gg/sb4mkdH Emulators Hercules (Fully Supported). Other Emulator Support coming by 3rd November 2019 (Sunday)  
  20. Upvote
    Legend reacted to AnnieRuru in Show error item on pc_bonus2   
    @@Dastgir
    I also noticed we can't add custom bonuses for a plugin
    are you interest in doing this?
     
    EDIT: ... hmm...
    maybe its possible with using addHookPre, and then hookStop() ...
    but seriously, this should be official instead of plugin
  21. Upvote
    Legend reacted to Dastgir in Job Spoiler   
    Hello Community,
    I was busy during last few months, and now I have been working on this thing to get supported on Hercules,
    Here's few screenshots:
     
     


    Spoiler 2: (Only 4 skills coded)
     
     
  22. Upvote
    Legend reacted to Rytech in Dress Pack   
    View File Dress Pack
    What Is It?:
    The dress pack is a content pack that enables full
    use of the dressing room feature and also adds
    official alternate styles for 3rd jobs from jRO.
     
     
     
    How To Install:
    To use, simply have your DATA.INI file set to
    read the dressroom.grf before the data.grf/rdata.grf
    files. You can also use the tool GRF Editor to merge
    into your custom grf if desired.
     
    A 2015-10-29aRagexe or newer client is required for
    this to work properly. This file only adds support for
    the client side and will only let you view things in
    the dress room window. The server must fully support
    the system as well along with the "body" value in the
    character data.
     
    You will need to enable the "save_body_style" config
    in the conf/battle/client.conf to allow your server
    to save selected body styles.
     
    More info can be found in the read me file.
    Submitter Rytech Submitted 12/20/15 Category Client Resources  
  23. Upvote
    Legend reacted to AnnieRuru in add COLOR_ constants for *announce   
    merge in
    https://github.com/HerculesWS/Hercules/commit/b5c5e6c91b0b7009dc17492419c1f116fbd7d037
  24. Upvote
    Legend got a reaction from Domo in Simple Question   
    You can add variables by doing this:
    set .@TotalVar, .@var1+.@var2;
  25. Upvote
    Legend reacted to AnnieRuru in Count total number of items   
    ok then I coded it
    then you know apple doesn't have unique ID
     
    OnPCPickUpEvent
    prontera,155,185,5 script kjsdhfdksfj 1_F_MARIA,{ setarray .@a, 1203,1,4,0, 4001,4001,4859,4701; getitem2 .@a[0],1,.@a[1],.@a[2],.@a[3], .@a[4],.@a[5],.@a[6],.@a[7]; end; OnPCPickUpEvent: announce strcharinfo(0) +" has obtained "+ @pickup[PICKUP_AMOUNT] +"x "+ getitemname(@pickup[PICKUP_ITEMID]) //+ callfunc( "getitemname2", @pickup[PICKUP_ITEMID], @pickup[PICKUP_IDENTIFY], @pickup[PICKUP_REFINE], @pickup[PICKUP_BROKEN], @pickup[PICKUP_CARD1], @pickup[PICKUP_CARD2], @pickup[PICKUP_CARD3], @pickup[PICKUP_CARD4] ) +" at "+ strcharinfo(3) +","+ @pickup[PICKUP_POSX] +","+ @pickup[PICKUP_POSY], bc_all; dispbottom "unique ID = "+ @pickup[PICKUP_UNIQUEID]; end; } Knife ->

    Apple ->

     
    so its impossible
     
    EDIT: or maybe if you make it undroppable ...
    nodrop: true in the item_db.conf ... hmm ...
     
     
    EDIT2: the idea of this modification came from
    https://www.eathena.ws/board/index.php?s=&showtopic=247755&view=findpost&p=1487853
×
×
  • Create New...

Important Information

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