6732 Commits

Author SHA1 Message Date
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
ultramage
f855102c48 * Manner system fixing
- better-than-aegis 'red bubble' packet updates; now it shows correctly
- added support for /rc, which is basically mute for 60 minutes
- fixed typo in r12076 making gm-mute start on the gm instead of target
- fixed @mute not ending the status properly when using negative values
- adde missing clif_manner_message(), sends info about manner updates

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12079 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-15 15:05:11 +00:00
skotlex
4988d419aa - Fixed missing mob_spawn call, which was making CR_CULTIVATION not actually spawn the plant.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12077 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-14 22:13:43 +00:00
ultramage
fc719995cb * Client packet corrections
- 0x01df is not 'gmreqnochatcount', but for requesting a player's account name via right-click menu (which currently can't be done)
- added /remove and /recall, aliases to /shift and /summon
- added /changemaptype, which alters a single cell's gat type
- gm kick will no longer exit the client (now it goes to the login screen)
- removed the quicksort invocation in /ignore code

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12076 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-14 19:13:16 +00:00
ultramage
88cfb8ff5a Fixed card removal script functions' 'extra card' bug (bugreport:786)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12075 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-14 13:25:41 +00:00
ultramage
f96f0d27a9 Removed the hardcoded limit for numeric npc input boxes (bugreport:811)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12074 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-14 12:01:58 +00:00
ultramage
1859b5e45a Applied a temp patch to make some npc-executed atcommands work again (bugreport:790).
Added support for right-click-gm-menu kicking NPC objects.
Removed redundant function npc_checknear2().

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12073 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-14 11:34:59 +00:00
ultramage
d5455fabfc Simplified the BL_CAST macro (see topic:166795)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12072 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-14 08:54:54 +00:00
skotlex
f70624598f - Fixed a compilation warning
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12071 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-13 23:28:38 +00:00
skotlex
fb100b2f09 - Fixed dangling pointer crashes when bleeding or Deadly poison kills a spawn-once monster.
- Fixed a possible ERS entry corruption when Deadly Poison kills a target that has kaziel active.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12069 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-13 23:06:06 +00:00
skotlex
16305634d6 - Removed the sc_start_abort define. Since now when a status already exists, it is not modified in any way (no timer deleted, no sc->count reduced), it is completely safe to allow a simple return from within the rest of the function.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12068 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-13 10:40:46 +00:00
ultramage
76256e7a09 added fix missing from r12065
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12067 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-13 09:36:52 +00:00
samuray22
890da03040 * Corrected job_knt Mapflags. (bugreport:803)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12066 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-13 05:42:59 +00:00
samuray22
c365bcf605 * Corrected a bad Delitem in gunslinger quest (not job). (bugreport:763)
* Corrected a Double Welcome Message in Dungeon's Kafras. (bugreport:783)
* Corrected a Typo error in MailBox. (bugreport:798)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12065 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-13 05:35:01 +00:00
skotlex
0f7c4f24f3 - Fixed a possible ers_entry corruption if you die from bleeding while under the effects of kaizel.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12063 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-13 03:08:36 +00:00
skotlex
418f5b1059 - Updated Safety wall so it does not blocks melee magic.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12062 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-13 02:52:06 +00:00
FlavioJS
04d47e8c6d * Another possible fix to ers/status_change crashing.
- same logic as r12058 but in status_change_timer.
- look out for this error: "[Error]: status_change_timer: Unexpected NULL status change id: ### data: ###"
  getting it means that a crash was avoided and the culprit found.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12061 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-13 02:40:39 +00:00
FlavioJS
4b4a7ef2a0 * Modified npc_parsesrcfile to read the file as binary and let sv_parse handle LF/CRLF line endings.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12059 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-12 17:21:41 +00:00
FlavioJS
a85a22d75a * Possible fix to ers/status_change crashing. [FlavioJS]
- this patch is untested. Didn't find anyone willing to test it and I can't reproduce the crash so can't test the patch.
  symptom:
   status_change_entry.timer is being modified after the entry is freed.
   ers uses that memory location as a pointer when the entry is freed, it crashes when accessing the contents when it points to an invalid location.
  assumption:
   status_change_start starts an already existing status.
   as a consequence of something called inside status_change_start the status is ended.
   when the sce is finally being modified, it's modifying a freed entry.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12058 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-12 17:12:23 +00:00
L0ne_W0lf
ba8a87139e God damnit. And now for the actual town NPCs.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12057 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-11 19:02:32 +00:00
L0ne_W0lf
9b9332759d * Added Veins town NPCs, mail box, and second guide.
- Updated warps for Veins. Outstanding warps are quest related.
* Minor updates to other warp files.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12056 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-11 18:46:26 +00:00