summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-02-07Cleaning up of the socket codeultramage19-67/+66
- Shuffled includes around for files that were leeching off of socket.h - Added code that enforces standard shutdown behavior for sockets git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9817 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-07- Updated the range of BioExplosion and Self Destruction so they count as ↵skotlex10-41/+32
ranged skills. - Removed old script bonuses bMatk, bMatk1, bMatk2 - Fixed char-server not sending online notification when a party member logs in. - When skill range by distance is set, the distance checked for is now 5 cells rather than 3. - Fixed bMatkRate bonuses not applying to status earned modifications to int/matk. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9816 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-07- Removed deprecated console code.FlavioJS11-85/+23
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9815 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-07- Moved CHAT_SIZE back to map.h because log_atcommand uses it on sql builds. ↵FlavioJS3-4/+6
(moved to clif.c in r9811) [FlavioJS] git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9814 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-07Cleaned up the script engine's get_val() functionultramage2-83/+76
- changed the long if-spaghetti into a compact switch statement - changed its behavior so that it exits if !sd and it requires one - upon exiting, it will now ensure that meaningful values get returned (the old code would return random memory / crash) - removed many !sd checks since they are done at the beginning now git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9812 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-06- Moved define CHAT_SIZE to clif.c, added define CHATBOX_SIZE to specify ↵skotlex6-93/+100
that 70 char limit of the input area. - Fixed #lvup having the gm level check backwards. - Fixed the stormgust freeze counter going up even if the attack is blocked/cancelled. - Updated mes_len_check to receive max expected size as well (clif.c) - Cleaned up parsing functions for /mm, /resetskill, /resetstate, /item, /monster, /hide - git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9811 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-06- Cleaned up homunc attack request parsing. Homunculus no longer goes into ↵skotlex3-10/+8
auto-attack (ctrl+click) mode since the client does every attack request individually. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9805 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-06- Fixed char-server not sending party status update when a member logs on/offskotlex6-2/+15
- Fixed crash when parsing guild member information change from the char-server when the specified character is not found in the guild. - Fixed MvP mobs giving exp when killed even if they shouldn't git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9802 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-06Undid revision r9792 (npcshopattach)ultramage2-2/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9796 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-06- Fixed @lvup, #lvup not doing a stat reset and lowering your status points ↵skotlex4-24/+24
if you had 0 status points at that time. - Fixed MvP exp and item rewards being given even when the mob_dead flag specifies you should not receive exp or items. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9795 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-05- Updated the code so that now a range of a skill is determined by the ↵skotlex8-312/+305
skill's range in the db. Now only skills with less than 5 cells of range are melee. - The inf2 parameter of the skill_db is now red as an hexadecimal. - Updated comments and inf2 values of the skill_db to use the new format. - Soul Change now can't be casted on self. - Updated range of Grandcross, Granddarkness and Gospel to 5 so when they attack their attack type is counted as ranged. - Splitted the super novice flag in two, to keep seperate counters for the chant and for the self-revival. The self-revive will now trigger only once per level per session, if you relog you can have it trigger again. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9794 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-05Applied Dj-Yhn's fix to 'npcshopattach'ultramage2-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9792 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-05- Fixed a duplicate warp name in Rachelskotlex8-61/+70
- Fixed Venom Splasher not being Poison elemental - Cleaned up #blv - Fixed the skill tree not always updating when using @allskill - Probably fixed the target-change on melee attack setting not working. - Moved the deletion of the invincible timer when using skills so that it is not deleted for skills such as Ashura (when just selecting a target) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9791 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-05- Continuing the checking of script buildin functions and stop the script ↵FlavioJS2-55/+51
execution when an attached player is required but not found. This task will be referenced as Ticket #41 from now on. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9790 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-05Updated the TXT login server's account id checker (it was still saying the ↵ultramage2-2/+4
minimum is 700000 instead of 2000000) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9788 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-05Changed the 'getpartyleader' script command so that it returns a map name ↵ultramage3-9/+16
instead of the useless mapindex number. Also fixed it so that it doesn't throw a 'args of aFree is not valid pointer' error (although I'm not at all sure that the fix is correct). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9787 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-05Removed the silly and misleading 'firewall detected' messageultramage4-7/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9786 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-03Added missing vc6 project fileultramage2-0/+295
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9785 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-03Corrected a lie in the script documentationultramage2-5/+6
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9784 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-03- Fixed the flag parameter not working on npcshopattachskotlex4-44/+37
- Modified unit_walktoxy so it accepts flag &4. When used, this flag will delay the walk request if the character is unable to move because of the can't walk delay. This is used for player and homunculus walk requests. - Removed the delay walking code from clif.c as it's now handled by unit.c - Added a possible crash protection in clif_skillfail when the player is without a connection. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9782 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-02Fine-tuned the global message processing functionultramage2-18/+53
- now detects access-out-of-rfifo attempts (idea from eA++) - uses the new CHAT_SIZE define to restrict message lengths - detects Frost Joke/Dazzler and gives them more freedom (from Freya) - more strict non-conformant message detection - logging every problem to the mapserver console git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9781 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-02- Resetting skills will now automatically remove peco, falcon, cart and ↵skotlex3-2/+23
homunculus (vaporize). - Fixed random mob picking choosing clones. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9780 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-02- The define MESSAGE_SIZE was wrong! It is only used for input boxes. ↵skotlex8-101/+161
Therefore now it is only used for Vending, Talkie box and Graffiti - Added new define CHAT_SIZE which holds the max length that a client can send from the chat buffer. This value is NAME_LENGTH + 3 (the ' : ') + 70 (the actual text). - Added define msg_len_check which crops incoming client text if it's longer than CHAT_SIZE. Added cropping to all incoming messages except normal chatting which is already accounted for. - Removed variable talkie_mes, this is now handled by sd->message - Cleaned up parser functions for /b /lb, gm kick, /shift, /recall - Added crash protection to the logging functions when they receive a too long string. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9778 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-02- Completed Amon Ra's spell list.skotlex2-0/+15
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9777 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-02* Restricted global messages to 255 characters (client shows only ~80 ↵ultramage2-24/+42
anyway, wanted to use 127 but frost joke's lines are longer than that ...) - prevented using a ~22+kB long message to crash everyone on screen - prevented faking the message length to cause an out-of-bounds access crash - removed the unneccessary 'buf'ffer (inspiration from jAthena) - Ref: http://www.eathena.ws/board/index.php?showtopic=137770 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9774 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-02Typoultramage1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9773 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-02Corrected the chat system to allow 8-letter passwordsultramage3-10/+10
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9772 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-02Minor details (pdb file location, improved debug, npc typo)ultramage4-3/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9771 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-01- Cleaned up the npcshop(add/del) item script commands, fixed a possible ↵skotlex3-60/+158
dangling pointer crash caused by their improper use of realloc. They no longer automatically attach the script to the shop, and they will return true/false based on whether the shop was found or not. - Added script command npcshopattach to enable attaching/detaching your script from any npc shop. - Updated doc/script_commands.txt with entries for npcshopitem, npcshopadditem, npcshopdelitem and npcshopattach git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9769 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-01A followup to r9761, a header include that somehow didn't commitultramage2-0/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9768 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-01- Item search is now a bit smarter. When no item is found with the same ↵skotlex7-29/+45
'aegis name', then the 'normal' name is used instead. - Updated the @/# commands that take an item name so that you can use quotes when specifying item names with spaces in them. For example, @item "poring card" 1 will work now. Note that only the commands that work on ONE item have been updated, those that do an item list need to be updated as well. - Removed some garbage from the item_data structure. - Improved a bit the description of the mvp item get time config settings. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9767 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-01changed resource language from russian&czech -> englishultramage5-10/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9766 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-01Updated the old vs6 files to latest, thanks to k3dt for contributing themultramage7-401/+410
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9765 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-01Reorganized the vs6 project files (update will follow)ultramage17-2324/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9764 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-01Fixed an accidental change in r9758 (edit&continue)ultramage3-2/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9763 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-01- Added support for mob skill target 'randomtarget', when specified, it will ↵skotlex7-50/+99
pick a random enemy from within the skill's cast range. - Updated the mob_db so that all skills from non-moving mobs that specified 'target' as enemy will use 'randomtarget' instead. - Amon Ra's meteors now use randomtarget instead of self. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9762 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-01Added string function strnlenultramage3-0/+19
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9761 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-01- Corrected homunculus's aspd being halved after using some aspd adjusting ↵skotlex11-51/+62
skill. - Cleaned up the resetskill function (even though the functionality is the same as before) - Corrected item 1459 (unused Partizan with no slots) being wlv3 instead of 2 (as the other two partizans) - Changed the name of the four second versions of homunculi to not have a 2. (so you get a 'lif' and not a 'lif2' - Removed flag graffiti from abracadabra - Updated the stun times of Bash, Npc-StunAttack and meteor Assault to 5 secs as reported by Ultra Mage (still pending more data to see if all others need updating as well) - Removed the log info message 'created homunc...', and the 'loaded homunc' message will only show if the save_log is enabled. - Some cleanups git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9760 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-01- When when a party-member levels up, the level change is sent to the ↵skotlex7-77/+102
char-server to update the even-share range values. - When joining a gvg_dungeon, the pvp packet will be sent to signal versus. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9759 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-01- Changes in the VS8 project files:FlavioJS8-402/+606
* synchronized the settings between the projects * joined all .h and .cpp files and grouped them based on the src subfolder (easier to understand how the source is organized) * added Debug/Release build targets that build txt/sql only * other minor changes git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9758 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-01Removed graph, httpd and webserverultramage51-1924/+14
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9757 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-31Wiped out the old night codeultramage2-28/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9755 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-30Corrected a mistake in the sign quest (answer did not match ingame behavior)ultramage2-1/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9748 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-30- 'Long Range Attacked' mob skill conditions will no longer trigger on magic ↵skotlex4-3/+9
attacks. - Changed the element of Blood Drain from 'take weapon's element' to Dark. And Blood Drain/Energy Drain have a range of 7 now. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9747 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-30- Corrected char deletion not working (column is called homun_id, not hom_id...)skotlex9-35/+52
- Collapsed config settings produce_item_name_input, produce_potion_name_input, making_arrow_name_input, holywater_name_input, cdp_name_input into a single config produce_item_name_input which uses bitmasks to determine what it affects. - Updated arrow_decrement to have 3 possible values: Disabled, Enabled, and Enabled as well as giving arrow requirements to skills that do not have them when used with ranged weapons (auto-guess for plagiarized/item-granted skills) - Minor cleanings git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9746 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-30Removed one grf function that DracoRPG missedultramage1-28/+0
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9745 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-29- Readded grfio_final to the map_server.skotlex1-0/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9744 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-29- Fixed compiltation error ~.~ I was sure I compiled before the previous ↵skotlex3-16/+3
commit... - Corrected a null pointer error when a non-player uses amplify magic power. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9743 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-29- Corrected the homunculus deletion functions so that the homunculus is ↵skotlex10-21/+110
deleted together with the character. - Added npc_check_areanpc so that Wand of Hermod will correctly check for nearby warps. - Emergency avoid now stacks with other speed boost statuses - Item skills and skills that bring up a menu now are cleared on death. - Minor cleanings git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9742 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-29Almost but not quite u.uultramage1-205/+205
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9741 54d463be-8e91-2dee-dedb-b68131a5f0ec