31 Commits

Author SHA1 Message Date
skotlex
2b44fd5db4 - Cleaned up the log.c file.
- Splitted log_pick into log_pick_pc and log_pick_mob to avoid ugly type-casting.
- Fixed log_chat not recording anything if the server is compiled in SQL mode and sql_logs is turned off (it should then record to a plain txt file)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9017 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-19 21:25:56 +00:00
toms
c92fc42ba2 Fixed undefined reference to 'malloc_set' in log.c
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8501 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-27 20:08:14 +00:00
Lance
26500644dd * Optional macro MEMSET_TURBO for faster low-level memory initializations.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8499 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-27 06:38:17 +00:00
skotlex
1d2c4f8950 - Removed @itemcheck as it was totally pointless.
- Corrected states killer/killable being easily dispellable.
- Fixed the totally wrong text messages being used for @killer/@killable related atcommands, added appropiate entries to msg_athena
- Magic and Misc attacks will now get type "flee" when they do less than 1 damage, this blocks them from causing additional status effects when they are blocked.
- Cleaned up a bit the Basilica code, it should now properly end when you walk.
- Added an unnecessary qty check when inserting cards :P
- Fixed some logs not working when you enabled all logs.
- Corrected unmute being a level 60 command by default (should be 80)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8256 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-13 06:14:27 +00:00
skotlex
8c98388bc5 - Enabled Mastery damage on Soul Breaker again, moved adv katar mastery out of the mastery function so that it may apply to all skills except Soul Breaker.
- Changed name of the setting log_pick to log_filter since that's what it does now.
- Modified enable_logs so that instead of a 0/1 setting, you can specify which kind of events to log (so you can use a combination), see log_athena for the bitmask configuration.
- Cleaned a bit the contents of log_athena.conf


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8129 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-04 16:38:54 +00:00
skotlex
91cae9f29b - Cleaned up the Mistress Card related code so that the no-gemstone bonus reduces item requirements by one rather than totally skip them.
- Cleaned up the logs "can log"function to use the IT constants. Also corrected the "only log large amounts" setting not working on negative values (trades).


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7863 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-24 20:29:18 +00:00
Lupus
a866920e15 removed old logs
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6510 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-07 09:50:37 +00:00
skotlex
352f81eb40 - Fixed jstrescapecpy crashing when you pass a null string to parse.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5753 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-26 05:47:22 +00:00
skotlex
91ac0a6f6e - Small change that may fix a crash in loggin guild chat?
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5752 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-26 05:38:49 +00:00
skotlex
57b2638e54 - Added a missing escape in logging chats.
- Increased a bit the size of skill-related arrays.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5746 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-25 21:46:49 +00:00
skotlex
7a8371273a - Merged the unit_data structure from jA for handling unit-related data (attack times, walking, auto-attack timers, skill related data)
- Modified unit_skillcastcancel to receive flag&2, which stands for "cancel casting only if current skill is cancellable"
- Battle config options changed from yes/no to BL_TYPE settings: skillrange_by_distance, skill_noreiteration, skill_nofootset, gvg_traps_target_all, skill_log, attack_direction_change, auto_counter_type
- Clif.c will disconnect sessions that send an unknown command packet above 0x30000 instead of just ignoring it.
- Cleaned up/rewrite of the pet ai, same for pet_calc_pos
- Implemented use of mob variable attacked_players as it is used on jA
- Cleaned up error reporting during mob-skill loading to be less spamy with non-loaded mobs.
- Corrected water_height reading. I forgot to give credits to LittleWolf for providing the water-reading function :X


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5707 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-22 23:58:16 +00:00
LuzZza
17ddbf01a9 - Fix to prevent using main chat when it disabled in atcommand_athena.
- Fixed message codes in duel functions.
- Small fix in log_refine, incorrect compare expression.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5358 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-21 18:37:35 +00:00
Valaris
2178a86317 AS OF SVN REV. 5901, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.  EVERYTHING ELSE
GOES INTO TRUNK AND WILL BE MERGED INTO STABLE BY VALARIS AND WIZPUTER. -- VALARIS


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5094 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-29 16:10:48 +00:00
Valaris
fd99753f8e Clearing trunk.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5091 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-29 16:00:45 +00:00
Lupus
d082b6aa4e added better filters into logs
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1416 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-05 20:27:34 +00:00
amber
394d162391 Fixes for logging trades [MouseJstr]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1407 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-04 19:32:34 +00:00
celest
4bc5c15a9c * Re-fixed the SQL syntax crash in logging
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1313 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-28 11:45:40 +00:00
celest
a308c95bce * Fixed a SQL syntax crash when logging character names with "'" in them
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1305 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-27 10:31:42 +00:00
Lupus
4a8a574f14 added logging filters. optimized ATCommands temp strings usage
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1302 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-26 21:56:42 +00:00
Lupus
52f1008b73 2 fast bugfixes
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1127 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-17 19:19:04 +00:00
Lupus
6dcb5ae02b added +2 drops slots into MOBS DBs
brushed up srcs for 10 drops

fixed some mobs...

fixed TXT logs

fixed 1 guardian spawn

changed 2 SQL files.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1126 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-17 17:19:26 +00:00
Lupus
03b82d9adb fixed spawn of treasure boxes
fixed present_log
Mobs drops: expanded 8 slots into 10 (except READING info from TXT / SQL dbs. But added a plug - to make eA work with old DBs)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1115 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-15 19:30:58 +00:00
celest
09d17bfcd5 Fixed TXT logging
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@917 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-01-05 10:25:17 +00:00
codemaster
9220ebe438 * Fixed GM Command Logging (Not sure why TXT logging still isn't working properly :( ) [Codemaster] [SVN 907]
* Fixed one of Lupus' additions to the item_db [Codemaster] [SVN 907]

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@907 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-01-04 22:13:58 +00:00
Lupus
99638c9c8d Added LOGMES script command
implemented an example: kafra_bank.txt

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@759 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-23 20:20:06 +00:00
ajarn
d20ab98354 git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@637 54d463be-8e91-2dee-dedb-b68131a5f0ec 2004-12-19 09:35:11 +00:00
Lupus
fab8d70468 speedup of SQL logs
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@437 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-02 18:24:27 +00:00
amber
13484f75cb Compiler fixes and scripting timer event fixes
git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@228 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-11-17 04:48:11 +00:00
codemaster
9877ccb87a Added More Options To log configAdded GM Command Logs
Added TXT Logs + TXT Log Options

git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@197 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-11-15 22:50:27 +00:00
amber
d479e29aee Fixed some file types
git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@172 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-11-14 16:18:26 +00:00
(no author)
706e785091 git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@2 54d463be-8e91-2dee-dedb-b68131a5f0ec 2004-11-04 23:25:09 +00:00