2502 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
65ea169212 Reverted the login table changes from r12464
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12561 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-11 07:45:26 +00:00
Kevin
ffa3b60fc0 Finished most of the quest log code, still bits here and there but it's usable now.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12558 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-11 07:12:45 +00:00
Kevin
9bcdb353a4 More questlog code.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12556 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-11 01:38:41 +00:00
Kevin
3c7a81a079 Client not marked online until map receives auth request from the client and is approved. Also added some online/offline sets to the auth system that were being looked over and not properly updating the char server as to what's going on.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12552 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-10 21:28:27 +00:00
L0ne_W0lf
977a966a6c * Reverted the change to MAX_SQUARE_LAYOUT.
* Evil Land will always as a 3x3 animation.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12550 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-10 16:49:00 +00:00
L0ne_W0lf
83f22f6584 * Updated NPC skill "Evil Land". More gravity wtfage.
- Based on visual observation, and experience with it on iRO Sakray.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12548 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-10 15:16:27 +00:00
Kevin
6391d7b687 Some preliminary code for the questlog system (clif packet functions and basic data structures).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12544 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-10 03:36:33 +00:00
ultramage
c70160e956 Fixed party invitation ack messages not displaying on recent clients (bugreport:1308)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12540 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-08 17:51:45 +00:00
ultramage
103cbd445f Modified PACKETVER for recent clients to use a YYYYMMDD date format instead of a simple sequence number (allows adding versions inbetween).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12539 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-08 17:29:45 +00:00
L0ne_W0lf
18bd823cf8 Updated MAX_GUARDIANS to support an insane amount of guardians.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12529 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-08 01:09:18 +00:00
Kevin
c86112f4e9 Immunity to magic now makes you immune to the SC effect as well. (bugreport:1277)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12527 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-07 22:25:22 +00:00
FlavioJS
cd1f48cc9e * Made script command 'flagemblem' and guild_emblem_change send an update of the emblem_id to the players in the area.
- known bug: ui components that are displaying the emblem at the time (emblem in flag npc and emblem over head in gvg maps) are not updated, but putting the mouse over the target shows the new emblem
* Modified script command 'guardian':
- returns the id of the guardian
- if guardian index isn't supplied, it generates a temporary guardian
* Implemented support for temporary guardians (not saved with castle).
* Added missing includes from r12520.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12525 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-07 21:04:28 +00:00
Kevin
b316eef727 Party/guild names can no longer be less then 2 characters long.(bugreport:1328)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12521 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-07 15:10:37 +00:00
Kevin
39a6aabcd6 Fixed a case where a dangling pointer was formed when a person was invited to a party immediately after creating their own. (bugreport:1180)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12518 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-07 05:36:36 +00:00
Kevin
9320f89d09 -Sight rasher now affects the wizard's own and other's icewalls.
-Sight rasher, sight blaster, and arrow shower are now the only three skills that will affect traps.
(bugreport:59)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12516 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-07 04:55:26 +00:00
Kevin
4c6416ffb5 NPC earthquake now divides the atk2 bonus between players. (bugreport:1253)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12514 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-07 02:18:11 +00:00
Kevin
e7d2509efb Changed guild skills restore, regen, and battle order to only affect BL_PC. (bugreport:1313)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12513 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-07 01:15:52 +00:00