7351 Commits

Author SHA1 Message Date
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
toms
7d3d258492 Used a forward declaration of the struct quest instead of including mmo.h
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12600 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-15 14:57:00 +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
toms
13bc9302be Added as svn:ignore all VisualStudio's generated files (VC9)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12598 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-15 11:49:40 +00:00
toms
6b035c6f00 Updated item_db.sql to latest
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12597 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-15 08:00:54 +00:00
Lupus
ecf1bf053e changed MES -> mes
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12596 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-15 04:02:55 +00:00
L0ne_W0lf
f4ef412137 Fixed bugreport:1353, bugreport:1356, and bugreport:1365.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12595 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-14 22:33:32 +00:00
L0ne_W0lf
ebc17cfbb4 Fixed bugreport:1337, bugreport:1355, bugreport:1361, and bugreport:1362.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12594 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-14 22:28:30 +00:00
FlavioJS
f2fd4cde62 * Fixed a possible crash in char_sql. (since r12575, later modified in r12590).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12593 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-14 20:22:48 +00:00
toms
73df203735 Fixed a memory leak in mapif_quests_fromsql
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12592 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-14 15:01:04 +00:00
toms
92f9bf6a8c Fixed a typo in char_sql/char.c
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12591 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-14 14:22:54 +00:00
toms
e61bf34e4f Fixed a bug in the disconnection part char-server (not sending you offline)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12590 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-14 13:48:25 +00:00
Lupus
807bba43d9 minor typo in mage.txt
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12589 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-14 11:56:20 +00:00
Lupus
cee4acd2d4 fixed minor archer.txt bug
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12588 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-14 10:01:24 +00:00
L0ne_W0lf
0cf4f6a0fb Don't typically update custom NPCs, but this was a special request and should fix an exploit in the card remover.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12587 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-14 06:12:36 +00:00
FlavioJS
28b95f451b * Changes to the configure script:
- added options --with-MYSQL_CFLAGS and --with-MYSQL_LIBS to allow manual setting of those variables

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12586 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-14 03:45:05 +00:00
Kevin
a653b4e2d6 Removed some unused variables that appeared in the last commit (r12584).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12585 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-14 02:45:11 +00:00
Kevin
236c7cba43 Some more updates to the quest log system. It has been completely moved to the inter server instead of the char server.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12584 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-14 02:32:24 +00:00
FlavioJS
dcf71ce50b * Followup to r12579 (all other players appeared as female on sql branch).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12583 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-14 01:11:21 +00:00
Kevin
ea96b9da32 Forgot to change main.sql to reflect the update to quest_objective table.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12582 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-13 22:37:04 +00:00
Kevin
302adbf42a Major updates to the quest system.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12581 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-13 22:19:02 +00:00
toms
d7355c9899 Added an include in clif.h to avoid a complaint of gcc
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12580 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-13 18:47:42 +00:00
FlavioJS
49aac80ed6 * Quick&dirty reversal of the inter-server behaviour introduced in r3255/r3256:
- the behaviour enabled a desynch between the char-server and the map-server
- now the map-server asks the char-server to authenticate the auth info (the char-server doesn't send the auth info immediatelly)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12579 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-13 18:31:49 +00:00
FlavioJS
01b66de67e * Changes to the configure script:
- clarified how --with-zlib is used
- added --enable-packetver to set the PACKETVER define (used often enough to get it's own option, but unnecessary since it can be set with CFLAGS)
- added -g compiler option to --enable-debug

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12578 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-13 17:46:24 +00:00
toms
cdb7323335 Changed LOG_ALL definition to really log everything
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12577 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-13 15:49:04 +00:00
Kevin
69114a1c7d Login will no longer set character offline when going from map to character select.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12575 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-13 05:14:01 +00:00
ultramage
67d29ff3b7 ... but not with a buggy tool (missing svn:props)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12574 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-12 09:19:31 +00:00