summaryrefslogtreecommitdiff
path: root/src/map/clif.c
AgeCommit message (Collapse)AuthorFilesLines
2012-02-13 - Added `libconfig` (configuration file library: ↵gepard19841-347/+152
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15572 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-12item_trade nodrop/notrade flags no longer share no mail and no auction ↵shennetsind1-1/+1
flags, credit to kenpachi for his item_trade update, for more info check tid:58847 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15569 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-11Added 2 new item_trade.txt flags as per kenpachi request:shennetsind1-2/+3
- Item can't be attached to mail - Item can't be auctioned git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15564 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-10Fixed bug with create new poison (GCROSS) not working properly, bugreport:5311shennetsind1-2/+9
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15562 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-09Fixed bug that allowed a auction bid to fail (and generate zeny loss) if ↵shennetsind1-4/+4
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15550 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-04` Fixed Warg Dash skill to continuously run until codiling with an object ↵xantara1-1/+1
(bugreport:5143) ` Fixed Warg Mastery, Warg Rider, and Warg Dash skills to check conditions before cast begins (bugreport:5181) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15542 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-04* Merged changes up to eAthena 15073.eathenabot1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15540 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-30- Removed more trailing tabs.brianluau1-4/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15527 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-30- Removed trailing tabs, and fixed some spacing.brianluau1-7/+7
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15524 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-25 * Fixed zeny duplication exploit in mail system, introduced in r15310.gepard19841-1/+4
* Added proper mail zeny loss prevention (bugreport:2919, follow-up to r15310). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15520 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-23* Merged changes up to eAthena 15068.eathenabot1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15506 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-22Minor cleanups, mostly reducing scopes.xazax-hun1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15504 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-20Merged TXT removal branch back to trunk.gepard19841-9/+0
* TXT save engine is removed and no longer supported. * See also tid:53926, tid:57717. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15503 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-17Enabled Mersenne Twister MT19937 as random number generator instead of ↵gepard19841-8/+9
standard `rand()` function (follow-up to r14865, r14870). - It fixes issues caused by RAND_MAX being only 32k in Windows system (bugreport:1927, bugreport:86). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15483 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-17* Merged changes up to eAthena 15067.eathenabot1-4/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15481 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-17* Merged changes up to eAthena 15066.eathenabot1-1466/+2220
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15480 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-17* Merged changes up to eAthena 15065.eathenabot1-15/+25
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15479 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-17* Merged changes up to eAthena 15063.eathenabot1-0/+149
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15478 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-17* Merged changes up to eAthena 15061.eathenabot1-24/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15477 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-17* Merged changes up to eAthena 15058.eathenabot1-158/+188
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15476 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-17* Merged changes up to eAthena 15057.eathenabot1-53/+33
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15475 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-17- Follow up to r15472.eathenabot1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15474 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-17* Merged changes up to eAthena 15054. [ai4rei]eathenabot1-23/+23
* clif cleanup: Changed argument types of some clif functions. - Added enumeration for skill failure codes and made clif_skill_fail use it. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15472 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-17* Merged changes up to eAthena 15053. [ai4rei]eathenabot1-12/+9
- clif cleanup: Changed clif_changestatus so that it takes sd instead of bl, since it only accepts BL_PC bls anyway. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15471 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-17* Merged changes up to eAthena 15052.eathenabot1-600/+355
[ai4rei] * clif cleanup: Changed return value types to void of all functions, whose return value does not serve any purpose. - Removed void returns at the end of functions. - Marked some local functions as static. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15470 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-11Picklog improvements:gepard19841-2/+2
- now it is finally possible to log every item players gain or lose - added 3 log types: `I` for auctioned items, `B` for buying shop transactions and `X` for all other items transactions that don't fall into another category (for detailed explanation on all log types read `conf/log_athena.conf`) - it also fixes items being logged as picked up/gained by player when in fact they were dropped on the ground due to full inventory git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15420 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-09* Merged changes up to eAthena 15051.eathenabot1-11/+74
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15414 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-08Fixed Cloaking Exceed.protimus1-2/+3
- Stop hiding status when use skills or attack enemies. - Added security fixes to clear hiding status in some cases, like warped and reloging. - Updated walk speed formula. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15408 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-07Initial support for Royal Guard and some adjustments here and there.shennetsind1-1/+1
- credits to 3ceam for the base. - should you step by any bugs let us know, http://rathena.org/board/tracker/ git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15404 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-05Improved friend removal process to avoid inconsistent state if char-server ↵gepard19841-11/+18
was offline, fixed wrong packet size check (follow-up to r15119). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15397 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-04Fixed waitingroom npcs from being displayed properly against maya p exploit ↵shennetsind1-3/+3
protection git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15395 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-04/resetstate also resets taekwon mission, bugreport:2200shennetsind1-2/+7
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15384 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-03* Merged changes ONLY eAthena 15055.eathenabot1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15362 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-01Fixed memory issue with fakename in parseGlobalMessage, bugreport:5192shennetsind1-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15349 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-01Added new @/# command aliases pattern, all aliases can now be ↵shennetsind1-20/+20
modified/added/removed in the front-end within atcommand_conf (no longer hardcoded). The aliases pattern was defined in this topic: tid:56343 atcommand_conf file rewrite/update belongs to Jguy and BrianL git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15343 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-29minor code improvement, moved some "hidden" configs to config/Core.hshennetsind1-10/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15329 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-29Fixed SC_BURNING icon not going off after it was over;shennetsind1-3/+3
Fixed SC_BURNING from making character unable to move/cast skills/use items/etc, bugreport:5174 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15328 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-29Added mail zeny loss prevention, bugreport:2919shennetsind1-0/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15310 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-29Fixed that you couldn't unequip items while frozen/stoned/etc, bugreport:2772shennetsind1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15309 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-27Fixed an issue, players were able to see disabled NPCs with maya purple ↵xazax-hun1-2/+25
card. (bugreport:2221) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15288 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-25Follow up r15267, changed to standardshennetsind1-2/+0
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15268 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-25Fixed Katar critical boost on status window (would work; but not change the ↵shennetsind1-0/+2
value in the window), bugreport:3053 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15267 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-24* Merged changes up to eAthena 15040.eathenabot1-32/+22
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15245 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-24Added official elemental converter creation window handling, bugreport:5144shennetsind1-0/+33
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15242 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-21Fixed GCC "--enable-debug", and 2 compiler warnings that were omitted due to ↵shennetsind1-1/+0
enable-debug being broken. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15197 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-21Fixed soul drain visual effect not being displayed to mobs, bugreport:2980shennetsind1-3/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15193 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-19* Merged changes up to eAthena 15036.eathenabot1-6/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15167 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-16RE cashshop fix, bugreport:4764shennetsind1-14/+28
-- requires a msgstringtable.txt modification or client will crash (will be in the client svn asap) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15137 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-14Removing a friend will also remove you from your friends friendlist, ↵shennetsind1-0/+23
bugreport:2977 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15119 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-14Fixed friend adding exploit, bugreport:4629shennetsind1-2/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15118 54d463be-8e91-2dee-dedb-b68131a5f0ec