4908 Commits

Author SHA1 Message Date
skotlex
d2574dfd69 - Fixed a duplicate warp name in Rachel
- 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://svn.code.sf.net/p/rathena/svn/trunk@9791 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-05 18:16:33 +00:00
FlavioJS
f652311f37 - Continuing the checking of script buildin functions and stop the script 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://svn.code.sf.net/p/rathena/svn/trunk@9790 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-05 17:42:55 +00:00
ultramage
175d003c6f Updated the TXT login server's account id checker (it was still saying the minimum is 700000 instead of 2000000)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9788 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-05 14:15:58 +00:00
ultramage
12a784cf17 Changed the 'getpartyleader' script command so that it returns a map name 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://svn.code.sf.net/p/rathena/svn/trunk@9787 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-05 14:11:43 +00:00
ultramage
5f0de40e38 Removed the silly and misleading 'firewall detected' message
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9786 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-05 13:33:02 +00:00
ultramage
195b0f9870 Added missing vc6 project file
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9785 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-03 15:14:18 +00:00
ultramage
7d1e080338 Corrected a lie in the script documentation
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9784 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-03 13:41:18 +00:00
skotlex
a23da55db8 - Fixed the flag parameter not working on npcshopattach
- 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://svn.code.sf.net/p/rathena/svn/trunk@9782 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-03 07:48:38 +00:00
ultramage
65796c8765 Fine-tuned the global message processing function
- 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://svn.code.sf.net/p/rathena/svn/trunk@9781 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-02 22:03:05 +00:00
skotlex
cc141e4bcb - Resetting skills will now automatically remove peco, falcon, cart and homunculus (vaporize).
- Fixed random mob picking choosing clones.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9780 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-02 20:59:09 +00:00
skotlex
2a5ec09a11 - The define MESSAGE_SIZE was wrong! It is only used for input boxes. 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://svn.code.sf.net/p/rathena/svn/trunk@9778 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-02 19:59:39 +00:00
skotlex
a578017992 - Completed Amon Ra's spell list.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9777 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-02 17:32:29 +00:00
ultramage
84ad40528b * Restricted global messages to 255 characters (client shows only ~80 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://svn.code.sf.net/p/rathena/svn/trunk@9774 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-02 06:37:53 +00:00
ultramage
250fdeee31 Typo
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9773 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-02 06:37:16 +00:00
ultramage
936937bd46 Corrected the chat system to allow 8-letter passwords
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9772 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-02 02:11:48 +00:00
ultramage
71ca66f8b1 Minor details (pdb file location, improved debug, npc typo)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9771 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-02 00:12:43 +00:00
skotlex
4130bdd3b8 - Cleaned up the npcshop(add/del) item script commands, fixed a possible 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://svn.code.sf.net/p/rathena/svn/trunk@9769 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-01 22:23:14 +00:00
ultramage
3b59523144 A followup to r9761, a header include that somehow didn't commit
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9768 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-01 21:50:55 +00:00
skotlex
c848fd71d2 - Item search is now a bit smarter. When no item is found with the same '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://svn.code.sf.net/p/rathena/svn/trunk@9767 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-01 21:04:46 +00:00
ultramage
21dfe0e83f changed resource language from russian&czech -> english
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9766 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-01 20:38:49 +00:00
ultramage
fb9915fcba Updated the old vs6 files to latest, thanks to k3dt for contributing them
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9765 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-01 20:31:19 +00:00
ultramage
d956555b75 Reorganized the vs6 project files (update will follow)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9764 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-01 20:25:24 +00:00
ultramage
67e5b839f6 Fixed an accidental change in r9758 (edit&continue)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9763 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-01 20:17:52 +00:00
skotlex
aca93bf9ff - Added support for mob skill target 'randomtarget', when specified, it will 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://svn.code.sf.net/p/rathena/svn/trunk@9762 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-01 20:06:06 +00:00
ultramage
a6f1e4972e Added string function strnlen
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9761 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-01 19:19:26 +00:00
skotlex
8ec0ed0d47 - Corrected homunculus's aspd being halved after using some aspd adjusting 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://svn.code.sf.net/p/rathena/svn/trunk@9760 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-01 18:34:05 +00:00
skotlex
8a9e1eaa07 - When when a party-member levels up, the level change is sent to the 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://svn.code.sf.net/p/rathena/svn/trunk@9759 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-01 18:16:09 +00:00
FlavioJS
083fc86437 - Changes in the VS8 project files:
* 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://svn.code.sf.net/p/rathena/svn/trunk@9758 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-01 16:59:50 +00:00
ultramage
7390d2d950 Removed graph, httpd and webserver
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9757 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-01 01:33:37 +00:00
ultramage
287219ad0d Wiped out the old night code
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9755 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-31 18:59:30 +00:00
ultramage
b022f8f491 Corrected a mistake in the sign quest (answer did not match ingame behavior)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9748 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-30 21:50:01 +00:00
skotlex
39381ad474 - 'Long Range Attacked' mob skill conditions will no longer trigger on magic 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://svn.code.sf.net/p/rathena/svn/trunk@9747 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-30 18:22:11 +00:00
skotlex
50a03b0751 - Corrected char deletion not working (column is called homun_id, not hom_id...)
- 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://svn.code.sf.net/p/rathena/svn/trunk@9746 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-30 17:38:39 +00:00
ultramage
bc5f3f5a4c Removed one grf function that DracoRPG missed
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9745 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-30 03:25:39 +00:00
skotlex
cc72c3cd89 - Readded grfio_final to the map_server.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9744 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-29 22:26:49 +00:00
skotlex
59faa0164c - Fixed compiltation error ~.~ I was sure I compiled before the previous commit...
- Corrected a null pointer error when a non-player uses amplify magic power.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9743 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-29 22:08:09 +00:00
skotlex
c52340cb3a - Corrected the homunculus deletion functions so that the homunculus is 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://svn.code.sf.net/p/rathena/svn/trunk@9742 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-29 22:00:51 +00:00
ultramage
3f8d933e0a Almost but not quite u.u
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9741 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-29 20:06:58 +00:00
ultramage
f0de1a01fc Converted all comodo_gambling.txt variables to temporary npc type.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9740 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-29 20:04:06 +00:00
ultramage
cba594dcb2 Performed some eAthena-style adjustments to the comodo gambling script.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9739 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-29 19:58:29 +00:00
ultramage
db4ae54912 * Updated the comodo gambling script
- synced the structure with the aegis script (with neccessary adjustments)
- added a missing emotion and cutins (using jA's method)
- added a missing npc

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9738 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-29 19:29:07 +00:00
ultramage
025f66c3c3 Added a nasty hack to prevent multilanguage clients from breaking guild notices
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9737 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-29 16:02:57 +00:00
ultramage
f4a6f3b3fc - Removed the duplicit and untranslated alchemist.txt event
- Removed old custom geffenia warper since TSQ is done
- Moved the custom events entries into scripts_custom.conf

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9736 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-29 15:45:07 +00:00
ultramage
f0b945f35f - Fixed the description of @summon
- Fixed @nuke's position (I edited the wrong file by accident)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9735 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-28 13:45:19 +00:00
ultramage
e7a00c7e06 Made @reloadscript wipe ALL previous mobs that the script engine spawned
- this way it is manageable via global vars; the other way doesn't allow that

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9734 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-28 01:50:39 +00:00
ultramage
d241d16d2a Some misc cleanups (typos, formatting, forgotten changelog entry etc)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9733 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-28 01:30:15 +00:00
ultramage
86221c4e69 Reformatted and translated atcommand.c
Improved @marry, allowing spaces after the first comma

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9732 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-28 01:11:14 +00:00
ultramage
13014280f0 Simple cleanup
- removed atcommands @w, @server_date/time, @red, @happyhappyjoyjoy, @shuffle
- synced gm level of @jailfor, @charjailtime, @npcmove, @chardropall, @charstoreall, @send, @mute, @changelook, @exp and @nuke
- added conf entries for @whozeny, @kamic, @tonpc, @petid, @identify, @adopt, @trade, @changelook, @send
- reorganized the atcommand_athena.conf file a bit

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9731 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-27 23:06:38 +00:00
ultramage
f4a0404503 Corrected indentation of the atcommand table (editor compatibility)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9730 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-27 19:15:33 +00:00
ultramage
37ecb00ca5 Fixed a C language restriction preventing compilation
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9729 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-27 16:29:58 +00:00