8088 Commits

Author SHA1 Message Date
rud0lp20
f34e86ebf5 Fixed bugreport:5988 AB_LAUDAAGNUS and AB_LAUDARAMUS now can only give status bonus to non infected targets/party members.
Fixed bugreport:5725 'bautospellonskill' should now work properly.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16286 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-13 15:12:47 +00:00
shennetsind
bcb7054ee7 Follow up r16280 added renewal checks for the added fireball formula and fixed napalm stacking with the new formula
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16283 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-12 23:06:10 +00:00
ignizh
2756f408ed Fixed Fire Ball renewal damage (bugreport:5991)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16280 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-12 22:08:36 +00:00
brianluau
6261742ed4 * Merged /branches/renewal/ r14635 Item Stacking System to /trunk (follow up to r15060) pid:106973
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16279 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-12 16:22:33 +00:00
brianluau
638642450a - Added svn:eol-style=native property on some recently added text files.
- Fixed a typo in script_commands.txt (bugreport:5998)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16278 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-12 15:33:46 +00:00
shennetsind
4f1f7b9d38 Fixed bugreport:5994 misuse of inline against msvc standards (and inline was pointless there too. thought it'd be used elsewhere, not the case).
Blame on r16273

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16274 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-12 03:59:24 +00:00
shennetsind
4ca3aa34ed Added new bonus as per kenpachi's request: bonus2 bUseSPrateSkill,n,x; // 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://svn.code.sf.net/p/rathena/svn/trunk@16273 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-12 02:09:55 +00:00
shennetsind
e2fd3350e5 Improved bonus-adding processes by no longer having to add it to the zero'd 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://svn.code.sf.net/p/rathena/svn/trunk@16272 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-12 01:08:05 +00:00
blacksirius
7332a89352 added new networking subsystem (early stage - files are not compiled yet 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://svn.code.sf.net/p/rathena/svn/trunk@16271 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-12 00:59:55 +00:00
blacksirius
b3b21e6e8c Fixed bugreport:5990 OSX compiling error / warnings
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://svn.code.sf.net/p/rathena/svn/trunk@16270 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-11 23:31:19 +00:00
blacksirius
04bc22ca40 Fixed bugreport:5989 map-server crashes.
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://svn.code.sf.net/p/rathena/svn/trunk@16269 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-11 21:51:09 +00:00
rud0lp20
f6f8f640c5 Fixed bugreport:5963 AB_CHEAL should now work properly on immune 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://svn.code.sf.net/p/rathena/svn/trunk@16268 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-11 21:00:12 +00:00
blacksirius
d436ed710f moved skill_nocast_db.txt to re / pre-re db path
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://svn.code.sf.net/p/rathena/svn/trunk@16265 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-10 16:28:48 +00:00
blacksirius
3471d3f35e - added some missing copyrights
- 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://svn.code.sf.net/p/rathena/svn/trunk@16263 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-10 16:04:24 +00:00
blacksirius
12b9fdab9c added mutex && cond var abstraction ( for pthread / winapi )
added type 'sysint' to cbasetypes, which's the width of the platform the release gets compiled for.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16256 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-10 02:27:07 +00:00
rud0lp20
9c2c02007f Follow up on r16240 update RK_CRUSHTRIKE formula and weapon break percentage.
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://svn.code.sf.net/p/rathena/svn/trunk@16243 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-08 12:28:14 +00:00
xantara
4f5549d696 ` Fixed bugreport:5717 if character's last map is invalid, move to a major city
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16241 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-08 07:27:13 +00:00
xantara
10fdb0c1f4 ` Added bugreport:5906 Trap Research's INT bonus
` Fixed bugreport:5950 RK's Crush Strike to include weapon weight in attack formula

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16240 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-08 07:26:33 +00:00
shennetsind
cd7a64622a Fixed bug to lion howling/sc_fear status, super mega ultra ubber plus thanks to the awesome malufett
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16238 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-07 17:02:05 +00:00
epoque11
2c8e9238ac - Follow-up to r16236, additional array increase to accommodate sprintf messages
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16237 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-06 18:23:17 +00:00
epoque11
f48046eca1 - Fixed a crash issue where sprintf was attempting to write outside of the bounds of an array
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16236 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-06 18:14:05 +00:00
rud0lp20
1227572f0e Fixed bugreport:5919 RK_ENCHANTBLADE bonus damage at any level should now 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://svn.code.sf.net/p/rathena/svn/trunk@16233 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-04 17:11:22 +00:00
shennetsind
59d9e55fbc Follow up r16231 now I *think* I fixed the indentation problem with my IDE
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16232 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-04 16:24:37 +00:00
shennetsind
2ee49a207a Follow up r16228 fixed logical problem with previous implementation (the see vals would break).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16231 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-04 16:17:38 +00:00
shennetsind
241886f562 Follow up r16227 & bugreport:5932 fixed issues with my new-IDE tabbing, & default configuration setting.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16230 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-04 16:11:03 +00:00
shennetsind
2d949e2a6d Follow up r16227 & bugreport:5929 fixed typo. super mega hug to malufett <3
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16229 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-04 16:07:19 +00:00
shennetsind
6e48e4e5d9 Fixed bugreport:5913 recently-added state system no longer breaks on stacking status changes.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16228 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-04 16:05:28 +00:00
shennetsind
049b2552cd Adding new config min_npc_vending_distance which simulates the official 'no vending near npcs' feature. super mega credits to masao
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16227 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-03 22:41:52 +00:00
blacksirius
b3481a4aaf thread api: added support for platforms without TLS (Thread Local Storage) support (usually older OSX llvm versions ..)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16226 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-03 20:09:39 +00:00
blacksirius
332c603e47 cmake: followup for commit r16221 (fixed cmake build / added missing files)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16224 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-03 19:33:00 +00:00
blacksirius
04165cfcff feature merge bs-coreoptimize->trunk: Atomic Operations, Threading, Spinlock 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://svn.code.sf.net/p/rathena/svn/trunk@16221 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-03 18:53:02 +00:00
blacksirius
bde86942c0 cleaned up windows header usage (added one central file to use windows / 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://svn.code.sf.net/p/rathena/svn/trunk@16219 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-03 17:55:38 +00:00
blacksirius
1b2e097aca fixed portability issue. (As long as we support other compilers than MSC/ICC we have to check explicitly for compiler and not only on Platform ... )
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16218 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-03 16:07:26 +00:00
rud0lp20
80d35e7ab0 Fixed bugreport:5911 Reflect Damage should now cancel when shield/guard is 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://svn.code.sf.net/p/rathena/svn/trunk@16217 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-03 14:54:06 +00:00
blacksirius
f223818f59 feature merge bs-coreoptimize->trunk: added some compiler abstractions
- 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://svn.code.sf.net/p/rathena/svn/trunk@16215 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-02 17:24:47 +00:00
shennetsind
38955f287c Fixed bugreport:5891 pk_mode config may now be used at lv 2 once again.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16211 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-01 23:02:56 +00:00
shennetsind
6659d515a7 Follow up r16209 moving on; yet another performance improvement. added 3 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://svn.code.sf.net/p/rathena/svn/trunk@16210 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-01 23:01:40 +00:00
shennetsind
c897ecdc25 performance improvement initial commit for status change state 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://svn.code.sf.net/p/rathena/svn/trunk@16209 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-01 18:42:35 +00:00
shennetsind
6f784872ba Fixed bugreport:4109 battle ground guardians will now follow nearby allies when no foes are in range.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16208 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-01 16:45:45 +00:00
shennetsind
886ca9c647 Follow up r16206 fixed support renewal-disabled builds
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16207 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-01 16:05:19 +00:00
rud0lp20
95795cf08a Fixed bugreport:5889 GC_ROLLINGCUTTER range and behavior are now updated.
Fixed part of bugreport:5880
 -Fixed damage formula of NC_SELFDESTRUCTION.
 -Fixed damage formula of GC_CROSSRIPPERSLASHER.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16206 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-01 14:52:13 +00:00
shennetsind
d1867f8195 Fixed bugreport:208 Warp Portal will cease to function after warping first user if its target is the same point where it was casted.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16205 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-01 14:36:22 +00:00
blacksirius
b1881eafee removed the old obsolete Plugin system (commit 1/2)
- Removed @ Autoconf/make and CMake, VC Projects will be cleaned in a additional commit.



git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16203 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-01 14:21:02 +00:00
shennetsind
442132fefe Fixed Leech End poison reportedly not meant to respect phen card.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16202 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-01 13:12:42 +00:00
shennetsind
c386fd80f3 Fixed bugreport:5793 Chrorus skills now count partners properly.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16201 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-01 12:45:05 +00:00
blacksirius
d1746e052d feature merge bs-coreoptimize->trunk: Build Output Cleanup, Makefile Common 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://svn.code.sf.net/p/rathena/svn/trunk@16198 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-01 10:46:02 +00:00
brianluau
29749ceaa8 - Replaced more -> rAthena (follow up to r15251).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16195 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-01 04:06:10 +00:00
brianluau
d960aa3bee - Follow up to r16164 and r16193: used SVN Copy/Move so SVN History is preserved.
- Added svn:eol-style=native property for some recently added text files.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16194 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-01 03:40:58 +00:00
shennetsind
60d39385a7 Follow up r16187 adjusted packetver range for the rode bugfix, special thanks to sizenine
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16191 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31 22:07:36 +00:00
shennetsind
aef07ec007 a couple checks here and there to remove possible warnings.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16190 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31 21:26:10 +00:00