2617 Commits

Author SHA1 Message Date
ultramage
0a47c29967 Fixed @noks leaking internal buffer contents (bugreport:1528).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13057 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-09 15:11:12 +00:00
ultramage
659d7539ed Now Novices without lvl5 basic skill can be partied (bugreport:1131).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13056 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-09 15:02:24 +00:00
ultramage
104f28b34b Fixed login printing raw passwdenc passwords to console (bugreport:826).
Added strlib function bin2hex().
Cleaned up the md5calc interface a bit.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13055 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-09 13:05:54 +00:00
sketchyphoenix
f32ca3d261 * Added another GM trust config for party invitations (bugreport:2004)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13051 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-07 21:07:31 +00:00
ultramage
5ce6f6c51a Added configs for quest table name adjustment (bugreport:1778)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13041 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-04 03:19:00 +00:00
ultramage
33378b7039 Player shops will not close on death anymore (bugreport:1955).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13036 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-02 14:27:43 +00:00
ultramage
dac1c2d2df Removed unused guardian hp columns from the guild castles table in main.sql (should have been done in r11915).
Corrected incorrect use of the datetime column in the `login` table (bugreport:1962). Refreshed txt account savefile.
Cleaned up some random minor source code glitches.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13030 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-01 07:05:16 +00:00
shadow
414c0f41e2 Quagmire now will affect boss monsters, but more info is required to code the debuff exceptions properly.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13028 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-31 22:49:09 +00:00
akrus
4232eaf3d5 * Fixed: added 'E'-type zenylogs in sql table (bugreport:1957) [akrus]
- added sql file upgrade_svn13025_log.sql


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13025 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-31 07:19:38 +00:00
akrus
24aa1138f5 * Improved: added --enable-debug=gdb option in configure script to use gdb optimized debug mode [akrus]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13024 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-31 07:03:12 +00:00
ultramage
115c5b6896 Removed the mob controller system, now a customization (see topic:194375).
The system consists of
 * script command to spawn a controlled mob
 * script commands to attach npcs to such mobs and manipulate their AI
 * a page of documentation for these commands
 * callbacks at various source code locations that invoke the attached npcs
 * two npc examples

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13021 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-31 05:37:40 +00:00
akrus
0f18041ac7 * Fixed: commented out loginlog in convert engine sql tables (loginlog table is in logs database now) [akrus]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13019 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-31 02:13:20 +00:00
ultramage
9fd3dfd23b Fixed TXT storage code handling storage incorrectly (bugreport:1928)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13016 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-30 04:37:21 +00:00
ultramage
eef8f96e51 AccountDB_TXT will now correctly read inconsistent EOLs (bugreport:1934)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13015 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-30 03:19:35 +00:00
ultramage
54dc1c0f1a Removed the IRC bot system, now a customization (see topic:194306)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13014 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-30 02:24:04 +00:00
ultramage
582c36c11e Renamed struct 'skill' to 's_skill' to remove naming collisions.
Added defines for mercenary skill ranges.
Added a mapping of mercenary skills to the skill db (700-799 atm).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13012 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-29 08:19:07 +00:00
ultramage
6fd34c5052 Fixed Sql object not initializing default values properly.
Fixed Sql_Free producing timer deallocation errors when called without first establishing a database connection.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13011 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-29 07:59:27 +00:00
ultramage
f03a7e2413 Corrected upgrade_svn12975_view.sql not assigning default values to the two dummy columns (bugreport:1940).
Please drop the view and re-run the script.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13010 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-29 03:06:58 +00:00
ultramage
76f831a5ff Fixed md5 passwords not working
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13007 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-27 15:00:44 +00:00
ultramage
8fed0c403c * Removed some leftover code that shouldn't have been merged
* Possibly corrected a guild saving problem (bugreport:1908)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13003 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-27 07:07:20 +00:00
FlavioJS
a389d52d34 * Fixed a memory leak in mmo_auth_tosql (extra sql statement being allocated).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13002 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-27 06:49:30 +00:00
FlavioJS
501b089d73 * Added missing option 'log_db_db' to loginlog_config_read(loginlog_sql.c).
* Fixed a memory leak in account_db_sql_destroy.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13001 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-27 06:32:02 +00:00
ultramage
106b44c1e7 Merged the /loginmerge branch (topic:192754)
* the login server storage, ipban and logging systems have been abstracted and now provide a common interface; the rest has been merged into a single login server core (no more login/login_sql duplicity)
 * storage systems are now added via compiler options (WITH_SQL / WITH_TXT)
 * multiple storage engines can be compiled in at the same time, and the config option account.engine defines which one will be used.
 * due to MySQL autoincrement limitations, accounts with id '0' will not be supported; account IDs from this point on should start from '1'.
 * login_log() functions now again record IP addresses in dotted format, not as 4-byte integers (undo from r6868).
 * removed config options that defined column names in the login table
 * removed `memo` and `error message` columns from login db/savefile
 * moved `loginlog` table to the logs database
 * added sql files upgrade_svn12975.sql and upgrade_svn12975_log.sql
 * due to changes to the login table layout, I added an !optional! sql file (upgrade_svn12975_view.sql) that will provide a certain degree of backwards compatibility with existing software; read the instructions inside carefully!
 * moved third-party includes/libs to a separate directory
 * updated project files / makefiles

