summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-05-17Renamed incuvate of Pet System.Shido10-31/+36
2014-05-16Follow-up to b6b3f58795288701d0e162d43fa6f0a47af913b3Haru12-56/+60
- Includes in some files weren't sorted alphabetically. Special thanks to KeiKun. Signed-off-by: Haru <haru@dotalux.com>
2014-05-16Changed battle_config definition to extern to avoid mistakes in pluginsHaru3-12/+14
- This avoids plugins incorrectly using battle_config (with unreliable results) instead of using the proper interface, battle->bc. - Edited various #defines to use battle->bc instead of battle_config so that they can work perperly in plugins as well. Signed-off-by: Haru <haru@dotalux.com>
2014-05-13Partial cleanup of script_commands.txtHaru1-548/+529
- Updated examples to a more modern syntax - Corrected examples using the wrong case for script commands (fixes bugreport:8192 thanks to jaBote) http://hercules.ws/board/tracker/issue-8192-camelcase-in-scripting-documentation/ - Reworded or rewritten some misleading/no longer correct notes to match the current script engine behavior. - Marked some commands as deprecated and suggested alternatives, to discourage their use in new scripts (set, goto, jump_zero, menu) - Changed use of temporary character variables into scope variables in examples, where appropriate. Signed-off-by: Haru <haru@dotalux.com>
2014-05-13Removed trailing whitespace (sources)Haru71-1143/+1147
Signed-off-by: Haru <haru@dotalux.com>
2014-05-13Removed trailing whitespace (scripts)Haru199-812/+761
Signed-off-by: Haru <haru@dotalux.com>
2014-05-13Fixed some charset issuesHaru17-16/+45
- Fixed files with mixed character set or invalid CP949 characters. - Uncommented '#music' script in the_sign_quest.txt (now the soundeffect filename should be fixed). - Added a note to the header of CP949 files not to read or save them as UTF8, since it'd break their encoding. It should be safe enough to read them as EUC-KR if your text editor doesn't offer CP949 as an option. - Added FIXME notes about untranslated strings in assassin_skills.txt and WolfchevLaboratory.txt. Signed-off-by: Haru <haru@dotalux.com>
2014-05-13Fixed several files with a missing EOL at EOFHaru45-45/+45
- All text files should end with an EOL. Period. - See http://robots.thoughtbot.com/no-newline-at-end-of-file for info on how to configure the most common text editors to do it automatically for you. Signed-off-by: Haru <haru@dotalux.com>
2014-05-13Removed enchantments from const since they're in item_db.confTaylor Locke1-170/+1
2014-05-13Wolfchev's Laboratory Instance Release.Taylor Locke4-595/+3635
2014-05-13ItemDB SQL SyncHercules.ws1-1651/+1507
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-05-12Revert "Updated to match AEGIS item_db" temporally in order to stop issues ↵panikon1-3321/+812
depicted in issue: 8190 This reverts commit ae289d65b550198ce32a5314f1ff769d729821a9.
2014-05-11Merge branch 'master' of http://github.com/HerculesWS/Herculespanikon4-7/+133
2014-05-11Fixed typo in thqs_ttshoppanikon1-1/+1
2014-05-10Travis improvementsHaru3-5/+131
- Parallelized pre-re and re tests - Added mapserver and script engine tests: this means that travis will detect parse errors in scripts as well as the source now) Signed-off-by: Haru <haru@dotalux.com>
2014-05-10Merge pull request #281 from Geniks/patch-1Flipp1-2/+2
Update atcommands.txt
2014-05-10Changed set_reg behavior on pc_setparam failure, now it won't simply END the ↵panikon2-11/+25
script, if a dialog window is open it'll also CLOSE it. Corrected Zeny formula in THQS
2014-05-10Follow-up to 5f1529083ad1f35a3ac66cc041ee74d6db2f3552Haru1-1/+5
- Now the map-server returns nonzero even on nomral runs (or --run-once) if any script failed loading. Signed-off-by: Haru <haru@dotalux.com>
2014-05-10Moved MAX_CARTS and NEW_CARTS defines into common/mmo.hHaru9-19/+31
- Fixes bugreport:8184, allowing re-commit of 94657284973f4037596bae468ebfbee5c217e02b Signed-off-by: Haru <haru@dotalux.com>
2014-05-10Re-commit of "Fixed order of includes in all source files"Haru144-1367/+1676
This reverts commit 94657284973f4037596bae468ebfbee5c217e02b.
2014-05-10Revert "Fixed order of includes in all source files"panikon144-1676/+1367
This reverts commit b6b3f58795288701d0e162d43fa6f0a47af913b3. Fixes issue 8184 http://hercules.ws/board/tracker/issue-8184-cart-related/
2014-05-10HPM Hooks UpdateHercules.ws1-6/+6
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-05-10Optimized THQS_TTShop.txt and corrected a minor mistakepanikon9-492/+177
Added npc_market_data_db to inter-server.conf Added shop message to messages.conf Fixed small typo in clif_GM_kickack
2014-05-10HPM Hooks UpdateHercules.ws1-6/+6
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-05-10Small changes in npc loading/reloadingpanikon4-55/+57
Compartmentalized npc file processing Corrected event initalisation order in npc_reload Changed loading order, now item db constants are loaded before npc processing in order to avoid labels overwriting constants values, like Aegis Names Added information regarding reloading scripts in /doc/script_commands.txt
2014-05-09Added documentation regarding trader objects in script_commands.txtpanikon4-41/+85
Added enumered returns to npc_cashshop_buy and to npc_cashshop_buylist
2014-05-10Update atcommands.txtGeniks1-2/+2
@newmount => @mount2
2014-05-09Removed extra'GeoIP disabled' message on charserver shutdownHaru1-9/+10
Signed-off-by: Haru <haru@dotalux.com>
2014-05-09Fixed order of includes in all source filesHaru144-1367/+1676
- Changed order according to the (upcoming) code style guidelines. - Fixes several issues caused by missing headers when their include order is changed or in plugins. Signed-off-by: Haru <haru@dotalux.com>
2014-05-09Removed some unused source filesHaru32-3458/+0
- I don't believe there's a need to keep them if we're not using them. If and when we will ever need them again, this commit can be easily reverted. Signed-off-by: Haru <haru@dotalux.com>
2014-05-09HPM Hooks UpdateHercules.ws1-54/+54
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-05-09Updated Xcode build script to support the recent sysinfo additionHaru1-0/+77
Signed-off-by: Haru <haru@dotalux.com>
2014-05-09Return EXIT_FAILURE if a script parse error occurred.Haru7-126/+178
- This affects normal execution as well as ./script-checker runs. Signed-off-by: Haru <haru@dotalux.com>
2014-05-09Added support to return a different exit status to the OS.Haru6-8/+12
- This can be easily used by plugins. - See an example at http://github.com/HerculesWS/StaffPlugins/Haru/script_mapquit Signed-off-by: Haru <haru@dotalux.com>
2014-05-09Improved the self-test scriptHaru1-69/+82
- Moved tests into a function, so that they can be easily called by external scripts. Ensured that the tests are only executed once. Signed-off-by: Haru <haru@dotalux.com>
2014-05-09Removed extra 'Map cache is corrupted' messageHaru1-1/+0
- The message was unconditionally displaying, regardless of errors. Signed-off-by: Haru <haru@dotalux.com>
2014-05-08Fixed issue: 8179panikon1-12/+12
http://hercules.ws/board/tracker/issue-8179-warning-in-new-latest-rev/?gopid=22767#entry22767
2014-05-08Changed warning labels for itemdb_read_cached_packages, they were stating ↵panikon1-3/+3
other function which could be misleading when debugging without a debugger.
2014-05-08ItemDB SQL SyncHercules.ws1-3320/+3464
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-05-08HPM Hooks UpdateHercules.ws3-6/+38
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-05-08Fixed issue 8176panikon1-0/+1
http://hercules.ws/board/tracker/issue-8176-lastet-commit-cant-compile-successfully-on-linux/ Sorry for taking so long, it seems that even if errno.h is not included in MSVC errno is still available, but that doesn't happen in unix compilers.
2014-05-08Updated to match AEGIS item_dbMichieru1-812/+3321
Special thanks to Dastgir
2014-05-08Homonculus S Updatemalufett11-137/+161
-Updated and fixed Eira skills to official behavior. Fixed Bug#8168 -http://hercules.ws/board/tracker/issue-8168-crush-strike/?gopid=22703#entry22703 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2014-05-07#Fixed issue 8175panikon2-0/+13
*http://hercules.ws/board/tracker/issue-8175-missing-delequip/ *Documentation wrote by @emistry #Added return values for *delequip
2014-05-07Follow up to 9a425c1panikon4-6/+13
Special thanks to @MishimaHaruna
2014-05-07Fixed Bug 8122Michieru1-1/+1
http://hercules.ws/board/tracker/issue-8122-sc-groomy-sc-weakness-and-sc-ignorance/ Fix success chance formula of SC_ENERVATION, SC_GROOMY, SC_IGNORANCE, SC_LAZINESS, SC_UNLUCKY and SC_WEAKNESS
2014-05-06Bug fixes and other changespanikon14-94/+313
#Fixed issue where a corrupted map cache would lead to a crash *Moved Big-endian compatibility functions to common/utils.h #Fixed issue 8162 *http://hercules.ws/board/tracker/issue-8162-loadnpc-doesnt-trigger-oninit-of-duplicate-npcs/ *Added options to npc_parse_duplicate #Fixed issue 8169 *http://hercules.ws/board/tracker/issue-8169-script-command-guildskill-skill-idlevel-not-working-as-intended/ *Changed *guildskill behavior, now it behaves exactly as depicted in the documentation *Updated *guildskill documentation #Added missing GBI types to mapif_parse_GuildBasicInfoChange now it's possible to change guild exp, lv, skill point and skill information #GeoIP revamp *GeoIP module was partially rewritten *Added several data checks to prevent corruption and crashes *Updated GeoIP database *See https://github.com/maxmind/geoip-api-c/blob/master/libGeoIP/GeoIP.c for more information #Added packetver checks regarding NST_MARKET *Now *tradertype warns if user is trying to use this feature with older clients
2014-05-05Removed global_reg_value leftovers.Streusel1-5/+2
2014-05-01HPM Hooks UpdateHercules.ws1-0/+2518
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-05-01Corrected an issue when calling hookStop() from a post-hookHaru1-0/+1
- Now hookStop() will do absolutely nothing if called from a post-hook, instead of causing unexpected effects on the next pre-hook execution. Signed-off-by: Haru <haru@dotalux.com>