174 Commits

Author SHA1 Message Date
glighta
ccb0dc1603 -Follow up r17284
-- add makefile for cmake and visual studio
-- move some hardcoded into msg_conf

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17285 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-23 15:24:31 +00:00
glighta
6967a84171 -Channel system refactoring.
-- Move channel into is own file
-- fix channel alliance not being refresh when ack alliance
-- improve ram consumtion of chan, (map and guild chan no longer zombie when no more player in there)
-- spead up cleanup
-- increase encapsulation
-- cleanup duplicate code
-Upd merge ban|unban|banlist|setopt new options


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17284 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-23 14:50:09 +00:00
euphyy
3f514b442d * Switched some 'close' commands to 'end' in custom scripts. (follow-up r17280)
* Deleted some code in Global_Functions that really shouldn't have been there. (blame: r15262)
* Other documentation changes and cleaning...

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17282 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-22 05:00:27 +00:00
glighta
bb6c9b6e53 -Follow up r12273, add check on map_flooradditem to prevent item apparition if inventory full and item is not droppable
-Follow up r12272, change msg_langtype2langstr for readable format (mkbu95)
-Upd mobdb, increase range for new id, thx to tid:81416
-Fix bugreport:7563 mob casttime are no longer affected by any status (Akinari)
-Fix bugreport:6475 bloodsucker should now reveal hidden target (Akinari)
-Upd map_msg_fr (Capuche)

.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17274 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-20 03:19:19 +00:00
momacabu
cb098d5126 - Follow up to r17272, added friendly message when you can't return your pet to egg.
The hell, been listening too much Bryan Adams..

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17273 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-20 01:14:02 +00:00
momacabu
25da833d9b - Partial fix for bugreport:1222, if you have a pet and the pet egg is flagged as non-droppable and your inventory is full and you try to return the pet to the egg, the egg would drop; now you won't be able to return the pet to the egg.
- Fix for @item, if you use an egg id it would create it regardless of your inventory limit, dropping the item if your inventory is full; now it won't create the egg.
- Fixed Bahasa Indonesia translation file, thanks Cydh.
- Now the languages at @langtype are displayed as they are written in their original language.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17272 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-20 01:00:37 +00:00
euphyy
05e3bf6ff0 * Implemented Malangdo refiners "Clink" and "Holink".
* Added Pouring spawn to mal_dun01, according to iRO.
* Updated POR map_msg translation. (credits: mkbu95)
* Fixed a few incorrect item types. (bugreport:7554)
* Users can no longer attack while in chat rooms. (Hercules 21d1bdd)
* Some minor follow-ups to other commits.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17269 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-18 00:49:30 +00:00
momacabu
b2aca41dbd * Introduced support for Brazilian Portuguese messages in map_msg;
* Confirmed a little thing on the Spanish translation;
* Added support for "sim"(yes) and "nao"(no) in config settings.

Any problems please report on the Bug Tracker.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17268 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-17 23:39:11 +00:00
euphyy
e6dfa8ab65 * Updated RUS and SPN map_msg translations. (credits: Lilith and jaBote)
* Fixed a quest entry and NPC name for Eden Quests 71-85. (bugreport:7551)
* Added missing barrier resets in Poring War script, credits to Zopokx. (bugreport:7241)
* Removed nonexistant function "SetPalete" from item scripts. (bugreport:7409)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17267 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-17 04:17:47 +00:00
euphyy
fdeb3e605d * Minor updates to Console Commands system. (follow-up r17255).
* Updated IDN map_msg translation. (credits: Cydh/nanakiwurtz)
* Fixed a function call in Yuno Kafra. (bugreport:7531)
* Applied eol-style:native property to newly added files.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17257 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-14 02:01:31 +00:00
glighta
755000f570 -Releasing console support (disable by default)
--Allow admin to send some command in server by cli. (do not use those who require a real player)

-Update msg system
--Add RU translation from Lilith (give me that in UTF8 plz guys)
--Upd FR translation from Capuche
--Upd file read for something more dynamic
--upd @langtype to display available when no arg enter as specified in doc
--Fix few typos

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17255 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-13 13:51:25 +00:00
euphyy
5040cffaf6 * Updates to the language system, thanks to Lighta and Akinari for their input! (follow-up r17251, r17252)
* 'summon' command now takes milliseconds instead of seconds, as documented in script_commands.txt. (bugreport:7527)
* Fixed a max level bug with Homunculi. (bugreport:7525, credits to Akinari)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17253 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-13 04:33:56 +00:00
akinari1087
bc7f63b3b5 Song and Dance timers now correctly update in the instance of Dissonance/Ugly Dance cell switches - Fixes bugreport:6606
Adding display enabled language in @langtype
Speed up language check and ignore case

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17252 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-12 23:43:29 +00:00
glighta
bba1db77e0 -Releasing Multilanguage support tid:80352 hx to Lilith and all other contributors
No other langage is enable by default, change LANG_ENABLE in msg_conf.h
-- Add 2 new atcommand :
@langtype to switch over langages
@reloadmsgconf to reload the db
Langage choosen is account wide, not reseted by default on relog.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17251 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-12 03:50:16 +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
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
brianluau
9e2bf9e2e2 - Added svn:eol-style=native property.
- Added missing newline at EOF (bugreport:7347)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17193 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-12 17:23:45 +00:00
technote24
402a955b63 =General
*Updated a bunch of enum tables and other things.
-New NPC's, skill tags, status tags, equip masks, etc. are added with this update.
-Equip masks for costume robe and floor, will remain disabled until support for them is added.
-Shadow equips will require a newer client before they can be coded in.
-Hanbok costume job is added but is currently unusable since not all the coding to handle
-them is in.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17188 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-10 18:54:37 +00:00
euphyy
e59e1d99d3 * Fixed an error in pincode system (follow-up r17183).
* Revised/added 'npc_isnear' to check if an NPC is nearby when opening chat rooms or using vending. (Hercules bc63ef1)
* Misc. fixes.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17187 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-10 05:25:54 +00:00
euphyy
f24741fbd3 * Initial implementation of Octopus Cave instance.
* Changed encoding on new cli and msg_* files from r17152, r17153.
* Replaced a couple of characters in source files that caused encoding issues.
* Updated SQL database from r17157.

> Hercules merges:
* 915365b:
Updated official behavior of warp portal dealing with skill requirement and casting.

* 6c6fbf0:
Updated quest_db with some Port Malaya entries.

* adda8d7:
Updated SN_SIGHT to its RE behavior.  True Sight stacks with skillratios now, instead of multiplying final damage.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17158 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-02-24 06:12:38 +00:00
aleos
e46c65614c Partial revert from r17154 and r17155.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17156 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-02-22 14:01:51 +00:00
glighta
d0c8fc23d6 Follow up r17153 part2 replace map_athena.conf by map_msg.conf as default expected
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17155 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-02-22 03:13:02 +00:00
glighta
6194931f48 Follow up r17153 part1 revert map_athena.conf deletion to keep log history track, transfert it to msg_conf, fix vcc warnings
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17154 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-02-22 03:12:57 +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