5991 Commits

Author SHA1 Message Date
skotlex
1a91ca358c - Changed Greed Scroll's type to 11 (all itemskill items should use this)
- Ignore %MDef bonuses now only reduce target's base MDEF, not MDEF2.
- Updated the 'skills that cause no damage are blocked now if the skill element is blocked by the target' to only apply if the skill has a status change associated (fixes Resurrection/Heal being blocked).
- Reverted the opt_flag2 change in status_change_start (clif_changeoption2) since it never served its purpose.
- Added a warning to prevent loading mobs with IDs that belong to the clone range.
- Changed MAX_MOB_DB to 3000, updated the definitions of the clone range defines so they are updated automatically with the change of MAX_MOB_DB.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11287 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-24 17:06:58 +00:00
Playtester
a2f5ddae41 * Fixed a bug in the sign quest
- needs further fixing, I'll leave that to SinSloth

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11286 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-24 16:16:34 +00:00
ultramage
2076c3d41e Removed unused mobdb2 entries (late followup to 10988 and 10946)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11285 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-24 11:25:50 +00:00
FlavioJS
909992ed5a * Limited manual detection of data truncation to string/enum/blob columns.
* Renamed conf-tmpl to conf.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11284 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-24 09:13:50 +00:00
Playtester
d28555c927 Fixed Lever Action Rifle thanks to Cort
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11283 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-24 09:08:37 +00:00
Playtester
e923865c34 Fixed some "official bugs"
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11282 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-23 20:17:38 +00:00
FlavioJS
c82d9b8aba * Added flag svn:executable to the configure script.
* Added code for MySQL versions (below 5.0) that don't have MYSQL_DATA_TRUNCATED.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11281 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-23 19:55:37 +00:00
Playtester
1be9bcdd0b Another fix on Doom Slayer
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11280 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-23 19:39:50 +00:00
FlavioJS
beda52e6b3 * map_addflooritem and struct item_drop_list using id's instead of struct map_session_data's (fixes bugreport:36).
* Fixed buildin_escape_sql not properly escaping in sql servers.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11279 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-23 03:14:57 +00:00
L0ne_W0lf
7fd5c0f918 2-2 job quest update. Although completable, further testing (and optimizing) required.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11278 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-23 00:36:51 +00:00
ultramage
37c339c94b Fixed a weird typo in the dye maker npc (from r11145).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11277 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-22 22:05:04 +00:00
L0ne_W0lf
cfbeb923af * Added more warps between Juno Satellite and Castle Interiors.
- Castle 1, 4 and 5 entrances are questionable, and will be updated as I get more information.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11276 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-22 20:45:53 +00:00
ultramage
8998f367c1 Fixed a severe bug in inventory saving code (caused by r11192).
The fix was to revert the changes; I totally misunderstood how it was supposed to work...

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11275 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-22 12:29:45 +00:00
Playtester
ba12271335 Updated sql files
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11273 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-22 11:50:28 +00:00
Playtester
7fca8d1162 * Even more item fixes
- updated mob_race2_db to official

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11272 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-22 11:45:20 +00:00
ultramage
961f23767d * Added 'safestrnlen' to prevent null pointer crashes
* Fixed global chat logging always crashing on a null pointer
* Applied changes to clif_parse_globalmessage() from my WiP code
- clearer processing of the individual packet components
- proper code ordering, some more integrity checks
- fixes to some poorly chosen ShowWarning() format strings
- global chat logging no longer logs the entire string (w/ player name)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11271 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-22 11:02:26 +00:00
Playtester
7d5d662928 Even more item fixes
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11270 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-22 10:36:53 +00:00
Playtester
0872562020 Updated more MVP stats to 11.2
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11269 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-22 09:22:38 +00:00
FlavioJS
b848357f20 * Added a sanity check for MAX_ZENY (doesn't compile if too big).
* Redid the buildin_query_sql function. (fixes bugreport:81).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11268 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-22 01:43:08 +00:00
Playtester
9855df1d1b Fixed Angelic and Survivor combo bonuses
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11266 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-21 23:17:46 +00:00
SinSloth
7341238141 * Fixed a small bug in Einbroch Pollution quest.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11265 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-21 23:15:24 +00:00
ultramage
5216ecf05e * Fixed a typo in the status-change saving code (wrong variable used)
* Fixed a case of bad sql code conversion breaking homun skill loading

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11264 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-21 21:19:59 +00:00
Playtester
5cd5f90647 Moved a misplaced item thanks to HiddenDragon
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11263 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-21 20:04:44 +00:00
Playtester
78b65131e2 Officialized all AddEff and ResEff chances
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11262 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-21 19:25:02 +00:00
Playtester
58bac6c40c * Fixed Mimic Card, Myst Case Card and Merchant Combo
- on Aegis drop rate doesn't depend on mob level
- also raised Anodyne drop of Galapago Cap

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11261 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-21 17:56:48 +00:00
Playtester
7eaf6d141b * Officialized many 10.4 card bonuses
- fixed Asura Strike autocast (sorry my mistake)
- removed NoRegen bonus, it's -100% Recovery on Aegis

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11260 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-21 17:43:41 +00:00
FlavioJS
cd8f2ef514 * itemdb.c/h using a static array of 32k struct item_data* entries (faster itemdb loockup and a first step to remove map_session_data->inventory_data).
* Fixed a typo in the configure script that replaced CFLAGS with CPPFLAGS when -Wno-pointer-sign is supported by the compiler. [FlavioJS]

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11259 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-21 16:42:42 +00:00
ultramage
569049e33d Fixed a typo from r11221 causing castle problems after they've been conquered.
Converted rest of variables used to temporary script vars.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11258 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-21 14:20:52 +00:00
ultramage
cd9fe3f409 some unimportant path.c / unit.c cleaning
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11257 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-21 13:42:13 +00:00
ultramage
3503fc5de1 * Corrected skill Charge Attack as described in bugreport:67
- cast time is between 100% and 300% (+ infinite waiting fixed)
- damage is also between 100% and 300% (doesn't increase past range 9)
- added knockback that's equal to the distance to target
- no longer causes teleportation on WoE grounds
- if target runs behind an obstacle, the skill will still teleport you, but will not perform the attack or do knockback
- this should be official behavior, so enjoy the weirdness!

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11256 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-21 13:26:36 +00:00
Playtester
f7025735b0 Fixed an item id thanks to Empty
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11255 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-21 11:10:00 +00:00
Lupus
8c6c3da73d removed double tabs
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11254 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-21 10:22:25 +00:00
FlavioJS
2365e833a4 * Makefile deleting .svn in save folder.
* Limited the number of packets parsed per cycle to 3. (packet spammers create less lag)
* Fixed sql login throwing an out-of-place debug message and escaping too much of the name string when creating a new login with _M/F.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11253 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-21 05:22:13 +00:00
FlavioJS
d2f97b7151 * Configure script detects 64bit distributions of MySQL.
* Generated the configure script with cygwin's autoconf.

You can re-generate the configure script by executing autoconf.
To compile everything just execute these two commands:
./configure
make

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11252 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-21 04:08:32 +00:00
ultramage
8d014dd02a Added back SQL charserver listening socket code that got removed in the /tmpsql merge.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11251 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-20 17:10:53 +00:00
ultramage
5b2f617821 Synced TXT/SQL login server new account creation code. Removed some totally useless code.
Removed '4'-letter min. password length restriction.
Removed some code that (poorly) tries to cope with a broken database.
Removed pointless '-3' and '-2' account states ('dynamic ban' mechanism), since `ipbanlist` does that already.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11250 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-20 17:06:32 +00:00
ultramage
dddcafda2a Synced some more :)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11249 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-20 15:53:28 +00:00
ultramage
834d702dd1 Partially applied r10021 changes to TXT login server (login_config data structure).
Synced TXT and SQL login server code. 

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11248 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-20 15:00:49 +00:00
ultramage
29df20b89f Re-added vs8 txt-converter-char.vcproj build instructions that I ignorantly removed in r11147.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11247 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-20 13:38:25 +00:00
FlavioJS
65642f6f1c * Merged the tmpsql branch:
- Abstraction for the sql code (sql.c/h).
- New configure script and makefiles.
- Restored txt zeny logging code. (r10814)
- Rewrote mapserver's sql code - itemdb, mobdb, mapreg, logs. (r10814)
- Fixed a precedence issue (&& and ) in char_sql/char.c. (r10833)
- Improved db reading code a bit for consistency. (r11077)
- Added separate atcommand for mail deletion. (r11077)
- Corrected a few messages that said "new" instead of "unread". (r11077)
- Broadcast (*) messages now use "*" as the target's name (not ""). (r11077)
- Moved StringBuf code from utils.c/h to strlib.c/h. (r11084 r11117)
- Some misc login server cleanups (reformatting etc). (r11136)
- Corrected/modified some header entries. (r11141 r11147 11148)
- Adjusted VS project files. (r11147)
- Adjusted the way the sql charserver does item saving. (r11192)
- Corrected usage of reserved keyword 'friend' in mmo.h. (r11192)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11245 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-20 11:09:36 +00:00
Playtester
4c01114652 * Slightly adjusted some drop rates
- updated sql files

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11242 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-19 13:27:14 +00:00
L0ne_W0lf
17a29ff253 * Added new maps to maps_athena.conf, and corresponding mapflags.
- Also added several missing maps, and cloned maps.
* Added new maps from today's kRO Sakray patch to the mapcache.
- Mapcache still uses OLD Morroc and Morroc Ruins map data. Sunken Morroc will have to wait.
- Added several 'cloned' maps to the mapcache and map_index.
* Updated castles database with data for the 5 new castles.
* Added warp between Juno and Juno's WoE Satellite.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11241 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-19 01:53:36 +00:00
L0ne_W0lf
dd575f5254 * Corrected viewid for Scarf. Thanks to $ephiroth.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11240 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-19 00:16:23 +00:00
SinSloth
a6c433d6f5 * Fixed two minor bugs in the Sign Quest and Thanatos Tower ascension.
- Players do not lose time anymore if they return the Sign around midnight.
- Thanatos Tower code game now resets properly when entering a wrong value in the box.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11238 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-18 15:44:42 +00:00
skotlex
d79464d6a8 - Several skills with a splash area (except ground based ones) will now hit Ice-walls when casted by mobs.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11237 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-17 22:30:41 +00:00
Playtester
b6e795d411 Some more drop rate updates
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11235 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-17 21:59:27 +00:00
skotlex
793b2aaafb - Finally got some time to clean up and fix monster_ai&0x40 (chase through warps). It works correctly now regardless of the number of players on the source/destination maps.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11233 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-17 20:15:36 +00:00
Playtester
67812f3335 Updated sql files
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11232 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-17 20:08:44 +00:00
Playtester
ed80d61452 Raised the drop rate for some of the new equips
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11231 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-17 20:03:29 +00:00
skotlex
8105f340a2 - Applied various crash-protections to script commands that deal with the equip-position array.
- Corrected and simplified the skill_magic_reflect function. Fixed damage reflection being based on the caster rather than the target.
- Potions are now usable inside Gospel by the casting Paladin (as per Aegis tests done by AuronX)
- The unequip script command now takes a position from 1 to 10 rather than 0 to 9 (to make it consistant with all the other equip position related script commands)
- Added the EQI_* constants to db/const.txt in a format usable by the equip-position related script commands.
- Updated some items to use the new EQI constants.
- Also updated doc/script_commands.txt to refer to the EQI list.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11230 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-17 19:13:58 +00:00