summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-04-25Move irc-bot.c documentation to irc-bot.hhemagx2-92/+130
interface a not interfaced function irc_privmsg_ctcp
2016-04-25Added a flood protection to IRC Bothemagx4-14/+147
Now it's possible to send as many messages as possible without get kicked for flood.
2016-04-24Merge pull request #1264 from HerculesWS/vs2015Ibrahem Hossam39-3016/+431
2016-04-23HPM Hooks UpdateHaru3-114/+114
Signed-off-by: Haru <haru@dotalux.com>
2016-04-23Added some files specific to VS2015 (Update 2) to gitignoreHaru1-0/+2
Signed-off-by: Haru <haru@dotalux.com>
2016-04-23Corrected the type of the 'length' argument of other message-related functionsHaru6-12/+12
- Variable types were changed to int - Corrects several warnings in VS2015 - Affected functions: `clif->wis_message()`, `intif->wis_message()`, `intif->guild_change_gm()`. Signed-off-by: Haru <haru@dotalux.com>
2016-04-23Removed the 'len' argument from various message-related functionsHaru8-21/+31
- The argument was redundant, since the passed value is always the same as the passed string's length (it doesn't make sense otherwise). The argument is implicit now. Less typing and less errors. - Affected functions: `clif->bg_message()`, `bg->send_message()`, `party->send_message()`, `guild->send_message()`. Signed-off-by: Haru <haru@dotalux.com> Signed-off-by: Haru <haru@dotalux.com>
2016-04-23Removed the 'len' argument from clif_disp_onlyself() and clif->disp_message()Haru10-36/+38
- The argument was redundant, since the passed value is always the same as the passed string's length (it doesn't make sense otherwise). The argument is implicit now. Less typing and less errors. Signed-off-by: Haru <haru@dotalux.com>
2016-04-23Corrected the type of the 'length' argument of various broadcast-related ↵Haru9-37/+48
functions - Variable types were changed to int - Corrects several warnings in VS2015 - Affected functions: `clif->broadcast()`, `clif->broadcast2()`, `intif->broadcast()`, `intif->broadcast2()` Signed-off-by: Haru <haru@dotalux.com>
2016-04-23Corrected the type for several variables through the codeHaru2-74/+98
- Variable types were changed to int, where it makes sense to - Corrects several warnings in VS2015 Signed-off-by: Haru <haru@dotalux.com>
2016-04-23Changed map_session_data::chatID to int (and renamed to chat_id)Haru8-35/+38
- Chat IDs are signed integers. - Resolves various warnings, depending on the compiler settings. Signed-off-by: Haru <haru@dotalux.com>
2016-04-23Improved parsing of the server name/port in the irc bot configurationHaru1-28/+23
Fixes a VS2015 warning Signed-off-by: Haru <haru@dotalux.com>
2016-04-23Removed VS2010 projectHaru13-2647/+0
- VS2010 isn't one of our supported platforms (And hasn't been for a while) - While it's currently still possible to build on VS2010 (download the files `Hercules-10.sln` and `vcproj-10/*` from an older snapshot of the repository such as https://github.com/HerculesWS/Hercules/tree/bbcb040 and put them in your Hercules directory), we offer no support for any build issues causd by future commits, nor we'll update the project/solution files. - For an overview of supported OSes and compilers, please see the wiki page https://github.com/HerculesWS/Hercules/wiki/Supported-Platforms Signed-off-by: Haru <haru@dotalux.com>
2016-04-23Updated README fileHaru2-75/+90
- Updated versions of supported compilers - Updated dependencies and installation instructions - Minor format cleanup - Reworded some sentences - Added link to the Supported Platforms page - Corrected link to the Coding Style guidelines (in CONTRIBUTING.md) Signed-off-by: Haru <haru@dotalux.com>
2016-04-23HPM Hooks UpdateHercules.ws3-63/+63
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-04-23Merge pull request #1263 from HerculesWS/chatmessage_terminatorIbrahem Hossam9-298/+457
2016-04-23HPM Hooks UpdateHaru4-17/+114
Signed-off-by: Haru <haru@dotalux.com>
2016-04-23Removed some code duplication in chat processing functionsHaru3-72/+37
Moved non-clif code that handles chat delay, atcommand detection, idle timers to pc.c Signed-off-by: Haru <haru@dotalux.com>
2016-04-23Refactored the chat message packet processing functionsHaru3-181/+253
- Split the processing of public chat messages and whisper messages in two functions, to make them more straightforward. Signed-off-by: Haru <haru@dotalux.com>
2016-04-23Split supernovice angel call message detection to its own functionHaru3-32/+57
Signed-off-by: Haru <haru@dotalux.com>
2016-04-22Merge pull request #1260 from skyleo/wizard_questIbrahem Hossam1-2/+2
2016-04-22Fixed a typo and changed PcName Aegis-leftover to strcharinfo(0).skyleo1-2/+2
2016-04-22[Wizard Jobquest] Fixed getting stuck when failing 2nd Wave of Earth Room or ↵skyleo1-2/+2
1st Wave of Fire Room.
2016-04-22Fixed an issue that could prevent a mvp reward to be ignoredHaru1-45/+47
- During the randomization of the list, an entry could be overwritten under certain (rare) conditions. Signed-off-by: Haru <haru@dotalux.com>
2016-04-19Corrected type for sd->fontcolor_tidHaru1-1/+1
A timer ID should always be a signed int. Signed-off-by: Haru <haru@dotalux.com>
2016-04-19Added --enable-Werror option to the configure scriptHaru2-1/+126
It's not always possible (if at all) to pass -Werror in the CFLAGS, since autoconf often generates test-code that produces warnings. Example/reference: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734104 Signed-off-by: Haru <haru@dotalux.com>
2016-04-19Corrected some variable name errors in the configure scriptHaru2-7/+7
The errors affected the script output when passing an invalid value to various --enble-xxx=yyy options. Signed-off-by: Haru <haru@dotalux.com>
2016-04-16Merge pull request #1255 from HerculesWS/login-clif_rewriteIbrahem Hossam39-861/+2260
2016-04-16HPM Hooks UpdateHaru1-0/+1
Signed-off-by: Haru <haru@dotalux.com>
2016-04-16Moved packet_db to the private interface of lclifHaru2-9/+18
Signed-off-by: Haru <haru@dotalux.com>
2016-04-16Added missing documentationHaru5-46/+199
Signed-off-by: Haru <haru@dotalux.com>
2016-04-16HPM Hooks UpdateHaru3-0/+352
Signed-off-by: Haru <haru@dotalux.com>
2016-04-16Added lclif packet handlers to the lclif interfaceHaru4-8/+37
Signed-off-by: Haru <haru@dotalux.com>
2016-04-16HPM Hooks UpdateHaru5-13/+67
Signed-off-by: Haru <haru@dotalux.com>
2016-04-16Rewrite client interface for login server (part 7)hemagx15-234/+296
Added private interface in lclif.p.h Signed-off-by: Haru <haru@dotalux.com>
2016-04-16HPM Hooks UpdateHaru6-235/+379
Signed-off-by: Haru <haru@dotalux.com>
2016-04-16Rewrite client interface for login server (part 6)hemagx16-740/+881
Moved login clif code to lclif.c/lclif.h Signed-off-by: Haru <haru@dotalux.com>
2016-04-16Rewrite client interface for login server (part 5)hemagx2-16/+26
Renamed login->connection_problem() to login->connection_error() Split login->send_auth_failed() out of login->auth_failed() Signed-off-by: Haru <haru@dotalux.com>
2016-04-16Rewrite client interface for login server (part 4)hemagx1-3/+7
Changed login server packet processing so that no more than 3 packets are processed at once (same as the map server's clif processing) Signed-off-by: Haru <haru@dotalux.com>
2016-04-16Rewrite client interface for login server (part 3)hemagx3-215/+313
Rewritten login clif parser, using a packet db Signed-off-by: Haru <haru@dotalux.com>
2016-04-16Rewrite client interface for login server (part 2)hemagx1-159/+203
Split login packet-related code into functions Signed-off-by: Haru <haru@dotalux.com>
2016-04-16Rewrite client interface for login server (part 1)hemagx4-177/+454
Rewritten incoming/outgoing packet handlers to use structs instead of manipulating the WFIFO buffer bytes directly Signed-off-by: Haru <haru@dotalux.com>
2016-04-16HPM Hooks UpdateHaru3-9/+9
Signed-off-by: Haru <haru@dotalux.com>
2016-04-16Added const qualifier to the input parameter of bin2hexHaru2-6/+5
Signed-off-by: Haru <haru@dotalux.com>
2016-04-16Updated GNU Make build system to support private headersHaru7-46/+59
Signed-off-by: Haru <haru@dotalux.com>
2016-04-16HPM Hooks UpdateHaru6-216/+216
Signed-off-by: Haru <haru@dotalux.com>
2016-04-16Added support for private headers to the HPMDataCheck/HPMHooking generatorsHaru2-12/+21
Signed-off-by: Haru <haru@dotalux.com>
2016-04-11Merge pull request #1249 from reidy/masterAndrei Karas1-1/+1
Fix a typo in script_commands.txt
2016-04-11Fix a typo in script_commands.txt,Reid1-1/+1
getskillv -> getskilllv.
2016-04-05Disabled some #pragma GCC diagnostic on versions that don't support themHaru2-3/+18
- Fixes compilation on gcc 4.4 for the brave ones who still want to use it (we recommend gcc 4.7 or newer) - Removes some warnings about unknown pragmas on MSVC Signed-off-by: Haru <haru@dotalux.com>