107 Commits

Author SHA1 Message Date
Cydh Ramdh
ce090ce916 Skill Changes:
* Wizard/Warlock Skill
  * Moved Sightrasher (WZ_SIGHTRASHER) requirement to check Sight (SC_SIGHT) is active or not to skill_check_condition_castend section.
  * Fixed Sightrasher (WZ_SIGHTRASHER) splash area to 3x3. (bugreport:9298)
  * Now Comet (WL_COMET) cannot hits Hiding target (The mistake is not at flag 0x10000 in skill_db.txt, the flash should be added by SD_ANIMATION). (bugreport:8909).
  * Now Reading Spell Book (WL_READING_SB) checking the number of available spell books in Spell Book DB first to prevent infinite loop.
* Sage Skill
  * Now Abracadabra (SA_ABRACADABRA) checking the number of available skills in Abra DB first to prevent infinite loop.
  * Reduced MAX_SKILL_ABRA_DB from 350 to 160.
* Shadow Chaser Skill
  * Fixed Chaos Panic (SC_CHAOSPANIC) effect. (bugreport:9321).
* Genetic Skill
  * Now Wall of Thorn (GN_WALLOFTHORN) can be knocked back but not a whole skill group and durability (HP & max hit) for each skill unit.
* Guillotine Cross Skill
  * Now Magic Mushroom (SC_MAGICMUSHROOM) effect checks the number of available skills in Magic Mushroom DB first to prevent infinite loop.
  * Changed 'RemoveFlag' in db/magicmushroom_db.txt value to 1 to remove skill by importing. (bugreport:9322).
* Wanderer/Minstrel Skill
  * Now Randomize Spell (WM_RANDOMIZESPELL) checks the number of available skills in Improvise DB first to prevent infinite loop.
  * Reduced MAX_SKILL_IMPROVISE_DB from 50 to 30.
* Rebellion Skill
  * Cleaned up, added, corrected some (missing) sequences & DB values.
  * Fixed Hammer of God (RL_HAMMER_OF_GOD) splash damage.
  * Fixed Shaterred Strom (RL_S_STORM) push back & force to sit effect (for player, or stun for monsters) (first implementation leftover).
  * Fixed Slug Shot (RL_SLUGSHOT) hitrate-distance penalty (first implementation leftover).
  * Fixed Howling Mine (RL_H_MINE) damage ratios (first implementation leftover).
  * Now Bind Trap (RL_B_TRAP) only can be placed 1 at same time.
  * Fixed Bind Trap (RL_B_TRAP) damage calculation by using Caster's DEX, Target's Current HP, & Skill Level. FIXME: Exact formula still unknown (refers to idAthena formula).
  * Now Dragon Tail (RL_D_TAIL) doesn't split damage among targets anymore.
  * Now Crimson Marker (RL_C_MARKER) will fails to cast if no slot available.
  * Implemented official packet `ZC_C_MARKERINFO` of Crimson Marker (RL_C_MARKER) mini-map marker (first implementation leftover). !TODO: Confirm the packet for older or newer clients (idAthena partial merge r1497)
  * References: http://forums.irowiki.org/showpost.php?p=1387992&postcount=968, follow up 507f047, dd67f9d

Misc:
* Fixed some skills that should work only in shoot range (map_foreachinshootange, by default), and added check for respecting *skill_wall_check* (map_foreachinrange).
* Fixed item stackable check for `/item` command, follow up 9b4d922.
* Fixed npc source file isn't removed properly by @unloadnpcfile. (bugreport:9311).
* Added constantan for status_change_start() and sc_start() scripts as well
  * SCSTART_NONE = 0x0
  * SCSTART_NOAVOID = 0x1
  * SCSTART_NOTICKDEF = 0x2
  * SCSTART_LOADED = 0x4
  * SCSTART_NORATEDEF = 0x8
  * SCSTART_NOICON = 0x10
