1248 Commits

Author SHA1 Message Date
shennetsind
9384614806 Fixed bugreport:5650 GN Cart Remodeling weight boost should now be working properly.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16042 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-02 05:02:59 +00:00
shennetsind
3896e1959b Fixed bugreport:5484 Cursed Circle caster can no longer move while in the effect (but if he casts any skill it cancels his state and his targets' one). Cursed Circle caster is no longer to attack nearby units either, Also fixed a bug in manhole that allowed trapped character to attack nearby units.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16041 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-02 04:42:34 +00:00
shennetsind
675fde71d9 Fixed bugreport:5660 DEF and MDEF now display in its proper renewal fields (under renewal mode)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16035 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-02 03:21:30 +00:00
xazax-hun
529295983e * Code consistency updates. No functional changes. Credits to Lighta.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15974 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-25 18:22:00 +00:00
greenboxal2
0d6d62a262 Fixed bugreport:5537 SR_GENTLETOUCH_CURE now acts with official behavior.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15910 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22 00:10:08 +00:00
epoque11
78ceff5b9e - Fixed Spell Fist being unable to cast while casting a bolt skill (bugreport:5597)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15909 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-21 15:26:32 +00:00
brianluau
5c60eb69e5 - Fixed emperium coordinates in Payon Holy Shadow (payg_cas03).
- Also enforce sd->emotionlasttime for pet emotions.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15901 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-21 08:26:58 +00:00
shennetsind
a1612031a6 Initial support for Genetic, Sorcerer and Elemental Summons. Special Thanks to 3CeAM for the base.
Notice this revision onwards requires you to update your char sql table and add the elemental sql table (check sql-files/upgrade_svn15885_log.sql)
If you step by any bugs, let us know at http://rathena.org/board/tracker/ Thank you very much.
ARRIBA ARRIBA.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15885 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-20 18:05:14 +00:00
shennetsind
d7e1298fb8 Rollbacked clif.c from the changes of r15828, r15830 and r15833 (they were causing quite a few bugs and protimus wasn't available to fix). special thanks to keikun.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15849 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-11 05:42:53 +00:00
shennetsind
6716f8bbfb Fixed bugreport:5535 while caster is in shadow formation he no longer can attack or use items.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15847 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-11 05:15:16 +00:00
xazax-hun
4d195d850b Fixed some minor issue, follow up r15828.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15833 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-07 18:09:30 +00:00
protimus
f5f937c809 More cleanups for old clients.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15830 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-04 01:20:06 +00:00
protimus
d0f2568d8f Cleanup of conditions for old clients.
- No one use versions as old, besides being advised to keep up to date.
- Informations of packets will be maintained, the cleanup is just for conditions. Please do not remove old packet information, it is useful for future searches.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15828 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-03 21:18:23 +00:00
eathenabot
ea46e779c0 * Merged changes up to eAthena 15084.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15818 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-31 22:30:30 +00:00
epoque11
1ce49ea08e - Merged main-chat message handling (as requested/enforced by trojal <3)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15816 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-29 18:43:58 +00:00
brianluau
ade7ad3127 - Restored Lord Of Death spawn that was accidentally removed in r15060. (bugreport:5323)
- Made players face in the same direction they were facing right before warping.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15787 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-24 04:06:49 +00:00
eathenabot
ee2653b6eb * Merged changes up to eAthena 15082. (skipped 15081)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15771 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-23 04:30:17 +00:00
epoque11
6bf619c958 - Fixed a friend-list exploit allowing players to confirm the online status of another player. (bugreport:4863)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15764 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-22 12:32:12 +00:00
shennetsind
b477b2ef01 Fixed bugreport:5355 Shadow Chaser's Auto Shadow Spell is now fully functional.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15756 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-22 05:19:37 +00:00
shennetsind
2b0c96b2ad Fixed bugreport:5486, now a more friendly message is displayed upon skill fail when you do not have enough of the required ammo.
Dev Note: I wasn't able to find a proper reply packet so I came up with this .-. if you know a official solution make yourself comfortable to replace.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15752 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-22 03:43:37 +00:00
lordttseven
58c5c34e81 Refine DB update
* DB courtesy of Kenpachi
 * added support for different stats per refine level for renewal
 * cleaned up the corresponding code a little
 * REMODE now displays the atk values on the client correctly

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15730 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-19 14:43:41 +00:00
eathenabot
975defa39c * Merged changes up to eAthena 15080.
(skipped 15079 because we use http://build.rathena.org/waterfall )

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15728 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-19 04:11:00 +00:00
shennetsind
2a492d7300 Added Official behavior to non-ensamble songs: they no longer go off if you warp within the same map. bugreport:4547
Dev Note: I didn't put it under session data cause only bard/gypsy classes use it, I found it to a be a waste. I'm not very comfortable with the dbmap either, however, so if you got any idea on how to make it more efficient lets talk :3

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15708 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-18 03:35:00 +00:00
shennetsind
72ba123607 Added Official Guild Aura Implementation bugreport:667
Before:
- Guild Aura would only trigger when guild master moved
Now:
- Guild Aura is triggered when master moves and/or when guild mate gets inside the area
- Guild Aura range is no longer hardcoded, you may modify it from skill_unit_db
Also:
- Added new skill_unit_db target type 'guild'

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15707 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-18 01:37:53 +00:00
shennetsind
98ae61d8f4 Fixed gcc warning on unused variable 'gc'
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15699 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-17 20:24:13 +00:00
shennetsind
ad56da4b99 Fixed bugreport:5456 you can no exploit creation of crafting items by mixing packets thru wpe/rpe/whatever. it now checks if the item you're attempting to create belongs to the trigger used.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15698 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-17 20:21:44 +00:00
lordttseven
a58fc65984 Status change packet cleanup
* fixed a couple typos
 * replaced duplicate function clif_status_load with a macro
 * normalized and documented status change table related getter abstraction
 * put some checks that were previously in multiple places into clif_status_change
 * packets are now used as they are on official servers:
  - ZC_MSG_STATE_CHANGE for ending statuses and starting them on non-pcs
  - ZC_MSG_STATE_CHANGE2 for starting *all* statuses on players
  - tick = 9999 for statuses of indeterminate duration
  - for non-pc units, a packet is only sent if it has a visual impact on the client; if you notice any missing visual effects, please report them!
 * fixed hidden GM characters leaking certain status packets
 * fixed hidden GM characters not displaying timers for newly gained statuses
 * fixed status end packet never being sent for non-pc, non-mercenary units
 * fixed SC_CLOAKING displaying a time bar on the client
 * fixed tick being an unsigned int, yet used as a signed int
 * removed hard-coded status length exceptions in clif_status_change

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15688 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-15 10:30:42 +00:00
masao87
3f33f566f0 - Fixed a little leftover in socket_enchant2.txt .
- Added warp to iz_dun05 bugreport:5395 .
- Fixed a little typo in clif.c .
- Moved "int clif_status_load_single" from clif.c to clif.h .

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15665 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-07 23:50:38 +00:00
gepard1984
f810293de3 - Guild Castle code cleanup:
- removed `MAX_GUILDCASTLE` limit
  - char-server now caches guild castles in `DBMap`
  - improved guild castle SQL queries to support non-default values of `MAX_GUARDIANS`
  - disallowed declaring guild castles on maps that are on other map-servers 
  - map-server now requests data for all guild castles from char-server on initial connect (bugreport:287)
  - removed ''guildcastleinfo events'' as they were esentially duplicated ''OnAgitInit''
  - optimized castle data load packets (bugreport:287)
  - updated WoE scripts to reflect source changes (scripts no longer need or should request castle or guild data)
  - updated related docs
- Added `db_size` macro.
- Replaced manual counting of castles occupied by a guild with `guild_checkcastles()` calls.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15657 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-04 18:37:29 +00:00
xantara
75d4b76993 Fixed Royal Guard's Banding skill & icon activation (bugreport:5210)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15627 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-22 02:13:09 +00:00
gepard1984
99e244448e Fixed /lb and /nlb commands displaying additional nickname (bugreport:5351).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15615 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-19 12:38:25 +00:00
lordttseven
27933caa3d - reverted part of r15609 since apparently the issue is purely limited to ZC_SKILLINFO_LIST, and this change breaks big storages
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15613 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-19 10:21:16 +00:00
shennetsind
ca34ad2ba9 Fixed /b and /nb bugreport:5351
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15612 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-19 04:34:56 +00:00
lordttseven
930048790b * adjusted socket_max_client_packet to a more accurate (if guessed) value to prevent undefined client behavior (may only affect more recent clients?)
+ added a workaround for too large ZC_SKILLINFO_LIST packets resulting from all_skill group permission by sending excess skills one by one (bugreport:5348 and bugreport:5349)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15609 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-18 22:05:21 +00:00
gepard1984
19971714de - Fixed group permissions not recognizing false setting (bug:5342).
- Reverted a line from `clif.c` that accidentaly got commited in r15586.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15597 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-17 17:44:03 +00:00
shennetsind
3df097e1e2 Initial support for Shadow Chaser and a few adjustments here and there.
- credits to 3ceam for the base
- should you step by any bugs let us know, http://rathena.org/board/tracker

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15589 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-17 15:33:13 +00:00
gepard1984
4113c9de4a - Removed outdated version number handling (follow-up to r11503).
- Fixed mapcache compilation issues in Linux.
- Added some missing `svn:ignore` properties.
- Moved `BLOCK_SIZE` definition from header to source file.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15586 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-16 17:09:43 +00:00
gepard1984
334d5959be Removed deprecated memory manager macros (follow-up to r14916).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15581 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-14 15:29:00 +00:00
gepard1984
22f0714c07 - Added libconfig (configuration file library: http://www.hyperrealm.com/libconfig/):
- Updated VS9/10 project files.
   - Updated `configure` & `Makefile`s.
 - New GM, Commands & Permissions system:
   - '''This is a backwards compatibility breaking update''', please read tid:58877
   - Replaced GM levels with Player Groups.
   - Commands permissions & other privileges now depend on group, not GM level.
 - `@help` command improvements: requires "commandname" param and shows more detailed info about commands.
 - Modified GM whisper system to deliver messages basing on permissions, not GM level.
 - Remote trade request is now possible only if player is allowed to use `@trade` command as well.
 - Added a proper permission to use `/changemaptype` command.
 - `clif_displaymessage` is now capable of displaying multiline messages.
 - All `ACMD_FUNC`s are static now, and the only way to invoke them is with `is_atcommand()`; all client commands (starting with `/`) are now translated into corresponding atcommands (with exception of `/kick` used on monster, as there is no atcommand to kill single monster).
 - Removed nonsense "bot check" triggering when player blocked (`/ex`) Server.
 - Merged `@monster`, `@monsterbig` and `@monstersmall`.
 - Improved flow of atcommand execution to avoid revealing info about online players or existing commands to non-privileged players.
 - Merged `atcommand` and `charcommand` script functions (`charcommand` is aliased to `atcommand`).
   - Fixed `atcommand` script function reading unknown memory area (possible access violation).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15572 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-13 01:19:04 +00:00
shennetsind
b38bf06327 item_trade nodrop/notrade flags no longer share no mail and no auction flags, credit to kenpachi for his item_trade update, for more info check tid:58847
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15569 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-12 16:45:04 +00:00
shennetsind
70352fc918 Added 2 new item_trade.txt flags as per kenpachi request:
- Item can't be attached to mail
- Item can't be auctioned

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15564 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-11 17:11:56 +00:00
shennetsind
e80747d499 Fixed bug with create new poison (GCROSS) not working properly, bugreport:5311
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15562 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-10 22:55:32 +00:00
shennetsind
76253a7cad Fixed bug that allowed a auction bid to fail (and generate zeny loss) if made while no char server is present.
Added @showzeny tracking to pc_payzeny so that it's messages are more consistent when zeny is earned/reduced. credit to gepard for his concept
both from bugreport:1138

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15550 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-09 00:12:13 +00:00
xantara
42f3afb0ab ` Fixed Warg Dash skill to continuously run until codiling with an object (bugreport:5143)
` Fixed Warg Mastery, Warg Rider, and Warg Dash skills to check conditions before cast begins (bugreport:5181)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15542 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-04 08:00:39 +00:00
eathenabot
3851e0e1ff * Merged changes up to eAthena 15073.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15540 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-04 05:54:16 +00:00
brianluau
00367cd7b7 - Removed more trailing tabs.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15527 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-30 20:17:55 +00:00
brianluau
3aede46965 - Removed trailing tabs, and fixed some spacing.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15524 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-30 16:02:55 +00:00
gepard1984
ada41eebd1 * Fixed zeny duplication exploit in mail system, introduced in r15310.
* Added proper mail zeny loss prevention (bugreport:2919, follow-up to r15310).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15520 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-25 20:35:49 +00:00
eathenabot
2aa297a4a0 * Merged changes up to eAthena 15068.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15506 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-23 04:19:38 +00:00
xazax-hun
d4cae50fe1 Minor cleanups, mostly reducing scopes.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15504 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-22 13:49:09 +00:00