2437 Commits

Author SHA1 Message Date
Kevin
1a5d1c8780 PCs/Mobs/NPCs now block Leap(TK_HIGHJUMP) and sprint(TK_RUN). (bugreport:1155)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12485 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-05 05:28:01 +00:00
Kevin
62325eff60 Disconnect user on forged selectegg packet (may be temporary fix). (bugreport: 1257)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12484 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-05 02:39:36 +00:00
Kevin
51d31f56bd Fixed @rura between maps on more then one map server. (r12483)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12483 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-04 22:50:43 +00:00
Kevin
41cccac36c Update to Auth Glitch fix: moved unit_free_pc back to where it was and updated it so unit_free_pc just tells the script to end(not hard delete). (bugreport:1214)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12481 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-04 22:10:04 +00:00
toms
b41dee8fcd Updated mob_db.sql to latest
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12476 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-04 13:19:18 +00:00
toms
7dc57bf5ce Fixed a little bug in Kevin's commit (r12473)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12475 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-04 12:42:29 +00:00
Kevin
e45a10cf13 Bug fixes for Auth Glitch and Map server crash through script warp when changing map servers.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12473 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-04 07:19:47 +00:00
ultramage
77826dfdf8 Renamed 'connect_until_time' to 'expiration_time'.
Renamed 'ban_until_time' to 'unban_time'.
this also applies to login table columns (see upgrade_svn12464.sql).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12464 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-03 12:46:55 +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
FlavioJS
3f944dd947 * Added SV_KEEP_TERMINATOR option to not split the line terminator.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12461 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-02 17:16:25 +00:00
Lupus
8cf1f0ddf1 fixed aciddemo map server crash
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12454 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-31 10:54:12 +00:00
ultramage
4e6606fb92 Yet more login server stuff:
* jA data structure compatibility renaming / adjustments
 * mmo_account -> login_session_data, auth_data -> mmo_account
 * made gender variable usage consistent for the entire login server
 * rewrote TXT's new account creation procedure to match SQL's

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12450 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-30 19:01:09 +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
toms
00f560c339 Updated SQL Files (item & mobs)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12444 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-27 21:20:12 +00:00
ultramage
b1b356fb11 Partial rewrite of the login server's auth system.
* replaced the cyclic, size-limited auth_fifo data structure with the more appropriate DBMap-based alternative (stops some erratic behavior)
 * added code to simulate the pseudo-status "online on login server"
 * auth data will now expire after 30 seconds instead of persisting
 * better-than-aegis handling of login cancellation (the server will wipe all previous auth data instead of making you wait for it to expire)
 * proper status message - no more generic "rejected from server", now you'll get "the server still recognizes your last connection"
 * fixed a typo in r10110 which caused disconnect timer removal to fail
 * split off some parsing code to login_auth_ok() and login_auth_failed()
 * extended the auth confirmation packet so that the login_id1/2 values are sent along with the associated account id (stops charserver from making wrong choices if two incoming sessions have the same account id)
 * fixed a bug in the disconnect part of the main charserver parsing loop, where a non-authed client would erase the online db entry for a client that's already online, thus bypassing any dual-login checks
 * added code to stop the waiting_disconnect timer when the associated online entry is removed right away, instead of doing checks later
 * removed code that would periodically wipe the online status of clients that are in the auth process (producing yet more erratic behavior)
 * commented out some TXT-only reconnect prevention code (bugreport:1281)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12441 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-27 12:06:12 +00:00