* Moved and changed itemdb_unique_id() to pc_generate_unique_id().
* Seperated check for skill SC requirement to skill_check_condition_sc_required().
* Added skill unit flag `UF_KNOCKBACK_GROUP`, just an option to make skill unit can be knocked back a whole group.
* Typos and other minor changes!

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-10-01 17:42:30 +07:00
Lighta
82bb9b1f2f Fix and update Cmake build.
Update config.pl
2014-09-10 17:46:11 -04:00
Euphy
ea1a247f99 Minor Renewal mob database updates. (Hercules 0fadf38)
- Some name changes.
- Enabled some previously disabled mobs (unused).
- Added mob IDs 2402~2403, 2924~2936.

Other changes:
- Changed 120 stat equality check to inequality for two items. (bugreport:9261)
http://rathena.org/board/tracker/issue-9261-bradium-brooch-bonus-if-agi-120/
- Follow-up 7cd82d0: updated data sizes in convert_sql tool.

Signed-off-by: Euphy <euphy.raliel@rathena.org>
2014-08-30 22:06:01 -04:00
lighta
402170c018 -Update doc/souce_doc.txt for refactoring change
-Add doc/packet_interserv.txt and doc/packet_client.txt, to refer packets
-Upd src inner documentation, map/intif mostly
-Add  common::utils::check_filepath(), fixing bugreport:9131 @loadnpc crash
-Fix pc_level_penalty_mod not using mob_class correctly
-Fix db/import/ for produce, arrow, abra, impro db...
-Upd install script (config.pl) to use mariadb for fedora/centos distrib
2014-08-20 20:58:48 -04:00
lighta
d6caec1c51 Various fixs
Fix bugreport:8418 (possible mapcrash from custom instance script)
Fix bugreport:8439 (pc_bonus_item_drop typos) thx to Baalberith
Fix some errors detected by cppcheck
upd install.sh (leftover of svn and wrong simlink)
2014-01-07 20:15:40 -05:00
Cydh Ramdh
be516cb53b * Fixed bugreport http://rathena.org/board/tracker/issue-8408-script-line-931-data-too-long-for-column-atkmatk-at-row-1/
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-01-04 21:51:12 +07:00
Cydh Ramdh
e18bf43547 * Revert this 487f84e, please import upgrade_20131231.sql. Thank Lemongrass3110 and Toshiro90
* Follow up 7a9aa7f, enum errors
* Follow up 12007fe, function return type error
* Follow up dae8122, 'skill' to 'skill_learnlv'?

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2013-12-31 01:52:14 +07:00
Cydh Ramdh
487f84ef92 * Changed some item_db's fields on MySQL table to use char types rather than numeric types (those fields are never been used for calculation)
* Added missing config on inter_athena.conf for MySQL database (use_sql_db: yes)
* Please upgrade your MySQL database with upgrade_20131229.sql

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2013-12-29 06:44:48 +07:00
lighta
9cca188908 Itemtype
Fix itemtype IT_ARMOR and IT_WEAPON being inverted, bugreport:8180
please run tools/convert_itemtype.pl to update your dbs.
Upd athena-start having some issue for some os.
Fix a typo on DC_SERVICEFORYOU for val1 assignment.
2013-12-21 01:02:41 -05:00
lighta
ea925a05b1 Update check-doc to allow only listing, (for IDE that require functions for markup langage)
Add option for extra documentation file inc_scrtf and inc_atcf (for people who have their customs documented in other file, wich is probably best to avoid conflicts)
2013-12-07 18:03:03 -05:00
lighta
1d485ca934 Tools again
--Upd doxygen version_number to github link, for easier comparaison
--Fix convert_sql calling case, now doesn't care from where perl script
is called.
2013-11-28 02:44:52 -05:00
lighta
3132262791 Upd build_doc
Fix small newline typo.
Add option argument in script.
Prevent rebuilding by default if git is unchanged.
see build_doc --help for available option
2013-11-27 21:27:39 -05:00
lighta
ec91269ff4 Tools follow up
check-doc.pl :
 add result message when no issues is found
config.pl :
 update centos enable coredump setup
