Giter Club home page Giter Club logo

hpm-plugins's People

Contributors

dastgir avatar dastgirp avatar epuncker avatar jgois avatar miniack avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hpm-plugins's Issues

Auraset

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)

pk bug

still hitting enemy when pk is off on pvp map

im using latest pk and latest hercules please fix

Extending Vending

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

@itemmap 100 = crash

#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

sc_itemscript

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

Auraset

Unable to use buffs/debuff to monsters (ex. Lex Aterna, Blessings, Inc Agi) It is being casted to the monsters but no effect

auraset bug/error

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..

image

Script Command - NPC Duplicate / Remove

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)

sellitem2() causes NPCs to break

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;
}

@pk issue on latest hercules

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

hit-delay new version failed to compile

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

chat_timestamp does not work

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.

Error on market plugin

Hi Dastgir,

After a successful compile of the market plugin and then starting the server, I got this error. Please see attached.
market-error 2

chat_timestamp compilation

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

charm error

2016-06-17 04_31_11-hercules-14 - microsoft visual studio

got those errors when trying to compile it :P

@autoattack client error when you change map

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!

costumeitem has weight on it

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.

New plugins

  • away system
  • whobuy
  • FCP (need to check if can be done)
  • dance
  • emotion

Extended Vending no enabled with feature.conf

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

storeequip plugin

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);

@restock

Hi dastgir, command @restock (disable/enable restock) its not working. When i use @restock and disable the restock system, the system still restocking. @dastgir

Costume

  • Defense is not removed
  • Bonus is given if player wears non costume on same location
  • Disable Class Restriction

hi-delay error

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!

Critical Bug - Storage_Expand

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

sellitem2 crashes map server

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.

Compile error on auraset

Hi Dastgir,

I'm using the most recent svn repo. I got this error while compiling the auraset plugin.
auraset-error

Auraset Bug when dead

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:

  1. I have a save point in payon.
  2. I went to pay_dun00 where i have been killed.
  3. Instead of Warping to save point, I close (ALT + F4) the application.
  4. I log in again, and I'm still in the same spot. (pay_dun00)

hit-delay bug

go thor_v03 try to died by monster after you died click char select not go still hitting the mob over in over.

Hit-delay

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.)

ExtendedVending

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.