1960 Commits

Author SHA1 Message Date
skotlex
be26d920ed - Fixed npc_gettimerevent_tick returning the difference since the last triggered label instead of total elapsed time for the npc-timer.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5874 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-02 18:25:46 +00:00
Vicious
9a20419f2d fixed hidden temple spawn and sage script?
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5873 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-02 18:19:56 +00:00
skotlex
b5203bb220 - Added a missing memset on ers_alloc'ing mob loot which was making data from looted items fill in normal drop info.
- Some more work on the display of Brandish Spear...


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5871 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-02 17:09:16 +00:00
skotlex
eb6eaff618 - Added preventing sending packet clif_clearchar_id when the character in question is invisible.
- Added packet 0x7c in clif_spawn which was supposed to be used for non-players.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5869 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-02 16:36:07 +00:00
Lance
ed9f08388d - grfio.c fixed compile warning
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5867 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-02 14:10:17 +00:00
Lance
7fc421625b - Fixed annoying out-of-range spawn.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5866 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-02 13:08:12 +00:00
Lance
863806c1e4 - Fixed my fix on multi-map leak thanks to Buuyo^.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5865 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-02 13:01:35 +00:00
skotlex
8f76fb4c7b - Forgot to set state.night = 1 in the night timer.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5864 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-02 08:40:07 +00:00
skotlex
e7a2020fc5 - Moved the night icon invocation to clif_parse_LoadEndAck
- Changed function clif_set01e1 to clif_spiritball_single
- Removed clif_spawnpc as it wasn't really needed.
- Added clif_weather_check to handle the weather changes checks.
- Merged Larry's fix of using a timer to get rid of the glow-issue when you login to night-enabled map.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5863 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-02 08:27:14 +00:00
reddozen
f47953f848 git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5862 54d463be-8e91-2dee-dedb-b68131a5f0ec 2006-04-02 06:26:01 +00:00
reddozen
4a125139e4 setting arrows to 1 wont work... the server was looking for daggers to be equipped into your arrow slot. so i set arrows to 22 in the item DB and in skill require.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5861 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-02 06:20:04 +00:00
Lance
156cd602dc Typo in login.c
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5860 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-02 06:01:56 +00:00
Lance
aad6982f1e Typo fix in map.c
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5859 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-02 05:22:18 +00:00
Lance
311e06085e * Loading waterheight aliases from resnametable.txt.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5858 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-02 04:09:00 +00:00
Lance
b82c7a7b05 git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5857 54d463be-8e91-2dee-dedb-b68131a5f0ec 2006-04-02 00:48:43 +00:00
Lance
715da93848 * Workround the warnings for clif.c (what to do? the original codes are ugly.. passing values as pointers omgwtfbbq).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5856 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-02 00:30:24 +00:00
skotlex
34eeb7cd5b - Added a check to remove exp-even-share when someone leaves a party.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5855 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-01 23:47:24 +00:00
skotlex
76b9ca2fc1 - Fixed an error in the layout initialization of ice-wall. Thanks to Named for pointing it out.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5853 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-01 22:47:18 +00:00
skotlex
d336815c66 - Added function clif_changetraplook to handle changing the appearance of traps as they are triggered (rather than using clif_changelook which is meant for view_data objects)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5852 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-01 22:42:54 +00:00
skotlex
27e01b2442 - Fixed berserk not raising your HP to your new cap.
- Fixed ground-skills not displaying damage done.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5851 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-01 22:21:26 +00:00
skotlex
b11e202bc2 - Fixed a few functions sending a negative ID for disguised characters (such as clif_specialeffect) which very likely produced client crashes.
- A small cleanup on npc-whispering which could fix a reported crash on it.
- Removed the gm-whispering of the charnameack hack notice since it isn't perfected yet.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5850 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-01 20:55:08 +00:00
skotlex
86cebfbf10 - Fixes to the mob_ai routines. Prevent casting rude-attacked skills in situations that shouldn't be considered as so. Fixed mobs failing to chase after enemies when range-attacked out of their view_range.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5848 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-01 19:07:58 +00:00
Lance
85843bfe0f * Should not exit when you can't find an NPC file..
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5845 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-01 09:48:17 +00:00
Lance
63eb37dc33 typo
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5844 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-01 09:40:31 +00:00
Lance
dcc37512f0 bl.subtype check.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5843 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-01 09:40:09 +00:00
Lance
008b473603 Fixed the dynamic shop system memory allocation and id_db problem. Added sample script.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5842 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-01 09:37:50 +00:00
Lance
e051037bce * Dynamic shops support with script callback. (needs testing)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5841 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-01 07:29:54 +00:00
skotlex
dde6f4f5f1 - Cleaned up and fixed @where command.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5840 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-01 06:26:20 +00:00
Lance
26864e6c9e Asssuming only __WIN32 (VC++) doesn't have strtok_r.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5839 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-01 06:02:43 +00:00
Lance
f2e352bb0f * Fixed compiler warnings.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5838 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-01 05:30:12 +00:00
skotlex
da1e588b9a - Fixed pc_setpos sending you to a random direction when the target tile was stacked (CELL_NOSTACK mod)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5836 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-01 05:15:21 +00:00
skotlex
376fa9d3e7 - Fixed standing up no really making you stand up.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5835 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-01 03:50:19 +00:00
skotlex
c10891c7b9 - Added upgrade_svn5834.sql to update view for item type 10.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5834 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-01 02:41:34 +00:00
skotlex
e9c44b50c8 - Added structure view_data to handle sprite information for all characters (equipment, weapons, hair, dyes, etc). Unified a bunch of clif functions now that you only need to handle the view_data (so instead of clif_spawn[pc/mob/npc/pet] you just have clif_spawn)
- Fixed the clif_change_class packet (it should check for non players classes, not a class above MAX_PC_CLASS), it fixes morphing enemies.
- Rewrote the way cloth dye packets are resent to optimize bandwidth usage.
- Fixed the npc_item_flag thing (enable_items/disable_items script command)
- Rewrote the disguise implementation to be bandwidth friendly.
- Modified the hide options to change your class to INVISIBLE_CLASS, since such classes don't even get their view packets sent around.
- Rewrote several clif functions to adapt to the new view_data class;
- Added class 139 to npcdb_checkid which was required by some npcs in the swordman quest? o.O


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5833 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-01 02:23:56 +00:00
Lance
343deba71c * April fool! Improved soundeffectall script command. (No, this is not a lie)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5832 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-01 02:11:23 +00:00
skotlex
a1eabcc481 - Fixed skill_require_db loading.
- Added a column to specify the amount of ammo required for skills that require ammo.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5831 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-31 18:19:10 +00:00
skotlex
ab0693cbcf - Changed the terminology from arrow to ammo for the last update.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5830 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-31 17:43:24 +00:00
skotlex
b1a0b58110 - Changed the look field of all arrows to 1.
- Added column "RequiredArrowType" to skill_require_db, set to 1 all arrow-based skills.
- Added support for ArrowType requirement on skills. It checks for having an item equipped on the arrow-slot who's view has to match with the required arrow-type (works the same way it does for weapons).
- Skills will automatically be ranged and arrow-types when they have a arrow-requirement.
- Skills will automatically consume arrows if used with a bow and the skill is an attack weapon-based skill even if the skill_require_db doesn't specifies arrow requirements (this is for stuff like backstab used with bows)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5829 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-31 17:22:06 +00:00
skotlex
e19503185b - Fixed an infinite recursion in the Wedding Recall skills.
- UNT_ATTACK_SKILLS unit packets won't be sent to the client as they are supposed to be invisible anyway.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5828 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-31 15:53:36 +00:00
zido
3fe10a51be Started work on commands for the IRC Bot.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5827 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-31 15:38:42 +00:00
skotlex
248e4968c7 - Cleaned up battle_check_target to use the jA structure defines and get rid of the is_duel variable.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5826 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-31 14:44:51 +00:00
skotlex
361d4018ee - Adjusted the range of Wall of Fog to 9 and Spider Web to 7
- Modified a bit the skill packets of Sharp-Shooting and Brandish Spear in hopes of fixing it.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5824 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-31 14:00:28 +00:00
Lance
140e77689e * Should fix a bug in GM stealth mode (@hide).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5823 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-31 09:21:54 +00:00
Vicious
5f47b44b04 5 kafra passes, fixed refiner's @fullprice, char_name_option
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5820 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-31 01:11:16 +00:00
skotlex
a36dcfd0ac - Added a missing "return 0" that fixes a crash on failed lookups on status_change_timer
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5818 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-30 21:04:17 +00:00
foruken
57ce40d17a Added year day return in gettime function. gettime(8) returns 1~366
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5816 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-30 18:09:09 +00:00
skotlex
71ae46e3b6 - Fixed the compile error in login.c
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5815 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-30 17:12:22 +00:00
skotlex
39d33a2f80 - the auth function in login.c won't jstrescapecpy passwords that were encrypted.
- Moved the Endure and Gravitation sc ends to battle_damage from pc_damage.
- Endure level 11 and above are now considered infinite-endure.
- Set the minimum pet hungry delay to 10
- modified function skill_delayfix to only receive skill/lv, actual time is now always acquired from skill_get_delay. It also now will never return a value below min_skill_delay_limit.
- Modified brandish spear so you won't see the skill-animation for every targetted mob. Also cleaned it up to use map_foreachincell calls.
- splitted skill_cast_fix into skill_cast_fix and skill_cast_fix_sc, the first does cast adjustments based on dex and server settings, the later only based on sc changes. Mobs use the later while everyone else use the former (which invokes the later when appropiate)
- Added the Steel Body icon to auto-berserk.
- Now you can't cast auto-counter while the previous one is active.
- For the duration of Berserk, infinite-endure is activated.
- Added Veider's suggestion to do a hack-report when players request the name of an invisible/cloaked character.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5813 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-30 15:50:54 +00:00
Lance
2c0794767e git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5812 54d463be-8e91-2dee-dedb-b68131a5f0ec 2006-03-30 15:07:59 +00:00
Lance
9eff393b23 git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5811 54d463be-8e91-2dee-dedb-b68131a5f0ec 2006-03-30 14:57:36 +00:00