876 Commits

Author SHA1 Message Date
aleos
4bd5674350 * Adjusted @speed so it is no longer reset when a player's status is recalculated. Log out or use @speed -1 to reset to default. (bugreport:7306)
> Follow up to r17220:
* Added an extra check if a player does not have a homunculus for 'hommutate' and 'morphembryo'

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17236 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-08 22:30:12 +00:00
lemongrass3110
927b1fdb47 Speeded up jobchange command. Partially fixes bugreport:7453
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17235 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-08 02:05:27 +00:00
euphyy
9711667c31 * Added "Malangdo Island" to Malangdo quests, and fixed the dialogue in other Malangdo scripts.
* Implemented status change timers for 2012-06-18 onwards; added packets for 2013-03-20Ragexe. (Hercules 267eb1f)
* Fixed a crash when def1 hit 400. (Hercules 7e35b76)
* Fixed a warning in clang related to the channel system. (Hercules 16dfef6)
* Fixed @disguise breaking with @refresh. (Hercules b804926)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17234 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-08 00:59:04 +00:00
glighta
29970729cf -Fix chat system not deleting all chan on logout. tid:80999
-Upd @mapinfo to count number of vendors in map
-Upd getrandgroupitem to check if valid itemit returned.
-Cleanup and KR style

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17232 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-07 08:24:15 +00:00
euphyy
1fa24b05a6 * Documented @fontcolor and fixed a related crashing issue. (Hercules 79ab86b)
* Characters now leave all channels upon @autotrade. (Hercules daccb6e)
* Re-enabled two Dewata warps. (bugreport:7454)
* Enabled BS_GREED in PvP/GvG maps. (bugreport:7463)
* Removed some misleading documentation for getrefine() and cardscnt(). (bugreport:7474)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17231 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-06 04:03:43 +00:00
glighta
7bc683e21e -fix bugreport:7458 (deleting associate timer before cleanup status)
-merge clif_guild_skillup and clif_skillup (old TODO)
-add implementation for packet : 0x8c7, 0x99f and 0x1c9, variant of ZC_SKILL_ENTRY (0x11f)
-replace some hardcoded skill_flag by enum values

