4340 Commits

Author SHA1 Message Date
FlavioJS
e7607efb6c * Removed online_check config options. (always active now)
* Clarified char_maintenance config option.
* Changed packet 0x2712. (added request_id)
* Changed packet 0x2713. (added sex, request_id, version, clienttype; removed email, expiration time, gmlevel)
* Delayed user count check and mmo_char_send006b to when the account data arrives.
* Created auxiliary function MD5_Salt.

(split from a future commit that was getting to big for my taste)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13652 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-01 22:39:19 +00:00
sketchyphoenix
67adb599ab (bugreport:2836) A correction of a typographical error with GM command logging.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13646 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-31 15:08:57 +00:00
ultramage
c83076c04a Gunslinger Tracking can be canceled if you get hit.
Gunslinger Disarm always shows skill animation.
Removed custom firetrap effect from Gunslinger mines.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13644 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-31 12:57:13 +00:00
ultramage
0180cacd4e Fixed atcommand_param() using a hardcoded @ symbol, which broke on charcommands and changed atcommand_symbol (bugreport:2918).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13642 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-30 10:18:25 +00:00
ultramage
d8104e4df7 Defined new server-side PACKETVER 20081126 to add support for the modified pet information packet (topic:197874).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13641 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-30 10:02:41 +00:00
ultramage
500f9893a1 Added packet 0x43f's length to the packet len table and adjusted related code (followup to r13622).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13640 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-30 08:55:12 +00:00
ultramage
86c1cf7721 Extended the hardcoded packet length table values up to MAX_PACKET_DB (0x500).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13639 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-30 08:51:01 +00:00
zephyrus
f3ca760a29 - Missing cleanup from the previous BG code removal.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13637 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-29 18:52:44 +00:00
zephyrus
5ddd4d08fe - Implementing official battleground "emblem" crossed swords icon.
- Removing the custom guild packets from Battleground as they are not needed anymore.
- Scripts updated.
- In this way, you get "battle cursor" over your same team, but that's how official does.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13635 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-29 16:49:52 +00:00
ultramage
6578f10ffa Enhanced the 'hack on npc menu' message in clif_parse_NpcSelectMenu.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13633 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-29 09:30:59 +00:00
Playtester
4b66f607eb * Fixed a problem that blockskill timer failed when there was more than one on a skill
- please test this, now Asura should be blocked 2 seconds after EVERY Snap

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13632 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-27 19:29:58 +00:00
zephyrus
fc959075f5 - Added Flavius Battleground scripts.
- Fixed the last commit about Assumptio, it's only player to monsters, but it can be used on mercenaries.
- Added new JapanRO pets.
- Fixed Valorous Assaulter's Katzbalger missing str bonus.
- Medal of Mage (battleground reward) can also be used by Soul linkers.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13631 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-27 15:43:51 +00:00
Playtester
d1253ccadd Quickfix to last commit
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13630 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-26 18:53:05 +00:00
Playtester
6f99db9547 * Fixed Spirit of Assassin not reducing the aftercast delay of Sonic Blow
* Assumptio can neither be cast nor dispelled on monsters anymore

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13629 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-26 18:38:59 +00:00
ultramage
71fbf3e1a4 Added correct packets for the food item creation window.
Added script command 'cooking' to activate this window and applied it to the 5 cooking kit items.
Renamed the cooking quest variable to cooking_q to avoid a naming collision with the new script command.
(You need to manually rename all occurences of this variable in your txt-savefile/sql-database if you want to preserve player progress.)
The code still relies on the messy skill_produce_mix logic and still uses completely custom equations. To be fixed in a separate commit.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13628 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-25 21:59:55 +00:00
Sara
71e1662e67 Fixed skill delay paw print icons showing for far too long.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13624 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-25 06:23:14 +00:00
Sara
be0d3c68fb Ghetto-fixed the status timer packet for now.
For some reason, packet lengths as high as 0x43f are not reading properly, despite being fine in the packet database.
It works fine right now, but it should be changed when the packet database reading is fixed.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13622 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-24 11:01:34 +00:00
Sara
0073a977c0 Some more fixes to my buggy commit -.-;
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13621 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-24 10:07:56 +00:00
akrus
db152551e5 :)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13619 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-24 09:14:58 +00:00
Sara
9189eb2c15 Some fixes to my previous commit.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13618 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-24 09:10:30 +00:00
akrus
f706281b0e sorry for so many commits, have no time to test
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13617 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-24 08:34:24 +00:00
akrus
2f424ee87c Lol :x
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13616 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-24 08:32:12 +00:00
akrus
f0c9188fce Yet another fix...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13615 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-24 08:29:24 +00:00
akrus
70ab4f2888 Quick fix for Sara's commit
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13614 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-24 08:24:57 +00:00
Sara
b3860fdc01 * Added support for new status change packet, uses new setting display_status_timers in client.conf.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13613 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-24 01:56:16 +00:00
zephyrus
ed5eee1dcb - Implemented new item and bonuses for Kreiger Von Midgard rewards.
* Execute script on skill (bonusautoscript3)
* Add effect on skill (bAddEffOnSkill)
* Execute skill on skill (bAutoSpellOnSkill)
- Fixed some boxes Rental time according to item descriptions.
- Implemented SC_ITEMSCRIPT, a status that gives you temporally the effect of an item. Check items 14597 to 14605 if you want to get the idea.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13596 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-18 02:50:39 +00:00
zephyrus
94fbb46238 - Battleground mapflags:
* 1 = no scoreboard (as Tierra Valley is).
* 2 = scoreboard enable (as Flavius and KvM requires).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13594 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-17 22:39:22 +00:00
zephyrus
7fd0aa832a - Implemented official battlechat packets (thanks to Pakpil).
- Implemented the scoreboard packets (thanks to Pakpil).
- Updates to Tierra Valley according to official info.
* There are no barricades around each base, barricades are in the middle left path.
* There is another graveyard used for the owners of the middle base, with faster spawn (each 20 seconds).
* I added a flag respawn in the middle, currently I don't know if this if official or not, but it allows each team recapture the middle base.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13593 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-17 22:32:49 +00:00
ultramage
a40e59d2c7 Fixed a logic typo in one empty string check (from r4823).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13584 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-16 09:24:30 +00:00
ultramage
35155f1333 Corrected a potentially uninitialized variable in sv_parse (bugreport:2860).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13581 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-13 08:18:30 +00:00
FlavioJS
bce9eb25bd * Results of client behavior investigation when mes/next/close/menu/input is used.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13575 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-10 16:41:06 +00:00
ultramage
29a2d51586 Fixed statpoint table-based stat reset code using 'short' instead of 'unsigned int' and messing up stat calculation (followup to r13541) (bugreport:2841).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13573 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-08 17:51:13 +00:00
ultramage
4d5e91c6f6 * Fixed a couple bugs with marionette control
- Reduces caster max hp by 1000.
- Job and Equipment bonuses counts toward the 99 limit.
- Fixed stat overflow on baby targets with stats over 80 (bugreport:2232).
- Fixed clowns being able to cast it on another bard/clown (same for gypsy/dancer) (bugreport:166).
- Caster is no longer blocked from using items.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13572 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-08 12:32:45 +00:00
ultramage
541f74494e Added several mail id checks to prevent a map server crash (bugreport:2837).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13571 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-08 00:10:39 +00:00
ultramage
c4a4f647a1 Fixed a crash if for some reason a mob uses Blade Stop.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13567 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-04 22:18:34 +00:00
ultramage
9c6c292775 Small edits to battleground code (bugreport:2816)
- removed bg_idle_announce setting (could be considered later)
- moved crystal protection code to battle_calc_bg_damage
- removed mob state 'inmunity' in favor of a script-based solution
- removed unneeded 'setmobdata' (fixes collision with mob controller)
- added svn:eol-style native for battleground code

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13565 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-04 17:26:07 +00:00
ultramage
8d57253cc3 Removed the Blade Stop range check against players.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13562 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-03 15:57:28 +00:00
ultramage
6a33ab38d2 Partial revert of r13556. The client doesn't handle active skills with 0 sp correctly.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13558 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-02 19:24:52 +00:00
ultramage
1d82043903 Blade Stop status no longer prevents item use and equip changing.
Blade Stop skill will now only activate if the attacker is at most 2 cells away (1 if barehanded).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13557 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-02 18:11:49 +00:00
ultramage
5af84c659d Just some generic cleanups.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13556 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-02 17:54:13 +00:00
shadow
7699a5de32 Fixes from 2008/10/13 bugreport:2077 (Only commiting because nobody did until now and those bugs would get lost)
* Fixed monster's Spiral Pierce, now it is always blocked by Pneuma.
* Fixed Monk Absorb Spirits mana recovery per spirit absorbed, 7, not 10.
* Fixed Monk spirit balls not being removed on death (like happens with gunslingers).
* Fixed Swordman Auto-Berserk sp cost, 1, not 5. Should be 0, but eA wont allow the skill to work.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13555 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-01 22:46:03 +00:00
ultramage
4a7bc5ad07 Ankle Snare cannot be knocked back anymore (bugreport:2804).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13554 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-01 18:52:31 +00:00
zephyrus
2511a7069f - Second Part of BattleGround Implementation.
* Still need to merge visual studio files and scripts.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13551 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-26 21:40:34 +00:00
zephyrus
e9153a3c17 - Fixed item Nemesis.
- Fixed Tarot Card being used on Emperium.
- First Part of BattleGround Implementation (please wait).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13550 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-26 21:27:12 +00:00
FlavioJS
14cbb64848 * Wrong variable being used in StringBuf_Vprintf. (follow up to r13386, fixes bugreport:2798)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13548 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-25 16:15:09 +00:00
zephyrus
7311750f56 - Bugreport #2800 ( Atcommands usables without restriction :S )
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13547 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-25 06:04:18 +00:00
sketchyphoenix
23f462ad60 Replaced giving dummy sd gm levels in script commands atcommand and charcommand with a check by internal flag.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13546 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-24 01:17:36 +00:00
sketchyphoenix
35dbe82eea * Consolidated is_atcommand() and is_atcommand_sub()
- replaced gmlvl arg with a flag arg for internal/player generated checks. (dummy sds that used this arg are given gm levels)
	- each command check runs through is_atcommand() and is checked for its origin (internal or player generated)
	- charcommands are also parsed in this function.
	- script atcommand/charcommand function calls to is_atcommand() have been updated
	- also updated some clif/map functions calls to is_atcommand()
	* charcommands should now log properly with the target of the command included.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13545 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-23 18:32:43 +00:00
FlavioJS
ddf501b224 * Made mob_timer_delete check the deletetimer in the mob.
* Added missing delete_timer's every time deletetimer is being set. (except when allocating)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13544 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-23 16:36:58 +00:00
FlavioJS
92d80d2e99 * Made mob_delayspawn check the spawn_timer in the mob.
* Added missing delete_timer's every time spawn_timer is being set. (except when allocating)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13543 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-23 15:57:02 +00:00