Search the Community

Showing results for tags 'atcommand'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Bulletin Centre
    • Community News
    • Repository News
    • Ragnarok News
  • Hercules Development Centre
    • Development Discussion
    • Suggestions
    • Development Centre Archives
  • Support & Releases
    • General Server Support
    • Database
    • Scripting
    • Source
    • Plugin
    • Client-Side
    • Graphic Enhancements
    • Other Support & Releases
  • Hercules Community
    • General Discussion
    • Projects
    • Employment
    • Server Advertisement
    • Arts & Writings
    • Off Topic
  • 3CeAM Centre
    • News and Development
    • Community
  • International Communities
    • Filipino Community
    • Portuguese Community
    • Spanish Community
    • Other Communities

Categories

  • Client Resources
  • Graphic Resources
    • Sprites & Palettes
    • Maps & Textures
    • Other Graphics
  • Server Resources
    • Server Managers / Editors Releases
    • Script Releases
    • Source Modifications
    • Plugins
    • Pre-Compiled Server
  • Web Resources

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Discord


Skype


IRC Nickname


Website URL


Location:


Interests


Github

Found 13 results

  1. 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
  2. When I inspect @mi Mavka to see the droprates of a mob, it shows the following: We can see that Witherless Rose drops at a 9.00% chance. However, when @whodrops is executed, the Mavka is shown multiple times with various drop rates: Please take note that above, I made a source edit so that the mob ID will be shown beside the name of the mob. Unusually, it shows a drop rate of 16.80%, 16.20%, and 9.00%. I was expecting that it should show the Witherless Rose at 9.00% chance ONCE. Do you guys have some idea why this is happening? I've been reading up on @whodrops and how the item_data struct is loaded, but i'm kind of stuck.
  3. File Name: @pk patch v1.1 File Submitter: bgamez23 File Submitted: 21 Apr 2013 File Category: Source Modifications @pk commands for hercules credits for Haru teaching me and make this thing works again. Click here to download this file
  4. I'm looking at ACMD(mobinfo) and I want to be able to get the actual mob ID. I'm using the 'db/mob_avail.txt' file to create more monsters of an ID. My problem is monster->vd.class is showing the sprite ID, instead of the actual ID. Example, in mob_avail.txt I have the following entry. When using monster->vd.class, it returns 1109 for both entries (when using @mobinfo Deviruchi) 2620,1109 I want to get the actual ID as I wish to exclude certain entries from showing in the @mobinfo search. Thank you.
  5. As the title says, how does one use the @jailfor command? It always returns "Invalid time for jail command."
  6. File Name: Broadcast Alarm File Submitter: pan File Submitted: 25 Dec 2013 File Category: Plugins @balarm <color> <type> <file name> <message> Type 0 - Global message 1 - Local message File name It's a file that is inside your grfwavfile.wav WARNING! If nonexistent file is put all hexeds that receive this broadcast will crash! Color Uses the same configuration as '@kamic' Source-code: http://pastebin.com/TFS0GCDs v1.0 http://pastebin.com/idsFvmhJ v1.1 For more information see: http://herc.ws/board/topic/3525-broadcast-with-sound-alarm/ Click here to download this file
  7. Hello, Hercules community! I want to ask you, how it possible to save @atcommand state after re-login? For exmple: player do @aloottype +card and adding to aloottype list card-based item. Is it possible to save this list? I've tried to do it like this: ACMD(autoloottype) { int i; uint8 action = 3; // 1=add, 2=remove, 3=help+list (default), 4=reset enum item_types type = -1; int ITEM_NONE = 0; if (message && *message) { if (message[0] == '+') { message++; action = 1; } else if (message[0] == '-') { message++; action = 2; } else if (strcmp(message,"reset") == 0) { action = 4; } if (action < 3) { // add or remove if (strncmp(message, "healing", 3) == 0) type = IT_HEALING; else if (strncmp(message, "usable", 3) == 0) type = IT_USABLE; else if (strncmp(message, "etc", 3) == 0) type = IT_ETC; else if (strncmp(message, "weapon", 3) == 0) type = IT_WEAPON; else if (strncmp(message, "armor", 3) == 0) type = IT_ARMOR; else if (strncmp(message, "card", 3) == 0) type = IT_CARD; else if (strncmp(message, "petegg", 4) == 0) type = IT_PETEGG; else if (strncmp(message, "petarmor", 4) == 0) type = IT_PETARMOR; else if (strncmp(message, "ammo", 3) == 0) type = IT_AMMO; else { clif->message(fd, msg_txt(1491)); // Item type not found. return false; } } } switch (action) { case 1: if (sd->state.autoloottype&(1<<type)) { clif->message(fd, msg_txt(1490)); // You're already autolooting this item type. return false; } sd->state.autoloottype |= (1<<type); // Stores the type sprintf(atcmd_output, msg_txt(1492), itemdb->typename(type)); // Autolooting item type: '%s' clif->message(fd, atcmd_output); break; case 2: if (!(sd->state.autoloottype&(1<<type))) { clif->message(fd, msg_txt(1493)); // You're currently not autolooting this item type. return false; } sd->state.autoloottype &= ~(1<<type); sprintf(atcmd_output, msg_txt(1494), itemdb->typename(type)); // Removed item type: '%s' from your autoloottype list. clif->message(fd, atcmd_output); break; case 3: clif->message(fd, msg_txt(38)); // Invalid location number, or name. { // attempt to find the text help string const char *text = atcommand_help_string(info); if (text) clif->messageln(fd, text); // send the text to the client } if (sd->state.autoloottype == ITEM_NONE) { clif->message(fd, msg_txt(1495)); // Your autoloottype list is empty. } else { clif->message(fd, msg_txt(1496)); // Item types on your autoloottype list: for(i=0; i < IT_MAX; i++) { if (sd->state.autoloottype&(1<<i)) { sprintf(atcmd_output, " '%s'", itemdb->typename(i)); clif->message(fd, atcmd_output); } } } break; case 4: sd->state.autoloottype = ITEM_NONE; pc_setglobalreg(sd, script->add_str("AT_ALOOTTYPE"), type); clif->message(fd, msg_txt(1497)); // Your autoloottype list has been reset. break; } return true;}in case 4:pc_setglobalreg(sd, script->add_str("AT_ALOOTTYPE"), type); But my `char_reg_num_db` has no AT_ALOOTTYPE value for char. Can you show me another way to do it? Thank you!
  8. File Name: @aura patch File Submitter: bgamez23 File Submitted: 20 Apr 2013 File Category: Source Modifications @aura commands for hercules Click here to download this file
  9. You can customize the delay in: ../battle/custom.conf //--------------------------------------------------------------// Hercules Battle Configuration File//--------------------------------------------------------------// Warp and Go delay in miliseconds ( 5000 = 5 Seconds )// Official is 0gowarp_delay: 5000 Credits: Ind Modified by: quesoph go and warp delay.diff
  10. pan

    Broadcast Alarm

    Version 1.1

    47 downloads

    @balarm <color> <type> <file name> <message> Type 0 - Global message 1 - Local message File name It's a file that is inside your grf\wav\file.wav WARNING! If nonexistent file is put all hexeds that receive this broadcast will crash! Color Uses the same configuration as '@kamic' Source-code: http://pastebin.com/TFS0GCDs v1.0 http://pastebin.com/idsFvmhJ v1.1 For more information see: http://herc.ws/board/topic/3525-broadcast-with-sound-alarm/
  11. File Name: @garbage patch File Submitter: bgamez23 File Submitted: 21 Apr 2013 File Category: Source Modifications @garbage commands for hercules Click here to download this file
  12. Good night! I apologize if you're posting in the wrong session, and if the translation is not good. I am Brazilian. I share with you my modification in source. In my hercules emulator upgraded in its latest version, the command @reloadscript shows no overall message independent of the configuration file src/map/atcommand.c //atcommand_broadcast( fd, sd, "@broadcast", "You will feel a bit of lag at this point !" ); Solution: replace: //atcommand_broadcast( fd, sd, "@broadcast", "You will feel a bit of lag at this point !" ); to: clif_broadcast(&sd->bl, "LOADING MESSAGE HERE", 150, 0, ALL_CLIENT); So ask for a programmer to call the message file message.conf.
  13. we always seem to have @feelreset but never @hatereset, well fear no more i have a solution to your worry! @hatereset, what this command does is reset the mobs you deem hatred on via Star Gladiator :DDDD couple things to know about this diff, the way it displays a message to the server is via message_conf so if your using this mod, and its been a super duper long time since it was posted, i suggest you check your message_conf because the id of the message display might be different, so make sure you change that accordingly. hatereset.diff