6732 Commits

Author SHA1 Message Date
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
631a93c854 Woopth. Fixed spelling. ;P Should be a bit clearer now.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12269 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-29 05:57:09 +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
L0ne_W0lf
993e7cc415 Added Cash shop based on iRO's. (Enable to use)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12265 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-28 23:07:18 +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
L0ne_W0lf
68c7440203 Updated Lighthalzen dungeon and friendship quests.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12263 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-28 21:48:26 +00:00
L0ne_W0lf
adf85cc8cc * Changed how waiting rooms work in the job quests.
- Implemented a checkweight in the alchemist job quest.
- Various other small updates to the 2-1 and 2-2 quests.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12262 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-28 20:04:16 +00:00
L0ne_W0lf
dda1b9f807 Added dialog from euRO for "Frozen Boy" in Rachel.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12261 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-28 16:11:35 +00:00
ultramage
5e33056779 Adjusted const.txt's cell type numbers to match changes in r12247
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12260 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-28 06:08:31 +00:00
L0ne_W0lf
43afd3ea58 Updated Alchemist Guild Dealer.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12259 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-28 06:03:41 +00:00
L0ne_W0lf
a554d00483 Implemented several "checkweights" in other NPCs.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12258 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-28 05:59:53 +00:00
L0ne_W0lf
66a2a39764 Implemented several "checkweight" NPC merchants.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12257 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-28 05:15:27 +00:00
L0ne_W0lf
66071c3330 * Removed "F_CheckMaxCount" as it seems "checkweight". preforms the aforementioned check in addition to checking weight.
* Updated 2004 headgear quests to use checkweight.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12256 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-28 04:46:29 +00:00
L0ne_W0lf
5b5caa7043 * Implemented new function F_CheckMaxCount.
- Checks if you have enough room in your inventory to accept items
* Updated 2004 headgear quests to fully official.
- Implemented usage of F_checkMaxCount in the 2004 headgear quests.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12255 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-28 03:32:45 +00:00
ultramage
3653a87355 Added support for actually disabling the idle_no_autoloot config setting (followup to r12248) (bugreport:1061)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12254 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-27 22:14:18 +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
L0ne_W0lf
0ee9036629 Fully implemented the Thor Volcano Base quest.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12252 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-27 20:56:36 +00:00
ultramage
cdb70a3a4c Altered socket code to do a graceful connection shutdown when exiting.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12251 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-27 20:21:27 +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
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