97 Commits

Author SHA1 Message Date
Yommy
5f7b232026 fixed aru castle map names
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13270 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-08 17:41:09 +00:00
ultramage
5789db9356 Reverted exp_calc_type back to '0' since it's definitely closer to official behavior than mode '1'.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13268 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-07 17:57:40 +00:00
L0ne_W0lf
7536205e10 Damage count on rebirthed mobs is now reset. (Valaris)
Changed exp_calc_type to 1, as type 0 seems to be based off old rumour, and to compliment the update to mob_revive.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13264 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-06 20:17:26 +00:00
L0ne_W0lf
a22dbab8ac Modified homunculus auto-vapor setting to yes. (bugreport:2298)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13253 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-01 23:10:14 +00:00
ultramage
339173867c Removed the 'upnp' plugin (see bugreport:1000).
Original files can be found in Celest's /devel subdirectory.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13233 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-23 11:32: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
zephyrus
5acebe170f - Starting Mercenary Skill implementation.
- MS_BASH Completed.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13189 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-03 13:32:38 +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
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
ultramage
efef65a62f Applied one missed conf setting rename (followup to r13077).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13080 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-15 11:08:21 +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
Yommy
f48fda465f fixed bug reports bugreport::2029 bugreport::2023 bugreport::1923
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13060 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-09 23:01:10 +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
L0ne_W0lf
3fe98c5538 * Mapflag updates. Will need to do a complete rewrite eventually.
- Removed several noicewall limitations from interior maps mostly.
- Removed several noreturn limitations from interior maps mostly.
- Removed nobranch limitations from PVP (yoyo and nightmare) maps.
- Removed nopenalty flag from nightmare PVP maps.
- Commented out all noloot and noexp mapflag entries.
- Added a few more noskill entries for some maps.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13033 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-01 22:43:50 +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
4b21dc3d57 Cleaned up several poorly chosen loginlog variable names.
Removed the unused login and txt->sql options in inter_athena.conf.
Renamed config option log_db to log_db_db in inter_athena.conf.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13005 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-27 12:40:29 +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
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
03d91b511f Increased max. hairstyle number, 23 -> 25 (bugreport:1773)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12986 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-23 16:23:06 +00:00
L0ne_W0lf
74a8d68769 * Removed mail commands that no longer exist from help.txt.
* Finally getting around to fixing a few bug reports
- Corrected some view IDs for some newer headgears. (bugreport:1842)
- 11.3 bows are now equippable by all archer classes. (bugreport:1885)
* Getting around to fixing some script bug.
- Fixed bugs in the nameless quest, and other npcs. (bugreport:1845)
- Fixed some bugs in the WoE:SE control devices. (bugreport:1848)
- Fixed minor typo in the novice grounds. (Bugreport:1877)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12981 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-22 16:37:32 +00:00
L0ne_W0lf
cce663f625 * Homunculus will no longer auto-vaporize on master death.
- Added config option to allow for this to be turned on or off.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12912 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-04 20:44:33 +00:00
Lupus
3c0784a03e added missing nomemo mapflag to nameless_i
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12902 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-03 00:33:53 +00:00
ultramage
7444eb572c Random assortment of various small corrections and tweaks.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12894 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-29 06:00:05 +00:00
L0ne_W0lf
59350e3bc3 * Uncommented all novice map, and added mapflags.
* Additionally; changed starting map from new_zone to new_1-1.

