2641 Commits

Author SHA1 Message Date
FlavioJS
12b9def7a8 * Delete ST_LOGIN auth in chrif_disconnectplayer (followup to r13256, bugreport:2292)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13257 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-03 22:23:31 +00:00
FlavioJS
2f1d2b2199 * Fix for "yet another online check bypass technique". (bugreport:2292)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13256 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-03 16:30:41 +00:00
L0ne_W0lf
bc3b30a2d3 Kaupe will now trigger from mobs, homuns and mercenaries, as well. (bugreport:2297)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13252 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-01 12:27:51 +00:00
L0ne_W0lf
850cf0d038 * Rev. 13251 Removed 'casttime' adjustment from offensive ressurection. Follow up to r13225.
* Kaahi will now override override higher existing levels previously casted. (bugreport:2296)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13251 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-01 11:21:49 +00:00
ultramage
5b970f8c18 Fixed clif_changelook betraying the presence of gm-hidden players (bugreport:2283).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13240 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-27 11:28:28 +00:00
L0ne_W0lf
339fd39352 Corrected Lex Divina not showing animation on fail. (bugreport:1740)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13226 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-21 13:36:57 +00:00
L0ne_W0lf
80ddaaca35 Corrected Offensive Res using Turn Undead cast time. (bugreport:1704)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13225 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-21 13:03:29 +00:00
L0ne_W0lf
de1a2bb0ac Removed a few out of date messages from msg_athena, and updated some others.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13204 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-11 22:15:23 +00:00
L0ne_W0lf
331e0a0a15 Enabled WoE SE to be run independently of WoE. Let's see how long it is before something blows up, or Ultramage pulls out his hair while cursing my existence.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13202 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-09 17:33:10 +00:00
L0ne_W0lf
02e80513d3 * Updated mmo.h, increased merc max count to 36.
* Fixed save crash related to non-guilded mercenaries.
* Removed job and level restriction on Mercenary ASPD potions.
* Added Monster Mercenaries using mobs original stats.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13192 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-04 23:41:59 +00:00
ultramage
cf57c2fc20 Removed hardcoded equip position names from getequipname (bugreport:2156).
Now it's the npc's responsibility to store and display the names.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13171 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-01 08:06:46 +00:00
ultramage
8fcc1c7432 Fixed @cash/@points not handling negative values properly (bugreport:2132)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13145 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-28 03:55:21 +00:00
sketchyphoenix
c8fec27dfe * pc_isGM() checks in gm_cant_party config checks will now check against being lower or higher than lowest_gm_level config.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13143 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-27 19:47:26 +00:00
sketchyphoenix
b30900cce1 * Fixed @agjgmlvl bug preventing its use on other players. (bugreport:2124)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13138 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-26 06:10:57 +00:00
shadow
b75838a07b Last commit
Fixed homun sp regen bug introduced on r12953 bugreport:2071

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13130 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-25 09:55:22 +00:00
akrus
65939ee758 * Fixed: several compiler warnings [akrus]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13129 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-25 00:56:11 +00:00
akrus
d0bcebabe2 * Fixed: compiler warning in admin.c [akrus]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13128 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-25 00:50:46 +00:00
L0ne_W0lf
a4a518d6cc * Implemented Brainstorm's and SketchyPhoenix's fixes for Flying side kick.
- Skill will now remove KA-type statuses and not remove stalker's link while preserved.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13098 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-20 19:47:02 +00:00
ultramage
e3d39453fd * Fixed a storage saving issue with txt charserver (bugreport:2084)
- caused by incorrect idb_ensure -> idb_get change (see r12950)
- removed redundant account_id variable from storage data
- cleaned up the very messy txt storage handling code

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13093 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-19 16:00:30 +00:00
FlavioJS
442204b547 * Added global sql settings 'sql.*' to inter_athena.conf.
* Made account, ipban and loginlog use the global sql settings when the hostname is empty.
* Commented 'ipban.sql.*' and 'account.sql.*' so they default to the global settings.
* Removed deprecated settings 'case_sensitive' and 'add_to_unlimited_account' from in login_athena.conf.
* Made inter_athena.conf be imported from login_athena.conf instead of being handled separate.
* Changed ipban to get the failed login attempts of an ip from loginlog (respects if loginlog is enabled or not).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13092 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-19 15:48:57 +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
dcc2cdb5da Split off mapreg code from script.c
* new mapserver files, mapreg.h, mapreg_txt.c, mapreg_sql.c
 * removed MAPREGSQL from project files / makefiles
 * mapreg storage engine is now fully dependent on the server type
 * added config settings mapreg_txt and mapreg_db to inter config
 * added get_str() function to complement add_str()
 * fixed txt mapreg code allowing too long variable names

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13081 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-15 11:14:45 +00:00
sketchyphoenix
61743c4dc6 * Removed gm_cant_party_max_lv. It now uses gm_cant_party_min_lv as the threshold. (bugreport:2051)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13077 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-15 00:11:16 +00:00
ultramage
6c4b0e2676 Fixed right-click npc unload not unloading duplicates (bugreport:2014)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13070 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-11 11:00:24 +00:00
ultramage
0a47c29967 Fixed @noks leaking internal buffer contents (bugreport:1528).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13057 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-09 15:11:12 +00:00
ultramage
659d7539ed Now Novices without lvl5 basic skill can be partied (bugreport:1131).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13056 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-09 15:02:24 +00:00
ultramage
104f28b34b Fixed login printing raw passwdenc passwords to console (bugreport:826).
Added strlib function bin2hex().
Cleaned up the md5calc interface a bit.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13055 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-09 13:05:54 +00:00
sketchyphoenix
f32ca3d261 * Added another GM trust config for party invitations (bugreport:2004)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13051 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-07 21:07:31 +00:00
ultramage
5ce6f6c51a Added configs for quest table name adjustment (bugreport:1778)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13041 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-04 03:19:00 +00:00
ultramage
33378b7039 Player shops will not close on death anymore (bugreport:1955).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13036 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-02 14:27:43 +00:00
ultramage
dac1c2d2df Removed unused guardian hp columns from the guild castles table in main.sql (should have been done in r11915).
Corrected incorrect use of the datetime column in the `login` table (bugreport:1962). Refreshed txt account savefile.
Cleaned up some random minor source code glitches.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13030 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-01 07:05:16 +00:00
shadow
414c0f41e2 Quagmire now will affect boss monsters, but more info is required to code the debuff exceptions properly.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13028 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-31 22:49:09 +00:00
akrus
4232eaf3d5 * Fixed: added 'E'-type zenylogs in sql table (bugreport:1957) [akrus]
- added sql file upgrade_svn13025_log.sql


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13025 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-31 07:19:38 +00:00
akrus
24aa1138f5 * Improved: added --enable-debug=gdb option in configure script to use gdb optimized debug mode [akrus]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13024 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-31 07:03:12 +00:00
ultramage
115c5b6896 Removed the mob controller system, now a customization (see topic:194375).
The system consists of
 * script command to spawn a controlled mob
 * script commands to attach npcs to such mobs and manipulate their AI
 * a page of documentation for these commands
 * callbacks at various source code locations that invoke the attached npcs
 * two npc examples

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13021 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-31 05:37:40 +00:00
akrus
0f18041ac7 * Fixed: commented out loginlog in convert engine sql tables (loginlog table is in logs database now) [akrus]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13019 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-31 02:13:20 +00:00
ultramage
9fd3dfd23b Fixed TXT storage code handling storage incorrectly (bugreport:1928)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13016 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-30 04:37:21 +00:00
ultramage
eef8f96e51 AccountDB_TXT will now correctly read inconsistent EOLs (bugreport:1934)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13015 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-30 03:19:35 +00:00
ultramage
54dc1c0f1a Removed the IRC bot system, now a customization (see topic:194306)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13014 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-30 02:24:04 +00:00
ultramage
582c36c11e Renamed struct 'skill' to 's_skill' to remove naming collisions.
Added defines for mercenary skill ranges.
Added a mapping of mercenary skills to the skill db (700-799 atm).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13012 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-29 08:19:07 +00:00
ultramage
6fd34c5052 Fixed Sql object not initializing default values properly.
Fixed Sql_Free producing timer deallocation errors when called without first establishing a database connection.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13011 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-29 07:59:27 +00:00
ultramage
f03a7e2413 Corrected upgrade_svn12975_view.sql not assigning default values to the two dummy columns (bugreport:1940).
Please drop the view and re-run the script.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13010 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-29 03:06:58 +00:00
ultramage
76f831a5ff Fixed md5 passwords not working
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13007 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-27 15:00:44 +00:00
ultramage
8fed0c403c * Removed some leftover code that shouldn't have been merged
* Possibly corrected a guild saving problem (bugreport:1908)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13003 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-27 07:07:20 +00:00
FlavioJS
a389d52d34 * Fixed a memory leak in mmo_auth_tosql (extra sql statement being allocated).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13002 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-27 06:49:30 +00:00
FlavioJS
501b089d73 * Added missing option 'log_db_db' to loginlog_config_read(loginlog_sql.c).
* Fixed a memory leak in account_db_sql_destroy.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13001 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-27 06:32:02 +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
FlavioJS
99a1aaa9e1 * Simplified the search in pop_timer_heap and added more debug info to help determine the source condition of timer errors. (bugreport:1860)
* Fixed crash in skill_castend_id. (bugreport:1860)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12968 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-20 01:16:59 +00:00
sketchyphoenix
37683bf468 Corrected #storagelist target typo (bugreport:1873)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12967 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-20 00:31:26 +00:00
FlavioJS
3f7b407d6d * Added a check to make sure only released timers are acquired from the free list.
* Changed TIMER_MAX_INTERVAL to 1 second (was set to 1 minute by mistake).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12963 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-16 10:34:16 +00:00