Search results

  1. meko

    Hacktoberfest 2018

    Contribute to open source and get a free limited-edition T-shirt What's Hacktoberfest? Hacktoberfest — brought to you by DigitalOcean in partnership with GitHub and Twilio — is a month-long celebration of open source software. Maintainers are invited to guide would-be contributors towards...
  2. meko

    Hash table

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

    Hash table 0.3.0

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

    Date and Time functions

    View File Date and Time functions This script provides functions to easily calculate date and time. More functions might be added in the future. now() a shorthand function to get the current time > returns the number of seconds elapsed since the Unix epoch now() //...
  5. meko

    Date and Time functions v1

    This script provides functions to easily calculate date and time. More functions might be added in the future. now() a shorthand function to get the current time > returns the number of seconds elapsed since the Unix epoch now() // => 1497119219 (example, increments every second)...
  6. meko

    Deprecated Features

    List of deprecated script commands and Hercules features (2017) misceffect() specialeffect2() pow() useatcmd() v2018.06.03 pcblockmove() v2019.03.10 UDT_MAPIDXY and UDT_WALKTOXY constant v2019.04.07 petstat() v2019.05.05 debugmes() v2019.11.17...
  7. meko

    Race condition in char server: please update

    Handling of item storage has been split into a separate packet, but while this fixed a bug, it introduced a race condition, which when exploited allows to duplicate items. A new patch has been issued and the exploit is no longer reproducible. If you are using a...
  8. meko

    Array manipulation functions v10

    This script provides various array manipulation functions, and more might be added in the future. All of those functions (except the arithmetic ones) work with both integer and string arrays. The start of the array is always implicitly index 0, unless an index is specified, ie @array[index]...
  9. meko

    Array manipulation functions

    View File Array manipulation functions This script provides various array manipulation functions, and more might be added in the future. All of those functions (except the arithmetic ones) work with both integer and string arrays. The start of the array is always...
  10. meko

    Randomization helper functions

    View File Randomization helper functions This script provides syntactic sugar for randomization. Works fine with both strings and integers. any(<arg>{, <arg>{, ...}}) > returns a random argument from the passed arguments emotion(any(e_hmm, e_grat, e_yawn))...
  11. meko

    Safe string manipulation functions

    View File Safe string manipulation functions This script provides safe string manipulation functions that do not require PCRE to be enabled at compile time, making your scripts more portable. startswith("<string>", "<substring>") returns true if...
  12. meko

    Area timer functions

    View File Area timer functions This script provides functions to add (or remove) timers to every player in the area or map. areatimer("<map>", <x1>, <y1>, <x2>, <y2>, <tick>, "<event>") makes all players in the square area call...
  13. meko

    Soul Menhir

    File Name: Soul Menhir File Submitter: meko File Submitted: 29 May 2017 File Category: Utility The Soul Menhir slowly regenerates the SP of anyone sitting near it. Make sure to change the map, x, y and the sprite. Requires Hercules of April 8th 2017 or newer version...
  14. meko

    Recent changes to the Hercules engine

    It seems there's been no changelog since quite a while so here's one highlighting the most recent changes related to scripting. Sorry if that's not the right category, please move accordingly.     New script commands: chr ord gettimer getunits getvariableofpc can_use_command has_permission...
  15. meko

    little known fact about getarg()

    When a function is invoked, the arguments are pushed to the stack, but if an argument is a scope variable its reference is also pushed. This means you can access variables of the parent scope from within a function. function do_something { setarray(getarg(0), 69, 42, 1337); return; }...
  16. meko

    Needs testing: bank vault (#1717)

    EDIT: this PR was merged I need someone to test a certain pull request on the official ragnarok client (is it called Gravity?). See https://github.com/HerculesWS/Hercules/pull/1717 What needs testing: manipulating the vault from script while the bank window is open and checking if it updates...
Back
Top