3408 Commits

Author SHA1 Message Date
skotlex
41e3ff9044 - itemdb_exists will now return NULL for item_id 0.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7572 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-07 18:32:28 +00:00
skotlex
46fc93df01 - Some cleaning of the Sage endow skills.
- Added a check to free a character from memory when changing map servers.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7571 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-07 18:21:49 +00:00
skotlex
e0afdded8b - Okay, added a chrif_save_ack packet to the char-server so now the map server will know once a character was "final saved", and only then the character will be removed from memory. On char-server reconnection, all chars that are in final-save state are resent to save (if they are still in memory, it's because the ack hasn't gotten here from the char-server). This should effectively block all dupe problems due to heavy inter-server lag, however as it's untested, it currently prints some debug messages when people are saved and then removed from memory. Need testers so this can be debugged and merged to stable!
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7568 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-07 16:28:41 +00:00
MasterOfMuppets
eb908b0dd0 Credits for the swordsman job quest fix goes to tenshi7angel, not Belle... Sorry :x
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7566 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-07 15:51:24 +00:00
MasterOfMuppets
b7fa905845 Fixed a small bug in the swordsman job quest, thanks to Belle for notifying me about it.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7564 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-07 15:49:12 +00:00
skotlex
b643528e50 - Now, when the login-char connection is cut, the char-server won't set everyone offline on reconnect, instead it will send the list of online accounts to the login server.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7563 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-07 14:38:54 +00:00
skotlex
544adf40b5 - Modified the error on the char-sql server to set chars online when it receives a save packet from a character tagged as offline.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7561 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-07 14:02:13 +00:00
skotlex
deba53730f - Fixed signed/unsigned comparison issues in the char txt/sql server.
- Fixed the cooking success chances. Thanks to Ishizu Chan.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7560 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-07 13:48:54 +00:00
skotlex
ea9fb7a4ec - Added a temporary band-aid to prevent executing the script of non-arrows when they are equipped on the arrow-slot (until the actual cause of why pc_unequipitem is not working correctly is discovered/fixed)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7558 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-07 13:24:47 +00:00
Playtester
794703e24c Small fix in the Blacksmith Quest
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7557 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-07 13:23:17 +00:00
Lupus
6b2a738709 fixed dance jq
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7555 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-07 05:03:43 +00:00
Lupus
1a87e739bd turned the rest of job numbers to constants
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7554 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-07 04:52:02 +00:00
skotlex
b7fa70b741 - Modified the party_data structure on the map server to remove some redundant data. Added a party_data structure on the char-server to hold a more complete set of information about parties. Added to the party_member structure the class of each member so that the map server can do the appropiate checks even if the character is on another mapserver/offline. Due to the format changes in the party structure, txt servers will have to wipe their party file... (sql save format has not been changed)
- Added function char_family to check if there's a family state given the three character ids, instead of doing individual checks all the time.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7553 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-06 23:39:24 +00:00
skotlex
a4d0df735d - Rewrote all the item restriction functions so that they will take into account slotted card restrictions as well.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7552 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-06 21:22:20 +00:00
skotlex
873481b78f - Added no_skill_delay setting, when set, affected object types will have the minimum skill delay for all skills.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7551 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-06 19:11:33 +00:00
skotlex
31832cfdc7 - Added EQP_/EQI_ constants in pc.h to identify equip position and equip indexes, makes equipping related code much easier to read.
- Also cleaned up pc_equipitem. When dual wielding or equipping accessories, if the client actually specifies one of the two positions, it will be taken into account.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7550 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-06 18:47:11 +00:00
skotlex
db1cf2de9a - Fixed the auto-direction code which makes self-skills with ground units become a ground spell using the wrong function for said check. In short: fixed GrandCross and similar skills.
- FogWall will now also affect the caster.
- Some cleanup of map.h. 


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7548 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-06 14:07:21 +00:00
Lupus
bb9b14d4fd added missing labels
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7547 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-06 08:18:44 +00:00
evera
10160ebcfc standardized npc headers for quests/quests_city
fixed small typos in those files

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7546 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-06 05:44:16 +00:00
Lupus
2f558d4380 fixed few item names
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7545 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-06 03:22:00 +00:00
Playtester
4422935bc7 Added Thanatos Tower Quest items to item_trade.txt
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7543 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-05 20:29:01 +00:00
skotlex
9b36074bbf - Removed that Dbbug announce line from the 2004 headgears quest npc.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7542 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-05 18:18:26 +00:00
Lupus
fcb26ce47a fixed book of yamir stucking...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7541 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-05 18:10:27 +00:00
Vicious
394f618a20 Updated NJ_KAENJIN by Saycyber21
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7539 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-05 16:10:05 +00:00
skotlex
1c16abb254 - Merged some skill db data of NJ skills, thanks to RockmanEXE
- Cleaned up some of the skill logic, so that skills that are casted on self, but have a unit id (an entry in skill_unit_db) will automatically re-route themself from a targetted-no-damage-skill to a ground-skill. When this happens, the effect packet is clif_skill_nodamage rather than clif_skill_poseffect (this is because that's how the dance/songs/encores behave).


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7538 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-05 16:05:59 +00:00
skotlex
bfebad480a - Updated @refine to take account of MAX_REFINE, thanks to Omega... GM Designer.
- Also optimized the @refine loop for better performance.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7537 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-05 14:11:12 +00:00
Playtester
7a9b8062b5 Added correct card effects for "Status Effect on both"
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7536 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-05 13:45:10 +00:00
Lupus
498ffaaf27 fixed 2004_headgears.txt
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7535 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-05 10:46:31 +00:00
Playtester
122af9a2f5 * Updated Socket Enchant NPC
- fixed various bugs
- adjusted success rates
- now has official coordinates and sprite

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7533 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-05 10:34:50 +00:00
Vicious
2fa4301791 * Added temp plugs for new headgears. [Vicious]
- I only added this for VIEW ID. so someone needs to update everything else.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7532 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-05 06:55:59 +00:00
Vicious
822e9b9e24 Fixed compile issue for NJ_BAKUENRYU, by Saycyber21.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7531 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-05 05:14:53 +00:00
Vicious
9f010fa586 Updated item_trade.txt to Aegis X.2 ItemMoveInfo.txt
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7530 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-05 02:24:08 +00:00
Vicious
3bbd24f7fc Saycyber21's NJ work
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7529 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-05 02:11:07 +00:00
Playtester
a11c84d4b1 * Added the Socket Enchant NPC written by Sousuke_PL
- I already tested and fixed some stuff but requires some more testing

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7528 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-04 20:54:12 +00:00
littlewolf
d275c25870 CIA-2 ftl!
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7527 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-04 20:51:03 +00:00
littlewolf
9369cb1377 Welp, another 10 useless commits, all in search of color :( Oh well.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7526 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-04 20:49:29 +00:00
littlewolf
26835b1001 Yep, verified, colors break ciabot
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7525 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-04 20:46:16 +00:00
littlewolf
020f9075e3 Color test, getting tired of my commits yet?
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7524 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-04 20:44:32 +00:00
littlewolf
5905301aa7 Okay, so will have to request a color change via cia-bot... or write our own. Color's aren't transferrable inside the message.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7523 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-04 20:40:54 +00:00
littlewolf
d927ea64fb Here we go again...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7522 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-04 20:38:50 +00:00
littlewolf
373051c70d Yay 4 colors!
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7521 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-04 20:31:42 +00:00
littlewolf
a8460197d4 Colors colors colors
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7520 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-04 20:30:47 +00:00
skotlex
e8e61d25cd - Implemented cooking chances. Chance of success is 70% - 7*(dish-lv)% + 12*(cooking set-lv)%. Exception: When using the legendary cooking set, success chance is 100% regardless of dish.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7518 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-04 19:00:02 +00:00
Playtester
865c3db6a3 * Updated the cooking items so they are ready for official implementation
- also slightly raised drop rates of Cooking Sets

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7517 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-04 18:48:43 +00:00
skotlex
6ca52ab9dc - Added battle config setting emergency_recall, specifies behaviour of that skill (skill.conf): 0 - Disabled. 1 - can't be used in nowarpto maps. 2 - Can be used everywhere.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7516 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-04 17:58:10 +00:00
skotlex
9b6412ad1b - Removed the NPC/Dance/Song inf2 check of AbraCadabra. whether a skill can come out or not is entirely decided by the abra db file now.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7515 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-04 16:44:19 +00:00
skotlex
4c36924fce - Added structure s_addeffect to handle status change additions. Cleaned up relevant code. It is now possible to specify ANY status change, not just the basic ones.
- Added support for bonus3 bAddEff/bAddEffWhenHit as follows:
  bonus3 bAddEff/bAddEffWhenHit, <SC value>, <rate>, <target flag>.
  Target flag is 0: Self. 1: Enemy. 2: Both.
- Added these descriptions to doc/item_bonus.txt


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7514 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-04 16:38:36 +00:00
skotlex
8b8b55bdf7 - Added a check when joining a chat to make sure the target object is of type BL_CHAT.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7512 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-04 14:25:49 +00:00
skotlex
798eea8c5e - Fixed code using i instead of id in a few instances when updating char/map server IP.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7510 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-04 13:48:13 +00:00
Playtester
ac24e4a389 Silver Tiara's bonus is Int AGAIN (Gravity can't decide)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7508 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-04 13:34:28 +00:00