175 Commits

Author SHA1 Message Date
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
L0ne_W0lf
ceb2dce73f Added some information and documentation for cash shop.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12268 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-29 05:44:26 +00:00
zephyrus
818e336076 - Added #cash and #points to add cash/kafra points to a character.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12267 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-29 00:20:43 +00:00
zephyrus
43425e88de - Added @cash and @points command to manage your cash/kafra points.
- Optimized code.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12266 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-29 00:05:45 +00:00
ultramage
8e63c21d2e * Fixed Apple of Idun not checking for bard soul link (bugreport:1028)
* Fixed Advanced Adrenaline Rush not working barehanded (bugreport:1049)
 * Disabled idle_no_autoloot setting (bugreport:1051)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12248 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-27 14:48:50 +00:00
zephyrus
3868080ead - Added new settings for autotrade on battle/misc.conf (you can read descriptions there).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12243 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-26 22:14:05 +00:00
ultramage
abd31f84a3 Now the server will print an error message if an invalid mapflag is found during script loading (see bugreport:980 for the motivation).
Removed one extra space that broke jail's noreturn mapflag loading.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12238 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-24 18:04:13 +00:00
ultramage
2d67424eb1 Removed/replaced all calls to map_getallusers (followup to r12195).
Trashed @whozeny (from r269).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12204 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-14 19:11:11 +00:00
zephyrus
69ae4766ce - Added some new config settings: homunculus_autoloot, idle_no_autoloot, max_guild_alliance.
- Added a code to activate a Kill Steal protection and the required mapflags.
* (I will explain this later on forums).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12203 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-14 01:18:19 +00:00
FlavioJS
549684872d * Expanded the script command 'input': (bugreport:811)
- two new optional arguments 'min' and 'max'
- return value indicating if it's in the correct range
- config variables for the default value of the arguments: 'input_min_value' and 'input_max_value' in script_athena.conf

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12192 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-11 10:40:52 +00:00
skotlex
78e24d1e09 - Removed hom_setting&02 (ignore skill range) as this was fixed by Gravity some time ago.
- Moved pc_delinvincibletimer from unit_removemap to unit_free as the previous method has a logic glitch that could cause an on-place event to trigger after the on-left event. 


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12130 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-22 13:13:57 +00:00
samuray22
890da03040 * Corrected job_knt Mapflags. (bugreport:803)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12066 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-13 05:42:59 +00:00
skotlex
614c28dbf9 - Removed 'skill_steal_type' from skill.conf as said config no longer exists.
- Corrected @slaveclone/@clone behaving as @evilclone when you change the @ symbol.
- Modified SC_ARMOR_ELEMENT so it grants elemental resist as if it they were card granted bonuses.
- fixed a SA_DISPELL crash when casted on an object with no status changes.
- Adjusted the autospell code so that it does not relies on card_id == 0 for subtracting rates.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12041 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-10 13:10:13 +00:00
ultramage
65834585a8 Modified showmsg code to not attach a timestamp to MSG_NONE-type messages, generated by ShowMessage(). It now works exactly like printf().
Removed/replaced all printf calls in the code.
Added a new flag to setting 'console_silent', for filtering debug messages.
Silenced the "Broken pipe found" and "Server running in debug mode" messages.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12020 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-06 14:19:26 +00:00
samuray22
e9800cb4b1 * Added job_knt to nomemo, no return & noteleport mapflags.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12017 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-06 05:31:35 +00:00
FlavioJS
b3fe52fa6b * Removed double tabs from mapflag/warp/script/function/duplicate declarations.
(avoid script errors in a future commit)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11871 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-08 17:14:57 +00:00
skotlex
fc7b4eaef0 - The default event script behaviour is to trigger on labels rather than NPCs now.
- Removed several script config options which break NPC compatibility when you mess with them (event_script_type, event_requires_trigger, die_event_name, kill_pc_event_name, kill_mob_event_name, logout_event_name, login_event_name, loadmap_event_name, baselvup_event_name, joblvup_event_name)
- LoadMap events no longer set the variable "@maploaded$" to the name of the new map.
- Optimized/simplified the code now that the previous config options were removed.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11859 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-06 12:59:12 +00:00
ultramage
ea5212c5a8 * TXT/SQL login server code synchronization
- exported several core structures to login.h
- split off ladmin communication code from the TXT login server
- removed all occurences of login_log(); a unified function should be added when SQL's loginlog_db logging code gets synced with TXT
- removed conf setting login_log_filename
- fixed ladmin getting timeouts since the ping system was changed
- removed login/char server_fd[] arrays, added server[].fd instead

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11826 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-27 19:38:16 +00:00
L0ne_W0lf
eac1b05f1f Added Battle field and Memorial dungeon maps.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11824 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-27 18:39:32 +00:00
L0ne_W0lf
0dcc08101d Updated more map flags for Al De Baran's turbo Track.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11758 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-18 22:09:28 +00:00
ultramage
560005b13e Removed battle_config.error_log as console_silent already handles this
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11751 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-17 20:51:25 +00:00
ultramage
804edb29f7 Fixed homunculus skills having unlimited range instead of being capped to view_distance+1 (for details see bugreport:376)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11723 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-12 11:19:24 +00:00
zephyrus
0cf565292d - Important fix to Mail System allowing (by a low change) items duple.
- Added picklog to mail.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11721 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-12 08:55:36 +00:00