Changed the way GM levels are handled
 * removed conf/gm_account.txt
 * added the gm level column to the txt savefile (after 'email' column)
 * gm level information is now transferred along with account data
 
For open problems see bugreport:1889.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13000 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-26 20:45:57 +00:00
FlavioJS
99a1aaa9e1 * Simplified the search in pop_timer_heap and added more debug info to help determine the source condition of timer errors. (bugreport:1860)
* Fixed crash in skill_castend_id. (bugreport:1860)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12968 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-20 01:16:59 +00:00
sketchyphoenix
37683bf468 Corrected #storagelist target typo (bugreport:1873)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12967 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-20 00:31:26 +00:00
FlavioJS
3f7b407d6d * Added a check to make sure only released timers are acquired from the free list.
* Changed TIMER_MAX_INTERVAL to 1 second (was set to 1 minute by mistake).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12963 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-16 10:34:16 +00:00
shadow
dde58291e4 Fixed TK_JUMPKICK, should not jump over objects and cliffs.
- This also might fix them being able to jump barricades on WoESE.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12962 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-16 00:07:16 +00:00
Paradox924X
0d0f4588ea Updated WoE Time Explanation for Sunday.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12958 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-15 02:28:03 +00:00
ultramage
1d9c99dc72 Corrected wrong data loading order in txt storage code causing crashes at startup (followup to r12950).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12957 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-15 01:50:06 +00:00
FlavioJS
47ee54852d * Fixed pop_timer_heap using max heap comparisons instead of min heap comparisons and protected timer functions against improper use. (should fix bugreport:1833 bugreport:1841)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12956 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-15 01:41:49 +00:00
sketchyphoenix
a1ce35b2c6 Fixed my typo in the Changelog-Trunk.txt (r12959 does not exist yet. Should have been r12952)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12955 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-14 06:33:26 +00:00
sketchyphoenix
da66cd1d32 * Corrected compiler warning and error made from r12959 and r12953, respectively. [SketchyPhoenix]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12954 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-14 06:29:35 +00:00
shadow
f17b22e948 Made homunculi have doubled regen rates (they regen twice as fast) defined on battle configs.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12953 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-14 04:47:29 +00:00
Lupus
af4359b20f added missing pick_log
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12952 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-13 23:34:43 +00:00
ultramage
4546c7fc0a Modified storage data loading
* storage is now loaded/saved along with character status
 * as a consequence, a lot of storage handling code was removed
 * there is no more locking done within storage data
 * mapservers no longer cache the data (solves muiltimapserver exploit)
 * loading storage on char select may decrease charserver performance

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12950 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-13 16:14:32 +00:00
shadow
6eda4e104a Fixed a bad check on NPC_EVILLAND, actually healing players instead of doing damage.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12938 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-12 00:31:51 +00:00
FlavioJS
9df0adf347 * Users can't click floating npcs directly. (quick fix for bugreport:1814)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12930 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-10 00:37:07 +00:00
shadow
b851a4ee69 Fixed SG_FUSION hp penalty (0.5% to 2%), bugreport:1805
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12929 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-09 13:14:00 +00:00
FlavioJS
cdda61ce1b * Added const to the return value of get_timer.
* Added a maximum timer interval. Avoids server shutdowns being delayed for ~10 seconds under some circumstances on windows.
* Replaced the fake timer heap (ordered array) with a binary min heap.

