478 Commits

Author SHA1 Message Date
ultramage
301d493855 - Added new flag to skill_castnodex.txt, to allow per-skill tweaking of cast time and delay reducibility by item scripts (cards and such)
- Fixed Martyr's Reckoning never triggering for gms with all skills
- Added MO_TRIPLEATTACK and RG_SNATCHER to @skillall's skill filter 
- Made gm_skill_unconditional bypass skill blocking (guild timer, etc)
- Reverted the weird delay_dependon_agi thing (r8923, r9055, r9059)
- Changed a few memsets to strncpy (reading past buffer is a bad idea)
- Sped up some memset operations (multiples of 4 are faster)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10613 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-05-23 21:23:36 +00:00
ultramage
16671ef54f * Added Global chat and Main chat logging
- lowered the priority of the 'logging off during gw' filter

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10580 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-05-19 13:26:02 +00:00
ultramage
72faaaea40 Cleaned up the battle configs a bit (corrected overly verbose texts, typos, wrong indentation, ...)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10545 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-05-16 20:25:11 +00:00
ultramage
41d87e49c5 - Updated the effect list a bit
- Fixed some npc typos

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10531 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-05-11 17:20:20 +00:00
ultramage
cc636df44f Re-phrased the attacker flee/def penalty config descs
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10530 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-05-11 17:09:09 +00:00
Lupus
dbfd658aa5 added empty template
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10513 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-05-09 08:52:19 +00:00
ultramage
cce7ebedf4 - imported the latest working grfio code from stable
- re-added usage of managed allocation routines in grfio
- eol-styled some new files
- some cosmetic fixes here and there

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10468 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-05-05 13:57:07 +00:00
blackhole89
66fa77c5f6 adding read-from-GRF/GAT back in. Read Changelog-Trunk.txt for more details.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10455 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-05-04 17:31:41 +00:00
Playtester
c5dd5c0e7a Updated Veins field spawns with info from RO Monthly
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10448 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-05-03 21:34:24 +00:00
ultramage
f94d4fc532 * Ladmin fixes
- Added vs8 project file for ladmin
- Replaced all occurences of printf in ladmin.c with ShowMessage
- Fixed ladmin working with ips using the wrong byte orer
* Fixed @jumpto displaying the incorrect player name
* Added more safeguards to socket.c against socket ids out of range

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10409 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-29 14:34:02 +00:00
ultramage
a6e61e1d2f Gave each file an empty last line, to make svn happier
Added svn:eol-style native where missing
Removed remaining .gats

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10401 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-29 08:17:53 +00:00
ultramage
833fd942a4 * Tried and fixed md5 password encryption
- login_sql was doing stupid things like re-using one pre-generated key for all connections, and escaping binary md5 data (destroying it)
- added missing code to login_txt when creating new accounts, showing that storing passwords as md5 hashes never really worked for txt
- removed PASSWORDENC's conditional compilation effect, now just a flag
- greatly simplified md5 password checking code, credits to eapp
* login server will now bind only after finishing the init phase

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10384 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-28 14:34:58 +00:00
Playtester
2a82ad4e0c Some small Kiel quest fixes
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10368 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-26 21:54:09 +00:00
Playtester
813735cd96 * You can now teleport in jupe_core
* More accurate Kiel spawn amounts

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10359 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-26 08:48:48 +00:00
Playtester
605f912e22 Added missing Rachel quest map
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10345 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-24 19:05:55 +00:00
skotlex
51a49aadf7 - All mob casted skills have a fixed range of 9 now. You can use monster_ai&0x400 to disable this and make the old skill range rules apply.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10331 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-23 22:41:18 +00:00
skotlex
f4dfd0d8ee - Removed the include of features.h from the console.c plugin. It is apparently not needed (and it was preventing compilation on FreeBSD)
- Fixed bug which totally broke item group bonuses.
- Added warnings when setting a pvp/gvg flag removes the other flags on the same map (gvg and pvp can't coexist on the same map)
- Optimized the unequip loop when changing sex.
- Removed the check that prevented you from casting soul-collect when you already have 5 spirits.
- Corrected Magic Rod so it doesn't displays any skill-use animation until it triggers.
- Debuff on logout&2 is again set to default, instead of removing food bonuses now it removes Maximize Power, Maximum Overthrust and Steel Body.
- Corrected Steel Body's icon (it actually belongs to AutoBerserk)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10317 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-22 19:14:42 +00:00
DracoRPG
3b392f3f37 Massive at+charcommand cleanup, big thanks to HiddenDragon
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10272 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-17 00:17:15 +00:00
skotlex
92f2c9d0e5 - Changed the default setting for emergency_call to 11 (usable all the time, but only in Gvg Maps) as described by Tharis.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10266 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-15 20:27:58 +00:00
Playtester
8ad88bcb8c More Kiel Quest mapflags
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10246 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-13 15:22:16 +00:00
Playtester
d2c2c8d9bb Updated Kiel Hyre quest related files
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10243 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-12 21:53:58 +00:00
ultramage
cf77f95ed1 fixed makefile typo, maps_athena typo, svn:eol-style native for some files
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10238 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-12 17:37:38 +00:00
skotlex
43d128ac3e - Added debug command @displayskill. Should be used only by people searching for new skill IDs.
- Now the bonus bAtkEle will be transferred directly to the weapon when the script is in the ammunition, and you are wielding a weapon that consumes ammo per atttack. 


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10232 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-12 14:28:39 +00:00
Playtester
bfdc71537c Forgot que_thor
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10215 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-11 16:03:40 +00:00
Playtester
2de330fddc Updated various mapflags with 11.2 maps
Note: I hate updating mapflags

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10212 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-11 11:30:02 +00:00
skotlex
b6bfcce712 - Modified status_get_sc_def to handle both rate and tick reductions. This way it can take care of the fact that curse rate/duration reductions are not reduced by the same stats.
- Removed wrong defines status_get_sc_def_[mdef/vit/int/luk], they actually had a rather undefined behaviour.
- The pc_max_status_def mob_max_status_def configs are now set on a 1-100% scale instead of 1.00-100.00%


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10206 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-10 15:34:49 +00:00
ultramage
6caae988d5 Declaring the 'saving in castles' thing as an ASB mistake and reverting (it's also exploitable to the max)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10189 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-08 17:11:37 +00:00
skotlex
4d2c2543b6 - Updated some Guild WoE rules to behave as explained here: http://www.eathena.ws/board/index.php?showtopic=146581
- Removed the nosave mapflags from the Guild Castles, as per the previously linked topic.
- Added some missing map_freeblock_lock calls to castend_pos and castend_id functions to prevent (rather unlikely) dangling pointer crashes.
- Improved the debug message when the npc_scriptcont npc IDs don't match.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10187 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-08 16:05:20 +00:00
ultramage
4b77945e61 - Corrected amatsu dungeon's nomemo mapflags not working
- Added a missing map entry, 've_in02' to map list and index (too bad it's out of order)
- Added an updated mapcache

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10171 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-06 22:26:42 +00:00
DracoRPG
7c8f12ccd5 I'm still here!
Rewrote fame ranking lists- changed MAP_NAME_LENGTH to 12, now there's MAP_NAME_LENGTH_EXT at 16 for
	  uses where there is / may be the .gat extension, code adjusted accordingly
- moved map_normalize_name to mapindex_normalize_name so that everything
	  handling map names uses the same extension-removing function
- greatly enhanced the map cache generator, complete documentation on the
	  tool and the map cache format can be found in doc/
- the map cache format changed a bit as a consequence, but of course a new
	  valid one is included (contains latest Nameless Island maps)
- fixed a duplicate entry in map index


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10167 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-06 17:22:40 +00:00
ultramage
6867d93866 typos: recieve -> receive
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10163 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-05 19:02:52 +00:00
skotlex
e5113a4d7b - Cleaned @whogm. It will display the name of all gms online. If their GM level is above your own, it will only display their name, otherwise level, position, and party/guild info is displayed. GM's using gm-hide will not appear on this list.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10158 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-04 21:33:48 +00:00
skotlex
028031a4da - Corrected the login TXT server not initializing the waiting_disconnect variable.
- Corrected the attack_attr_none check being backwards.
- All pets can now move regardless of their Mob counter part setting.
- Added hom_setting&0x40, when set it clears the "can't reuse" skill delay when you vaporize a homunculus (set by default).


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10120 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-02 14:19:55 +00:00
Playtester
a191ddd217 Set the default vending tax to 2% as it is in kRO Sakray
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10117 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-01 23:03:37 +00:00
skotlex
3839fa7619 - Moved coma to skill_additional_effect, added special_state.bonus_coma to prevent doing comma calculations for every player attack.
- Added config "vending_tax" to apply a tax to all vending requests, as it was in kRO Sakray some time ago (requested by Playtester) (items.conf).
- Some cleaning of skill_additional_effect
- Moved the starting of SC_DANCING from skill_initunitgroup to skill_unitsetting
- Moved the checks for player_skill_partner_check and (gm_skilluncond for it) to skill_check_pc_partner
- Negative aspd rate bonuses will be handled as aspd add rate since the default non-stackable bonus is useless on penalty bonuses.
- Added check to prevent the client from using passive skills.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10082 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-27 18:38:11 +00:00
ultramage
06f0d60116 Some generic typo fixes (src and npc)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10054 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-22 21:03:19 +00:00
skotlex
f441021b95 - Corrected setitemscript so it actually changes the script as requested instead of causing dangling pointers.
- Cleaned up unitattack
- Made packet_ver_flag's description use hexadecimal values for the packet versions, and changed the default to 0xFFFF.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10047 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-21 21:13:47 +00:00
skotlex
cc6a222a11 - Added define MAX_CHARS so you can easily mod the server to support a different amount of characters per account (however, there is still the issue of hexing the client to support this change)
- Updated msg_athena.conf so it no longer uses broken english on several entries. Thanks to Scerez for the updated file.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10044 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-21 14:52:23 +00:00
skotlex
d1fda3045f - Rewrote the jail logic to always use a status change. This means that the character's save point is not changed when jailed, and the char is always warped back to the point where it was before being jailed on unjail.
- Made pc_setpos fail if you are jailed, effectively blocking you from being moved out of the jail map for the duration of jail.
- Modified @adjcmdlvl so you can't set a command to require higher level than yourself, and so you can't edit the level of a command which is higher than your own.
- Corrected attack_attr_none setting disabling elemental resist cards.
- Added missing cap check of 100% to drop rate configs for heal/use/adddrop (cards)/treasures.
- Corrected Autoblitz yelling the skill name if the attack splashed.
- Corrected Dispell removing Jailed status.
- Corrected being able to revive with 0 hp.
- Modified the "Restart" code so that it makes you stand on spot when pc_setpos fails to move you back to your originating location.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10028 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-19 04:36:44 +00:00
ultramage
9579515cb9 - Removed the old 'mapserver charsave' mechanism
- Fixed some wrong sql login logic
- Fixed some compiler warnings, cleaned up mapserver sql-related vars

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10027 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-18 22:43:41 +00:00
ultramage
91fe35aab8 A note about the case_insensitive config setting, read changelog for details
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10023 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-17 22:44:02 +00:00
ultramage
2a7f5aeb7f committing my work on the login server (mostly SQL)
- removed the check_ip_flag from login&char (there since r1)
- removed the CMP_AUTHFIFO_IP and CMP_AUTHFIFO_LOGIN2 defines (also r1)
- removed dynamic_account_ban, gm_db settings, weren't doing anything at all
- modified the date_format setting to take the format string directly
- removed overly verbose config loading messages
- removed/simplified many more useless actions
- renamed the dynamic_pass_failure_ban_ settings to make more sense
- collected relevant config settings into a login_config structure and documented their purpose
- allowed usage of yes/no instead of the user-unfriendly 1/0 method in config settings (and added 1/0 as a possible option)
- fixed dnsbl which was always taking only the first entry into account

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10021 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-16 17:40:44 +00:00
Lupus
3b7ccf4d14 removed all .GAT from configs, docs and examples
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10019 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-15 20:51:30 +00:00
skotlex
a132a2c72c - Increased Shield Chain's range by one. It is now a ranged skill.
- Added SC_CHANGEUNDEAD to differentiate it from the other elemental change skills. It now fails on Undead/Dark elemental targets.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10008 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-14 19:33:58 +00:00
DracoRPG
58dcd187b0 Mapcache update, should polish off remaining bugs
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10003 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-13 20:24:08 +00:00
skotlex
2b3c274f78 - @pvpoff and @gvgoff will make everyone in the map stop auto-attacking now.
- when @killer is deactivated the issuer will stop attacking.
- when @killable is deactivated, everyone around the user who is attacking the issuer will stop.
- Cleaned up some the code for dispell. It no longer removes food boosts.
- Players will stop attacking when they change their look.
- Applied Alydis's fix to the mvp item logs logging mvp items even if the player couldn't get the item.
- Changed the default of debuff_on_logout to 1 since food items shouldn't dispell on logout.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9997 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-13 15:49:49 +00:00
skotlex
b10091246c - Normalized the mapname in guild get/set castle data, should fix guild flags.
- Added log options 0x800/0x1000 to log storage moves ('R') and guild storage moves ('G')
- Added upgrade_svn9976.sql to include 'R'/'G' on the picklog type column set.
- Updated the logs_athena description to include the letter of each type (512 - M, 32 - N, etc)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9976 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-08 16:27:06 +00:00
skotlex
e45a007db2 - Corrected the pet/homunc data not being free'd if the player logs out before being authed.
- Initialized player's speed on pc_setnewpc to prevent homunculus copying a speed of 0.
- Added comment to reloadbattleconf specifying that some settings do not take effect inmediately.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9975 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-07 18:58:33 +00:00
DracoRPG
deb34a8ae5 New mapcache system :x
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9971 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-07 02:02:32 +00:00
Zephiris
1200075fee * Added support for the 2 new packet versions. [Zephiris]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9958 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-05 12:33:09 +00:00