6960 Commits

Author SHA1 Message Date
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
L0ne_W0lf
8e690db7c9 Fixed bugreport:1057 and bugreport:1058
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12244 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-26 23:39:13 +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
zephyrus
7ff4f10106 - Added some new items (Thanks to Sephiroth).
- Removed an unused var on atcommand.c.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12242 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-26 21:06:52 +00:00
L0ne_W0lf
ef93606ca7 * Implemented Veins Siblings quest.
* Added NPCs for Thor Volcano Base quest. Quest is inactive. Segment for High Priest Zhed (quest start) is missing.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12241 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-26 20:56:40 +00:00
L0ne_W0lf
953d580f97 Corrected Labs level 3 warp.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12240 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-25 01:48:43 +00:00
L0ne_W0lf
bc5b7dbb60 Implemented Veins Spy quest.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12239 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-24 21:21:27 +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
L0ne_W0lf
c33ec14d9a Implemented Veins Stone quest.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12237 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-23 19:07:19 +00:00
Lance
c1e74aec10 Minor fix
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12236 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-23 16:24:26 +00:00
ultramage
eeb43aa430 Fixed a mistake in r12232 related to char saving
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12235 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-23 13:11:09 +00:00
L0ne_W0lf
ed0bf66c0e Added dummy event to Lighthalzen boss spawn mechanisim.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12234 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-23 00:18:16 +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
Lupus
e4f66f0ab9 Added $(CUSTOM_CFLAGS) into all Makefile.in to provide any custom defs directly to all sub make files
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12230 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-22 17:00:59 +00:00
ultramage
4c32b53443 Fixed 2 problems in r12223 - incorrect variable used (bugreport:1031) and a missing global function declaration
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12229 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-22 15:00:18 +00:00
L0ne_W0lf
edd19c4e08 * Several small fixes to scripts, and updates.
- Updated City warps for Lighthalzen, and dugneon warps.
- Updated castle warps for Schwaltzvalt Castles Map.
- "The Sign" quest is now enabled by default. (bugreport:1011)
- Added Dimensional Gorge map spawns (According to RO Future Wiki)
- Updated Lighthalzen boss spawning mechanisim to official.
- Fixed a small error in the novice potion exchanger.
- Resolves the following: bugreport:879 bugreport:973 bugreport:983 bugreport:1013 bugreport:1021 bugreport:1024 bugreport:1026

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12227 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-22 06:16:21 +00:00
Paradox924X
9ffa57318e Fixed Hugel Airship Staff from teleporting you to the wrong airplane.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12226 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-21 20:51:57 +00:00
skotlex
9c638fa6b2 - Added status_calc_life to properly calculate hp/max_hp as a ratio taking into accounts overflows (and for now also avoids divisions by 0). Applied this function around clif.c, mob.c and pet.c
- Implemented the correct walk-speed bonus from the Bard/Dancer spirit.
- Added a few error messages in case something goes wrong in the new auth db system.
- Fixed logarithmic drops turning 0% drop rates into 100%.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12225 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-21 10:36:26 +00:00
zephyrus
6da0007d11 - Fixed a bug in Redemption and Close Cofine scripts.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12224 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-21 03:00:03 +00:00
skotlex
1e0a82fab3 - Fixed new guilds displaying online-connect member count at 0 rather than 1, and the guild master not knowing it is one (eg: it cannot edit the guild notice of a newly created guild until relogging).
- Fixed acc_reg2 parsing screwing up the char_id and subtracting 2 from it rather than passing it as it is.
- Extended the auth_node/auth_db system in chrif.c to handle log in/out and mapserver-change procedures. This way players are not in the main dbs when they are not "active", which blocks potential invalid accesses to them.
- Replaced states auth, waiting_disconnect and finalsave with active.  
- Cleaned some the party/guild login and creation procedures, removed the party_sent/guild_sent states.
- Removed a redundant guild_check_member call which is beyond not-needed and into the realm of wasting resources.
- clif_parse will no longer process packets from !sd->state.active players, this also makes checking for finalsave uneccessary (since players re already removed from the maps and dbs by this point, so you can't access them in any other way)
- Separated the roles of unit_free and map_quit, the former will handle cleaning structures from the player so it can be free'd safely, while the latter performs additional routines which are unique to characters logging out normally (map-server changes will invoke unit_free and bypass map_quit).
- Removed pc_isplaying, quit_db, map_knowsaccount, MAPIT_PCISPLAYING among other functions/defines which are no longer needed due to the new login scheme.
- Cleand up a bit some code in the clif_send(_sub) functions.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12223 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-21 00:13:56 +00:00
zephyrus
ce76294816 - Fixed change of drains hp/sp for rideword hat.
- Fixed 5808 should be refinable as description says.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12222 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-20 19:38:02 +00:00
ultramage
76c27942f6 Changed pc_can_give_items() to use standard boolean logic instead of the inverted 1/0 one (bugreport:396)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12220 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-20 16:21:37 +00:00
L0ne_W0lf
b03a01ee95 Fixed a typo in /map/clif.c (acount_id -> account_id)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12219 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-19 21:11:27 +00:00
FlavioJS
e8c226e1f3 * Forgotten update to the definition of script command 'input'.
* Enabled DEBUG_MEMMGR only in DEBUG mode. 
* Made autotrading characters be kicked instead of reporting double login.
* Made create_session initialize session_data to NULL.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12218 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-19 16:55:13 +00:00
FlavioJS
1c3f5fe7e4 * Fixed db_obj_get not handling deleted nodes correctly. (bugreport:999)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12217 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-19 16:02:16 +00:00
skotlex
419106681a - added LK's concentration +1 MDEF.
- Corrected delay-consume items being consumed when used while casting or being unable to act.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12216 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-18 18:58:14 +00:00
skotlex
dc789293be - Updated Eye of Hellion to use the new format of the input command.
- corrected login_fd/char_fd being uninitialized in the char servers.
- Changed a bit around how status_base_atk works to avoid overflows.
- Added a check to prevent using consume-delay items when you cannot use skills, since that opens an exploit if the item also has non-skill-casting components to its script.



git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12214 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-17 22:36:02 +00:00
ultramage
3934f11180 Reverting r12212. As expected, Linux is incompatible.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12213 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-17 19:11:02 +00:00
ultramage
8ae50f44b4 Made unix interface enumeration work with dynamic sockaddr lengths (BSD, for example). Complain if it doesn't compile. (bugreport:765)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12212 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-17 13:10:20 +00:00
ultramage
bcac761953 Removed some useless svn:ignore properties.
Fixed a compilation problem.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12211 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-16 20:10:25 +00:00
skotlex
0c61a73f33 - Fixed S. Novice bonus not dispelling when at the moment you die once.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12207 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-15 16:19:44 +00:00
ultramage
8c92106315 some compilation warning fixes
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12206 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-15 12:22:03 +00:00
zephyrus
b8cbeb24b8 - Some optimizations to @noks (now using a Status Change timer).
- Added support to Self|Party|Guild options.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12205 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-14 20:54:25 +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
samuray22
9fd3b6a93b * Corrected a "donpcevent" missing a ":" in Cooking Quest. (bugreport:962)
* Corrected a Typo error in quest_prontera.txt. (bugreport:950)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12202 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-13 21:41:59 +00:00
zephyrus
89a339b7f1 - Added some new cash headgears.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12201 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-13 20:01:16 +00:00
FlavioJS
e3bcc90775 * Changes to memory manager: [FlavioJS]
- fixed blocks that are fully used not being detected (and not freed) in memmgr_final (unfill_prev is NULL for unused blocks and full blocks)
- fixed memmgr_final giving the wrong address to _mfree (for small blocks)
- added the pointer address to most error messages (and log)
- made it append to the log file instead of rewriting it
- implemented a function to verify if a memory location is active
- other minor changes

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12200 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-13 18:05:56 +00:00
zephyrus
8b151df5c7 - Some fixes to mail system.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12199 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-13 17:55:32 +00:00
ultramage
1f34d119d9 Merged memory manager updates from old jA revisions (bugreport:663)
Produces less memory overhead and has better overflow detection.
Caution, experimental / not fully tested code! (seems to work though...)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12198 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-13 09:41:20 +00:00
ultramage
7d22579be3 Fixed SQL charserver not logging char deletion correctly (see bugreport:944)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12197 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-12 21:32:23 +00:00
ultramage
07e2bbfa4a Fixed a typo in #item preventing it from working (see r12195).
Cleaned up #item, now uses a common function for item giving.
GM min/max level drop restrictions now apply to #item (see bugreport:396).
Item trade restrictions now apply to #item.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12196 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-12 21:26:36 +00:00
ultramage
b24b80c5c9 Getting rid of map_getallusers(), part 1
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12195 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-11 17:46:31 +00:00
skotlex
224a459acf - Applied some cleanups to party.c/guild.c to ensure that direct pointers to sd are only done for valid sd states.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12194 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-11 14:11:41 +00:00
skotlex
7d317be8dd - 'Forget me Not' no longer blocks ASPD bonuses from working or prevents their re-casting, they are simply dispelled when the effect takes place.
- Fixed a possible crash when a player logs out before their create-party request is accepted.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12193 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-11 13:11:15 +00:00