10737 Commits

Author SHA1 Message Date
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
024deea2ac vc9/vc10: added reference to winapi.h in projects.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16220 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-03 18:05:35 +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
euphyy
df30c977cd * Platinum Skills NPC now works for all Upper types (bugreport:5903) (custom\platinum_skills.txt)
* Revamped the official clothes dyer (merchants\clothes_dyer.txt)
* Optimized custom Berzebub Card quest (custom\quests\berzebub.txt)
* Warper bug on ma_fild02 fixed (bugreport:5908) (custom\warper.txt)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16216 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-03 03:36:02 +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
brianluau
a79dcd2000 - Added svn:eol-style=native property (follow up to r16213).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16214 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-02 17:05:41 +00:00
masao87
7cee7996e8 - Added Instructor Ur to Eden Quest Quests. bugreport:5742
- Added Mission Boards 86-90 and 91-99 to Eden Group. bugreport:5742
- Updated quest_db.txt to match the new Quests in the new Eden Group Quests.
* Special thanks to Chilly for providing the base of the scripts! <3
- Updated Rune Knight Job change Quest for the last time to finally work as official as possible.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16213 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-02 01:55:34 +00:00
blacksirius
a057154d7c VC9: removed old plugin-system references.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16212 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-02 01:05:31 +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
78c489830e VC10: removed plugin system references from projects :) (see commit r16203)
- VC9 is still missing / broken, ill do this today evening 

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16204 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-01 14:29:28 +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
c6c471119f Issue 5887: changed description of --disable-64bit switch.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16200 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-01 11:52: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
blacksirius
d81154b3ea feature merge bs-coreoptimize->trunk: Enable 64Bit build by default on adequate platforms.
Info:
No need for --enable-64bit anymore, 
you can force to build 32bit bin's on such platforms by adding a --disable-64bit (or --enable-64bit=no) .. 




git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16197 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-01 10:16:44 +00:00
blacksirius
82f5c8991a feature merge bs-coreoptimize->trunk: LTO support
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16196 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-01 10:09:16 +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
euphyy
66f7f11388 /custom/ folder overhaul:
==== Script Changes ====
* Warper replaced with Euphy's Warper v1.2
* Stylist replaced with a much more efficient script
* Healer replaced with more efficient script
* MVP Arena heavily condensed, and text edited
* Removed logout suggestion in Reset NPC (why was that there?)
* Quest Warper added to scripts_custom.conf [bug fix]

==== Reorganization ====
* All folders in root directory removed except "battleground", "events", "quests"
* All non-essential scripts in root directory moved to "etc" folder
* A few files renamed for easier identification
* scripts_custom.conf reordered for easier identification

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16193 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-01 02:36:44 +00:00
masao87
0c530aa2fe - Fixed parenthesis check in most 3rd job change quests. bugreport:5883
- Partially rewrote Rune Knight job change quest. bugreport:5881
- Follow up r16180 where i forgot to rename some Warper NPC from Mina to Warp Agent.
- Fixed some comodo quest typos. bugreport:5882

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16192 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31 22:13:00 +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
euphyy
93c0ebf9e0 Testing! ~ Euphy
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16189 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31 20:49:12 +00:00
shennetsind
6c0ce4927c Fixed bug with banding, super mega ultra thanks to MarkZD for going after it.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16188 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31 20:38:01 +00:00
shennetsind
86b0ee72ba Fixed bugreport:5812 november 2011 or earlier clients shall now display the robes properly.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16187 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31 19:09:02 +00:00
shennetsind
66e10ae1a7 Updated @changelook to support robe id added missing instruction for already-supported id #6
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16186 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31 19:00:20 +00:00
shennetsind
174068d04e Fixed bugreport:5828 Added missing min_group_id_to_connect functionality to login server (presumably removed by accident in r15572).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16185 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31 18:50:59 +00:00
shennetsind
ea0fba8394 Fixed bugreport:5839 mapflag conflicts were displaying wrong message
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16184 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31 18:42:26 +00:00
shennetsind
cde1d9c0a4 Fixed bugreport:5804 Instances no longer leave "broken" timers behind. Instances also will destroy themselves upon @reloadscript since they break at that.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16183 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31 17:46:20 +00:00
shennetsind
13067714a3 Fixed bugreport:5867 clones with cloaking skill are no longer "invincible"
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16182 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31 16:04:04 +00:00
shennetsind
166e32999d Fixed bugreport:5835 vendings are no longer broken when character moves map or is recalled by a gm.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16181 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31 15:27:13 +00:00
masao87
d588c58958 - Added new towns to the custom warper. bugreport:5878
- Fixed a bug in the monster_race.txt where you would get stuck in the dialog window. bugreport:5861
- Fixed a bug in 71-88 eden group mission npc's where you would get stuck in the dialog window. bugreport:5875

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16180 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31 12:29:32 +00:00
shennetsind
973c89b933 Fixed bugreport:5791 mob rebirth skill shall now function properly on newer clients
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16179 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31 07:51:16 +00:00
eathenabot
7d9600e96a * Merged changes up to eAthena 15114.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16178 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31 05:53:14 +00:00
eathenabot
9d4ba09780 * Merged changes up to eAthena 15113.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16177 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31 05:42:46 +00:00
eathenabot
42bade60a6 * Merged changes up to eAthena 15112.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16176 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31 05:36:21 +00:00
eathenabot
d3ba34e417 * Merged changes up to eAthena 15111.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16175 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31 05:28:43 +00:00
eathenabot
5332f09241 * Merged changes ONLY eAthena 15110.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16174 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31 05:12:24 +00:00
eathenabot
15d5073638 * Merged changes ONLY eAthena 15109 (partial).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16173 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31 05:11:03 +00:00
eathenabot
c83a410390 * Merged changes ONLY eAthena 15107.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16172 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31 05:06:05 +00:00
eathenabot
d254bb1fb9 * Merged changes up to eAthena 15105.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16171 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31 05:02:00 +00:00