2013-11-26 23:06:01 -05:00
lighta
65d270ce0a Doc and Tools update
Replace check-doc (shell) by perl equivalent and update it.
Now checking custom folder and restricted atcm, also check for unmatch
command in documentation as requested before.
Update documentation to match sources.
Update config.pl replace svn install by git.
2013-11-26 00:00:11 -05:00
Cahyadi Ramadhan Togihon
fef6307cf0 * Follow up to bd2503e and 7355677
-- Modified field data of `equip_locations` to mediumint
-- Updated converter tool for item_db following this update
-- Updated item_db.sql, item_db2.sql, item_db_re.sql, item_db_re2.sql
-- CAUTION: Please update item_db MySQL tables by using 'upgrade_20131115_2.sql'

Signed-off-by: Cahyadi Ramadhan Togihon <house.bad@gmail.com>
2013-11-15 10:51:35 +07:00
lighta
1c5a53f25e Add doxygen conf
Adding doxyconf as rA default conf for doxygen and for people if they
wish to build their doc.
Adding tools/build_doc to check app for building doc and to update
version number in documentation.
Fix few typo in src
2013-11-14 14:31:47 -05:00
lighta
03ada4b547 Quickfixs
Fix bugreport:8035 (SC_ENERVATION altening twice watk)
Upd config.pl enable coredump part to reload sysconfig once altered.
2013-09-04 18:45:11 -04:00
euphyy
24c2c27c65 > Database SQL update: Complete
* Extended SQL converter to cover mob_db and mob_skill_db as well as item_db. All credits to Lighta - thank you!
* Current SQL databases mob_db.sql, mob_db_re.sql, mob_skill_db.sql, and mob_skill_db_re.sql replaced with converted files.
* Updated mob_db with new entries for Hall of Abyss, Port Malaya, and Eclage (missing some mob modes).
* Minor item_db updates.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17376 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-06-19 19:12:10 +00:00
euphyy
5d00e98927 > Item Database SQL update: Part 1 (tid:83703)
* Updated tools/item_db.pl to convert both the Pre-Renewal and Renewal item databases. (credits: Lighta)
* Current SQL databases item_db.sql and item_db_re.sql replaced with converted files.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17371 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-06-17 20:46:56 +00:00
glighta
b37ff67ef0 - Add help to enable coredump
-- perl too/config.pl -t Dump
- Move guild association down (when we sure we are accepted in guild)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17302 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-28 08:10:30 +00:00
glighta
94d2acd0ad -Fix EDP pre-re not adding bonus (for grimtooth and venomknife) bugreport:6259
-Fix Invisibility remove by ruwach / sight / impr_concentration bugreport:7285
-Fix Dispel not removing dance, (inversed area check)
-Fix Cmake compilation broken since r17189

-Upd check-doc, athena-start to ask arg if none given.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17200 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-15 21:10:06 +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
glighta
3f28476cd2 -Alpha release for eleanor skill (use with caution)
--Implement : MH_TINDER_BREAKER, MH_CBC, MH_EQC, MH_SONIC_CRAW, MH_SILVERVEIN_RUSH, MH_MIDNIGHT_FRENZY
--Fix style_change not giving sphere when eleanor attacking, and auto set to fighting mode when created.
--Add display msg to know in wich mode we are.
--Remove state check not working well with homon since ??
--Upd MH_SUMMON_LEGION to use summon mob declaration rather then real mob, and set them as agressive by default

