dastgirp / hpm-plugins Goto Github PK
View Code? Open in Web Editor NEWHercules Custom Plugins
License: GNU General Public License v3.0
Hercules Custom Plugins
License: GNU General Public License v3.0
Unable to use buffs/debuff to monsters (ex. Lex Aterna, Blessings, Inc Agi) It is being casted to the monsters but no effect
I'm using:
auraset (confirmed)
still hitting enemy when pk is off on pvp map
im using latest pk and latest hercules please fix
Hello, Dastgir. The ExtendedVending.c plugin is not functional in hexed 2018-06-21aRagexe. I tested it with other versions of 2018 and it also didn't work. I tested it in hexed 2015 and it worked normally
#0 should_log_item (nameid=1658, amount=-100, refine_level=0, id=0x100)
at log.c:117
filter = 1658
#1 0x00000000004d030e in log_pick (id=150203, m=-100, type=LOG_TYPE_COMMAND,
amount=-100, itm=0x9d4700 <log_s>, data=0x100) at log.c:214
No locals.
#2 0x00007ffff200e28b in pc_getitem_map (sd=0x1765a30, it=..., amt=100,
count=100, log_type=LOG_TYPE_PRODUCE) at itemmap.c:74
flag = 1
#3 0x00007ffff200ed51 in itemmap (fd=1658, sd=0xa3, command=0x0,
message=0x64 <Address 0x64 out of bounds>, info=0x9d4700 <log_s>,
get_type=-253939652) at itemmap.c:270
item_name = "Blue_Potion", '\000' <repeats 88 times>
party_name = '\000' <repeats 23 times>
guild_name = '\000' <repeats 23 times>
amount = 100
get_count = 100
i = 12925248
m = 163
it = {id = 0, nameid = 505, amount = 0, equip = 0,
identify = 1 '\001', refine = 0 '\000', attribute = 0 '\000',
card = {0, 0, 0, 0}, expire_time = 0, favorite = 0 '\000',
bound = 0 '\000', unique_id = 0, option = {{index = 0, value = 0,
---Type <return> to continue, or q <return> to quit---
param = 0 '\000'}, {index = 0, value = 0, param = 0 '\000'}, {
index = 0, value = 0, param = 0 '\000'}, {index = 0, value = 0,
param = 0 '\000'}, {index = 0, value = 0, param = 0 '\000'}}}
item_data = 0x0
p = 0x7ffff0dd303c
g = 0x1765a30
iter = 0x7ffff0dd303c
pl_sd = 0x1765a30
#4 0x0000000000432840 in atcommand_exec (fd=11, sd=0x1765a30,
message=0x7fffffffdd0a "@itemmap Blue_Potion 100", player_invoked=false)
at atcommand.c:10843
params = "Blue_Potion 100", '\000' <repeats 84 times>
command = "@itemmap", '\000' <repeats 91 times>
output = "\005\000\000\000\000\000\000\000\230\332\377\377\377\177\000\000d\213d\352\377\177\000\000\004\000\000\000\000\000\000\000\200\332\377\377\377\177\000\000\326\033N\000\000\000\000\000\360*M\000\000\000\000\000d\213d\352\377\177\000\000\n\000\000\000\000\000\000\000\004\000\000\000\000\000\000\000\260\332\377\377\r\000\000\000 \000\000\000\060\000\000\000p\333\377\377\377\177\000\000\260\332\377\377\377\177\000\000\300\001\000\000\000\000\000\000@K\235\000\000\000\000\000\001\000\000\000\000\000\000\000\021\257\352l\001\000\000\000`\333\377\377\377\177\000\000\021\256M\000\000\000\000\000\003\000\000\000\000\000\000\000 \000\000\000\060\000\000\000p\333\377\377\377\177\000\000\260\332\377\377\377\177\000\000\020\333\377\377\377\177\000\000"...
---Type <return> to continue, or q <return> to quit---
logCommand = false
atcmd_msg = "@itemmap Blue_Potion 100\000<;\366\001\000\000\000t\310\350\000\000\000\000\000d\213d\352\377\177\000\000@\001\000\000\000\000\000\000\021\000\000\000\f\000\000\000\000\000\000\000\377\177\000\000@^\236\361\377\177\000\000\310\020\000\000\000\000\000\000\071\061O\000\000\000\000\000\r\000\000\000\026\000\000\000\025\000\000\000c\000\000\000\320\333\377\377\377\177\000\000E\016O\000\000\000\000\000x\334\377\377\377\177\000\000\200\333\377\377\377\177\000\000t\310\350\000\001\000\000\000\n\000\000\000\203\000\000\000u\310\350", '\000' <repeats 21 times>, "d\213d\352\377\177\000\000\021\257\352l\001\000\000\000"...
#5 0x0000000000530202 in pc_process_chat_message (sd=0x1765a30,
message=0xffffff9c <Address 0xffffff9c out of bounds>) at pc.c:12241
No locals.
#6 0x000000000047308f in clif_process_chat_message (sd=0x1765a30,
packet=0x7ffff4b567b4, out_buf=0x9d4700 <log_s> "\377\377\377\177z\006",
out_buflen=256) at clif.c:10266
srcname = 0x7ffff4b567b8 "GMTeam : @itemmap Blue_Potion 100"
message = 0x7fffffffdd0a "@itemmap Blue_Potion 100"
textlen = 1
__func__ = "clif_process_chat_message"
#7 0x000000000046ce23 in clif_parse_GlobalMessage (fd=11, sd=0x1765a30)
at clif.c:11178
full_message = "GMTeam : @itemmap Blue_Potion 100\000l\001\000\000\000@---Type <return> to continue, o
i found a problem when compiling
17> sc_itemscript.c
17>..\src\plugins\sc_itemscript.c(59): error C2065: 'SC_DRESS_UP' : undeclared identifier
17>..\src\plugins\sc_itemscript.c(60): error C2065: 'SC_DRESS_UP' : undeclared identifier
17>..\src\plugins\sc_itemscript.c(70): error C2065: 'SC_DRESS_UP' : undeclared identifier
17>..\src\plugins\sc_itemscript.c(71): error C2065: 'SC_DRESS_UP' : undeclared identifier
Unable to use buffs/debuff to monsters (ex. Lex Aterna, Blessings, Inc Agi) It is being casted to the monsters but no effect
Hi Dastgir,
I encounter this kind of error/bug when setting my aura to @aura 254(and other aura) and then ill use the command @hide then try to atk dummy monster, the aura are stacking visually and it makes me lag.
It happens when you're at hiding state (cloaking/hiding/@hide/etc) and use skill like grimtooth/monk's triple attack/etc..
@dastgir was testing its plugin Chat_TimeStamp I'm using client 2012-04-10 and it does not return me the time, the message appears as follows.
Regarding https://github.com/dastgirp/HPM-Plugins/blob/master/src/plugins/npc-duplicate.c
If remove a NPC that running in a while-loop
with sleep
, the server will throw errors since the process are not terminated when remove the npc.
For example: if NPC A
running this:
while (true) {
showscript "ABC";
sleep 1000;
}
then remove NPC A
using the duplicateremove()
, then the map-server will start throwing error for showscript
.
[Error]: buildin_showscript: Script not attached. (id=0, rid=0, oid=110315097)
Not sure if this is a new thing that has happened, but as soon as I use sellitem2() in any script, it will cause every NPC to break.
I used the script below, then all of a sudden I couldn't click any NPCs except the ones which were using sellitem2().
amatsu,110,95,3 trader +10 Daggers 2_M_THIEFMASTER,{
OnInit:
sellitem2(Combat_Knife, 1, 10, 0, 0, 0, 0, 0, 100000000);
end;
}
Suggestion: when a player dies, erase their timer.
Hercules commit reference: HerculesWS/Hercules@54d1c8b
Compile error on malloc.h
Can you check what I add. It correct?
https://github.com/cold-hr/translate-thai/blob/master/security.c.patch
https://github.com/cold-hr/translate-thai/blob/master/security.txt.patch
please fix the issue on @pk plugin because if the state of pk is OFF they can still attact you on pk maps
im using latest hercules version
After the latest update, I'm unable to compile. If I comment the following line nullpo_retr(0, sd);
it seems to work okay. I'm not sure what this line does though.
CC hit-delay.c
hit-delay.c: In function ‘pc_dead_pre’:
hit-delay.c:76:2: warning: implicit declaration of function ‘nullpo_retr’ [-Wimplicit-function-declaration]
nullpo_retr(0, sd);
^
hit-delay.c:76:2: warning: nested extern declaration of ‘nullpo_retr’ [-Wnested-externs]
/tmp/ccXhkWlJ.o: In function `pc_dead_pre':
/home/....../src/plugins/hit-delay.c:76: undefined reference to `nullpo_retr'
collect2: error: ld returned 1 exit status
make[1]: *** [../../plugins/hit-delay.so] Error 1
make[1]: Leaving directory `/home/....../src/plugins'
make: *** [plugins] Error 2
The plugin does not work, compiled without errors but in the chat window nothing.
When the option is enabled #ifdef ALL_MESSAGE_TIMESTAMP warning when compiling \src\plugins\timeshtamp.c (182): warning C4090: function: different qualifiers "const" Help please.
getting this error when compiling this plugin with visual studio 2011
Error 3 error C2065: 't' : undeclared identifier E:\Hercules\src\plugins\chat_timestamp.c 52 1 chat_timestamp
if you are going to accept requests for plugins someday :P I'd like to suggest http://herc.ws/board/files/file/177-soul-link-boost-single-strip-bypass-fcp/
The sc_itemscript plugin doesn't seem to be working...
There's a bug in @autoattack. for some reason if you change map while in the state of autoattack you will get a client error message. Saying missing sprite or something. I'm using 2016 02 03 client. im not sure in other newer client.
Maybe add a delay before moving the char when you change map?
Thanks!
Solution to this issue #2 worked with other plugin but had an error for security.c
Edit: Fixed
i loved this plugin removing the stats of the item when turned into costume. It is very helpful especially you dont need to add more itemID just for the costume. But i notice the weight did not change to zero (0). I hope this will be added.
The plugin is not reading the configuration of the feature.conf file. The only way that the plugin works is when the following lines are edited:
Is lines:
int bc_extended_vending;
int
bc_show_item_vending;
int
bc_ex_vending_info;
int
bc_item_zeny;
int
bc_item_cash;`
Replace For:
int bc_extended_vending = 1; // Enable Extended Vending System
int bc_show_item_vending = 1; // Show Currency Name in the Pub of Vending
int bc_ex_vending_info = 1; // Show Information about buying
int bc_item_zeny = 30000; // ItemID for Zeny, 0 to disable
int bc_item_cash = 30001; // ItemID for CashPoints, 0 to disable
Note: Here
I'm not sure if it's due to my perhaps outdated Hercules, but to get storeequip to work, I had to change
- map_session_data *sd = script->rid2sd(st);
+ struct map_session_data *sd = script->rid2sd(st);
This is the error from map-server. Please update to latest version of hercules plugin. Thank you
[Info]: Created Appended sockt->session[] data, 187 155 184 345
[Info]: Created Appended map_session_data data, 187 155 184 344
[Error]: Skip packet 0x00F3 with size 39, but must be size 65535
[Error]: --- failed assertion --------------------------------------------
[Error]: D:\Ragnarok\Hercules\src\common\socket.c:840: '0' in function `unknown'
[Error]: --- end failed assertion ----------------------------------------
[Info]: sample_packet0f3: Hello World! received 0xf3 for 'Ragna Reloaded', redirecting!
I really liked the idea of having time stamp in messages so here is my request/suggestion feel free to do anytime you want, no hurries 👍 and thanks for the great work!
This plugin have a critical bug that let you duplicate items.
How it works:
1.- Put items in your storage, for example two Jellopy
2.- change your character, always with the items in your storage
3.- Take off all the items in the storage, need to be 0 items in the storage.
4.- Change your character again
5.- Open your storage, two jellopy will appear in the storage
I added sellitem2 plugin and it seems my map server crashes because of it.
[Error]: Memory manager: freed-data is changed. (freed in script.c line 20745)
this is the line where sellitem buildin exists.
Add CharmSystem
can you change all plugins support to Hercules Rev.19749
Unmodified plugins and latest Hercules, on Windows 10 and Microsoft Visual Studio Community 2019
Is it possible to make your pluggins work with rathena?
Herc: v2020.10.19
Client: 2015-09-16a Ragexe
Script Containing:
OnPCLoginEvent:
aura(0,0,0);
Bug:
Whenever a player have been killed in any dungeon/map, Then immediately closes the application (without teleporting to save point). Once I re-logged, the player is still in the same spot where he had been killed with 0 HP. It's supposed to be automatically warping him to his SavePoint.
Scenario:
go thor_v03 try to died by monster after you died click char select not go still hitting the mob over in over.
any chance to make it work in normal chat as well?
Friend,
There is no compilation error or any other but when I start the emulator it shows me this error on screen and it does not allow me to enable the plugin... I am using Hercules the latest version
Error: HERE
The warp hit Delay has a Bug.
if you are in PvP room and u died twice (Normally if you died twice inside PvP mapflag you will be automatically Warp out.) but in this case the attacker will keep on attacking (normal attack not skill) and the kill counter will keep on counting.
it means even if the player is dead the attacker will keep on attacking and gained points because of the warp hit delay preventing the player to warp. (it loops since normal attack is does not stop.)
Having this issue when making plugins.
ExtendedVending.c:673:32: error: macro "clif_disp_onlyself" requires 3 arguments , but only 2 given
ExtendedVending.c: In function ‘vending_purchasereq_mod’:
ExtendedVending.c:673: error: ‘clif_disp_onlyself’ undeclared (first use in this function)
ExtendedVending.c:673: error: (Each undeclared identifier is reported only once
ExtendedVending.c:673: error: for each function it appears in.)
ExtendedVending.c:680:31: error: macro "clif_disp_onlyself" requires 3 arguments , but only 2 given
make[1]: *** [../../plugins/ExtendedVending.so] Error 1
http://herc.ws/board/topic/4383-costume-item-plugins/?do=findComment&comment=89443
I wonder if you could add "uncostume" in script command , because when returning to original it bad idea to just delete the costume item and replace with regular item in script. It will be hard to trace equipment because the unique_id is lost.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.