summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-10-29Command code cleaning (refer to topic:169759)ultramage12-2233/+1464
* 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11607 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-28* Minor adjustment to take into account the end of line.FlavioJS2-7/+13
* Fixed the line count in the new error message of npc_parse_function. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11606 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-28* Updated NPC headers to fix errors caused by rev. 11603.L0ne_W0lf16-44/+60
- Note: non-standard loaded scripts need to be checked for errors/duplicates. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11605 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-28* Restricted more the parsing of npc code. (fixes bugreport:317)FlavioJS2-7/+25
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11603 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-28Updated sql filesPlaytester1-3/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11602 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-28Updated Veins Field spawn amounts to officialPlaytester2-24/+25
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11600 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-28Corrected Cross Shield bonus.L0ne_W0lf2-1/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11598 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-28* Added Rekenber Job quest which was missing for some unknown reason.SinSloth2-6/+1484
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11597 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-28Updated Bio Ethics quest to official, and re-added.L0ne_W0lf3-1/+1060
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11595 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-28- Corrected the firewall/kaensin knockback code to how it is supposed to be ↵skotlex2-3/+2
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11594 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-28- Fixed a bug on the Attachment [Mail System]zephyrus3-6/+13
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11593 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-27Fixed missing forward declaration of mail_message.ultramage1-0/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11592 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-27Small update to divorce NPC.L0ne_W0lf2-1/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11590 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-27Slightly improved the message you get when trying to load a mob into the ↵ultramage1-1/+1
range reserved for player clones. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11589 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-27Fixed a typo in r11505 messing up the 'npcmove' command (only 'x' coordinate ↵ultramage2-1/+2
was being set correctly) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11588 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-27Fixed a compilation error in the mail code. Blame the C standard and gcc for ↵ultramage1-11/+10
giving enums a variable-sized type, thus making forward declarations impossible. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11587 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-27Removed 'petid', a command from r284 to look up pet ids by name.ultramage5-90/+42
Cleaned up some pet-related code. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11586 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-27* Fixed TXT charserver doing periodic random-sized memory allocation ↵ultramage6-108/+90
(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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11585 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-27Followup fixes to r11583:ultramage9-87/+69
* 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11584 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-27- Improvements to the mail system.zephyrus11-226/+314
- Added a sql patch, renaming "read_flag" column to "status" on the mail db. - Need more testing. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11583 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-26* Some small db updatesPlaytester4-5/+11
- 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11581 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-26Moved the new novending cell check from the internal code to the ↵ultramage6-12/+8
client-server interface (allows server to force-open shop if needed) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11580 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-26* Removed confusing map_nick2sd_nocase(), let the charserver handle itultramage7-85/+60
* Added correct packet for attachment retrieval failure when overweight * Fixed one more mistake in r11571 (Sql->SqlStmt) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11579 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-26- Removed the config setting firewall_hits_on_undead setting, Firewall and ↵skotlex6-26/+24
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11578 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-26More minor updates to a couple NPCs.L0ne_W0lf3-6/+8
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11577 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-26Minor updates the Juperos Elevator NPCs.L0ne_W0lf2-5/+7
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11576 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-25Minor fixes here and there to a few scripts.L0ne_W0lf3-15/+18
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11574 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-24* Corrected a fex misshaps from r11571:FlavioJS4-9/+10
- 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11573 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-24- added defines JOB_MAX_BASIC and JOB_MAX to mmo.h so the code can know ↵skotlex13-82/+127
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11572 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-24* Cleaned up some messy guild code (more to come)ultramage24-646/+644
* 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11571 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-24* Added the Advanced Refiner for Enriched ores.L0ne_W0lf3-0/+236
- I've had this done for awhile now, but I've never submitted it. XD git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11570 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-24Removed duplicate Morroc city npc (bugreport:277)L0ne_W0lf3-33/+12
Fix to the knight job quest. (bad areawarp destination) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11568 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-24Corrected the Jawaii Ice Cream salesman. bugreport:285L0ne_W0lf2-2/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11566 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-24Fixed two duplicate names in the assassin skill quest. XDL0ne_W0lf2-2/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11565 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-242-x quest skill update 2/2.L0ne_W0lf7-1085/+3203
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11564 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-242-x quest skill update 1/2.L0ne_W0lf6-1838/+4082
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11563 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-23Small fix for the turbo track point converter. Even though, without the ↵L0ne_W0lf2-0/+8
arena, the converter serves no purpose. XD git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11562 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-23- Another FALSE to false... sorry.zephyrus1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11561 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-23- Fixed a compilation bug on linux (FALSE -> false)zephyrus2-5/+7
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11560 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-23Added Arunafeltz State WoE maps.L0ne_W0lf5-0/+19
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11559 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-23* Removed the inter_athena.conf maildb settings as they are not required ↵zephyrus9-574/+522
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11557 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-22- Removed some mail config settings and atcommands not required anymore.zephyrus5-24/+24
- Added documentation for script commands: openmail and homshuffle. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11554 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-22Another small update to the mail npcs. Done bumping the SVN rev. count for ↵L0ne_W0lf2-2/+4
now. Promise. (Maybe.) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11553 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-22Forgot to uncomment mail NPCs in scripts_athena.conf XDL0ne_W0lf2-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11552 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-22Fixed nopenalty entries for Turbo Track maps.L0ne_W0lf2-8/+9
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11551 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-22Updated NPCs for the mail system.L0ne_W0lf2-19/+21
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11550 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-22* Bug fixes for the turbo track.L0ne_W0lf2-5/+10
- Fixes both the point exchanger for exp when selecting "No" and also fixes the infinite loop in the game Guide. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11549 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-22- Added the new mail system. Requires optimization and tests.zephyrus24-516/+1462
- Updated the maildb sql structure. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11548 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-22Fixed Bowling Bash doing more than 1 tile knockbackPlaytester2-1/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11547 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-22Continued update for turbo track. (Last update, forgot message)L0ne_W0lf7-0/+49
Added Turbo Track map flags. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11546 54d463be-8e91-2dee-dedb-b68131a5f0ec