-Mob doesn't have fixed casttime anymore bugreport:5697
-Fix few typos
--Enforce logs.sql to check if table not existing. (remove fail at import)
--fix bloodylust effect (temp)
--slave now return final master when killing mob

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17182 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-08 10:30:52 +00:00
glighta
709e4dd394 -Implement suggestion from tid:79293
--Upd Makefiles and configure
--Upd shell scripts and remove old unmaintenained one. 
-Upd tools/config.pl, add FreeBSD install package support


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17181 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-08 03:38:39 +00:00
glighta
edcebed605 -Follow up r17143
--Improve Autocheckconf, now checking if port already in used in system or duplicated in config
--Improve --f filename option, now cehcking if file exist before processing
--Add handling if given filename is invalide (structure not found).
--Fix filecheck, not checking if could be read by user before usage.
--Upd default sql_host from 127.0.0.1 to localhost by default for CLI usage.
 


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17144 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-02-19 20:59:29 +00:00
glighta
781183e41b Add a little configuration tool. => will attempt to install package and configure conf,sql. if you wish.
Setup port,ip,serv_id,serv_pw,md5,create db (log  & main), mysql user, import .sql, create serv login.
Small AutoCheckConf & save tmp-conf.
use --help to see other option


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17143 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-02-19 09:39:40 +00:00
thatakkarin
a1589988eb * Misc spelling fixes
* Added @lkami to list of current @kami variations in doc/atcommands.txt

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16967 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-25 20:42:27 +00:00
glighta
e54c630ce3 -Add tool/check-doc to verify if all script/atcommand are being documented. thx to Trojal
-Upd SC_ASH, make skill fail at 50% rate

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16964 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-24 20:41:16 +00:00
momacabu
aae7d1d129 - Removed backup.pl (for TXT servers) and vs9-to-vs8.php (outdated versions);
- Merged @killmonster2 with @killmonster tid:73632;
- Fixed bugreport:6764, auction code was misplaced;
- Follow up to r16753 (bugreport:6523), fixed bugreport:6673, using Gravitational Field with Safety Wall would keep the character immobilized. Blame myself, thankyou Lunar for the fix;
- Fixed bugreport:6514, @slaveclone wouldn't be targeted by monster. Thanks to zippy;
- Fixed bugreport:6837, some code was duplicated;
- Fixed bugreport:6768, removed some leftovers from TXT removal;
- Fixed bugreport:6868, Unequipping a weapon with Incantation Samurai card will not kill you if you have less than 999 hp and are on a non-pvp map;
- Fixed wrong bit field on ai field in mob_data structure. Credits to Ind.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16881 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-09 00:26:36 +00:00
greenboxal2
59be55b326 Added attack column as string type on TXT2SQL item_db conversion tool for renewal attack. (tid:65568)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16299 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-14 20:21:06 +00:00
gepard1984
f2474de01c * Fixes and improvements related to MVP rewards (bugreport:1259):
- removed obsolete (since r1!) ExpPer column from mob_db
 - official way to drop MVP rewards (always starts from first slot)
 - added MAX_MVP_DROP as define for max possible MVP reward slots
 * Updated mob_db SQL scripts.
 * Removed some renewal only monsters from pre-RE mob_db (were commented out anyway).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15531 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-31 20:06:57 +00:00
