6602 Commits

Author SHA1 Message Date
L0ne_W0lf
a9cc8dbed6 Updated some Airship/port npcs
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12182 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-07 06:29:22 +00:00
L0ne_W0lf
ed46c03bf6 Updated "Old Blue Box quest" and enabled it. This quest no longer gives unlimited Old Blue Boxes, and was apparently never meant to.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12181 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-07 06:07:36 +00:00
skotlex
96684da892 - Fixed Freezing Trap doing no damage (changed type from misc to weapon)
- Changed suiton's element to water (apparently fixes not being able to use water-based skills on it)
- Fixed Landmine doing no damage (decreased trigger range to 0 to match its splash range)
- Fixed the disguise commands using the wrong variable when attempting to disguise as an npc.
- Fixed a compilation warning on CELL_CHKNODAMAGE (which is a totally bad-ripoff of basilica cells anyway)
- Corrected and optimized npc_remove_map's npc array cleanup (@reloadscripts no longer report 'too many npcs per map and related dangling pointer crashes are fixed)
- Removed suspicious, yet totally unused npc_data variable 'n'
- HP loss item scripts can no longer kill you.
- Corrected the item-drop-rate check to avoid duplicate entries in @whodrops after a @reloadmobdb
- Cleaned up and optimized map_addnpc (there are never any gaps in the npc array so npc_num always points to the last valid entry)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12180 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-07 00:07:47 +00:00
zephyrus
5d74825b71 - Corrected a little bug in assassin job quest.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12179 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-06 22:31:45 +00:00
samuray22
71236c0508 * Corrected again the Cooking quest changed a close; to close2;
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12178 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-06 01:23:04 +00:00
samuray22
39d2d8fba7 * Corrected a bad duplicate name in Kafra Bank (Custom). (bugeport:921)
* Corrected a lot of ";;" Typo errors.
-Some of this are in the bugreport:919
* Corrected a Cutin Problem in Cooking Quest and a Delitem. (bugreport:911)
* Corrected some typo error with "rouge". (bugreport:909)
* Moved Custom Event folder to Custom Folder.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12177 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-05 17:54:03 +00:00
zephyrus
53ebef57e5 - Enabled ERS System in trunk (Let's make JetVictor dreams come true!)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12176 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-04 18:34:19 +00:00
zephyrus
c4fb4f4361 - Some code cleanups.
- Added new Cell types (NoChat and NoDamage)
- Added JobChangeLevel and FreeSKPoints to #stats
- Added a Crash protection in clif_send with invalid fd values.
- Merged a missing update in TK Mission.
- Added script command 'getmapflag'
- Merged some new Status Change to Stable.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12175 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-04 18:23:57 +00:00
ultramage
127d1feaab Fixed one IRC module crash when trying to send messages when disconnected.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12174 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-04 17:24:49 +00:00
skotlex
9b8b53b7cf - Fixed a 'typo' which made my last commit actually not fix anything (Plagiarize can no longer copy skill levels beyond their max skill_db value)
- Corrected Diablo's Robe equip-level and weapon-level columns being exchanged.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12172 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-04 10:18:56 +00:00
ultramage
2ef6778696 Fixes to Devotion (see topic:153345)
- removed totally fake Devotion packet from Marionette Control code (see r3934)
- fixed one devoted chars array management code bug which caused chars to be included in the array multiple times, producing various problems (also see r3934)
- the link will now re-display when coming into view range
- the link will no longer break if the devotee walks away, but instead, if he receives damage while being out of range of Devotion

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12171 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-03 23:26:00 +00:00
FlavioJS
0594a1a350 * Added an iterator to map.h/c.
Will be used instead of map_getallusers, which has problems with dangling pointers (returned array isn't updated).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12170 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-03 19:20:42 +00:00
ultramage
5ce5cdb524 Added a missing client update when the mute status is manually cancelled by a GM
(followup to r12079)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12169 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-03 17:30:53 +00:00
ultramage
8d811654b9 Fixed npc reloading crash (bugreport:889)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12166 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-02 08:16:53 +00:00
ultramage
ee0667c3eb Added a missing script On-events index refresh operation after a npc is unloaded using @unloadnpc (bugreport:9)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12160 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-01 08:05:54 +00:00
ultramage
fb85ff7006 Fixed sql charserver crashing when mapserver is disconnected and someone does a double login (bugreport:870)
- it was a typo in r11410

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12159 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-01 07:22:17 +00:00
zephyrus
fe6aa47cdb - Fixed typo and missing "'s in Megingard Seal Quest.
- This bug was halting the npc dialog with the "Librarian Jekan".

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12157 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-01 04:37:05 +00:00
L0ne_W0lf
3fd5ba0c7d Started fixing bugreport:899 and fixed bugreport:875
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12156 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-01 00:38:56 +00:00
L0ne_W0lf
1e2c57d2c3 Updated Lighthalzen Town NPCs and Speed Potion quest.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12155 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-01 00:07:20 +00:00
ultramage
8a926e83de Added back the GRF_PATH_FILENAME variable and commandline parameter.
Removed confusing /tool/mapcache/ configuration directory, changed code to use /conf for this purpose.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12154 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-30 16:25:47 +00:00
zephyrus
e3ee239077 - Fixed a serious zeny exploid on scripts. Please update!!
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12153 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-30 09:14:58 +00:00
skotlex
52b3140f90 - Plagiarize can no longer copy skill levels beyond their max skill_db value.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12151 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-29 19:26:18 +00:00
skotlex
220fb381a2 - Modified pc_dead so that the src is passed on to the master when it is a pet or homunculus.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12150 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-29 13:17:15 +00:00
skotlex
e727c51605 - Added some error reporting when a player is not found inside its guild/party while logging out.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12148 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-29 12:49:30 +00:00
skotlex
96dfe6b827 - Cleaned socket.c to use flag.server when detecting inter-server connections.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12147 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-29 11:04:21 +00:00
ultramage
6eec5a3eb7 Fixed a coding mistake I made in r12142.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12145 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-28 15:03:08 +00:00
zephyrus
abfede067c * Added new cash items hats:
- Yoyo Hat (Thailand RO).
- IDs 5372 to 5378 (Philippines RO).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12144 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-27 21:00:32 +00:00
FlavioJS
b605b6d722 * Small update to the dgbhelpplug plugin:
- fixed only half of wide character strings being printed
- fixed the memory validity check in Dhp__PrintDataValue being optimized out in release mode

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12143 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-27 00:34:24 +00:00
ultramage
b6520cbfd6 Added an out-of-bounds crashfix for map_delobject and map_delobjectnofree.
Added missing EOL to the 'hack on namerequest' console message.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12142 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-26 15:18:32 +00:00
ultramage
c53f4f1955 Some random cleaning
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12141 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-26 09:44:10 +00:00
toms
ac123d2304 Updated conversion tools for mob_db & item_db
Updated SQL Files (item & mobs)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12138 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-25 16:11:39 +00:00
FlavioJS
5d087e966f * Changed cast time of Napalm Vulcan from 1,7s to 1s.
Based on X.4 and 11.2 zones

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12137 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-25 15:38:57 +00:00
skotlex
cb9dc50f84 - Fixed pc_setrestartvalue not correctly setting your SP when sending to save to the char-server while dead.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12136 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-23 23:19:47 +00:00
zephyrus
f8732d9c1a - Typo.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12132 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-23 17:04:06 +00:00
skotlex
78e24d1e09 - Removed hom_setting&02 (ignore skill range) as this was fixed by Gravity some time ago.
- Moved pc_delinvincibletimer from unit_removemap to unit_free as the previous method has a logic glitch that could cause an on-place event to trigger after the on-left event. 


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12130 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-22 13:13:57 +00:00
ultramage
8591686b27 Fixed/cleaned r12114 and 12117.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12119 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-21 11:02:21 +00:00
ultramage
6c10763883 Fixed battle config loading not applying the side-effects of battle_adjust_conf() side-effect if an import: operation fails.
This is what caused the odd slowdown reported in bugreport:260.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12118 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-21 10:24:33 +00:00
zephyrus
4fcaa2f78f - Optimized some code about @size changes in chars.
- Fixed #jailtime (Bug Report 853) crash.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12117 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-21 07:41:52 +00:00
ultramage
4cd9a940e5 Corrected one setcastledata call that I missed in r11915
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12116 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-20 22:22:36 +00:00
skotlex
b4a3bad556 - Fixed a comparison whn doing item searches
- Fixed hom_setting&0x2 conflicting with the 'view-range' limit check.
- Stone curse now uses status_percent_damage instead of a precalculated value.
- Merged the SA_MONOCELL and SA_CLASSCHANGE code. After changing class all the status changes that cannot be triggered on bosses are dispelled. 
- SA_CLASSCHANGE now uses the bloody branch list to pick a target MVP class.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12098 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-20 14:32:10 +00:00
ultramage
cbd15650f1 Fixed yet another status code crash, this time when a stonecursed mob with high maxhp changes class to a Poring (see bugreport:621)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12097 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-20 12:36:28 +00:00
ultramage
25fbe01a75 Expanded a mapserver's debug message in its interserver parsing function.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12094 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-20 08:47:31 +00:00
samuray22
660bb1e515 * Fixed a bad countitem in cross band quest. (bugreport:840)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12093 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-19 18:02:30 +00:00
ultramage
69c404c184 Added back periodic user count updates that got replaced in r11703, but are neccessary as the current method doesn't work correctly (bugreport:688)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12090 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-19 10:57:29 +00:00
FlavioJS
19df0af514 * Added plugin dbghelpplug to generate more extensive crash reports in windows.
- see header of src/plugins/dbghelpplug.c to know it's capabilities
- VS8 project file supplied at vcproj-8/dbghelpplug.vcproj
- a dll compiled in release mode is supplied at plugins/dbghelpplug.dll

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12089 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-19 09:20:47 +00:00
zephyrus
1645dba970 - Fixed some viewids and added some new headgears.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12088 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-18 23:55:13 +00:00
ultramage
74a13cebfc deleted extra files (followup to r12086 ~.~)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12087 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-18 09:20:27 +00:00
ultramage
9d3728dae2 Fixed some svn history deletion in r12085, synced with /trunk
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12086 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-18 09:17:55 +00:00
skotlex
4550514f4d - Made battle_check_range fail whenever the distance between src/target is greater than the viewing range.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12084 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-17 09:46:31 +00:00
ultramage
9ead7d0a99 Icewalls can no longer be knocked back (see bugreport:38)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12083 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-17 07:38:11 +00:00