Jump to content

Samuel

Members
  • Content Count

    397
  • Joined

  • Last visited

  • Days Won

    20

Everything posted by Samuel

  1. Back again.. My laptop gave up on me.. now it's working again.. most of the time, i'm just peeking through mobile phone.. Well will try to help as soon as I can.. Will setup my test server again..
  2. Your first request can be done via map zone conf, create a new zone where the items u want to be disabled is listed and apply that zone to your desired maps the second one is i think through a mapflag, hmm or use loadevents wherein upon entering that map and they have equipped armor, remove them
  3. Hello Everyone! Just saw this source when browsing the web. Although I believe there is already a script that utilizes this, I tried to convert it into a plugin (for self study purposes) What does this plugin do? Known bug: At login, the announcement is twice.. Still finding a way to correct it though.. Enjoy! mapannounce.zip
  4. I see, you want to set bonus with certain duration and conditions, just saw rathena's script command section and it comes handy, i think it's better to make a pull request of it rather than making it a plugin, will try to do so as it's a little complicated one. Hmmm, as of now I only support Herc/RagEmu but will try to do so when I'm free and motivated to do so..
  5. why not use the charm plugin instead? Any by chance for rAthena emulator. rathena doesn't have a plugin feature. but this could be converted to a patch,
  6. Hello everyone! Just saw this topic and just gave a try to make a mapflag plugin for it.. //===== Description: ========================================= //= Disable Homunculus in a certain map //===== Usage: =============================================== //= alberta <tab> mapflag <tab> nohomunc //============================================================ Plugin Link
  7. I'll try to delete some messages lol.. hmm, with regards to the fix, I don't encounter a map crash when logging out when buffs are active. Can you specify how to reproduce the crash?
  8. What's the warming you're getting? I have compiled the plugin with Visual Studio 2011 and compiled with no warnings. Please tell us so we could fix it.
  9. hmm, there you go, didn't know what happened with the link, lol
  10. Hello everyone! Updated Annie's plugin and applied Functor's bug fix. With this plugin, it will display party member's special buffs in party list (Alt+Z) Buffs are: Look like [BAFS+]Player name See original : Topic Enjoy! Plugin Link
  11. Hello everyone! Saw this feature in RagEmu so I adapted their code and turned it into a plugin. With this plugin enabled, custom commands that were created using bindcmd will be shown when you use @command depending on the gm level the account has if that custom command is available for his level. Enjoy! Credits to: RagEmu Link
  12. Samuel

    Red Potion!

    are you encountering this error with just hercules? because i think it's client side
  13. Samuel

    Red Potion!

    the best thing to do i think is find the last client where you can still hear the sound effect, then maybe we could ask Neo to make a patch or plugin for Nemo to add it again to newer clients
  14. tried it but it's not working.. well he said in his commit that it's in trial.. try this: #include "common/hercules.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include "common/HPMi.h" #include "common/memmgr.h" #include "common/mmo.h" #include "common/nullpo.h" #include "common/strlib.h" #include "common/socket.h" #include "map/clif.h" #include "map/map.h" #include "map/pc.h" #include "plugins/HPMHooking.h" #include "common/HPMDataCheck.h" HPExport struct hplugin_info pinfo = { "Chat TimeStamp", SERVER_TYPE_MAP, "1.0", HPM_VERSION, }; const char *clif_process_chat_message_post(const char *retVal___, struct map_session_data *sd, const struct packet_chat_message *packet, char *out_buf, int out_buflen) { char prefix[CHAT_SIZE_MAX + NAME_LENGTH + 3 + 1]; time_t t; int textlen = 0, namelen = 0; nullpo_ret(sd); if (retVal___ == NULL) return NULL; #if PACKETVER >= 20151001 // Packet doesn't include a NUL terminator textlen = packet->packet_len - 4; #else // PACKETVER < 20151001 // Packet includes a NUL terminator textlen = packet->packet_len - 4 - 1; #endif // PACKETVER > 20151001 safestrncpy(out_buf,packet->message,textlen+1); t = time(NULL); strftime(prefix, 10, "[%H:%M] ", localtime(&t)); strcat(prefix, out_buf); safestrncpy(out_buf,prefix,textlen+10); retVal___ = out_buf; return retVal___; } HPExport void plugin_init (void) { addHookPost(clif, process_chat_message, clif_process_chat_message_post); } Edit: It's working as I have tested it, the only thing that bothers me is this warning I get when I compile with Visual Studio 2011 warning C4090: 'function' : different 'const' qualifiers Edit2: how to use code with code select?
  15. yeah, just saw the code and found out that it works with guild and party chat only for now.. hmm, will try to do a plugin for normal chat.
  16. I think this is the plugin you need to use for this.. https://github.com/dastgir/HPM-Plugins/blob/master/src/plugins/chat_timestamp.c
  17. Hello, it's me again.. I'm back from a little vacation off from ragnarok world.. It's been a while and I'm refreshing myself again with new changes here. Well will try to help as soon as I can..
  18. @@monkeydlufy for now it's configured to show map name, i'll update it to add an option for custom name
  19. @@monkeydlufy try using my bind @go script http://herc.ws/board/topic/11136-samuels-script-collections/#entry69360
  20. @@dreinor That's nice! Cool showcase
  21. using player variable @message$ i suppose, what's the error you're getting?
  22. @@Ranz depends on your setting here: conf/battle/items.conf // Unequip the equipments that has disabled by map_zone_db.conf ? // 0 : disabled equipments and cards are nullify (official) // 1 : disabled equipments are unequip, disabled cards are nullify // 2 : disabled equipments are nullify, disabled cards will caused the equipment to unequip // 3 : disabled equipments are unequip, disabled cards will caused the equipment to unequip (1+2) unequip_restricted_equipment: 0
  23. @@Litro isn't the use of global variable server extensive? specially if you're running a large populated server.
  24. yes, this is possible to script
×
×
  • Create New...

Important Information

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