31 Commits

Author SHA1 Message Date
skotlex
54e4cd9afc - Added support for packet 0x229 (clif_changeoption).
- Bumped up PACKETVER to 7 to enable use of packets 0x229 and 0x22c
- Small cleanup on the calculation in the skill tree regarding spirit skills.
- Added missing next/prev initialization in chat-creation.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6359 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29 07:30:19 +00:00
skotlex
af55aa1e6e - Updated item_db.sql to current.
- Some small code-cleanups.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6298 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-26 23:01:55 +00:00
Vicious
2ee927ae9b cleaned the invisible fix a bit.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6148 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-18 03:52:18 +00:00
skotlex
5b9305fe41 - Removed the ->prev != NULL checks in skill_attack due to the fact that the code should check elsewhere how it should behave (eg: if traps are not cleared on death, stepping on one afterwards SHOULD cause damage)
- Removed use of packet 0x1c9 for skill_unit display, except for Graffiti (which is the only unit which requires the much larger packet)
- clif_getareachar_skillunit will sent the unit_id of UNT_ATTACK_SKILLS for traps (this is to prevent them from displaying on the client)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6091 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-15 19:17:47 +00:00
skotlex
a489ed4364 - Changed clif_damage/clif_skill_damage to return the walk-delay based on the passed on damage-delay.
- Changed battle_damage to accept the walk-delay as well.
- Removed the walk-delay timers from unit.c, merged them to battle_delay_damage.
- Traps will not be displayed when you walk within their range.
- Added HT_DETECTING revealing traps.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5997 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-11 23:58:55 +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
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
LuzZza
12408e51c3 Fix on not showing guildmembers logins/logouts messages.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5695 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-21 17:46:27 +00:00
skotlex
1d786d8491 - Modified party_send_movemap and guild_send_info_short to send the mini-dots to the player logging on.
- Added functions clif_party/guild_xy_single to send the xy dots to a single fd.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5359 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-21 18:43:50 +00:00
skotlex
bc1aad166c - Added sd variables menuskill_id/menuskill_lv to store menu-based selections. These are used now to check the validity of skill use instead of sd->skillid/sd->skilllv
- Affected skills/packets: AC_MAKINGARROW/ AL_WARP/ AL_TELEPORT/ AM_PHARMACY (all refine functions)/ MC_IDENTIFY/ BS_REPAIRWEAPON/ SA_TAMINGMONSTER/ SA_AUTOSPELL/ WS_WEAPONREFINE/ SG_FEEL
- Removed feel_lv and repair_target variables as now they are handled by the previous two new variables.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5345 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-20 17:34:48 +00:00
Valaris
2178a86317 AS OF SVN REV. 5901, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.  EVERYTHING ELSE
GOES INTO TRUNK AND WILL BE MERGED INTO STABLE BY VALARIS AND WIZPUTER. -- VALARIS


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5094 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-29 16:10:48 +00:00
Valaris
fd99753f8e Clearing trunk.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5091 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-29 16:00:45 +00:00
celest
1717d644dd * Added use dynamic allocation when loading the msg_table
* Refresh the client when day comes to get rid of the night effect
* Changed @refresh to fake map loading, but without teleporting side effect
* Updated SQL file for the item_db

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1307 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-27 10:36:30 +00:00
Lupus
9f0d5a05a8 added new script commands
from jA

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1182 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-26 07:40:41 +00:00
(no author)
5e80e49c39 get rid of a warning...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1050 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-06 01:37:38 +00:00
(no author)
e08d46b479 More G++ work
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@976 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-01-24 16:55:10 +00:00
(no author)
778e804dd6 update
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@968 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-01-23 20:38:44 +00:00
celest
6e3d4f80f3 * Updated packet_db.txt loading to support reading into multiple packet versions
* Integrated packet size and function DB's into 1 packet_db
* Removed packet_db_ver defining in packet_db.txt -- it'll determine itself based on MAX_PACKET_VER
* Added MAX_PACKET_VER -- maximum versions supported by eA -- and changed packet size and function DB's to use it
* When sending 'Game exe not latest version' packet don't close the session immediately so it will still be delivered
* Added map-server display if an unidentified client was rejected -- also fixes the 'empty string sent to _showmessage'

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@965 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-01-13 03:57:09 +00:00
codemaster
f955bd688d * Added a fix to @sound where if you forgot the .wav exention, i'd attempt to play the file without it (it adds the .wav) [Codemaster] [SVN 949]
* Added @disguiseall / @undisguiseall [Codemaster] [SVN 949]
* Added misc. clif.c fixes (jAthena added alot of close(fd)'s, so i added them, too) [Codemaster] [SVN 949]
* Added bug reports - Celest, you might want to check one of those out [Codemaster] [SVN 949]

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@949 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-01-11 03:32:32 +00:00
celest
38aa949355 Start adding packet DB reading
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@946 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-01-10 13:30:49 +00:00
codemaster
487f212144 * Added the @sound command and the NPC command of soundeffectall - works just like soundeffect, but plays for everyone in the area [Codemaster] [SVN 942]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@942 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-01-09 23:08:31 +00:00
celest
050d122cdc * Summoned monsters will not give exp and items
* Added the 6 new Yuno fields
* Added some Freya's optimisations in clif_parse
* Added clif_update_mobhp
* Set alive_timer to -1 when quitting, not 0

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@811 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-27 11:02:13 +00:00
celest
8ffa2ba71e git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@785 54d463be-8e91-2dee-dedb-b68131a5f0ec 2004-12-25 05:28:29 +00:00
celest
2ef8d166ab * Added clif_changed_dir, clif_adopt_process
* updated Backstab

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@756 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-23 18:40:51 +00:00
celest
fa6ecf8890 * Updated most of map-server to 1082
* Removed my own additions for skill delays using aspd
* Adapted skill_range_leniency to jA's code
* Fixed drop rates only limited to multiples of 100's
* Added missing code for castle_defense_rate
* Removed pc_undead_nofreeze
* Updated unrefineable items table
* Added 3 new script commands
* Added SC_SpeedUp0
* Merged itemdb_read for SQL and TXT
* Removed itemdb_read_cardillustnametable limited to TXT only
* Added reading itemslotcounttable.txt from the GRF to auto set number of slots per item
* Added a display message when reading itemslottable from the GRF
* Added options in battle_athena.conf to enable/disable reading the GRF

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@699 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-21 12:27:02 +00:00
celest
af56e64377 Finished Full Strip, Weapon Refine, Slim Pitcher and Full Protection
git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@369 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-11-26 10:02:29 +00:00
amber
d479e29aee Fixed some file types
git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@172 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-11-14 16:18:26 +00:00
codemaster
39fd1c7e8b Fixed Attacking Mobs by using a file from FREYA (thanks MagicalTux and Yor)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@141 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-11-13 02:16:51 +00:00
spira
aa2c330841 * Corrected clif_sitting stuff.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@101 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-11-10 21:08:08 +00:00
(no author)
706e785091 git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@2 54d463be-8e91-2dee-dedb-b68131a5f0ec 2004-11-04 23:25:09 +00:00