-little cleanup in skill_attack and regroup some skill with same effect (blewcount, animation).
-rewritte combo handling to regroup info and not duplicate info.
-change eleanor skill to use SC_COMBO as memo instead SC_STYLE_CHANGE
-separate SC_TINDER_BREAKER from SC_CLOSE_CONFINE since they don't act same way
-change MH_SONIC_CRAW to one attack with multiple hit instead x attack.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17229 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-04 00:18:59 +00:00
euphyy
643861ba17 > Implemented Channel System to replace @main. See tid:80999 for full details. (Hercules 7ec1e8f, 1e87c09)
* Adds @join and @channel commands to manipulate chat channels. (see doc/atcommands.txt)
* Speak in a #channel by sending a whisper to #channel or binding your global chat to the channel (@channel bindto <#channel_name>).
* Automatically join local map channels (#map) and guild ally channels (#ally), with mapflag 'nomapchannelautojoin' to disable the channel for a map (optional).
* Allow users to create private channels if 'allow_user_channel_creation' is true.
* Set default channels, text colors, and other settings in conf/channels.conf.
> Other changes:
* Improved overall guild processing/lookup by creating a cached guild state.
* Fixed a bug where equipping a garment would override costume garment.
* Removed clif_message and merged it with clif_disp_overhead, since both use the same packet.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17228 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-03 22:52:25 +00:00
euphyy
a75c0475a2 > Hercules merges:
* 9b5ec24:
@accinfo update -- added pincode support and changed group_id to group_level as to respect the level hierarchy on whether to display passwords or not.
Updated GeoIP Database to March 2013.

* 9aded8a:
Introducing Costume Garment Slot 8192.
Also updated getlook script command to support Robe/Garment (val 12 Look_Robe).

* 691b3e6:
Fixed Tetra Vortex client crash. (bugreport:7302)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17218 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-27 21:57:45 +00:00
glighta
55686799e4 -Follow up r17206, transfert *src on status_get_sc_def to properly calculate defense.
nb : 
NULL is transmitted for atcommand and npc call since they shouldn't be reduced.
src = direct user, so we can compare directly, if you want to compare to master please cast so.
saved status from char won't have *src currently since I don't believe we need to recalculate def.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17211 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-26 06:04:04 +00:00
lemongrass3110
c3572cd2c8 Fixed duplicate message output bugreport:7349
Fixed a issue with a SQL value bugreport:7346

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17196 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-13 14:16:40 +00:00
euphyy
7d0ea0c5c0 * Fixed an incorrect loop in El Dicastes quests (bugreport:7343).
* Follow-up r17188, temporarily restored OPTION_MOUNTING to fix compiling errors and fixed a few other issues (bugreport:7342).
* Updated Hunting Missions script to v1.3, which adds a blacklist for rare monsters.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17190 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-11 22:04:56 +00:00
aleos
290638c829 > Follow up to r16337 and completed suggestion (tid:76250). Drop and EXP rates now take player and mob level into consideration for specific information commands.
- Added RENEWAL_EXP level penalty mod to @mobinfo.
- Added RENEWAL_DROP level penalty mod that got removed from @mobinfo.
- Added RENEWAL_DROP level penalty mod to @showmobs.
- Enabled atcommand_mobinfo_type by default (needs RENEWAL_EXP or RENEWAL_DROP to be enabled to work).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17173 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-06 03:10:58 +00:00
glighta
9d93ffa2d0 -Fix bugreport:7014 based on Kichi solution (chorus skill wasn't checking partner condition)
--Add kind of handler in skill_check_condition_castbegin for group check and move some from unit unit_skilluse_id2 (wich not really meant for check)
-Cleanup leftover from r17153

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17161 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-02-25 22:00:20 +00:00
glighta
c0e5e26264 -Remove duplication of msg_txt() handlers in char::inter and map::atcommand, transfert it to common::msg_conf
-Add a msg_table for login server to be able to have his own configured message, (not in source)
-Split msg_athena.conf file into msg_conf/login_msg.conf, msg_conf/map_msg.conf and msg_conf/char_msg.conf, thus allowing more flexibility wich all table and not have to wory about range and offset for shared index... => that was too annoying and same ram requirement..
--nb you still can do import to override those files
-Add msg-config argv options for char and login serv
--Fix bugreport:5440 as exemple of new possibility (for char)
--Changed auth_fail_login hardcoded logged message to configured with msg_txt, as exemple2 (for login)
-Rever athena-start unwanted commit change on r17152

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17153 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-02-22 02:04:42 +00:00
euphyy
fa88107a9e * Some optimization of 13-1 quests.
* Updated SQL databases from r17134, r17149.

> Hercules merges:
* 2f72676, 06883a7:
Renewal item_db updates, mostly new headgears and costumes.

* b38c660:
Fixed Trick Dead not being removed on job change.

* 55134e8:
Modified @mi exclusion criteria so that it requires a monster to not have a fixed spawn point as well as no base/job exp. It was excluding things such as red/blue/whatever plant from search results.

* bf76055:
#autotrade now relogs the target, not the caster.

* c6882c7, 412efb9:
Updated Renewal Izlude warps.
Moved various Izlude NPCs to Renewal coordinates.

* 064dad8:
Fixed bug where Kagerou and Oboro could hit their Zanzoe.
Follow-up on bugreport:4832, Ankle Snare now works properly in GvG.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17151 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-02-22 01:28:46 +00:00
lemongrass3110
0ec8a5b6c5 Fixes homunculus level up crashing the map server. bugreport:7106
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17147 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-02-20 18:08:17 +00:00
euphyy
058a7b4f4e > Hercules merges:
* 7e72f0c, 3bba651:
Improvements all over the place.

* 327a46d:
Arrullo no longer crashes the server when used by monsters.

* 1093763:
Fixed official behiavior of WZ_SIGHTBLASTER dealing with HW_MAGICPOWER.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17139 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-02-18 23:54:33 +00:00
euphyy
f3e4ef5067 * Updated "Calyon" NPC in El Dicastes quests, fixing an incorrect condition.
> Hercules merges:
* 2bc8562, 126225b:
Skills granted through scripts are now permanent, until this date they were not relog persistent. (bugreport:5018)
Note that you will need to execute /sql-files/upgrades/upgrade_svn17136.sql for this change.

* b8379d2:
@skillid now supports partial search.

* d7ce0c1:
Character's online states are now updated as soon as they attempt a char select, instead of at the end of the procedure. This improves reliability with 3rd party software e.g. control panels. (bugreport:7269)

* d828000:
Login and Char servers will now exit when failing to bind to the port (as map server has always done).

* 003ed2c:
Moved "Honeymoon Helper" and "Odgnalam" NPCs to official RE coordinates.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17136 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-02-17 21:13:33 +00:00
trojal
56adc76382 * Added quotes parsing to @set (bugreport:7171)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17099 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-01-14 14:05:39 +00:00
markzd
cebcf7a332 - Fixed an warning of type casting. (bugreport:7081)
- Removed an unecessary type cast before atoi.
- Fixed Ray of Genesis Attack Formula. (bugreport:7053)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17074 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-01-03 09:12:36 +00:00
glighta
25c1cf6691 -Follow up r17065
--removing useless check on skill_id
--fix few broken atcommand due to failed sscanf
-Change skill_amotion_leniency as pointed out on tid:76492 so amotion delay wont be twice by default, (also increase intervall if you do want higher acd)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17072 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-01-02 09:40:01 +00:00
glighta
0cdba10793 -Harmonize skillid, skill_num, skillnum, skill, to skill_id and same for skill_lv
-Optimise type from int to int16 in order to reduce ram consumtion.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17065 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-30 16:00:24 +00:00
momacabu
0b758eca8b * Implemented @breakguild (tid:75159) and @hommutate (tid:74651).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17038 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-23 20:23:03 +00:00
momacabu
e0dea40cce * Removed @adopt as it was not working properly (bugreport:6384);
* Introduced @refreshall, it will @refresh all players in-game.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17035 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-23 18:00:59 +00:00
momacabu
509e03fa58 Community Contribution Time!
* Fixed bugreport:6303: official servers now always reshuffle the dice emoticon. To disable change the configuration to 'no'. Thanks to Vianna for providing the information!
* Fixed bugreport:7026: creating a guild and exiting in a short amount of time wouldn't save the guild properly. Thank you clydelion!
* Fixed bugreport:7030: removed warning introduced by r16987. Thanks Mr. Brian and Sir BuildBot for pointing!
* Fixed bugreport:7031: if a player crashed during warp it would cause OnTouch_ to not trigger anymore. Thanks to flaviojs (eA-r15185) for the fix and Napster for pointing out!
* Fixed bugreport:7032: Clementia and Canto Candidus give an additional of +1 str/agi/dex each 10 job levels (from caster). Thanks solvent!

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17034 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-22 19:41:32 +00:00
markzd
7e433f00ff * Follow up: r16011
1. Fixed a behavior which didn't unlock target when it was out of range. (bugrepor:7022)
  2. Removed a redundant variable assignment.
* Follow up: r17029
  1. Fixed @clearcart which was not deleting and updating the client properly.
  
- Special thanks to clydelion, on the fixes.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17033 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-20 17:32:49 +00:00
euphyy
b11c97a776 * Follow-up r17030: documented and added bMagicAtkEle to item_combo_db (bugreport:6943).
* Follow-up r17029: moved 'clearinventory' alias to atcommand_athena.conf.
* Custom Quest Shop updated to v1.5, which replaces categories with shop IDs.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17031 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-20 02:18:26 +00:00
momacabu
b9e0b20eeb Implemented @clearstorage, @cleargstorage, @clearcart, @clearinventory (alias for @itemreset) as suggested in tid:70764.
For further details read the documentation in doc/atcommands.txt

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17029 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-19 21:01:03 +00:00
glighta
b23cd26e57 - Re-committed r16987 (pid:161281).
-Re-commiting part is now ended

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17003 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-05 14:24:00 +00:00
momacabu
fd49ef5cf2 - Re-committed r16986 (pid:161281).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17002 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-05 14:21:13 +00:00
rud0lp20
144bb14efc - Re-committed r16981/trunk/src/ and follow up r16988/trunk/src/ (pid:161281).
-Fix previous recommit since r16995

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16999 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-05 14:13:26 +00:00
momacabu
4a9da0c578 - Re-committed r16973/trunk/src/ (tid:74924).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16995 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-05 05:41:00 +00:00
momacabu
fa9879ca5d - Re-committed r16971/trunk/src/ (tid:74924).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16994 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-05 05:25:16 +00:00
brianluau
a2bdc47daf - Undid r16968: SVN Replaced with source:/trunk/src/@16966 (tid:74924).
[16969:16991/trunk/src/] will be re-committed in the next 24 hours.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16992 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-05 02:53:33 +00:00
glighta
14ecbcf666 -Fix old warnings. 1st step to get ride of -wno flag in configure.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16987 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-30 04:13:46 +00:00
momacabu
2821d94d7b - Minor tweak in @jobchange, it will now read msg_athena.conf job names;
- Fixed warning in cleanmap command (follow up to r16971).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16986 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-30 00:30:13 +00:00
momacabu
875c7f5b8a - Don't recall the player if it is on the same place as the recaller;
- Fixed part 2 of bugreport:4337, homunculus experience received now share with party members.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16973 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-27 22:39:58 +00:00
momacabu
fbd6003be0 Applied suggestion in tid:74775. Added script command cleanmap and cleanarea script commands. Also modified @cleanmap to properly clean the entire map and added @cleanarea to clean an specified area. A documentation will be done in shortly.
Automagically copy files from import-tmpl to import folder on Windows after building the project (only works with rAthena-10 and rAthena-12) (tid:74635).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16971 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-27 21:53:07 +00:00
greenboxal2
a7c32653f7 Applied AStyle code formating as discussed on tid:74602.
Removed /SAFESEH option from MSVC11 projects.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16968 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-25 21:20:43 +00:00
glighta
b147d57559 -Fix bugreport:6751 allow noseige to be casted while under status.
-Upd athena-start, save pid to not kill all other process with same name (annoying when multiple server)
-Harmonize setmapflag and @mapflag, flag value is always an int, and could be superior to 1 for some mapflag
-Fix bugreport:6923 for Windows
-Upd @zeny to remove rest of zeny if not enough money as requested

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16959 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-24 08:50:59 +00:00
glighta
0743650416 -Apply mkdu95 fix for bugreport:5145 preventing clone if player dead, (for slave and evil clone)
-Fix old fread, fgets warnings, displaying a msg errors when failed now
-Cleaning checkweight debug showinfo


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16952 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-23 05:53:29 +00:00
glighta
805aedeff0 -Apply EvilPuncker path from tid:71756
-Fix and upd logzeny enumeration type bugreport:6897
-Upd @zeny to send a message when succed bugreport:6886
-Upd ChaosPanic to affect all bugreport:6893
-Upd bloodylust cooldown and disable endure effect bugreport:6547

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16940 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-22 01:13:28 +00:00
glighta
b4b7d621ee Following r16914
-fix @zeny for negative amout bugreport:6886, bugreport:6895 bugreport:6888
-fix @cash,@points command display result
-enforce bound chk for both

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16924 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-14 02:26:00 +00:00
glighta
f98f9a56ab Following r16914
-Upd pre-re db (insignia, homon-s, bloodylust, chaospanic)
-fix @zeny for negative amout bugreport:6886

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16923 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-13 01:03:28 +00:00
momacabu
57006f7756 - Fixed bugreport:6887, a variable was not initialized;
- Make @addwarp <npc name> parameter mandatory as per requests;
- Changed SCB_ALL to SCB_BASE on SC_INTRAVISION case, it should be enough.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16922 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-13 00:27:40 +00:00
momacabu
069793e804 Modified @addwarp to accept a new optional parameter <npc name>. If <npc name> is specified, then the warp created will have that name.
Otherwise it will use a name chosen by the emulator.
If there is already another warp with that name the generic name will be used instead.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16919 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-12 02:46:28 +00:00
shennetsind
f0035207bb Follow up r16916: enforced status recalc when intravision ends to ensure it is properly overridden.
Follow up r16914: removed unused var

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16917 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-12 00:53:03 +00:00
glighta
752776e4cc -Add Homon-S skills, 1st implementation (all done except Eleanors)
--Upd Skill conf to set land-limit for homonculus by default (ground skill limit)
--Mv MH_HEILIGE_STANGE and MH_ANGRIFFS_MODUS skill from Eleanor to Bayeri

-Enforce all zeny transaction to use pc_payzeny and pc_getzeny handlers, (auto log and clif)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16914 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-12 00:06:25 +00:00
momacabu
f28c2a56f5 - Modified *monster and *areamonster script commands to allow size and ai parameters.
-- Event parameter now no longer works as size & ai replacement.
-- If not defined, it'll assume the default size (0 = medium) and default ai (0 = none).
- Changed all hardcoded AI states to recently created enum.

Please test, if you find any bugs, report on our Bug Tracker.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16904 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-10 19:44:12 +00:00
shennetsind
e242d2b5a9 Performance Improvement; Server shut down, instance clear up, and @cleanmap are now all faster. Instead of wasting time doing a dbmap lookup (of a data it already possessed!) on each floor item being deleted, it'll use the data to clean the item.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16901 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-10 17:15:37 +00:00