ultramage
c6402e89c2 merged the charserver acc modification code cleanup to TXT (r11324)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12440 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-27 11:34:16 +00:00
ultramage
35de802ced Chagned trunk's default server->client PACKETVER to 9
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12439 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-27 09:23:04 +00:00
ultramage
94943b2b6a Adjusted eAthena code to compile cleanly in C++ mode.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12436 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-26 10:37:45 +00:00
ultramage
9c07918456 Added proper checks to adoption processing (followup to r12428).
Cleaned up some code / fixed some typos.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12432 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-25 09:56:18 +00:00
ultramage
49f1f4434d * Reorganized the contents of the mapserver's header files.
- map.h is no longer a generic dumping spot of all the shared structs, and instead, each such structure now resides in its logical component
- map.h now only holds mostly map-related things (needs more cleaning)
- there's still a lot of room for improvement (reorganization within individual header files, etc...)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12429 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-24 21:20:48 +00:00
Lupus
c1d6abe5eb Added VS9 project files. Removed redundant map_getallusers() function
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12410 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-21 11:52:29 +00:00
ultramage
3d6f2af01c Changed the dynamic mobs system to also unload mobs that have respawn time but are already spawned - 22M less mem usage (bugreport:1197).
Also added a check to not respawn mobs on maps with no players (potentially unsafe operation, needs further inspection).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12402 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-19 22:02:26 +00:00
Lupus
41fb9def54 reverted back project files. due to incompatibility. The working directory has been added to VS9 only
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12398 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-19 11:10:42 +00:00
ultramage
b2734e601e Fixed invited party members not displaying correctly (bugreport:1199)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12394 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-18 22:29:04 +00:00
ultramage
27f2a37fc4 Fixed OnPCLoginEvent not working correctly (bugreport:1182).
Cleaned up some code typos/engrish.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12391 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-18 08:44:27 +00:00
Lupus
e5e829ab8a updated VS project files. You can run servers trough VSudio IDE / Run
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12390 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-18 07:01:20 +00:00
ultramage
17dc136694 Added missing check to only allow the leader of a party to modify its exp share settings (bugreport:12)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12337 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-10 20:06:39 +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
ultramage
5767cc5285 Cleaned up and corrected some more land skill code:
* removed redundant skill_ganbatein() function
 * Added flag UF_PATHCHECK from jAthena which affects whether a skill's cells will be affected by the surrounding terrain. Adjusted existing flags so that they closely match jA's (for easier comparisons).
 * Fixed code that allowed placing of skill unit cells on 'gaps'.
 * Fixed code that prevented successful casting of land skills on 'gaps' (officially it's possbile, even though they will not deploy entirely).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12331 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-09 17:28:01 +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
skotlex
3a36995d8b - Corrected pc_checkitem not behaving correctly when you had more than one equip with a restricted card.
- Fixed non-chatroom owners being able to kick others from the chatroom.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12311 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-06 19:58:53 +00:00
skotlex
5a8962fca0 - Corrected pc_checkitem not behaving correctly when you had more than one equip with a restricted card.
- Fixed non-chatroom owners being able to kick others from the chatroom.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12310 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-06 19:43:37 +00:00
ultramage
8257a27590 Fixed a crash when a homun kills a mvp and the char that did the most damage is unable to carry the mvp reward (bugreport:1114)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12308 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-06 16:48:24 +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
ccb13e72c0 - Implemented Firepillar's 'target cannot move for 0.2 sec x hit' property.
- Corrected Earthquake so it behaves as explained in the development topics.
- Corrected a missing opt_flag = 0 when using SC_INCATKRATE on mobs.
- Added a missing line to actually unequip unallowed compounded cards when changing maps.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12299 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-05 15:39:46 +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
zephyrus
1cbcdaf3f2 - New optimizations for mail system and adjust to use it on Auctions.
- Added a Sql patch to clear all deleted mails. (There is no need to keep that data)
- Added more code for Auctions. Not implemented but just for study.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12278 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-02 19:07:14 +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
e6bf7c5458 - Added cash shop support. (i need to add documentation, working on it).
- An charcommand is still required to add/remove points.
- Scripts command only requires to work on #CASHPOINTS and #KAFRAPOINTS.
- I called it "Kafra Points" just because it's how comes in the translation. I allready know this changes between Oficial servers.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12264 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-28 22:25:58 +00:00
ultramage
ea94316689 Fixed 'cleararray' not able to erase array entry 127 (bugreport:864)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12253 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-27 22:04:11 +00:00
ultramage
d95a0ce3a5 Fixed @reloadmobdb producing memory leaks in pet db (bugreport:1030)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12250 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-27 20:18:13 +00:00
ultramage
5afa9cceb9 Patched an unresolved case where knocking back a bard/dancer would cause the mapserver to crash (bugreport:1043)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12249 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-27 18:40:31 +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
ultramage
1acd00e838 * Removed NODAMAGE and ICEWALL cell types (mem usage back to normal)
- Icewall now uses basic cell type 5 (nonwalkable, shootable)
- as a consequence, you can now warp to a nonwalkable cell - but only via gm command or scripted warp bug (hopefully :)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12247 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-27 14:17:14 +00:00
ultramage
c49afb1245 Added missing option changes for Illusionary Shadow and Soul Link that disappeared when you left the screen (bugreport:1053)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12246 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-27 10:31:31 +00:00
ultramage
a9bafe200d Added support for the "view player equip" feature (see topic:174461)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12245 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-27 09:12:18 +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
f4347446d4 * Removed code in socket.c that tries to avoid send buffer overloading, as there is a scenario (many players and charserver disconnect) where mass char saving produces huge ammounts of data to send (see r11503)
* Cleaned up player respawning code (bugreport:1022)
* Increased the max amount of different autocast skills from 5 to 10
* Added a missing function declaration, for real this time (followup to r12229)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12232 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-22 18:19:11 +00:00
ultramage
e6ee6f00ff Fixed @whomap not unlocking the player db (bug in r12204)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12231 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-22 17:06:03 +00:00