summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2012-06-12Fixed bugreport:5994 misuse of inline against msvc standards (and inline was ↵shennetsind3-14/+6
pointless there too. thought it'd be used elsewhere, not the case). Blame on r16273 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16274 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-12Added new bonus as per kenpachi's request: bonus2 bUseSPrateSkill,n,x; // ↵shennetsind6-64/+87
Reduced increases/reduced the SP consumption of skilln by x%. (supports skill names) e.g. bonus2 bUseSPrateSkill,"AL_BLESSING",50; -> increases AL_BLESSING sp usage by 50% (e.g. if its 50 it goes to 75) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16273 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-12Improved bonus-adding processes by no longer having to add it to the zero'd ↵shennetsind7-295/+224
memset bullshit, replaced it by moving the first set of bonus into its own struct and simply zeroing the struct prior to recalc. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16272 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-12added new networking subsystem (early stage - files are not compiled yet ↵blacksirius6-0/+1956
during normal build!) Note The files i added / modifications i did, are not affecting a normal build nothing gets changed yet! Linux 2.5+ only yet. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16271 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-11Fixed bugreport:5990 OSX compiling error / warningsblacksirius3-34/+16
Bug in Detail: - Misplaced LDFLAGS uage in some Makefile templates (by passing them to the compiler not to the linker.) - Wrong usage of volatile (a functions return value couldnt be declared to return volatile :D ) - Unsupported Inline ASM using lock xchg operation on llvm-gcc .. (apple loves this ..) Fixed by: - Removed unnecessary LDFLAGS - Removed unnecessary volatile declarator - Replaced InterlockedExchange and InterlockedExchange64 with gcc intrinsics. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16270 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-11Fixed bugreport:5989 map-server crashes. blacksirius2-2/+3
Bug in Detail: - Uninitialized Critical Section used in Condition Variables.. - Possible Stack Overflow in async allocator Thread when build as Release Fixed by: - Initialize Critical Section for Condition Var's waiter count lock properly - Increased Stack Size of Async. Allocator Thread to 1MB (previously 512KB) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16269 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-11Fixed bugreport:5963 AB_CHEAL should now work properly on immune ↵rud0lp203-15/+29
targets(Mado, berserk, shield of deaf). Fixed bugreport:5981 PA_SACRIFICE now won't be granted by bonus damage from cards(RENEWAL CHANGE). Fixed bugreport:5892 & bugreport:5900 SO_SPELLFIST is now working properly. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16268 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-10moved skill_nocast_db.txt to re / pre-re db path blacksirius2-6/+6
moved item_noequip.txt to re / pre-re db path NOTE: both files are now located in db/re/ (or db/pre-re/) folders depending on your build. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16265 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-10- added some missing copyrightsblacksirius12-3/+1333
- merged (bs-coreoptimize->trunk) generic athena style configuration parser (raconf) - merged (bs-coreoptimize->trunk) threadsafe memory pool (mempool) [i need it for the new 'socket' system] - set svn:eol-style property on newer files were it was missing git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16263 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-10added mutex && cond var abstraction ( for pthread / winapi )blacksirius4-1/+358
added type 'sysint' to cbasetypes, which's the width of the platform the release gets compiled for. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16256 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-08Follow up on r16240 update RK_CRUSHTRIKE formula and weapon break percentage.rud0lp206-69/+86
Fixed bugreport:5953 GC_CROSSRIPPERSLASHER range is now (8 + 1 * skill level) cells. Fixed bugreport:5943 SC_GROOMY is now really remove selected mounts. Updated Guillotine cross skills formula base on re-balancing formulas... git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16243 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-08` Fixed bugreport:5717 if character's last map is invalid, move to a major cityxantara1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16241 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-08` Added bugreport:5906 Trap Research's INT bonusxantara2-1/+3
` Fixed bugreport:5950 RK's Crush Strike to include weapon weight in attack formula git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16240 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-07Fixed bug to lion howling/sc_fear status, super mega ultra ubber plus thanks ↵shennetsind2-3/+1
to the awesome malufett git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16238 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-06- Follow-up to r16236, additional array increase to accommodate sprintf messagesepoque111-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16237 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-06- Fixed a crash issue where sprintf was attempting to write outside of the ↵epoque111-1/+1
bounds of an array git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16236 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-04Fixed bugreport:5919 RK_ENCHANTBLADE bonus damage at any level should now ↵rud0lp204-17/+23
work properly. Fixed bugreport:5914 SC_MANHOLE duration at level 2 is now 10 seconds. Fixed bugreport:5928 SR_CURSEDCIRCLE should now work properly(castable with other skills & should end after the execution of a skill) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16233 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-04Follow up r16231 now I *think* I fixed the indentation problem with my IDEshennetsind1-4/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16232 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-04Follow up r16228 fixed logical problem with previous implementation (the see ↵shennetsind1-2/+6
vals would break). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16231 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-04Follow up r16227 & bugreport:5932 fixed issues with my new-IDE tabbing, & ↵shennetsind2-8/+8
default configuration setting. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16230 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-04Follow up r16227 & bugreport:5929 fixed typo. super mega hug to malufett <3shennetsind1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16229 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-04Fixed bugreport:5913 recently-added state system no longer breaks on ↵shennetsind1-9/+5
stacking status changes. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16228 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-03Adding new config min_npc_vending_distance which simulates the official 'no ↵shennetsind5-2/+38
vending near npcs' feature. super mega credits to masao git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16227 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-03thread api: added support for platforms without TLS (Thread Local Storage) ↵blacksirius2-2/+43
support (usually older OSX llvm versions ..) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16226 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-03cmake: followup for commit r16221 (fixed cmake build / added missing files)blacksirius1-0/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16224 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-03feature merge bs-coreoptimize->trunk: Atomic Operations, Threading, Spinlock ↵blacksirius8-1/+830
implemnetation. [commit 1/2, windows will followup] - Added Abstractions for Atomic Operations (lock instructions.. windows guy's may now this as Interlocked* stuff ..) - Added Threading api abstraction for Pthread based OS's and Windows - Added Spinlock Implementation (uses CAS / if you need more informations - just read the source - its simple.) - Due to Interlocked(Compare)Exchange64 .. we now require at least i686 (Pentium Pro) for 32Bit Builds :) youll also may feel some performance improvements when using 32bit builsd due to "newer" minimal arch the compiler is now able to use CMOV's .... ================================================================ = Important Warning: ================================================================ Dont use threading at the moment athena is not threadsafe! you'll mess up everthing when accessing data from other threads .., no synchronization is provided. A way to process tasks asynchronously will come up after / with the new socket system. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16221 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-03cleaned up windows header usage (added one central file to use windows / ↵blacksirius10-15/+45
winapi specific stuff, to be able to set the appropriate flags before including it correctly) Note: this may screw up mingw or cygwin building, ill fix it later... git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16219 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-03fixed portability issue. (As long as we support other compilers than MSC/ICC ↵blacksirius1-1/+1
we have to check explicitly for compiler and not only on Platform ... ) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16218 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-03Fixed bugreport:5911 Reflect Damage should now cancel when shield/guard is ↵rud0lp202-6/+8
unequipped. Fixed bugreport:4828 LG_PINPOINTATTACK should now only work with spears. Fixed bugreport:5905 All heal support skill now can't work with Mado Gear. Fixed other non Mado related skill that it should not work when Mado is equipped. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16217 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-02feature merge bs-coreoptimize->trunk: added some compiler abstractionsblacksirius1-1/+9
- forceinline -> will force the compiler to always inline the given method - ra_algin(n) -> align to (n) .. (see: http://msdn.microsoft.com/en-us/library/83ythb65(v=vs.80).aspx for more informations). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16215 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-01Fixed bugreport:5891 pk_mode config may now be used at lv 2 once again.shennetsind1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16211 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-01Follow up r16209 moving on; yet another performance improvement. added 3 ↵shennetsind3-37/+87
other states for the system to speed up. modified the scs_flag to be accurate (with one conditional flag they could stack and give undesired results e.g. with cloacking) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16210 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-01performance improvement initial commit for status change state ↵shennetsind3-36/+88
functionality, this first commit covers status that makes you unable to move. -- this cache the status changes into states saving dozens of checks whenever a unit moves/per cell. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16209 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-01Fixed bugreport:4109 battle ground guardians will now follow nearby allies ↵shennetsind1-0/+28
when no foes are in range. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16208 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-01Follow up r16206 fixed support renewal-disabled buildsshennetsind1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16207 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-01Fixed bugreport:5889 GC_ROLLINGCUTTER range and behavior are now updated.rud0lp204-10/+16
Fixed part of bugreport:5880 -Fixed damage formula of NC_SELFDESTRUCTION. -Fixed damage formula of GC_CROSSRIPPERSLASHER. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16206 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-01Fixed bugreport:208 Warp Portal will cease to function after warping first ↵shennetsind1-7/+15
user if its target is the same point where it was casted. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16205 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-01removed the old obsolete Plugin system (commit 1/2)blacksirius18-3623/+1
- Removed @ Autoconf/make and CMake, VC Projects will be cleaned in a additional commit. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16203 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-01Fixed Leech End poison reportedly not meant to respect phen card.shennetsind1-19/+10
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16202 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-01Fixed bugreport:5793 Chrorus skills now count partners properly.shennetsind1-45/+51
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16201 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-01feature merge bs-coreoptimize->trunk: Build Output Cleanup, Makefile Common ↵blacksirius6-83/+78
Dependency Handling - "Optimized" the build Output using Makefiles - to Kernel style build output. - Changed dependency handling to common (core), by generating one lib file (ar) and link against that instead of assigning all deps individually in every subproject - Changed header dependency handling in Subproject makefiles - requiring all common/ headers. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16198 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-01- Replaced more -> rAthena (follow up to r15251).brianluau1-4/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16195 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-01- Follow up to r16164 and r16193: used SVN Copy/Move so SVN History is ↵brianluau1-1/+1
preserved. - Added svn:eol-style=native property for some recently added text files. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16194 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31Follow up r16187 adjusted packetver range for the rode bugfix, special ↵shennetsind1-1/+1
thanks to sizenine git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16191 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31a couple checks here and there to remove possible warnings.shennetsind1-5/+6
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16190 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31Fixed bug with banding, super mega ultra thanks to MarkZD for going after it.shennetsind1-7/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16188 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31Fixed bugreport:5812 november 2011 or earlier clients shall now display the ↵shennetsind1-0/+4
robes properly. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16187 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31Updated @changelook to support robe id added missing instruction for ↵shennetsind1-7/+7
already-supported id #6 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16186 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31Fixed bugreport:5828 Added missing min_group_id_to_connect functionality to ↵shennetsind2-2/+12
login server (presumably removed by accident in r15572). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16185 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31Fixed bugreport:5839 mapflag conflicts were displaying wrong messageshennetsind1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16184 54d463be-8e91-2dee-dedb-b68131a5f0ec