summaryrefslogtreecommitdiff
path: root/src/common
AgeCommit message (Collapse)AuthorFilesLines
2006-04-22- Added SC_KEEPING/SC_BARRIER to calc_flag in status_change_endskotlex1-1/+2
- Added Option constants for Carts, fixed OPTION_FLYING (it conflicts with OPTION_XMAS?) - Updated clif.c to check for OPTION_WEDDING|OPTION_XMAS instead of view class to block attacks and skill usage. - Removed struct pc_base_job and functions pc_calc_base_job/pc_calc_base_job2 which are no longer used anywhere (were long ago deprecated infavor of the new jobid system) - Cleaned up change-cart code. - Modified SC_XMAS to not change your view anymore and only set the proper option value (OPTION_XMAS) - Cleaned up the code regarding char_gm reading. - Changed the option field to unsigned short to make room for the higher values. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6229 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-18- Changed the memory manager fatal errors when allocating memory to print ↵skotlex1-2/+2
out the size request as well as the file and line where they originated. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6165 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-16- Removed water_height.txt reading (since it is always done from the rsw now)skotlex1-1/+4
- Fixed a possible crash in grfio_find_file - Corrected water-level-reading to account for a return of null from the previously mentioned function git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6117 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-16* Temperory fixed compiler warnings/errors. Please compile before commiting. ↵Lance2-0/+5
[Lance] git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6098 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-02- grfio.c fixed compile warningLance1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5867 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-02* Loading waterheight aliases from resnametable.txt.Lance2-2/+23
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5858 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-01Asssuming only __WIN32 (VC++) doesn't have strtok_r.Lance2-5/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5839 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-30git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5812 ↵Lance2-29/+17
54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-30git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5811 ↵Lance2-0/+38
54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-27- Fixed the infinite warp looping between Lutie and Lutie field 01skotlex2-124/+0
- Removed the limits.h file which just breaks compilation on *nix systems T.T git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5777 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-27* Cygwin flag added for naughty Cygwin GCCLance1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5771 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-27* GCC on Cygwin still complaining, resorted to including limits.h in malloc.hLance1-0/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5770 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-27* Refixed the fix with a constant list for Win32 users - limits.h (imported ↵Lance1-0/+122
from MSVC) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5769 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-27- Changed status_point/skill_point to unsigned short. Adjusted the code as ↵skotlex1-1/+1
necessary to prevent overflows. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5762 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-26- Fixed jstrescapecpy crashing when you pass a null string to parse.skotlex1-0/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5753 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-24- Some cleaning around the return to egg code. Pets should stop duplicating now.skotlex1-3/+3
- Some cleaning of the egg hatching routine to prevent spawning the pet if the egg can't be found in the inventory. - Removed some autoadded data/ strings in grfio.c module to see if it helps with the data_dir configuration. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5736 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-22- Merged the unit_data structure from jA for handling unit-related data ↵skotlex1-0/+1
(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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5707 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-18* Fixed warnings on compilers again.Lance2-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5654 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-10- Increased the range for unlocking out of Close confine.skotlex1-6/+2
- Reverted some changes in cbasetypes.h which actually broke compilation. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5566 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-10- Added a few dummy times in skill_cast_db for some GS skills.skotlex1-2/+6
- Autoskills now won't trigger on maps where said skill are not allowed. - Some compilation warning fixes git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5565 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-09- Moved a bunch of sc_effects that should be cancelled on hit from ↵skotlex1-1/+1
mob_damage/pc_damage to battle_damage. - Changed ITEM_NAME_LENGTH to 50. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5533 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-02- Fame list size is now defined by MAX_FAME_LIST constant (mmo.h)skotlex1-0/+2
- Char server can now specify the max size for blacksmith/alchemist/taekwon rankers. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5435 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-02- Applied Snufkin's patch to fix compilation on FreeBSD.skotlex3-2/+8
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5428 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-24- Fixed the CL_WHITE define, thanks to FlavioJSskotlex1-1/+1
- NPC break equipment stuff now has a 1.5% per skilllv success rate. - pc_setpos won't random warp players if placed on top of Moonlight Petals - Removed the check in clif.c for npc_shopid as the client never sends a packet when the trade is cancelled... git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5384 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-20- Added back the char-sql server sending the GM list when the map server ↵skotlex1-1/+1
connects. - Fixed a bug in the add_timer_interval error reporting. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5351 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-20- Fixed Taekwon stances not triggering.skotlex1-1/+8
- Added atcommand @exp - Added error reporting when add_timer_interval receives a negative/0 interval value. - Fixed a possible infinite recursion bug with splash self skills. - Modified the way firewall_hits_on_undead works, to loop and invoke multiple skill_attacks based on the value. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5338 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-17- Applied the suggested fixes by Joshuaali to fix the compiling of the sql ↵skotlex1-1/+3
map server on Win32 systems. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5308 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-10 * Removed the conf sql code for now. Maybe will continue later with that ↵Valaris1-0/+1
project. Lowered the irc keepalive timer, and added some checks for use_irc that should have been there. Added a return line \n to the beginning of the title screen. [Valaris] git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5241 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-06- Added define clif_deadsit to send the dead state into player packets if ↵skotlex2-9/+2
the player is in trick dead state. - Venom Splasher always hits (but splash damage targets can still avoid it) - Using autoloot with no arguments now toggles it between @autoloot 0 and @autoloot 100% - Falcon Assault now takes Blitz Beat lv5 as base damage. - Fixed pc_makesavestatus not updating status.option correctly. - Corrected Waterball so that higher levels can do insane amount of hits. - Altered slave behaviour. No more random walking, will stay within 2 cells of their master. - Reverted the Summon Slave behaviour to not adjust level based on number of current slaves. - Coma no longer sends SP to 1. - Updated Meteor so that when level 11 or more is casted, the area over which meteors fall is tripled. - Dark elemental characters are now inmune to Curse. - Fixed sc_data saving to sql buffer building method. Thanks to its_sparky. - Changed the map zone reading from using pow to a bit shift. - Experience has now been changed to unsigned int, and is read as such from the dbs. - Increased HT_DETECTING seek range to 7x7 - Added function map_foreachinrange which actually checks distance of nearing objects (unlike for each in area which uses a square area), may come handy for future code. - Corrected Venom Splasher: Being hit does not cancels it, works at 75% or less of target's HP, being hit normally while under the count has a chance of causing poison. Damage is +400% + 50*lv% git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5204 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-01- Trick Dead makes you stop walking now.skotlex1-1/+2
- Falcon Assault only does 1 hit now. - Soul Burn is not affected by Lex Aeterna, not affected by target's cards. - Freeze and Stone take preference over Benedictio - Opt1 inducing SCs fail if the target has already another Opt1 - Fixed areamonster when the passed class is negative - Removed the clear screen when launching the server. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5156 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-01* Fixed an overflow in grfiocelest2-223/+83
* Changed resnametable loading behaviour * Increased grfio filelist limit to 1048576 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5152 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-29Updated Common Makefiles to point at the new Changelogs, thanks to ↵Valaris1-1/+1
SantaPoring for pointing that out. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5096 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-29AS OF SVN REV. 5901, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES ↵Valaris35-0/+11233
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5094 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-29Clearing trunk.Valaris28-5735/+0
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5091 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-07G++ is now the default on trunk [MouseJstr]amber2-25/+27
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@1443 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-07some small USE_MEMMGR changescelest2-20/+14
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1428 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-05* Added SERVER_TYPE to core for future plugins supportcelest5-59/+104
* Added support for the UPNP plugin to release port mappings and re-close firewall ports on shutdown * Updated showmsg git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1409 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-04Fixes for logging trades [MouseJstr]amber1-0/+14
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1407 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-04* Updated showmsg with Shinomori's improvementscelest1-13/+15
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1404 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-04pull out upnp as defaultamber1-11/+12
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1402 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-04Fix show messageamber2-5/+63
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1401 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-04update build failureamber1-0/+0
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1400 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-04some aesthetics changes ^^celest2-17/+17
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1399 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-04* Added dll.hcelest3-23/+30
* Update base code for the UPNP plugin loading git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1398 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-04git-svn-id: ↵celest1-18/+61
https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1397 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-01* Updated ShowMessage functions to use vprintfcelest2-31/+93
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1372 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-31common/lock.c: Fixed an error dealing with unistd.h not being Windows' standard.codemaster1-0/+6
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1361 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-31* Added back up old files in 'save' before saving new datacelest1-13/+19
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1353 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-31Finished native SQL projects [MouseJstr]amber1-1/+0
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1351 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-30Made the map-server build cleanly using Microsoft Visual Studio [MouseJstr]amber2-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1345 54d463be-8e91-2dee-dedb-b68131a5f0ec