364 Commits

Author SHA1 Message Date
LuzZza
17ddbf01a9 - Fix to prevent using main chat when it disabled in atcommand_athena.
- Fixed message codes in duel functions.
- Small fix in log_refine, incorrect compare expression.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5358 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-21 18:37:35 +00:00
skotlex
1fb95bcf98 - Fixed Taekwon stances not triggering.
- Added atcommand @exp
- Added error reporting when add_timer_interval receives a negative/0 interval value.
- Fixed a possible infinite recursion bug with splash self skills.
- Modified the way firewall_hits_on_undead works, to loop and invoke multiple skill_attacks based on the value.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5338 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-20 03:14:49 +00:00
skotlex
591f2d8046 - Fixed parsing of @kamic/@kamib to check for case.
- Now you can hide from Pressure.
- Weapon endowing will work on targets already endowed with the same element.
- Now reseff cards will take effect even if the status change is passed with &8 flag. In short, now reseff are ALWAYS applied to the status change defense.
- Removed a missing break that was making AM_TWILIGHT2/3 always fail.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5327 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-19 20:53:36 +00:00
skotlex
e3b57bb929 - Fixed @lvup commmand raising levels when you specify a negative value.. again. Some more signedness checks.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5286 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-15 13:19:16 +00:00
skotlex
66560a7f83 - Fixed @lvup commmand raising levels when you specify a negative value...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5285 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-15 13:14:30 +00:00
skotlex
7e716db3aa - Made Land Protector Block Hammerfall.
- More signed/unsigned comparison fixes.
- Added dummy_item variable to itemdb. It will be used on all itemdb_searches that do not yield a valid item from the db.
- Added itemdb_load, which is the one used for item_db loading (if the item does not exists, it'll be created)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5270 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-13 18:58:14 +00:00
skotlex
59e17a948b - Modified PA_GOSPEL so that the random damage attack becomes a BF_MISC attack.
- Added pc_resetskill when lowering job level and there's not enough skpoints to substract.
- Fixed compile error of SG_FUSION in pc.c
- Modified pc_resetskill to receive a flag to indicate if it should or not do status_calc_pc and send skill block updates. Meant to optimize performance when used in the middle of a larger update.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5269 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-13 16:54:24 +00:00
skotlex
cf059ff1a9 - NPC_POWERUP now gives +40% atk per level.
- Water elementals can be frozen again.
- Fixed the sc_def equation in status_change_start
- Fixed an extra semi-colon that broke win32 compiles.
- Some rewriting of bounds checks in @baselvup, @joblvup and the # equivalents to prevent signed/unsigned comparisons.
- Now slaves give exp/loot (exception: player slaves still stick to the old rules)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5267 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-13 15:04:11 +00:00
skotlex
d25d952fc6 - Cleaned up and reorganized status_change_start. Now it also receives the success % rate (0->100)
- Added local function status_get_sc_tick which takes care of reducing the effect duration as need is be.
- Modified status_get_sc_def to handle defense against all related statuses, now returns defense on a scale where 10000 is 100%.
- Added time2 to pangvoice, it is the player effect's duration while time1 is for the mon's effect.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5227 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-08 16:56:53 +00:00
skotlex
d69479b946 - Added define clif_deadsit to send the dead state into player packets if the player is in trick dead state.
- Venom Splasher always hits (but splash damage targets can still avoid it)
- Using autoloot with no arguments now toggles it between @autoloot 0 and @autoloot 100%
- Falcon Assault now takes Blitz Beat lv5 as base damage.
- Fixed pc_makesavestatus not updating status.option correctly.
- Corrected Waterball so that higher levels can do insane amount of hits.
- Altered slave behaviour. No more random walking, will stay within 2 cells of their master.
- Reverted the Summon Slave behaviour to not adjust level based on number of current slaves.
- Coma no longer sends SP to 1.
- Updated Meteor so that when level 11 or more is casted, the area over which meteors fall is tripled.
- Dark elemental characters are now inmune to Curse.
- Fixed sc_data saving to sql buffer building method. Thanks to its_sparky.
- Changed the map zone reading from using pow to a bit shift.
- Experience has now been changed to unsigned int, and is read as such from the dbs.
- Increased HT_DETECTING seek range to 7x7
- Added function map_foreachinrange which actually checks distance of nearing objects (unlike for each in area which uses a square area), may come handy for future code.
- Corrected Venom Splasher: Being hit does not cancels it, works at 75% or less of target's HP, being hit normally while under the count has a chance of causing poison. Damage is +400% + 50*lv%


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5204 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-06 18:38:51 +00:00
skotlex
697d29d7d4 - Fixed a typo bug in SC_STAR_COMFORT handling.
- Fixed a possible crash bug in SC_POISONREACT handling.
- Simplified the skill trigger code for ST_PRESERVE, SG_FUSION, SG_*_COMFORT
- Unified the status change variables into a single structure (sc_count, opt1, opt2, opt3, option, and the array of status change data) which should make it easier to handle sc related stuff.
- TK_DODGE now won't trigger if your opt1 is set ;)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5154 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-01 17:17:09 +00:00
skotlex
4f5babb97d - Changed the exp tables format.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5135 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-31 13:45:04 +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
171609d4a2 * Readded @disablenpc
* Fixed @reloadscript not removing old NPC's and monsters first
* Some changes in mob and NPC unloading
* Changed the original @disablenpc to @hidenpc

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1429 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-07 15:14:35 +00:00
celest
72f63ee03e * updated map server to jA1137~1159
* Some tidying up in mob.c and skill.c

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1342 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-30 11:44:12 +00:00
amber
13eeee2ee6 More C/C++ Conformance fixes
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1334 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-29 16:46:19 +00:00
veider
de7940888a git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1316 54d463be-8e91-2dee-dedb-b68131a5f0ec 2005-03-28 21:25:11 +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
4a8a574f14 added logging filters. optimized ATCommands temp strings usage
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1302 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-26 21:56:42 +00:00
celest
f9452b9683 * Fixed indoorsrwstable.txt reading
* Fixed @monsterbig/@monstersmall not working
* Fixed @killmonster2 not working

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1293 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-25 10:16:09 +00:00
amber
cb34e8c48a memory bugs fixed
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1278 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-23 18:54:09 +00:00
celest
b9a1f0d7fd Check changelog ^^
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1267 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-22 16:31:56 +00:00
Lupus
81ca684ee8 fixed @storage / @gstorage
started using MAX_MOB_DB

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1256 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-20 09:48:20 +00:00
Lupus
f51b796db1 fixed @divorce and @marry commands.
Also made them correctly output their help
+ added Wedding Music and Wedding Confetti into @marry

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1233 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-14 16:29:57 +00:00
Lupus
67ec0711d3 fixed script command 'isequippedcnt'
added new script command for new cards 'cardscnt'
(to fix cards exploits! should check old cards, too)
fixed @jail / @unjail SAVE POINT abuse

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1217 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-08 21:23:51 +00:00
celest
055dde5bb4 * Updated core and map-server to jA 1115~1137
* Fixed a typo in Volcano

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1206 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-07 11:35:13 +00:00
celest
79084575ce * Fixed /resetstate /resetskill being unuseable at all
* Fixed /mm /mapmove being useable by all players
* Fixed some compile errors in mob_once_spawn
* Corrected a typo in Chemical Protection skills

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1195 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-01 10:09:15 +00:00
celest
fea0900092 * Corrected Spiral Pierce's hits in the skill_db
* Moved /common/*.o into a obj folder when compiling 
* Updated core and map server to jA 1094~1115

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1162 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-22 16:08:24 +00:00
Lupus
03b82d9adb fixed spawn of treasure boxes
fixed present_log
Mobs drops: expanded 8 slots into 10 (except READING info from TXT / SQL dbs. But added a plug - to make eA work with old DBs)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1115 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-15 19:30:58 +00:00
(no author)
3515beeed1 Fix build
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1057 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-06 16:52:14 +00:00
(no author)
44c1fbdda1 Implemented @mobinfo command
with drops / mvp shit, etc

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1055 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-06 14:12:49 +00:00
(no author)
2841175718 Edit for Upa
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1016 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-01 02:14:43 +00:00
(no author)
9fec5d1298 * Added DUMP_ALL_PACKETS and moved dump packets code in clif_parse a bit to support it
* Added base code for Party Item Sharing

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1009 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-01-28 18:46:43 +00:00
(no author)
8454119e3f * Added @changelook command for spriters to test view ID's
* Added a check to Pneuma to prevent crashing

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1004 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-01-27 02:53:10 +00:00
(no author)
85592f9a38 * Fixed a bug in gettick cache when compiling in Windows
- Changed "read_map_from_bitmap" to "read_map_from_cache" in map_athena, "map_bitmap_path" to "map_cache_file"
- Fixed item effects not showing when only one was used
- Fixed a bug in Safety Wall
- Allow only either Storm Gust or Lord of Vermillion to cause damage if stacked together
- Added path_search_long, map_find_skill_unit_oncell

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@998 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-01-26 14:28:19 +00:00
(no author)
0c541b77fb * Added status.c and status.h of jA 1091 update and moved some functions into the new source files
* Updated auto_counter_type's description in battle_athena
* Removed some unnecessary skill level checks in battle.c

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@996 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-01-26 04:54:22 +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
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
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
codemaster
9220ebe438 * Fixed GM Command Logging (Not sure why TXT logging still isn't working properly :( ) [Codemaster] [SVN 907]
* Fixed one of Lupus' additions to the item_db [Codemaster] [SVN 907]

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@907 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-01-04 22:13:58 +00:00
Lupus
f1dbf98e9a fixed respawn delay of Zenorcs 3 sec -> default 5 sec
uncommented ATCommandLog entry (it works.)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@897 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-01-02 23:45:54 +00:00
amber
d46146370c update
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@866 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-30 03:47:18 +00:00
amber
0452a9c55f cxx updates
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@861 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-29 19:18:18 +00:00
mc_cameri
e333217bc3 git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@856 54d463be-8e91-2dee-dedb-b68131a5f0ec 2004-12-29 14:55:16 +00:00
amber
96fb01e0d9 Changes
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@837 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-28 17:06:35 +00:00
amber
9f6762ba55 update
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@836 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-28 16:58:27 +00:00
celest
984dba6d40 Added @mobsearch, @cleanmap and @giveitem
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@833 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-28 05:16:07 +00:00
amber
ba5cf284da update
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@832 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-28 05:05:48 +00:00
celest
94fae3e32b * Added Bitmap File system
* Added --run_once flag

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@789 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-26 18:47:04 +00:00