5046 Commits

Author SHA1 Message Date
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
DracoRPG
91cbbb26bd Fix for my previous change (already fixed once, yeah...)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9726 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-27 12:33:57 +00:00
DracoRPG
bf98b03fb0 Removed useless read-from-GRF features
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9725 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-27 05:04:10 +00:00
DracoRPG
eb4dc651f8 Ooops... I'm definitely too bad.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9724 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-27 04:03:12 +00:00
DracoRPG
31c12a3859 - I'm back, and I begin with an implementation of a good old Aegis bug : Assassins should now be able to use the infamous status arrow + Grimtooth method
- Also added some random stuff about storage password system

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9723 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-27 03:12:38 +00:00
skotlex
6403d303d3 - Kaite and Assumptio no longer stack. One will remove the other in the same way Assumptio and Kyrie do.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9722 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-27 00:53:26 +00:00
skotlex
b55b492943 - Moved the pet rename code from int_pet.c to inter.c and normalized it so it can be used for any object.
- Made homunculus renaming go through the char-server so it can be validated against the allowed characters setting.
- Added battle config hom_rename so you can enable renaming multiple times your homunc.
- Updated the hardcoded defaults for gvg-damage to what they should be.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9720 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-27 00:31:29 +00:00
skotlex
76381834f5 - Fixed the normalizing function not sending first classes back to novice if they do not have basic skill maxed.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9719 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-26 21:42:04 +00:00
skotlex
d65e051707 - Added a wrapper to delete_timer so it prints out from where the invocation was done.
- Fixed some unsigned warnings.
- Fixed Splash attacks consuming 2 ammo on each attack.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9718 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-26 18:49:46 +00:00
ultramage
335723f839 - Removed log_uptime that was accidentally introduced in r1208
- Added some more freedom for the txt log paths since 32 wasn't enough

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9716 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-26 17:17:05 +00:00
ultramage
3266ced856 More typo fixes
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9714 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-26 15:01:39 +00:00
ultramage
9cf92371c3 - Fixed a monster spawn typo in hu_fild05 and lou_fild01
- Added a missing dialogue branch in novice.txt

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9713 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-26 13:43:54 +00:00
ultramage
843f616bbb Fixed a typo in skill_cast_db.txt making the server skip NJ_KUNAI
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9711 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-24 22:13:29 +00:00