(actually, this is just a merge and has been in use for months)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12926 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-09 01:25:19 +00:00
ultramage
d40b9b93d4 First attempt at implementing the official walk speed system
* separated speed modifiers into bonuses, penalties and other statuses
 * no bonuses stack, instead the maximum is taken
 * no penalties stack, instead the maximum is taken
 * Union, Riding and Pushcart are the only other statuses that stack
 * both bonuses and penalties are linear modifiers of the base walk speed
 * 'other' statuses are applied after bonuses and penalties

Changed many equations to match official walk speed system
 * Steel Body now sets a fixed walk speed of 200 (bypassing everything else)
 * Defender now caps the walk speed to a minimum of 200
 * Slow Grace now uses official equation for aspd/walk speed decrease
 * Pushcart's speed penalty is now halved
 * Free Cast now changes walk speed to a fixed value, bypassing bonuses and penalties
 * Wedding clothes now have a penalty of +100%, not +200%
 * rogue's Tunnel Drive and stalker's Chasewalk ignore all penalties
 * taekwon's Running is now 5% faster
 * Frenzy is now 5% faster
 * Gospel's offensive slowdown is now +75% instead of +33%
 * Quagmire now slows down by +50% instead of +100%
 * Gatling Fever now slows down by +100% instead of +33%
 * Cloaking modifier is now a bonus/penalty, depending on presence of wall
 * Longing for Freedom overrides the song/dance penalty (bugreport:416)
 * Bard/Dancer Spriit now properly affects song/dance penalty (bugreport:1019)
 * item-granted speedup no longer stacks with speed bonuses (topic:145019)
 * removed some status code that pre-calculated speed bonuses/penalties, to make calculations more localized and less messy (see song/dance code)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12923 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-07 11:40:57 +00:00
akrus
a4c55c070a Fixed a typo :o
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12921 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-07 07:25:09 +00:00
sketchyphoenix
c63756b74b * Players autotrading will not be able to recieve whispers (bugreport:1804)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12920 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-07 06:18:16 +00:00
ultramage
35c93c2cab Removed stop/slowdown effect from Grimtooth (bugreport:1806)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12917 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-07 04:50:58 +00:00
ultramage
0c9d9f5a48 * Slight cleanup of item-based walk speed bonuses
- removed bSpeed bonus code (was just disabled until now)
- changed speed_rate to use base value 0% instead of 100%

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12915 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-06 03:46:00 +00:00
sketchyphoenix
263261d9f6 * Moved the mob killmonster flag to a more appropriate area. (bugreport:1795)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12914 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-05 07:54:53 +00:00
shadow
4e1d094db0 Fixed AM_PHARMACY produce chances based on info gathered by flaviojs, aegis zone ep 11.2, of 20070629
Added missing version on my last commit on dancer.txt script (added by akrus on stable branch already)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12913 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-05 00:21:16 +00:00
L0ne_W0lf
cce663f625 * Homunculus will no longer auto-vaporize on master death.
- Added config option to allow for this to be turned on or off.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12912 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-04 20:44:33 +00:00
Lupus
ae9e0179f6 added missing 'e' logs
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12910 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-04 03:54:35 +00:00
ultramage
8d6505fdee Adjusted Free Cast code so that its walk penalty gets calculated in status_calc_speed and nowhere else.
Removed aspd penalty from Free Cast since tests show it's not there, even though RO sites claim it is.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12904 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-03 03:24:58 +00:00
shadow
901d311735 Fixes regarding bugreport:1727 (undead element/race skill behaviors) follow up on revisions r12820 r12821 and r12822
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12903 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-03 02:18:44 +00:00