6195 Commits

Author SHA1 Message Date
SinSloth
130c4bf021 * Fixed a typo in Party Arena.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11624 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-31 12:09:29 +00:00
SinSloth
b87ec4fda5 * Forgot Arena warps file ~~
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11623 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-31 11:58:30 +00:00
SinSloth
95d34e2dce * Added Izlude Battle Arena. Please test it and report any bug you find out.
- Level 50/60/70/80 and Party arenas are accessable.
- Updated old warps to official.
- Acolyte-only arena will be added a bit later.
- Arena Points can be obtained by completing arenas as well as exchanging your Turbo Track points.
* Updated several mapflags - 'nomemo' 'noteleport' 'nosave' 'nowarpto' 'restricted' - due to Izlude Battle Arena release.
- Updated 'item_noequip' and 'skill_nocast_db' to match with 'restricted' mapflags.
* Removed useless WIP folder whose quests have been there for a while.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11622 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-31 11:56:28 +00:00
skotlex
fe0c93c77b - Fixed the pc_additem weight check breaking when your current weight is above your max.
- Some minor cleanups.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11621 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-31 00:42:56 +00:00
SinSloth
21b1d27fb7 * Fixed a possible exploit in Thanatos Tower quest.
- Thanatos can only be summoned every 2 hours, no matter how you get there.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11619 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-30 18:21:48 +00:00
samuray22
faa1661082 * Update some missing warps in Veins City.
-All credit go to $ephiroth.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11618 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-30 13:18:48 +00:00
zephyrus
a558a4d2c7 - Updated the mail sql structure in main.sql.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11617 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-30 03:41:23 +00:00
L0ne_W0lf
599dca2529 Updated to fix errors reported by Zephyrus_CR. bugreport:334
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11615 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-29 22:52:45 +00:00
ultramage
dc6254185a Fixed a compilation problem and warning (maybe).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11611 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-29 20:01:09 +00:00
FlavioJS
1150699a75 * Makefile creating the conf/import forder.
You can update your Makefile by running configure again ('make help' for a list of available targets)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11610 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-29 19:58:26 +00:00
Playtester
81edd5a9a2 Fixed Gaebolg quest not giving exp in some situations
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11608 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-29 13:01:19 +00:00
ultramage
fc9d14b1bd Command code cleaning (refer to topic:169759)
* separated the execution part of command code into interface part and internal part to better see which checks are done and when (fixes problem where 'nocommand' mapflag blocked server npcs)
 * moved the internal commands list (array) to the end of the file, this let me discard that long block of ACMD_FUNC() declarations
 * removed enum AtCommandType from command headers and commands array; its purpose was perhaps to identify aliased commands, but apparently it was never finished because the rest of the code doesn't use it (also doing aliases like this is not a very good idea)
 * internally, commands are now referenced to using their function name
 * removed the @/# symbols from the command lists; all lookup functions will now properly deal with strings with- and without a command symbol (commands interface still requires the symbol tho', so TODO for later)
 * removed several unneeded commands (*id2 code, dmalloc debug commands)
 * reverted atcommand config from alphabetically-sorted to how it was before (with additional fixes; see /conf changelog)
 * added missing code for #dropall / #storeall
 * added a warning when trying to set gm level of an undefined command

The structure of the commands table has changed, please adjust docs/guides to match the new format (sorry for the inconvenience).


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11607 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-29 09:16:39 +00:00
FlavioJS
82a3432bd4 * Minor adjustment to take into account the end of line.
* Fixed the line count in the new error message of npc_parse_function.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11606 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-28 23:48:29 +00:00
L0ne_W0lf
5550180be2 * Updated NPC headers to fix errors caused by rev. 11603.
- Note: non-standard loaded scripts need to be checked for errors/duplicates.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11605 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-28 23:36:53 +00:00
FlavioJS
d51639d405 * Restricted more the parsing of npc code. (fixes bugreport:317)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11603 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-28 23:17:56 +00:00
Playtester
e29f5887de Updated sql files
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11602 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-28 23:07:07 +00:00
Playtester
e09efe662a Updated Veins Field spawn amounts to official
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11600 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-28 22:37:18 +00:00
L0ne_W0lf
1f6bb721f5 Corrected Cross Shield bonus.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11598 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-28 18:17:47 +00:00
SinSloth
3f5bbce439 * Added Rekenber Job quest which was missing for some unknown reason.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11597 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-28 17:15:55 +00:00
L0ne_W0lf
26717ecb36 Updated Bio Ethics quest to official, and re-added.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11595 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-28 16:39:23 +00:00
skotlex
88e0444634 - Corrected the firewall/kaensin knockback code to how it is supposed to be done (the element/race check was originally in battle.c, and it was moved to skill.c because of the firewall hits on undead setting, now that it is not needed the code can be changed to how it was back then).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11594 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-28 15:48:12 +00:00
zephyrus
f0cc5dd038 - Fixed a bug on the Attachment [Mail System]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11593 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-28 15:12:54 +00:00
ultramage
f676a041a8 Fixed missing forward declaration of mail_message.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11592 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-27 16:48:17 +00:00
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