Gepard
f0865b9aa7 * Fixed some mob_db columns being too small for currently used values (bugreport:4866, since r14727).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14794 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-15 09:50:13 +00:00
brianluau
82048a049b - Updated SQL item/mob databases to latest. (thanks Peter)
- Updated item/mob txt-to-sql converter scripts to append a blank line at EOF.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14727 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-03-01 00:37:13 +00:00
ai4rei
6cbc16833f * Removed unnecessary getlogincount.pl, mapcheck.sh and mapchecker.sh tools (topic:262934).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14693 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-06 00:08:50 +00:00
ai4rei
3e4934d780 * Removed ladmin (remote administration tool), all related support code and the checkversion.pl tool with it's support code, which was shared with ladmin (topic:262934, related bugreport:1147, bugreport:1889, r9408 and r9610).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14667 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-01-13 11:42:12 +00:00
brianluau
9cc789d234 - Added svn:eol-style native for some conf/css/html/pl/sql/txt files.
- Added svn:executable property for several batch/shell scripts.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13972 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-27 16:56:26 +00:00
ultramage
de3e8cf874 Added a mapreg txt->sql converter script to /tools, because the sql mapserver doesn't read the txt mapreg savefile anymore and people will most likely want to preserve their global variables.
The script is php-based and requires the php_mysql module.
The script produces a series of INSERT statements, ready to be imported to the database.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13086 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-16 07:17:35 +00:00
ultramage
d2fa131861 Another update to the vs9->vs8 converter, to use appropriate line endings.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13084 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-16 02:10:24 +00:00
ultramage
2e677dbb88 Adjusted the vs9-to-vs8 converter so that status messages won't mix with its converted output.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13082 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-15 11:53:49 +00:00
ultramage
88b7ee7389 Attempt no.2 at svn:executable (followup to r13044)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13045 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-04 12:13:05 +00:00
ultramage
85019ebcf3 Corrected project files / makefiles that were missing newly added .c file entries.
Corrected a leftover _RJ setting in the vs6/vs7/vs8 txt login server project files.
Reformatted the converters makefile.
Added a crude vs9->vs8 project file converter to /tools.
Synchronized vs8 project files using the converter tool.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13043 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-04 11:25:28 +00:00
ultramage
106b44c1e7 Merged the /loginmerge branch (topic:192754)
* the login server storage, ipban and logging systems have been abstracted and now provide a common interface; the rest has been merged into a single login server core (no more login/login_sql duplicity)
 * storage systems are now added via compiler options (WITH_SQL / WITH_TXT)
 * multiple storage engines can be compiled in at the same time, and the config option account.engine defines which one will be used.
 * due to MySQL autoincrement limitations, accounts with id '0' will not be supported; account IDs from this point on should start from '1'.
 * login_log() functions now again record IP addresses in dotted format, not as 4-byte integers (undo from r6868).
 * removed config options that defined column names in the login table
 * removed `memo` and `error message` columns from login db/savefile
 * moved `loginlog` table to the logs database
 * added sql files upgrade_svn12975.sql and upgrade_svn12975_log.sql
 * due to changes to the login table layout, I added an !optional! sql file (upgrade_svn12975_view.sql) that will provide a certain degree of backwards compatibility with existing software; read the instructions inside carefully!
 * moved third-party includes/libs to a separate directory
 * updated project files / makefiles

Changed the way GM levels are handled
 * removed conf/gm_account.txt
 * added the gm level column to the txt savefile (after 'email' column)
 * gm level information is now transferred along with account data
 
For open problems see bugreport:1889.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13000 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-26 20:45:57 +00:00
ultramage
f6a6d34640 Replaced the TYPE keyword with ENGINE in all sql files, because this is the preferred alternative.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12480 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-04 21:04:47 +00:00
ultramage
8a926e83de Added back the GRF_PATH_FILENAME variable and commandline parameter.
Removed confusing /tool/mapcache/ configuration directory, changed code to use /conf for this purpose.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12154 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-30 16:25:47 +00:00
toms
ac123d2304 Updated conversion tools for mob_db & item_db
Updated SQL Files (item & mobs)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12138 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-25 16:11:39 +00:00
DracoRPG
7c8f12ccd5 I'm still here!
Rewrote fame ranking lists- changed MAP_NAME_LENGTH to 12, now there's MAP_NAME_LENGTH_EXT at 16 for
	  uses where there is / may be the .gat extension, code adjusted accordingly
- moved map_normalize_name to mapindex_normalize_name so that everything
	  handling map names uses the same extension-removing function
- greatly enhanced the map cache generator, complete documentation on the
	  tool and the map cache format can be found in doc/
- the map cache format changed a bit as a consequence, but of course a new
	  valid one is included (contains latest Nameless Island maps)
- fixed a duplicate entry in map index


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10167 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-06 17:22:40 +00:00
DracoRPG
58dcd187b0 Mapcache update, should polish off remaining bugs
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10003 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-13 20:24:08 +00:00
DracoRPG
0477c7a88f Added experimental new mapcache generator
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9928 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-28 00:57:29 +00:00
skotlex
d882e5030b - Reverted the mob ThinkTime update, that field is again aDelay as it apparently should be.
- Fixed one small compilation error.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9522 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-19 13:41:25 +00:00
skotlex
38338ae141 - Updated the mob_db converter to rename the ADelay column to ThinkTime.
- Updated the mob_db sql files to have this change as well.
- Updated mob_db2.sql


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9425 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-06 18:38:45 +00:00