summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-11-09Replaced several 'int' variables with enums that they represent.ultramage9-46/+58
Expanded weapon_type enum with dual-wield constants (bugreport:384). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11704 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-09* Re-worked the login-char-map packet spam mechanismultramage11-169/+264
- mapserver no longer sends entire user list to charserver every 10 seconds; similar change done to the char-login connection - user count updates are only sent when the value actually changes instead of servers polling each other every few seconds - the servers now prevent interserver connection timeout explicitly by sending ping/ack packet pairs instead of relying on the usercount polling to do so; keepalive is sent every 'stall_time'-2 seconds - removed the @refreshonline command as refresh happens automatically every 5 seconds git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11703 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-09Fixed socket.c using time() incorrectly, causing stall timer ↵ultramage2-3/+4
desynchronization (bugreport:394) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11702 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-09* Added a database iterator to db.c/db.h.FlavioJS3-1/+444
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11701 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-08- Ooops! Adding a missing comma (,).zephyrus1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11700 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-08- Added a new setting 'guild_skill_relog_delay' to activate the guild skills ↵zephyrus6-6/+12
delay on Guild Master relog. - The official setting is 'No', but this is an option for game masters. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11699 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-08* Changed EXIT_SUCCESS back to 0 in console.c to avoid an unnecessary include.FlavioJS29-508/+396
* Fixed gm_account_db not being deallocated in login-converter.c. * Refactoring names and documentation in db.h/db.c: - changed 'struct dbt' to 'struct DBMap' and 'DB' to 'DBMap*' - changed 'struct db' to 'struct DBMap_impl' and 'DB_impl' to 'DBMap_impl*' - changed COUNT to DB_COUNTSTAT and made it's existence not depend on DB_ENABLE_STATS - removed some @see links and corrected small typos in the documentation git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11698 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-08Synced the charservers' init procedure.ultramage2-38/+34
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11697 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-08Synced charserver char creation creation codeultramage3-254/+140
* removed most of the creation failure messages printed to console * fixed sql charserver letting you use control chars in char names * new chars will not start with the 'Knife' and 'Cotton Shirt' equipped anymore (charserver blindly placed magic values into the equip field) Fixed a glitch where all packets immediately after the map->char login packet would get discarded and the mapserver disconnected. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11696 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-08* Updated configure script:FlavioJS3-10/+71
- small correction to the help text of --with-mysql and --with-pcre - added the -Wno-switch compiler option to suppress the "enumeration value '%s' not handled in switch" warnings git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11695 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-08- Fixed not all objects spawning within your range of sight when you ↵skotlex1-0/+6
warp/relog if CIRCULAR_AREA is defined. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11694 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-07- Added separated packets for get and set attachment on mail system.zephyrus4-4/+23
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11693 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-07- Some updates on the mail system packets [Zephyrus]zephyrus5-20/+23
- Corrected the mail database structure on main.sql - TODO: find what happens when you cannot receive an emailed item due to weight problems. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11692 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-07Applied knc's fix to let authorized GMs use @go on 'nogo'-flagged maps.ultramage1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11691 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-06Fixed a crash caused by a mistake in r11657 (bad macro -> function code ↵ultramage2-7/+11
conversion) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11690 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-06Patching a gcc compilation problem...ultramage1-0/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11689 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-06Fixed Aesprika's item ID.L0ne_W0lf2-1/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11686 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-06Another Luina guild manager fix (In an I never updated that worked fine before.)L0ne_W0lf2-2/+6
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11685 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-06Corrected aldeg_cas02 treasure room coordinates. Fixed bugreport:359L0ne_W0lf2-3/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11678 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-06Fixed errors in the Halloween 2006 event script.L0ne_W0lf2-29/+31
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11677 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-06Added the Halloween 2006 event script.L0ne_W0lf6-2/+1439
Updated drops for Event Lude. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11676 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-06Added the Christmas 2005 event script.L0ne_W0lf3-1/+1684
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11675 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-05Updated some of the 12.1 armor, added Brynhildr and ASepirka.L0ne_W0lf2-3/+6
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11673 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-05Updated sql filesPlaytester2-83/+83
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11669 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-05Fixed Imp using a too high level of FireboltPlaytester2-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11668 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-05Updated DEF and MDEF of Moscovia mobsPlaytester2-6/+8
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11667 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-05Fixed a bug in Orange Potion creating. Copy&Pasting = bad.L0ne_W0lf2-7/+12
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11661 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-05Corrected the max. allowed skill name length, and optimized code that works ↵ultramage6-392/+337
with skill names according to latest changes. Changed skill db loading code to work similarly to how itemdb/mobdb is loaded (generic file loader + specialized function to process rows). * all skill db files are now checked for inconsistencies the same way. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11659 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-05* Reverted official drop rate estimationPlaytester2-1/+4
- although it really exists we don't have enough information about it - if server owners really want it they can implement it themselves (it's just a one-line fix anyways) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11658 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-05Changed the skill_db.txt skill names in comments into actual columns, now ↵ultramage4-1464/+829
the server reads these instead of a hardcoded array (see topic:170438). Corrected skill db loading code which was using a totally wrong column count in sevreal cases (or didn't do any checks at all). Cleaned up skill db lookup code * added some well-behaved functions to replace macros (skill_get_index) * used skill_get_index() to replace often occuring blocks of code that did the skill_id -> skilldb_index calculation in-line git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11657 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-04Updated Thor Volcano spawnsPlaytester2-11/+13
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11655 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-04Fixed a bug in sage job quest. L0ne_W0lf2-1/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11653 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-04* Adjusted drop bug according to special information...Playtester2-2/+2
- this will be changed further in the future git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11652 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-04* Implemented official drop rate estimationPlaytester2-0/+5
- estimation is rounded on 2 positions after decimal point - this will effectively raise drop rates below 50% by 0.01% git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11651 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-03Added script function 'strnpcinfo', for increased npc awareness (originally ↵ultramage5-1/+70
from jAthena). Updated script reference doc. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11650 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-03Corrected an typo in the guild flag function.L0ne_W0lf2-3/+6
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11649 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-03Tried to make sense out of timer.c ... and failedultramage8-89/+110
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11647 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-02Fixed some NPC headers in the custom scripts.L0ne_W0lf17-79/+81
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11646 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-02* Some NPC and CONF file clean up. More duplicate removal.L0ne_W0lf7-85/+82
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11645 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-02Corrected Whirlwind/Violent Gale to give a numeric flee bonus instead of ↵ultramage1-1/+1
percentual (bugreport:329) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11644 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-02Bug fixes in rogue skill quest resolved bugreport:351L0ne_W0lf2-13/+16
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11643 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-02AGAIN corrected the sql charserver query that broke TXT->SQL conversion ↵ultramage1-2/+2
(fixed in r10835, reverted in 11245...) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11642 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-02* Minor fixes/updates to various items.L0ne_W0lf2-55/+56
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11641 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-02Removed some long-unneccessary debug messages (from r1105).ultramage7-46/+24
Removed function skill_count_target() because it's a duplicate (see topic:169337). Renamed skill_get_pl to skill_get_ele (because it retrieves element ids). The block_list structure now uses the BL_ enums instead of 'unsigned char'. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11640 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-02* Added trap mode to FirepillarPlaytester2-1/+4
- tell me if it breaks something git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11639 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-02Fixed one wrong return value in buildin_getcharid (bugreport:33)ultramage2-6/+8
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11638 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-02Moved the BUILDIN_DEF() block to the end of script.c.ultramage2-671/+355
Removed the big list of BUILDIN_FUNC() declarations in script.c, as they are not needed anymore and no code utilizes them => file size-= 11 kB. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11637 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-02* Fixed an incorrect answer in the blacksmith quiz. (Trojal)L0ne_W0lf2-1/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11635 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-02- Modified trap related code so it behaves as explained by Playtester: Traps ↵skotlex2-19/+11
trigger on everyone in their 'effect range' (skill_db's splash) for every target that lies within its trigger range at trigger time (range and interval in the skill_unit_db). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11634 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-02* Rather large update to the WoE scripts.L0ne_W0lf24-1055/+1108
- Eliminated unofficial map-broadcasts (opening treasures/guardian death.) - Fixed several errors in guardian spawning (script-wise.) - Treasure spawning itself is done weird... What exactly is the last paramater for anyway? Near as I can see it's ALWAYS 1. Why is it used? what does it do? Why is it undocumented? Mysteries and more! - Updated dialog and restructured several NPCs. * Created a unique function for novice WoE as the new manager does not support it. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11633 54d463be-8e91-2dee-dedb-b68131a5f0ec