2783 Commits

Author SHA1 Message Date
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
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
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
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
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
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
skotlex
c82708aba9 - Made the pc_deleteinvincibletimer function a define so it auto-checks for the timer value.
- Fixed a missing tab in the skill require info of TWILIGHT3


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9709 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-24 21:29:01 +00:00
skotlex
f904054ce8 - Improved a bit the menu entries counting code (using a while with strchr should yield better performance that a for done on the string's strlen, right? However, it bugs me that strchr's man-page says it won't work on multi-byte characters. But does a strchr(str,':') works any worse than (str[i]== ':')?
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9706 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-24 15:11:42 +00:00
skotlex
9342b7e4d5 - Also fixed the battle config setting guild castle defense :x
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9705 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-24 14:45:28 +00:00
skotlex
f566e76018 - Cleaned up some more the Joint Beat implementation, so the status don't take effect until the attack connects.
- Some minor cleanups.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9704 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-24 14:44:14 +00:00
ultramage
015c0eaa61 Fixed int/dex foods using an incorrect icon for their status
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9701 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-23 19:39:17 +00:00
skotlex
142ca645f7 - Cleaned the initializing for in the hom viewdata to make it overflow-proof.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9700 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-23 17:49:49 +00:00
skotlex
985abe3b02 - Changed the night status from 149 to 160, which seems to work so much better, and also enabled simplifying the night code. The previous code was there left commented in case it's needed again.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9699 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-23 15:08:47 +00:00
skotlex
eab8b52656 - A skill's walk delay will also delay your can-attack time when the skill connects, since this is the behaviour of Sonic Blows as described by Tharis.
- Added missing declaration of merc_get_hom_viewdata in mercenary.h


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9698 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-23 14:40:22 +00:00
skotlex
da11e41ed4 - Added view_data support to mercenary.*, so that the Homunculus entries are no longer required on the mob_db.
- Removed homunculus entries from mob_db.
- Added the status icon to NPC_CHANGEUNDEAD and the Flee/Hit foods
- Corrected the check that lets you walk when vending/chatting/etc.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9697 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-23 14:08:34 +00:00
skotlex
e6e31a01d2 - Moved the homunculus setting from pet.conf to homunc.conf
- Fixed homuncs not triggering land spells if they are spawned on top of them and hom_setting&0x2 is not set to make them bypass them.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9696 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-23 14:00:22 +00:00
skotlex
81a9313a9d - Removed sd->max_menu, sd->npc_menu is now reused to store what is the max number of valid entries and prevent clients from picking invalid options.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9690 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-22 15:10:15 +00:00
skotlex
53949e4131 - Reverted the battle_calc_return_damage code as the previous one was correct, ninja self-targetted skills CAN be reflected.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9689 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-22 14:35:28 +00:00
ultramage
e034ce07bb Typo hunt
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9684 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-21 12:12:04 +00:00
FlavioJS
5117e39fac - Fixed while statements not "reserving" the curly before parsing the test expression.
Ref: http://www.eathena.ws/board/index.php?showtopic=134596

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9680 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-21 03:17:04 +00:00
ultramage
89f25a569d * Fixed the server not reacting properly to atcommands/charcommands when using langtype 10/11 (the |XY codepage indicator wasn't being trimmed)
* Fixed some joker's code trying to dereference a null pointer in atcommand_param

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9679 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-20 14:33:31 +00:00
skotlex
fa2d2ced6e - Updated merc_reset_stats to handle resetting skill tree and points as well.
- Updated @homshuffle so that the skill tree and current skill points are not messed up.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9678 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-20 08:14:40 +00:00
skotlex
3838afbf52 - Fixed the label dup code, it now works correctly with const.txt switch labels.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9676 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-19 18:22:31 +00:00
skotlex
9d049827d7 - Reverted the dup-label check code since it has a bug that needs to be 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://svn.code.sf.net/p/rathena/svn/trunk@9675 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-19 18:00:11 +00:00