* Large update to the novice grounds. Fixed bugreport:1666
- Updated notice ground warps to reflect the above map-usage change.
- Additionally; NPCs now give EXP (base/job) dependant on your level.
- All prior novice ground progress will be lost, and variables cleared.
- NPCs give class specific items, but not the soulbound ones, yet.
- Fixed the mob count for the novice ground maps.
- Added all the old novice training ground vars to F_ClearGarbage

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12833 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-14 11:57:10 +00:00
ultramage
392c28290c correcting some broken line endings...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12818 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-13 01:40:05 +00:00
L0ne_W0lf
04aa5dbaa1 Added mapflags in preparation for Monster Races.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12761 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-06 11:13:59 +00:00
ultramage
37ddd1c503 Added Ai4rei's "gm can view all players' equips" feature (topic:186519).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12751 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-01 08:14:47 +00:00
ultramage
dd76e620fe Modified the main chat format string to prevent client crashes (there needs to be a space after the colon to make it work).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12741 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-29 01:05:02 +00:00
L0ne_W0lf
93f197e177 Added new maps related to episode 13.1.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12736 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-27 23:57:59 +00:00
L0ne_W0lf
712ec37880 Updated castle DB to be compliant with new WoE scripts.
Updated gvg_eliminate_time comment to reflect use in new Woe scripts.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12674 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-28 23:51:11 +00:00
ultramage
7a9a3a12bb Cleaning up the itemdb reload mess (see r12635, r12643, r12650, r12661, r12662, r12663)
* the player data inventory-itemdb index is now refreshed using pc_setinventorydata()
 * mobdb will no longer initialize with nonexistent items, and mobs will no longer drop them in case of a reload
 * the clif_buylist() function once again hides invalid npc shop items
 * it is no longer possible to purchase nonexistent items from a npc shop
 * npc shop loading will not abort if there is a nonexistent item entry, it will just skip over it

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12665 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-27 11:06:55 +00:00
Kevin
1f6d5057bc Changed the last commit so it must be called with @reloaditemdb2. @reloaditemdb only removes the item_data from the itemdb subsystem. If you don't like my code you can uncomment the macro I_HATE_KEVIN in item_db.c so it isn't even compiled.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12662 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-27 09:15:05 +00:00
ultramage
b7b80e5c97 Implemented config setting 'vending_over_max', to let people configure the behavior of vending items over the MAX_ZENY limit.
Default/official setting is 'yes', which makes players lose zeny that they cannot hold. Adjust as needed.
This re-adds the behavior from before r11344 (see topic:180568).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12614 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-18 08:12:55 +00:00
ultramage
9609149c15 * Corrected some invalid syntax in skill_db.txt (wrong usage of commas)
* Renamed BA_FROSTJOKE to BA_FROSTJOKER (aegis server-side name)
 * Implemented a generic framework for parsing delimited db files (allows specifying min/max column ranges and max number of rows to read)
 * Corrected a typo in quest_update_objective()
 * Cleaned up pc.c a bit

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12599 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-15 13:49:40 +00:00
ultramage
c72d39ae5b Reverted my recent changes to trunk.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12493 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-05 12:33:02 +00:00
ultramage
67b0b7bffc Added back the login_log() function for txt (removed in r11826).
Merged the logging functionality for txt and sql.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12489 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-05 09:18:20 +00:00
ultramage
6148165707 Preparations for the login server TXT/SQL merge
- copied the sql login server code to /src/login
- merged the login server header files
- moved the account savefile name config setting to inter_athena.conf and renamed it to match the other settings

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12478 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-04 17:07:31 +00:00
L0ne_W0lf
a1d132effc First round of minor updates for WoE SE.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12462 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-02 17:44:48 +00:00
ultramage
76eb9581b9 Some more txt/sql login server synchronization:
- removed the option to specify multiple IPs/subnets for 'ladminallowip'
- removed the @gm command and all associated management code
- removed the 'save unknown packets' code
- removed the lengthy TXT ipban code (which was essentially a copy of what's already handled by the socket layer/packet_athena.conf)
- implemented 'start_limited_time' in SQL (expiration for new accounts)
- applied some missing TXT changes from the last update

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12446 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-28 18:53:51 +00:00
zephyrus
b493d16681 - Fixed bug report 1170.
- Now char data is saved to on a success mail send or auction register operation.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12351 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-12 21:49:42 +00:00
skotlex
d6eb67c6c4 - Modified attack_walk_delay so it behaves on a 'per-object' basis, and changed the default to 15 (all types).
- Modified battle_delay_damage so damage is not delayed more than one second for non-player attacks. 
- Modified party_member_added with a hack so that the clif functions will send the info of the new member since party_recv_info has not yet arrived.
- Updated clif_calc_delay so the type sent to the client is based on the number of hits of the skill (as Aegis packets reveal)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12332 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-09 20:11:14 +00:00
zephyrus
83deaf5e43 - Added battle/misc.conf auction settings.
- Fixed a typo in auction script.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12327 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-08 20:37:38 +00:00
skotlex
92960a166f - Added config settings mob_active_time and boss_active_time, what they do is specify a duration during which monsters will keep running their active AI after all players have left their vecinity. Their current defaults are set to 0 (disabled).
-  Script induced status changes can now be reduced by stats/cards (but only trigger rate is reduced, not duration)
- Battle delay timers will now check if the target player has the invincible timer active or not.
- Adjusted mob_ai_sub_hard to return a bool indicating whether the AI was executed or not.
- Adjusted clif_damage and clif_skill_damage to set the endure type value based on dmotion and damage, rather than hardchecking for SC_ENDURE.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12315 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-07 15:02:32 +00:00
ultramage
0088adcbbf * Added code to clear the Illusionary Shadow effect (followup to r12293)
* Added some trim() calls into mapflag code (followup to r12238)
* Fixed mvp exp reward packet not working right for big values
* Added dbghelpplug plugin entry to the plugins configuration file
* Added conf setting for auction table name (see r12287)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12300 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-05 16:23:02 +00:00
skotlex
8ae4bd12ad - Updated firepillar so it cannot be placed on top of others.
- Updated the firepillar code so it behaves like the other traps.
- Changed the default format for @me and @main to avoid crashes on the newer clients.
- Fixed the char-sql server so it returns a valid 'not found' packet when attempting to load a non-existing homunculus.
- Fixed jump to use 0,0 for random coordinates rather than -1,-1
- Added missing \n to error reporting in getmonsterinfo
- Additional status changes now only get triggered if the attack did damage, not if they get absorbed.
- Fixed a logical comparison in unit_free to properly remove pets/homuncs when their intimacy is reduced to 0.
- Properly set the opt3 value for Moonlight, Changeundead and Soul Link
- Fixed the "no equip" flag of cards not being properly applied when attemting to equip items.
- Added a check to avoid invoking pet menu entries when the pet is incuvated.
- Fixed the session_data de-association in chrif_auth_delete
- Cleaned chrif_auth_ok so that the latest received char info is kept when previous char login data was already in there.
- Corrected docs mentioning non-existing flag 'mf_nopvp'


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12293 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-04 18:04:04 +00:00
L0ne_W0lf
04200bcfcb Added some additional map flags for some newer maps.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12273 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-01 01:04:35 +00:00
zephyrus
2477597480 - Oops! Typo.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12271 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-29 23:17:38 +00:00
zephyrus
48ba5004a6 - Starting preparatives for Auctions System.
- Added the @auction command to open the auctions. Just to start working on it and if someone wants to help.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12270 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-29 23:10:29 +00:00