summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-01-19- Reverted the dup-label check code since it has a bug that needs to be ↵skotlex6-31/+44
fixed first (it fails to recognize const.txt values) - Reverted clif_skill_damage receiving the blewcount value since the whole code update that was involved didn't help any anyway. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9675 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-19Fixed a client crash during SQL char selection if you for some reason had ↵ultramage2-1/+4
more than 9 characters in your account git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9674 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-19- Merged Rayce's cleanups of the script engine that account for duplicate ↵skotlex4-70/+105
labels, non-numeric labels and makes the engine case-insensitive towards keywords like if/case/switch/etc/ - Added the icons for the Food boosts (need packet version 8 to get them). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9673 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-18- Updated @homshuffle to preserve current hom's exp.skotlex1-0/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9672 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-18- Modified the Storm Gust freeze counter code. It now takes into ↵skotlex8-9/+100
consideration the ID of the skill before increasing the counter, which should effectively yield the closest aproximation to official (even though the counter will reset if you step out of a SG and into another one, we do not know yet what should happen in such a case). - Added @homshuffle. It recalculates the homunculus stats, as if the homunc was sent back to level 1, and then releveled. This command is mean to help fix those previously created Homunculus that are much stronger than they should be. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9671 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-18- Fixed overflow on the mob delay adjustment setting.skotlex3-7/+15
- Fixed characters being unable to trade again if you attempt a trade on someone who is on storage/npc when you accept the trade. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9669 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-18Fixed a crash when a castle from [0..MAX-1] wasn't in the dbultramage2-12/+14
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9668 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-18Fixed Ulle's Cap + Odin's Blessing ComboLupus2-1/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9667 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-17- Corrected atcommand @homstats so it shows the correct minimum/maximum ↵skotlex4-104/+119
possible values. - Simplified the hom level up function, now decimal stats are no longer stored. This should correct eA's homunculus on average being much stronger than Aegis's. - Modified the homun db read code so it forces the "max" value to be higher than the "min". - Cleaned up pc_allskillup, @allskills should work correctly now. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9664 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-16- Added atcommand @homstats so you can check your homunculus stats and ↵skotlex4-3/+71
compare them to the minimum/maximum values that you could have at your current level. This command is meant to help figure out if homuncs are indeed getting a faster stat growth than they should have. - Fixed some of the default @ levels for hom related commands. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9663 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-16- Fixed the next invoked skill after AbraCadabra not having requirements ↵skotlex4-6/+20
even when it is a different skill than the one chosen by AbraCadabra. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9661 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-16- Implemented Intravision as it should be. Thanks to HelloKitty2 for the ↵skotlex4-57/+11
captured packets. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9659 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-16- Added function unit_escape to simplify the run-away code a bit in the mob ai.skotlex4-14/+29
- Some cleaning on the mob_ai to enable mobs to run away from their current target when they are rude-attacked by them. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9658 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-15- The NPC elemental attacks will display a skill animation again.skotlex5-35/+47
- Mob instant cast skills will use their adelay now. - Spirit of Wizard won't work on Ganbantein - The pc normalize job function will consider you as novice if you don't have maxed out basic skill. - Cleaned up pc_calc_skilltree and related functions so that the id is left as 0 when you can't raise the skill even if you meet the prerequisites. This is to prevent raising quest/soul/marriage skills through packets. - Slaves should lock unto their master's target even if they are not attacking yet (eg: in chase mode) - Updated the Summon Slave skill to use the slave distance define as valid distance to spawn from master. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9656 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-15- Fixed Joint Beat's speed penalty.skotlex6-13/+29
- Added a pc_authok check to prevent the case in which somehow another character of the same account manages to log in as well. - The pc normalize job function will now recognize you as a novice if you don't have NV_BASIC maxed. - Accessories will now by default go into the rigth-side rather than the left-side of the equip window. - Added a check in the mob_ai_subhard function to make mobs unlock targets which have their invincible timer set. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9655 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-15- Probably fixed the registration flood protection code being broken.skotlex6-14/+22
- Readded a commented piece of code that's meant to prevent @warp from printing "invalid target cell!" messages on the console. - Joint Break should only re-start the bleeding timer when it currently IS the one that causes bleeding. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9653 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-12Talking about copy-paste... t_t (missing closing curly brace)ultramage1-0/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9650 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-12yup, i need to rest... (also, copy-paste is eeeevil)FlavioJS2-4/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9649 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-12 upsFlavioJS1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9648 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-12- Cleaned up the ip rules/DDoS section of the code. (the allow,deny and ↵FlavioJS5-191/+232
deny,allow cases were switched) - Updated the information about ip rules and DDoS protection in packet_athena.conf and commented out the line "allow: all" so connections are rejected when a DDoS is detected. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9647 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-12Fixed exploits in Valentine Event ScriptsKarLaeda3-3/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9646 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-12Disambiguationultramage1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9645 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-12- Fixed autotrading characters not being able to reconnect. Seams like I ↵FlavioJS2-1/+5
misunderstood how id_db and pc_db are used. Ref: http://www.eathena.ws/board/index.php?showtopic=131873 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9644 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-11Update to the new locations, adds more warps (thor_camp)ultramage3-9/+21
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9643 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-11- Fixed the script engine not parsing strings in multibyte charsets ↵FlavioJS2-3/+5
correctly (should have been done in r9532). Ref: http://www.eathena.ws/board/index.php?showtopic=132004 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9642 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-11- Console plugin working when built as Windows native.FlavioJS4-116/+394
The linux part has the same strategy but uses the new asynchronous input abstraction layer. The abstraction layer is there to facilitate changes, was really handy when trying to get it working as windows native. :) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9641 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-10Combined most of the txt/sql mobdb reading codeultramage2-532/+283
- mob.c is now some 10kB less redundant (now using a common function) - automatically filled in some missing parts of the txt part (view_range_rate, chase_range_rate, line counting, etc) - also cleaned it up significantly git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9640 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-10- Fixed the define script_lastdata, introduced by me at r9637 (had the wrong ↵FlavioJS1-1/+1
sign) really hate these types of bugs, no more committing late for me >.> git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9639 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-09Small typo fixesultramage2-7/+7
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9638 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-09- Updated some functions calls that where using the wrong number of ↵FlavioJS18-39/+43
arguments with checkcart,checkfalcon,checkriding,getgmlevel,basicskillcheck. hmm, maybe I should add a config option for lazy scripter that still want to run script code that uses too many arguments git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9637 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-09- Changes to script buildin functions:FlavioJS15-422/+487
* functions checking if a player is attached as soon as possible. * functions that required a player attached and would crash if none was there terminate the script now. (others keep the current behaviour to maintain full backward compatibility) * removed the unused flag argument in guildskill. * bonus,bonus2,bonus3,bonus4 use the same function now (remains the same script-wise) * added an optional parameter to setcart,setfalcon,setriding so it's possible to remove the cart/falcon/mount or select a specific cart * other cleanups git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9636 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-09And the changelog :BLance1-0/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9635 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-09* Hotfix: Freeing of freed pointer when replacing script functions. [Lance]Lance2-1/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9634 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-08Unimportant cleanupsultramage7-21/+11
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9633 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-08* Silenced the plugin export messages during startup [ultramage]ultramage8-4/+27
* Fixed an old debug message displaying %d instead of a number * Commented out a login_log call (sql doesn't implement that function!) * Found the reason why the console didn't want to run on windows * Moved the plugin.def file to the plugins dir and added console.def git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9632 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-08- Added a precompiler error when the shutdown defines are not found.FlavioJS16-274/+640
- Added parse_console to the plugin API. - Added plugin for parsing the console. (working with cygwin) - Added the console plugin to plugin_athena.conf commented out. - Copied the parse_console code form login txt to login sql and char. - Added propper plugin version compatibility tests. - Better output when a plugin fails to load. ----- The console plugin (at it's 3rd version) uses two pipes and another thread. - the other thread reads data from stdin and sends it through one of the pipes - the other pipe serves as semaphore (and terminator) to that thread - the normal thread checks if the pipe has data once every timer cycle, if data is found it invokes parse_console with that data Worth noting: the first version didn't use another thread and just checked if data was available on the input stream, but apparently that can't be done to standard input in windows It's only been tested on cygwin (and should work on most *nix systems), can't test native windows right now because I'm having trouble exporting the required plugin variables in VS8 src/plugins/Makefile hasn't been updated because it's not working properly for me git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9631 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-07- Fixed the sleep timers not being removed when the an npc was being ↵FlavioJS5-14/+37
unloaded and when reloading scripts. Ref: http://www.eathena.ws/board/index.php?showtopic=131464 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9629 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-07Updated the documentation to match the agitcheck() behaviorultramage2-10/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9628 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-07Undid the memset->malloc_set replacementultramage35-469/+409
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9626 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-07- re-added the duplicit nj/gs name messages in msg_athenaultramage15-25/+32
- renamed atcommand_sub to is_atcommand_sub (charcommand too) - reformatted conf-tmpl's comments a bit - and a fix to the stable changelog to make my last commit more descriptive git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9625 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-06- Fixed Succubus/Incubus combo not doing regen correctlyultramage3-4/+8
Read why at http://www.eathena.ws/board/index.php?showtopic=129814 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9622 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-06- Now winsock 2 is required.FlavioJS6-91/+131
- Cleaned up do_close and socket_init a bit. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9621 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-06- Fixed the weight icon dissapearing and reappearing when attacking. ↵FlavioJS2-19/+28
(introduced by me at r9600, fix based on ultramage's code) Ref: http://www.eathena.ws/board/index.php?showtopic=131211 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9620 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-05- Major reconfiguration of the trunk VS8 project files, read the changelog ↵ultramage9-278/+343
for details - Also removed some deprecated code that was causing linking conflicts - And fixed a missing md5calc reference in stable's VS8 files git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9619 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-05updated noicewall, updated SL ques, Lupus4-58/+64
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9618 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-05fixed @go bugLupus2-3/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9617 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-04- Added Au{R}oN's updated version of the effect listultramage2-310/+539
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9616 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-04- Updated /doc from jAthenaultramage10-488/+1553
- Completed adding of the new cities to @go > that function is ugly and needs a complete rewrite, asap - Updated thor volcano warps git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9615 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-03- eol-styled some remaining filesultramage3-120/+11
- deleted some outdated files git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9614 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-03- Now the server will by default perform symmetric adding of friendsultramage13-6/+120
- > TODO - symmetric deletion (http://www.eathena.ws/board/index.php?showtopic=130749) - Added a first approximation of warps for the new maps (by $ephiroth) - Added Rachel and Veins to the list of @go destinations git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9613 54d463be-8e91-2dee-dedb-b68131a5f0ec