Age | Commit message (Collapse) | Author | Files | Lines |
|
error: ‘for’ loop initial declarations are only allowed in C99 mode
|
|
This reverts commit c3ce0fb9b04d4c51d632c21f24f7a348c2681bf2.
|
|
This reverts commit 1bd8e9d50ed6de9433c3d6ccb842491cdafcd0a1.
|
|
type 0 - return number of users in the waiting room and account_id list
stored in $@chatmembers[]
type 34 - Minimum Base Level to enter waiting room.
type 35 - Maximum Base Level to enter waiting room.
type 36 - Minimum Zeny to enter waiting room.
|
|
The command will display the message on the NPC that name specified in
the parameter.
Useful in quest script that required a lot of different NPC to talk at
the same time.
Especially instances script.
|
|
|
|
|
|
- Changed sg->unit and sg->unit_count into an explicit vector struct,
to enforce the correct access.
- Related: rathena/rathena#583
Signed-off-by: Haru <haru@dotalux.com>
|
|
|
|
|
|
|
|
- Fixes #652
- Follow-up to 918b1123963ac2f91a4d074b092ceef1db71b4e8
- Thanks to Dastgir, Andrei Karas
Signed-off-by: Haru <haru@dotalux.com>
|
|
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
New EquipPackets Support
|
|
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
Improved compatibility, portability and standards conformance.
- Since it is not possible to portably and reliably re-use the core's
symbols in plugins, symbols are no longer exported unless explicitly
required, in the UNIX builds. This mimics the Windows behavior and
adds HPM compatibility to OSes such as FreeBSD. Credits to Andrei Karas
for making this possible.
- For convenience, it is no longer necessary to call GET_SYMBOL, since
the plugin will automatically import all the available symbols when
it's loaded, depending on the included headers.
- Plugins are now supposed to include the "common/hercules.h" header
before including anything else. Incluing common/HPMi.h,
common/cbasetypes.h or conf/core.h is no longer necessary, as those
are guaranteed to be automatically included by hercules.h.
- HPM API version bumped to 1.1.
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
- The showmsg interface is automatically imported into plugins by the
HPM (just like previously, the various Show* functions were). This
change requires no actions from plugin developers.
- stdout_with_ansisequence is now available through
showmsg->stdout_with_ansisequence
- msg_silent is now available through showmsg->silent
- console_msg_log is now available through showmsg->console_log
- timestamp_format is now available through showmsg->timestamp_format
- Plugin-safe macros are provided, so that all Show* and Clear* calls
will require no changes.
- vShowMessage is provided through the public API, as va_list variant
of ShowMessage.
- vShowMessage_ is no longer part of the public API. If necessary,
va_list variants of the other Show* functions will be added at a
later time as follow-ups.
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Replaced some macro calls with the proper interface syntax
- Removed useless macros and workarounds
API changes summary:
- WFIFOSET() can now be safely used both inside and outside socket.c
- RFIFOSKIP() can now be safely used both inside and outside socket.c
- do_close() is now sockt->close()
- flush_fifo() is now sockt->flush()
- flush_fifos() is now sockt->flush_fifos()
- getips() is now sockt->getips()
- host2ip() is now sockt->host2ip()
- ip2str() is now sockt->ip2str()
- ntows() is now sockt->ntows()
- make_connection() is now sockt->make_connection()
- make_listen_bind() is now sockt->make_listen_bind()
- realloc_fifo() is now sockt->realloc_fifo()
- realloc_writefifo() is now sockt->realloc_writefifo()
- session_isActive() is now sockt->session_is_active()
- session_isValid() is now sockt->session_is_valid()
- set_defaultparse() is now sockt->set_defaultparse()
- set_eof() is now sockt->eof()
- set_noblocking() is now sockt->set_noblocking()
- str2ip() is now sockt->str2ip()
Signed-off-by: Haru <haru@dotalux.com>
|
|
Add n parameter to function pc_equipitem_pos.
|
|
Follow-up to 5090bdf750017f0d631401edd563c452bd10ec24,
84e02ac28fbb15c58d0a0f8a916b49663198b05b
Signed-off-by: Haru <haru@dotalux.com>
|
|
|
|
|
|
|
|
|
|
script_run_item_unequip_script.
|
|
|
|
|
|
|
|
It’ll now return the first result, rather than the last due to item2
being overwritten as it searches through the array.
|
|
- Follow-up to 84e02ac28fbb15c58d0a0f8a916b49663198b05b
- Thanks to KirieZ for pointing it out.
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Fixes #546 (follow-up to 127f9b52a4030a655564584b95b7c10dfdcb04e6)
- Special thanks to kyeme, Mordekaiser
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
- The files are (and will) still be included for use in Control Panels
or websites, but their use as the data source for the map server is no
longer supported. Please upgrade to their text counterparts instead.
Signed-off-by: Haru <haru@dotalux.com>
|
|
- xs, ys, delay1, delay2 and event are now required, as described in
the documentation.
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Follow-up to ca877ecbef0d3fe8df1b69fcaa9e72693c104f02
Signed-off-by: Haru <haru@dotalux.com>
|
|
Additional Status Calculation for Plugins.
|
|
|
|
This fixes the script loading issue mentioned here -> http://herc.ws/board/topic/10249-issue-with-item-db-after-update/
|
|
Changed clif->message with clif->messagecolor_self as this will not c…
|
|
scripts after warp.
|
|
Reduce map server memory usage for 3 MB with loaded HPM
|
|
Fixes skill blocks overiding larger blocks
|