L0ne_W0lf
7124507e1c
Another correction to "Evil Land", fixed damage-effect range.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12672 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-28 22:44:23 +00:00
L0ne_W0lf
65b101bd41
Randgris will summon a dropless/expless mob after initial mob.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12671 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-28 22:32:07 +00:00
Kevin
21802ff355
Cleaned up char server set online/offline/char select functions. (bugreport:1359)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12670 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-28 15:03:33 +00:00
ultramage
155416f712
fixing some timestamp type difference warnings...
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12669 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-27 20:03:25 +00:00
ultramage
fc5918e335
Removed the calc_times() no-op (bugreport:1289)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12668 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-27 19:46:17 +00:00
Paradox924X
3daaf293cc
Removed a messed up, unnecessary line.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12667 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-27 15:40:42 +00:00
ultramage
304565cc9b
Corrected r12662 where a guild break would trigger the OnGuildBreak event for all castles (even of other guilds).
...
Corrected some x64 compilation warnings in ers/malloc files.
cleaned up a case of bad variable reuse.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12666 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-27 11:09:57 +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
toms
e50dd25ec2
Fixed 'suggest parentheses around assignment ...' gcc warning
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12664 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-27 10:29:30 +00:00
Kevin
76c426d731
<3 Cake
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12663 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-27 09:19:56 +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
Kevin
26a70ed737
Some major changes to @reloaditemdb to allow unloading of any item while map server is running.
...
- Delete any item from inventory/cart/open storages that went missing during the reload.
- Delete item from any shop that has this item.
- Refresh item screen for anyone who has a shop open.
- Delete mob db drop table references.
- Delete item from storage during load if it isn't in the item db.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12661 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-27 07:18:21 +00:00
Kevin
2eabb3d1f7
Added script function hasquest.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12660 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-26 23:11:15 +00:00
Kevin
2070c16a1b
Uncommented and cleaned up the OnGuildBreak code.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12659 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-26 22:20:20 +00:00
Kevin
679e600fcc
Cleaned up auth system after change back to map server request.
...
- Created function set_char_charselect to get rid of some of the "special case" variables.
- Removed code that involved the char server sending auth data at char select.
- Changed char select code to update the instance of the char data in the DB to fix map/sex info not being propagated to auth request.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12658 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-26 22:13:02 +00:00
L0ne_W0lf
7f18ba579a
Added WoE SE castles to castles.txt in save-tmpl.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12657 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-26 21:13:13 +00:00
toms
fb262a3301
Fixed escape problem in jobs/novice/novice.txt
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12654 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-26 17:35:23 +00:00
toms
d9b7e8540b
Updated item_db.sql to latest (Changelog)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12653 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-25 19:01:18 +00:00
toms
bf1e5ff7c6
Updated item_db.sql to latest
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12652 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-25 19:00:22 +00:00
toms
c79a5092eb
Fixed bugreport:1223 (Invalid Items In Shops Are Processed Incorrectly)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12650 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-25 07:47:29 +00:00
toms
c68d9e2a7d
* Modified delitem/delitem2 to have the same behaviour as getitem/getitem2 (optional account_id parameter) bugreport:1035
...
* Modified doc in consequence
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12648 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-25 06:54:53 +00:00
toms
a6bb42334b
* Fixed hugel_bingo making an unneeded infinite loop bugreport:1349
...
* Partially fixed bugreport:1285 (item 13697)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12646 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-24 11:35:18 +00:00
toms
d42929747f
Corrected a typo error ';;' bugreport:919
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12645 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-24 09:30:48 +00:00
Kevin
75cd3c3acb
Changed @reloaditemdb again to only unload items from item_db2. Also byte aligned the item_data struct a bit.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12643 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-23 20:54:07 +00:00
FlavioJS
2599064a46
* Fixed script strings not being handled properly (only skipped the \).
...
* Added skip_escaped_c to strlib.c/h.
* Fixed sv_unescape_c not handling hex/octal escapes properly.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12639 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-23 11:14:45 +00:00
FlavioJS
d903fda1c7
* Script parse errors displayed with one ShowError instead of several ShowMessage's.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12637 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-23 04:35:32 +00:00
Kevin
2ab6929481
Accidentally commit my test db. >_>
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12636 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-22 22:04:37 +00:00
Kevin
e78798984a
Changed itemdb_reload to clear the database before reloading, so it is possible can remove an item from the DB without restarting the server (bugreport:1348)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12635 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-22 22:02:54 +00:00
toms
4c74bd7ac6
Fixed a "bug" in sv_readdb under windows and cygwin configured as "Unix/binary" for text files ('\r' is read and empty lines are not skipped) bugreport:1382 bugreport:1401
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12634 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-22 15:13:32 +00:00
FlavioJS
c880052f0f
* Changed the data field of timers from int to intptr.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12633 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-21 21:34:31 +00:00
FlavioJS
cbbf504bca
* Added intptr/uintptr to cbasetypes.h (integers with the same size as a pointer).
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12632 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-21 21:32:26 +00:00
L0ne_W0lf
7708c0c766
* Changed Sacrifice status to end on caster's death, not at 25% HP.
...
- Should also fix over-flow damage returning to sacrificed targets. Partially fixes bugreport:1332
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12631 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-21 21:22:33 +00:00
toms
355d69194a
Updated sql files to latest
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12630 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-21 21:11:41 +00:00
L0ne_W0lf
ab55e3830d
Fixed yet another WoE SE Bug (Juno castle 3)
...
Go go gadget revision counter!
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12629 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-21 17:34:33 +00:00
L0ne_W0lf
f9abadf9c1
Fixed another WoE SE Bug. (wrong target for donpcevent)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12628 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-21 17:31:23 +00:00
L0ne_W0lf
f212d699d9
Fixes to WoE SE Juno castles 1, 2, and 3. (copy/paste issues)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12627 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-21 17:08:14 +00:00
toms
ccb23efe49
Made some cleanup in changesex
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12626 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-21 16:19:25 +00:00
L0ne_W0lf
374603dc21
Further fixed bugreport:1371.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12625 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-21 15:31:29 +00:00
L0ne_W0lf
ff79ebee8f
Fixed bugreport:1390, bugreport:1394, bugreport:1396.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12624 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-21 15:21:51 +00:00
zephyrus
7c9411922a
* Several updates from Trunk
...
- Merged the new Auth process to avoid double logins.
- Merged official adoption process.
- Removed @gm command.
- Cleaning of MAX_ACCOUNT_ID and MAX_CHAR_ID
- Update of the online user count (map_getusers)
NOTE: i will do a second check to see if i forget something else.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12621 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-20 16:17:24 +00:00
toms
443c56e21f
Fixed a bug in (init/start/stop)npctimer
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12619 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-19 15:37:18 +00:00
Lupus
ba5c9df29d
fixed mapserv crash (divide by zero in Earthquake)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12618 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-18 19:43:31 +00:00
toms
2577ffdf25
* Fixed a bug when unloading a npc near a shop.
...
* Fixed npc_buylist not giving/checking the good item when it was an item_avail in the shop (the real one was added in inventory).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12616 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-18 14:33:31 +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
45f1ef5202
Modified sv_readdb to be able to process non-native line terminators (bugreport:1382)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12610 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-17 10:50:28 +00:00
zephyrus
bb98e43f3c
- Some mistake from someone but OMG!
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12609 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-17 00:51:15 +00:00
ultramage
70e34f81cd
Fixed an issue in r12575 where 'not setting char offline when going from mapserver to charserver' also caused a permanent account lockout if the player pressed 'cancel' in the char select screen.
...
Merged some recent changes from SQL to TXT, as someone didn't bother to do it.
Ifdefed the quest data request code as SQL-only (this was causing server disconnects whenver someone logged in).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12606 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-16 07:48:53 +00:00
toms
034920992e
Use the same code for script commands getitem & getitem2 as @item to avoid bug in bugreport:1324 (non-stackable items are stacked)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12603 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-15 18:37:06 +00:00
L0ne_W0lf
e3aec25c02
Rescripted Eye of Hellion quest, all quest progress is lost.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12602 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-15 18:32:20 +00:00
toms
45a96330d7
Removed all _ in the second name in item_db.txt and updated item_db.sql
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12601 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-15 15:20:09 +00:00