6172 Commits

Author SHA1 Message Date
L0ne_W0lf
87d691abcc Small update to divorce NPC.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11590 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-27 16:05:45 +00:00
ultramage
ac7ffe49bb Slightly improved the message you get when trying to load a mob into the range reserved for player clones.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11589 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-27 15:59:05 +00:00
ultramage
3aa603d420 Fixed a typo in r11505 messing up the 'npcmove' command (only 'x' coordinate was being set correctly)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11588 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-27 15:45:24 +00:00
ultramage
acd2c914a5 Fixed a compilation error in the mail code. Blame the C standard and gcc for giving enums a variable-sized type, thus making forward declarations impossible.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11587 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-27 14:20:10 +00:00
ultramage
0031c1553e Removed 'petid', a command from r284 to look up pet ids by name.
Cleaned up some pet-related code.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11586 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-27 12:45:12 +00:00
ultramage
2cb8a5838e * Fixed TXT charserver doing periodic random-sized memory allocation (bugreport:312)
* Set 'Create Converter's produce success rate to 100% (bugreport:302)
* Added check that verifies weapon/ammo/state requirements also when casting finishes (might have unwanted side-effects tho'!) (bugreport:228)
* Fixed Firewall knocking back undead/fire element mobs (bug in r11578)
* Added dummy 'openmail' to txt server to fix a script error message

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11585 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-27 11:59:35 +00:00
ultramage
b6bbaef27b Followup fixes to r11583:
* fixed wrong sql upgrade file name, added svn:eol-style native
 * made 'status' variable directly use the mail_status enum
 * replaced some hardcoded numbers in mail queries with references to the enum
 * fixed a query which still used 'read_flag'
 * fixed all new mails being displayed as 'already read'
 * removed sd nullpo checks from parse_ functions as that can never happen
 * fixed mapserver sending (and charserver saving) junk item fields when there is no item attached to a mail
 * fixed wrong mail send packet interpretation saving random memory after message body ('body_len' doesn't include the terminating zero)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11584 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-27 09:48:27 +00:00
zephyrus
284222a415 - Improvements to the mail system.
- Added a sql patch, renaming "read_flag" column to "status" on the mail db.
- Need more testing.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11583 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-27 06:34:04 +00:00
Playtester
9ec6519201 * Some small db updates
- fixed Bongun Card thanks to Gepard
- updated Ifrit Card to official
- Fire Wall now has 2 cells knockback
- set interval values of Fire Wall and Fire Formation to 20ms

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11581 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-26 10:17:06 +00:00
ultramage
e3ab4cdcfe Moved the new novending cell check from the internal code to the client-server interface (allows server to force-open shop if needed)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11580 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-26 09:25:55 +00:00
ultramage
e0cccf7d12 * Removed confusing map_nick2sd_nocase(), let the charserver handle it
* Added correct packet for attachment retrieval failure when overweight
* Fixed one more mistake in r11571 (Sql->SqlStmt)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11579 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-26 08:42:32 +00:00
skotlex
34b9b6f16e - Removed the config setting firewall_hits_on_undead setting, Firewall and kaensin now automatically calculate the number of hits they should do per iteration based on the skill trigger frequency (you may want to raise that delay of 1ms in the db, though)
- Cleaned a bit the loop for the Warmth skills.
- Added a mising pc_class2idx invocation (fixes a very minor bug when you request max skill lv for a skill in your tree with different max than the skill_db max)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11578 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-26 07:16:47 +00:00
L0ne_W0lf
68829ba812 More minor updates to a couple NPCs.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11577 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-26 01:02:21 +00:00
L0ne_W0lf
dd5d433fca Minor updates the Juperos Elevator NPCs.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11576 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-26 00:45:41 +00:00
L0ne_W0lf
571f2db6e0 Minor fixes here and there to a few scripts.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11574 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-25 23:59:32 +00:00
FlavioJS
d9774ac8ca * Corrected a fex misshaps from r11571:
- disabling the memory manager
- using the wrong length for the title and body in mail_savemessage
* Removed the quick-fix in the npc duplicate check and the impossible condition that is generating the warning.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11573 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-24 13:29:00 +00:00
skotlex
480a4f0ac8 - added defines JOB_MAX_BASIC and JOB_MAX to mmo.h so the code can know which are the max valid classes.
- @/#jobchange no longer strip your equipment since pc_jobchange removes any unequippables already.
- removed the wasteful define MAX_PC_CLASS and replaced it by the CLASS_COUNT define (which is automatically updated using the previous JOB_MAX* defines) + pc_class2idx function (which converts high class IDs into values that fit in CLASS_COUNT)
- Made status_charge a function rather than a define to get rid of those warnings that have been there since forever.
- Merged the CELL_NOVENDING code (see topic #129209)
- Small check that disables the pet catching process if you try to use another item. 
- Added a check to fix a warning and prevent a crash in the npc duplicate check (even though I have no idea what this check is supposed to do, therefore I can't fix it properly other than to avoid the crash)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11572 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-24 13:02:00 +00:00
ultramage
d091f1cf05 * Cleaned up some messy guild code (more to come)
* Cleaned up the mail code, no more pointless dynamic allocation
* Added upgrade_svn11548.sql to convert the mail table to new format
* Updated vs7 and vs6 project files
* Increased the max. send buffer size to 5M since 1M is not enough
* Please complain if something stops working ^^;

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11571 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-24 12:14:18 +00:00
L0ne_W0lf
895ee4a0ad * Added the Advanced Refiner for Enriched ores.
- I've had this done for awhile now, but I've never submitted it. XD


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11570 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-24 04:25:33 +00:00
L0ne_W0lf
d8fc315f1e Removed duplicate Morroc city npc (bugreport:277)
Fix to the knight job quest. (bad areawarp destination)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11568 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-24 03:59:22 +00:00
L0ne_W0lf
c743f14153 Corrected the Jawaii Ice Cream salesman. bugreport:285
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11566 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-24 02:49:09 +00:00
L0ne_W0lf
9c1401f33d Fixed two duplicate names in the assassin skill quest. XD
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11565 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-24 02:36:53 +00:00
L0ne_W0lf
c4277f2dee 2-x quest skill update 2/2.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11564 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-24 02:34:33 +00:00
L0ne_W0lf
521950d270 2-x quest skill update 1/2.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11563 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-24 02:33:50 +00:00
L0ne_W0lf
88d99f9edf Small fix for the turbo track point converter. Even though, without the arena, the converter serves no purpose. XD
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11562 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-23 20:37:31 +00:00
zephyrus
b96d3cb54c - Another FALSE to false... sorry.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11561 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-23 16:13:35 +00:00
zephyrus
3b34abfc21 - Fixed a compilation bug on linux (FALSE -> false)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11560 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-23 15:35:02 +00:00
L0ne_W0lf
9f70b10ff7 Added Arunafeltz State WoE maps.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11559 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-23 15:15:57 +00:00
zephyrus
a0b1a582a1 * Removed the inter_athena.conf maildb settings as they are not required anymore.
- MailDB is now an integral part of the MainDB.
- To Server Admins, use mysql tools to move your mail data to the new structure.
- You can get the maildb structure from main.sql.
- Renamed some vars (recomendation of Ultramage :D)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11557 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-23 00:31:37 +00:00
zephyrus
baa7b210d9 - Removed some mail config settings and atcommands not required anymore.
- Added documentation for script commands: openmail and homshuffle.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11554 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-22 21:24:15 +00:00
L0ne_W0lf
3b09f5af15 Another small update to the mail npcs. Done bumping the SVN rev. count for now. Promise. (Maybe.)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11553 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-22 20:51:32 +00:00
L0ne_W0lf
de41a81be5 Forgot to uncomment mail NPCs in scripts_athena.conf XD
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11552 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-22 20:49:13 +00:00
L0ne_W0lf
1d87fa9721 Fixed nopenalty entries for Turbo Track maps.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11551 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-22 20:48:15 +00:00
L0ne_W0lf
859cc4256b Updated NPCs for the mail system.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11550 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-22 20:47:14 +00:00
L0ne_W0lf
97954c8f28 * Bug fixes for the turbo track.
- Fixes both the point exchanger for exp when selecting "No" and also fixes the infinite loop in the game Guide.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11549 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-22 20:42:43 +00:00
zephyrus
c34325a53b - Added the new mail system. Requires optimization and tests.
- Updated the maildb sql structure.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11548 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-22 20:38:26 +00:00
Playtester
0e39094a11 Fixed Bowling Bash doing more than 1 tile knockback
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11547 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-22 19:34:06 +00:00
L0ne_W0lf
719115b6d0 Continued update for turbo track. (Last update, forgot message)
Added Turbo Track map flags. 

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11546 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-22 16:37:42 +00:00
L0ne_W0lf
af1e3083ac git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11545 54d463be-8e91-2dee-dedb-b68131a5f0ec 2007-10-22 16:35:51 +00:00
Playtester
85d3f5a3e4 * Heat isn't supposed to consume SP when used against players
- please report if it still consumes SP in pvp

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11544 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-22 11:03:40 +00:00
Playtester
3d7e086154 * Added new cards to drops so they can be tested
- updated sql files

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11539 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-21 16:05:05 +00:00
ultramage
33decb0759 Fixed a small mistake in r11503 causing a fatal error&exit on unix when you try to do a graceful exit (by ctrl+c for example)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11538 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-21 13:37:46 +00:00
Playtester
9d1359a5c2 Implemented remaining 12.1 cards
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11537 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-21 13:18:38 +00:00
Playtester
18227dd6d8 Fixed some typos in the item_db
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11536 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-21 11:21:07 +00:00
skotlex
a3590acef4 - Removed SC_INCAGIRATE/SC_INCDEXRATE as they are not used anymore (and where even incompletely coded)
- Added SC_INCASPDRATE, SC_INCFLEE2, SC_INCCRI, SC_INCDEF, SC_INCBASEATK and SC_FASTCAST as these are required by the newer items.
- Cleaned a bit the implementation of Suffragium


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11535 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-21 11:17:07 +00:00
ultramage
28dcdcdf9e * Fixed 'unequip' removing items in the wrong position (bugreport:252)
* Fixed #refine unequpping the caller's item by mistake (bugreport:265)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11534 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-21 02:18:15 +00:00
Playtester
96626a3127 Fixed some item bugs
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11533 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-20 23:39:20 +00:00
L0ne_W0lf
8b47fc5275 Corrected Desert Twilight and slots.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11532 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-20 23:12:47 +00:00
ultramage
6cca14200e Fixed a nasty bug from r11410 which let people create chars with already taken char names, and (in TXT's case) even cause a crash.
Closes bugreport:234.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11530 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-20 21:21:54 +00:00
SinSloth
ea5a2947bd * Small fixes to Hugel and Lighthalzen quests.
- 'gettimetick' checking in Schwartzvalt Trilogy now looks for both positive and negative values.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11528 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-20 17:40:30 +00:00