Search the Community
Showing results for tags 'plugin'.
Found 43 results
-
Hello Hercules Community, Let me explain it first. It is ExtendedBG, which tends to contain all eAmodBG modes and extra modes(as and when coded). Some Previews: http://imgur.com/a/2SSVR Ohh, and the last thing I forgot to tell, Its 100% Plugin and Script, no Source Edits .. Special Thanks To: jaBote co-founded this project(and really thanks to him , that he motivated me at start at provided some functions and idea of how the base should be, and what we should do it to give flavor of Hercules in it). Repository Link: https://github.com/dastgirp/eBG (Please read README.md for installation steps) Leave Comments/Suggestions if you find something. NOTE: There might be some(/many) debug messages left in map-server which will be cleaned up. I will add battle.conf soon (you have to add it yourself for now or edit the plugin) The plugin might be a big mess to read/understand (I did many experiments over the year) There might be some bugs Thanks to @Rebel and @Myriad for testing and providing initial feedback Contact me on Discord: @Dastgir#1460 if there's some urgent issue or else open the issue in github. keep this topic for support. Want to encourage me??
-
Hello , I have the problem about Clones created through all methods (clone, slaveclone, evilclone) 1. Clones are not using any skills. How can this be fixed? 2. How to increase ASPD them? 3. How to fix player and clone hit clone with 1 point?
-
File Name: Duplicate NPC Commands File Submitter: Dastgir File Submitted: 12 Jan 2015 File Category: Plugins 2 Self Explanatory Commands: duplicatenpc("NpcName", "DuplicateName", "DupHiddenName", "map", x, y, dir{, sprite{, xs, ys}});duplicateremove({"NPCname"}); Example Script: prontera,150,150,5 script DupTest 999,{mes strnpcinfo(0);close;OnInit:duplicatenpc(strnpcinfo(0),"Duplicated","","prontera",150,148,5,998);end;OnWhisperGlobal:duplicateremove();} ^ Above script will self-duplicate itself with name "Duplicated" to prontera,150,148 with Sprite ID 998, and upon whispering to any of those npc, the duplicate will be removed. Requested by GMOcean @ http://herc.ws/board/topic/7718-duplicatenpc-duplicateremove/?view=getnewpost Click here to download this file
- 19 replies
-
- duplicate command
- duplicate script
- (and 3 more)
-
Hi, I installed Extended Vending Plugin in the latest Herc without any problems, but I can't enable the system from conf/map/battle/features.conf: I tried to changing "1" to "true", but didn't work. Is there any solution?
-
Hello, I'm currently trying to add a @pk plugin to my server. I'm following this guide to add plugins made for linux: http://herc.ws/wiki/Building_HPM_Plugin_for_gcc Let me run you through what I have done: 1st I went to my folder "Hercules/conf/" used nano to open plugins.conf and edited and added the following: plugins_list: [ /* Enable HPMHooking when plugins in use rely on Hooking */ "HPMHooking", //"db2sql", //"sample", //"other", "@pk", ] 2nd step was to go to "Hercules/src/plugins/" used nano to create @pk.c and add this code: https://github.com/dastgirp/HPM-Plugins/blob/master/src/plugins/%40pk.c The only thing I modified from the @pk.c code was the delay timer: int config_delay = 5; // After turn pk on/off, how many seconds delay before the player allow to pk on/off ? I changed it to 60 seconds: int config_delay = 60; // After turn pk on/off, how many seconds delay before the player allow to pk on/off ? I'm not exactly sure if I should do any other modification apart from this one. Right after this I started the server and the moment it started this error appeared: [Status]: HPM: Loaded plugin 'HPMHooking' (0.2) built with HPMHooking support. [Status]: HPM: Loaded plugin 'HPMHooking' (0.2) built with HPMHooking support. [Fatal Error]: HPM:plugin_load: failed to load 'plugins/@pk.so' (error: plugins/@pk.so: cannot open shared object file: No such file or directory)! [Fatal Error]: HPM:plugin_load: failed to load 'plugins/@pk.so' (error: plugins/@pk.so: cannot open shared object file: No such file or directory)! [Status]: HPM: Loaded plugin 'HPMHooking' (0.2) built with HPMHooking support. [Fatal Error]: HPM:plugin_load: failed to load 'plugins/@pk.so' (error: plugins/@pk.so: cannot open shared object file: No such file or directory)! So from what I understood from the fatal error message it says it can not find the "plugins/@pk.so" because theres not such file or directory. So I procceded to create that file in the directory (Hercules/src/plugins/) I used nano to create "@pk.so" add added the code again https://github.com/dastgirp/HPM-Plugins/blob/master/src/plugins/%40pk.c Set the delay timer to 60 and nothing else. So now, my "Hercules/src/plugins/" folder is like this /Hercules/src/plugins# ls constdb2doc.c HPMHooking Makefile.in sample.c db2sql.c HPMHooking.c mapcache.c script_mapquit.c dbghelpplug.c HPMHooking.h @pk.c generate-translations.c Makefile @pk.so I proceeded to start the server again, to see what error message would show now this came showed up: [Status]: HPM: Loaded plugin 'HPMHooking' (0.2) built with HPMHooking support. [Fatal Error]: HPM:plugin_load: failed to load 'plugins/@pk.so' (error: plugins/@pk.so: cannot open shared object file: No such file or directory)! [Fatal Error]: HPM:plugin_load: failed to load 'plugins/@pk.so' (error: plugins/@pk.so: cannot open shared object file: No such file or directory)! [Info]: Server uses 'select' as event dispatcher [Info]: Server supports up to '1024' concurrent connections. [Status]: HPM: Loaded plugin 'HPMHooking' (0.2) built with HPMHooking support. [Fatal Error]: HPM:plugin_load: failed to load 'plugins/@pk.so' (error: plugins/@pk.so: cannot open shared object file: No such file or directory)! It still says that there is not such file or directory. I'm out of ideas so I ask for help. Thank you for your time.
-
File Name: @autoattack File Submitter: ossi0110 File Submitted: 26 Nov 2013 File Category: Plugins this is a @autoattack plugin , when using it your Char will run arround and attacks mobs for more info on using HPM Click Me have fun , ossi0110 Click here to download this file
-
File Name: Warp Hit Delay File Submitter: Dastgir File Submitted: 12 Jan 2015 File Category: Plugins It is warp delay plugin Once you get a hit(not a miss) , you will be attached by a timer of x seconds, only after that you will be able to warp(be it be any wings,warp command,go command, npc or skill) You can have a battle_config on any of the files in conf/battle/ with warp_delay_mob: Seconds*1000warp_delay_pet: Seconds*1000warp_delay_homun: Seconds*1000warp_delay_merc: Seconds*1000warp_delay: Seconds*1000 //For Playerswarp_delay_others: Seconds*1000 //(For All Other Hits except mob/pet/homunc/merc) Building Plugin for Linux: http://herc.ws/wiki/Building_HPM_Plugin_for_gcc Building Plugin for Windows: http://herc.ws/wiki/Building_HPM_Plugin_for_MSVC P.S: You need HPMHooking Enabled. Click here to download this file
- 47 replies
-
Version 1.7
415 downloads
//-------------------------------------------------------------------------------------------// * @whosell - List who is vending the item (amount, price, and location). * revamped by VoidLess, original by zephyrus_cr * Converted into a Plugin by ossi0110 //-------------------------------------------------------------------------------------------// Here is the @whosell Plugin tested with Linux and VS2010 Current the Plugin is setted to show a Minimap Dot where the Vendor is Located , if you dont want this just change this line change it to 0 bool flag = 1; // place dot on the minimap? can be used ingame with , @whosell ITEMID/ITEM_NAME for more info on how to to use HPM visit Here have fun , ossi0110 -
Description: Adds the @adopt command to your server. Usage: @adopt <char name> The adoption feature exists in the source. However, from experience, some clients don't support the right-click menu option to adopt players, rendering the feature unusable. Perhaps this atcommand should be added to the main repo. For now, you can use this to allow your players to use the adoption system. Download: https://github.com/bWolfie/HPM-Plugins/blob/master/src/plugins/adopt.c
-
Hello Community, I have adapted a bonus from Epoque Expansion Pack, bCopycat, to HPM format. This bonus gives chance to auto-cast the last skill used on you back to the caster. Repository: https://github.com/yanpitangui/HPM-Plugins I plan to add more conversions from Epoque as plugins. Thanks.
-
-
RagEffect Client Plug-In About A client plug-in that replaces client's special effect table (.str) with data from an external database. This release is per request from Ragno on the rAthena boards with the permission to release it publicly. Known issues Currently the file is not loaded from GRF, but from data folder only. The range of clients might be limited, tested with 2012-07-02aRE and 2013-12-23c. For further possible issues see the Simple DLL Loader for RO Clients topic. Download binary, reference source License This work is licensed under a Creative Commons Attribution-Noncommercial 3.0 Unported License.
-
Hello, This plugin removes the clif->fixpos function from TF_BACKSLIDING, which fixes the non-animation when using it. Hope it helps somebody. https://github.com/bWolfie/HPM-Plugins/blob/master/src/plugins/tf_backsliding.c
-
Version 1.1
33 downloads
This program automates some of the tedious manual process of building a plugin into your Hercules server on a Windows Machine. It follows the instructions on the Hercules Wiki. From the guide linked, this does steps 1 to 10 of the Old Method (for Windows). The requirements are still the same (IDE, etc.). This simply manages the repetitive things that need to be done manually. It also performs error checking so that it's newbie friendly. What does it do? 1. Locates `YourProject.c`. 2. Locates your Hercules folder. 3. Copies your `YourProject.c` file into your `hercules/src/plugins/` folder. 4. Select which visual studio project to use. 5. Copies the `plugin-sample.vcxproj` template into your own `YourProject.vcxproj`. 6. Opens the `YourProject.vcxproj` and replace all instances of: <ProjectName>plugin-sample</projectname> into <ProjectName>YourProject</projectname> 7. Replaces: <TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">sample</targetname> into <TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">YourProject</targetname> 8. Replace: <ClCompile Include="..\src\plugins\sample.c" /> into <ClCompile Include="..\src\plugins\YourProject.c" /> 9. Finally, instructs you to do the remaining things, as specified in the Hercules Wikipedia. -
View File Hash table This plugin exposes the internal hash table (strdb) to the script engine to provide a key-value store. See documentation on hercules-hashtable/doc/script_commands.txt Download here: https://github.com/Helianthella/hercules-hashtable Submitter meko Submitted 06/18/18 Category Plugins
-
File Name: Restock System File Submitter: Dastgir File Submitted: 10 Jan 2015 File Category: Plugins It is a restock system(which I apparently made 5-6 months ago) [Also its a Plugin - Yay] So I am just releasing it, as I feel its been useful for many servers. Though there can be some optimizations on script-side(will be applied later on). You need to enable plugin as well as script provided in the download. 2 commands: @restock - Enables/Disables Restock System @restock2 - To Add/Remove item Usage:@restock2 <itemid> <quantity> <type1> <type2>Type 1:1 = Storage2 = GStorageType 2:1 = Add2 = Remove3 = Help4 = List5 = Empty The List@restock2 x y z 3 For Help@restock2 x y z 4 For Current Restocking List@restock2 x y z 5 For Removing All Items From Restockx,y,z Can be any number, e.g: @restock2 0 0 0 3 will give you help option,@restock2 x y z 5 will Empty your list It Support Restocking of All Kinds of Item. Click here to download this file
-
Version 1.0
58 downloads
With this plugin you be able to set required Zeny and/or Items to players be able to send messages on channels. The idea came from this post, thank you @blaze. How to configure channels: // FIXME: make a better way to add fee on channels (directly on channels.conf) const struct { char name[HCS_NAME_LENGTH]; int zeny; int nameid; int amount; } channels_fee[] = { // -- Add channels with fee like the example: {"name", zeny, item id, item count}; {"main" , 1000, 0 , 0}, // #main - 1000z and no item }; Find 'channels_fee[]' declaration, and add an element just like the example. If you find any bugs please report them! Hope you enjoy it.- 1 review
-
- channel system
- channel
-
(and 3 more)
Tagged with:
-
Hello again! This time I bring the getalliance(<Guild ID>) script command. It works similar to getpartymember() and getguildmember(). I'm still in the process of testing, but it seems to work okay so far. There is a sample script in the comments section at the top of the plugin. Try it out! *getalliance(<Guild ID>) This command will find all guilds in an alliance with the specified guild and returns their names and guild ids into an array of temporary global variables. Upon executing this, $@guildallyname$[] is a global temporary string array which contains all the names of each allied guild. $@guildoppositionname$[] is a global temporary string array which contains all the names of each opposition guild. $@guildallygid[] is a global temporary number array which contains the guild id of each allied guild. $@guildoppositiongid[] is a global temporary number array which contains the guild id of each opposition guild. $@guildallycount is the number of allied guilds found. $@guildoppositioncount is the number of opposition guilds found. Note that the returned guilds come in no particular order. Be sure to use $@guildallycount/$@guildoppositioncount to go through this array, and not getarraysize(), because it is not cleared between runs of getalliance(). For usage examples, see getpartymember(). Download: https://pastebin.com/82DxKcUW
-
- buildin
- getalliance
-
(and 2 more)
Tagged with:
-
Hello! I made this plugin so I can bring in a pull request to my server. It compiles fine and the server starts as well. However, the plugin actually breaks the server and makes it so I can't login. I know the code is fine as I tested by adding to clif.c before making it plugin form. How can I fix it? Thank you. bool clif_send_pre(const void **buf, int *len, struct block_list **bl, enum send_target *type) { struct map_session_data *sd; if (*type != ALL_CLIENT) nullpo_ret(*bl); sd = BL_CAST(BL_PC, *bl); // Hide Area Packets from hidden players https://github.com/HerculesWS/Hercules/pull/1200 if (sd != NULL && pc_isinvisible(sd)) { if (*type == AREA || *type == BG || *type == BG_AREA) *type = SELF; else if (*type == AREA_WOS || *type == BG_WOS || *type == BG_AREA_WOS) hookStop(); return true; } hookStop(); return true; } /* run when server starts */ HPExport void plugin_init (void) { addHookPre(clif, send, clif_send_pre); }
-
Hey everyone! About this plugin: Well.. I saw a friend that had to remove some items from being dropped by some monsters and he was struggling with the `mob_db` since a lot of monsters drop that item. So I made this plugins which can disable an item from being dropped by all monsters or just for the specified mob types, and also with the possibility of set some exceptions. I hope it can help other people with the same problem. Installation: Well, you just need to extract it on your `src/plugins/` folder and declare it on the `conf/plugins.conf` file, and follow the instructions to build plugins with MSVC or GCC. Downloads \ Changelog: 1.0a - Initial Release. Bug Report: Also, if you find any bug, just tell me *here in this post* or start a new issue on my plugins repository (Link). Contributing: You can contribute to this plugin or any other one in my Plugins Repository by sending pull requests
-
Version 1.0
137 downloads
2 Self Explanatory Commands: duplicatenpc("NpcName", "DuplicateName", "DupHiddenName", "map", x, y, dir{, sprite{, xs, ys}});duplicateremove({"NPCname"}); Example Script: prontera,150,150,5 script DupTest 999,{mes strnpcinfo(0);close;OnInit:duplicatenpc(strnpcinfo(0),"Duplicated","","prontera",150,148,5,998);end;OnWhisperGlobal:duplicateremove();} ^ Above script will self-duplicate itself with name "Duplicated" to prontera,150,148 with Sprite ID 998, and upon whispering to any of those npc, the duplicate will be removed. Requested by GMOcean @ http://herc.ws/board/topic/7718-duplicatenpc-duplicateremove/?view=getnewpost- 1 review
-
- duplicate command
- duplicate script
- (and 3 more)
-
Version 1.1
761 downloads
It is a restock system(which I apparently made 5-6 months ago) [Also its a Plugin - Yay] So I am just releasing it, as I feel its been useful for many servers. Though there can be some optimizations on script-side(will be applied later on). You need to enable plugin as well as script provided in the download. 2 commands: @restock - Enables/Disables Restock System @restock2 - To Add/Remove item Usage:@restock2 <itemid> <quantity> <type1> <type2>Type 1:1 = Storage2 = GStorageType 2:1 = Add2 = Remove3 = Help4 = List5 = Empty The List@restock2 x y z 3 For Help@restock2 x y z 4 For Current Restocking List@restock2 x y z 5 For Removing All Items From Restockx,y,z Can be any number, e.g: @restock2 0 0 0 3 will give you help option,@restock2 x y z 5 will Empty your list It Support Restocking of All Kinds of Item. -
Shop name instead of merchant name for @whosell and @whobuy
Lulupard posted a question in Plugin Support
Hello! I am using the @whosell and @whobuy plugins from Dastgir's repository. Currently, these commands show "Seller" and "Buyer" in their respective search results that show the name of the merchant that runs the shop. I was wondering if it was possible to change that to the name of the shop itself. So this: Amount: 1 | Price: 10000 | Map: prontera[150,150] | Seller: Merchant would become this: Amount: 1 | Price: 10000 | Map: prontera[150,150] | Shop: Cool stuff If I understand correctly this is only possible for shops that use @autotrade, while the @whosell command works on every shop? If so, could you please point me to a @whosell command that only works for @autotrading shops, since that is fine with me. Thank you! -
My whosell and whobuy plugins are suddenly not working and I cannot figure out what the problem is. Whenever I use an @command (including @commands) it causes the map server to load: [info]: sample_packet0f3: Hello World! received 0xf3 for 'Wolfeh', redirecting! [info]: Created Appended sockt->session[] data, 1313 19 20 118 [info]: Created Appended map_session_data data, 1313 19 20 82 Then after a few seconds it loads: [Warning]: clif_parse: Received unsupported packet (packet 0x27dc (0x6a04), 6 bytes received), disconnecting session #3. I found similar code in the HPM Custom Packets section of the wiki though I don't understand why this code would be coming in to play when none of my plugins have anything to do with packets. I get no errors when compiling. These also work completely fine on my server (Debian), it's my test server (Windows 10) that is having this problem. Edit: Seems to be the HPMHooking, I tried disabling just the whobuy and whosell and it was still causing this error, then disabled HPMHooking and the error has stopped. How to fix?