4581 Commits

Author SHA1 Message Date
Playtester
3e4765f481 Updated sql-files
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9424 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-06 18:34:33 +00:00
skotlex
3adbc9b589 - Gave a minimum think time to the dummy mob and to clones.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9423 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-06 18:29:44 +00:00
skotlex
5036e3591a - Cleaned up the implementation of map_foreachinmovearea so that the number of arguments passed is less.
- Moved setting a mob's chase/attack states from the mob_ai to unit_attack and unit_walktobl.
- Cleaned the change-target/cast-sensor code to account for the new mob modes.
- Cleaned up a bit the mob ai sub hard function.
- Made the monster_active_enable config setting take effect on mob load.
- Updated the doc explaining mob modes.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9422 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-06 18:21:32 +00:00
Playtester
49519dc929 * Updated mob modes
- they are now in hex format

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9421 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-06 18:15:52 +00:00
skotlex
c5dc6d7e04 - Fixed the compile error when trying to build the ladmin exe.
- When GM skill unconditional is set, the arrow state of the skill will be calculated, this fixes all skills getting stuck on arrow-type after you attack normally.
- Alchemist famous potions get their 50% bonus on top of the natural bonuses as a 1.5x type of bonus instead of adding linearly on top of your vit bonus (which would mean equal bonus of raising your vit by 25).
- Fixed the va_arg(va, char) warning that said the program would abort when it's reached o.O; made it read a int which is then casted to char.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9420 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-06 15:52:01 +00:00
MasterOfMuppets
2a9b9b6854 Minor fix to the sign quest, thanks to theultramage for pointing it out.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9419 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-06 12:58:46 +00:00
Playtester
74303fe227 Updated accessoires
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9418 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-06 12:33:14 +00:00
FlavioJS
27cc2312fb - Fixing a compilation error caused by me in rev 9414: -.-;
utils.h:35: error: syntax error before "va_list"

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9416 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-06 11:17:08 +00:00
FlavioJS
0931ce5d81 - Messages with server_tick field are sent as soon as possible now.
This might fix client synchronization issues.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9415 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-06 10:57:31 +00:00
FlavioJS
53a7ca362b - Added StringBuf_Vprintf to utils.c and changed the showmsg.c buffer.
Now it uses a static buffer and a StringBuf when needed (a debug message indicating the static buffer needs to be increased is shown).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9414 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-06 04:25:13 +00:00
skotlex
2e89ae68c4 - The can log value now is "reset" when you die allowing you to respawn/quit instantly after death.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9413 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-05 21:29:45 +00:00
skotlex
efce12bf28 - Fixed sc data load failing when using charsave_method: 1
- Fixed the interserver link reserve size being 8 times instead of 1/8th the default size. Changed it to be 1/4th as well.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9411 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-05 17:09:02 +00:00
FlavioJS
637ae9a4dc - Massive EOL normalization & 'svn:eol-style native' flag setting for all txt/conf/h/c files.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9410 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-05 13:23:07 +00:00
FlavioJS
7d701ea977 - Found the position of emblem_id in packet 1b6, commented out the old fix while it's in trial period.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9409 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-05 11:43:20 +00:00
FlavioJS
6fda364348 - Moved START_ACCOUNT_NUM and END_ACCOUNT_NUM from login.h to mmo.h and changed clif_guess_PacketVer to use that.
- Made the script engine big-endian compatible. (i know it's pointless because of the move to eApp, but just couldn't resist :S)
- Commented out the remnants of ladmin packet parsing in map-server.
- Added a warning when a player has an invalid packet version (shouldn't happen)

PS- also added info on clif_guild_basicinfo packet fields, if anyone is interested

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9408 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-05 07:24:29 +00:00
skotlex
ec8570d59f - Oops, fixed sql compile error.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9407 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-04 19:11:53 +00:00
skotlex
a7cd3bf966 - Fixed HVAN_INSTRUCT int bonuses.
- Renamed mob_db's "adelay" column to ThinkTime and made the mob.c code use it instead of MIN_MOBTHINKTIME. The adelay of mobs will also be equal to their thinktime unless their thinktime is less than their attack motion.
- Cleaned the mob_db reading code a bit.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9406 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-04 19:07:18 +00:00
Playtester
83742242c4 Almost official HP values for Ninja/Gunslinger
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9405 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-04 18:04:38 +00:00
skotlex
384fe7b6fc - Changed some pc_authfails to clif_authfail_fd since pc_authfail prints errors when invoked after a char is auth'ed.
- Added a static +100 Hp to ninjas and gunslingers since it's required for the best approximated hp growth algorythm.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9404 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-04 17:41:02 +00:00
Playtester
30c5778a46 Updated garments
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9403 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-04 17:15:26 +00:00
skotlex
722b1689e3 - Changed clif_blown to use fixpos again as per aegis packets.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9402 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-04 16:08:42 +00:00
skotlex
1424d93e12 - Repairing items via scripts no longer displays "item has been repaired"
- Status Recovery again makes mobs unlock their current target.
- Moved requesting party/guilds from the char-server from pc_authok to pc_reg_received, since map_nick2sd and map_getallsd won't work until the characters are authentified. Also removed the guild master setting from clif_parse_LoadEndAck to pc_reg_received since guild master setting will work there.
- Fixed homun hunger timer being started on login even when hom is vaporized/dead.
- Fixed mvp exp attacker bonus applying incorrectly.
- Removed duplicate msg_athena.conf entries 619 and 620 for Ninja/Gunslinger.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9401 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-04 15:37:09 +00:00
skotlex
0043aed5fd - Fixed the txt->sql converter not escaping character names before saving them.
- Fixed a pet's level not resetting to their db level when you enable pet leveling and later on decide to turn it off.
- Fixed a bad initialization in pc_setnewpc
- Fixed restricted equipment not updating your view info after they are unequipped.
- Removed a bunch of extra text/checks when ignoring characters (/ex) when Aegis does none of these checks. /inall now wipes your ignore list (it does this on Aegis, too).


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9400 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-04 13:59:42 +00:00
Playtester
420d4f915e Updated shoes
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9399 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-03 21:52:07 +00:00
skotlex
231f495291 - Removed sd->sex since it's redundant (we can always use sd->status.sex)
- If somehow a player logs out and it's saved with 0 hp, on login his state will be set to dead as well so he can respawn (otherwise that leads to a stuck char)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9398 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-03 19:46:43 +00:00
FlavioJS
7831807dc5 - Fixed even share exp flutuating as described in:
http://www.eathena.ws/board/index.php?showtopic=126139
  thanks to TheUltraMague for the fix.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9397 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-03 19:23:27 +00:00
FlavioJS
5d65da8e0c - Made ers double frees report as missing entries on destruction.
- Only one swap function (in cbasetypes.h) is used.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9396 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-03 16:50:58 +00:00
Lance
e82fd31056 * Added buildin_checkvending and buildin_checkchatting.
modified   Changelog-Trunk.txt
modified   src/map/script.c


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9395 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-03 09:37:36 +00:00
Lance
ffbcbb0b54 git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9394 54d463be-8e91-2dee-dedb-b68131a5f0ec 2006-12-02 23:47:21 +00:00
Lance
90352e92a2 * Enabled atcommand parsing for clients with Korean langtype and version.
modified   Changelog-Trunk.txt
modified   src/map/atcommand.c
modified   src/map/charcommand.c


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9393 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-02 18:22:37 +00:00
Playtester
50403c56cd typo
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9392 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-02 16:42:15 +00:00
Playtester
f94741506e Updated armors
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9391 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-02 16:40:29 +00:00
Playtester
ebba33e507 Updated shields
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9390 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-02 16:09:19 +00:00
FlavioJS
09f54754c7 - Added missing min/max definitions to cbasetypes.h, needed for the @send change.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9388 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-02 04:41:23 +00:00
FlavioJS
b522ca0cdc - Replaced @send with the version I use for testing packets.
Can display the packet length. Supports dynamic packets, quoted strings 
  with escaped characters and fixed/variable length, and normal/hex 
  byte/word/long data types. The number of fields is not limited, but it 
  automatically stops parsing when the packet is full.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9387 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-02 04:21:35 +00:00
KarLaeda
7935fd82c4 Fixed event's label for many quest-spawned monsters
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9386 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-02 02:20:32 +00:00
skotlex
8e68089e85 - Fixed passive mobs becoming increasingly unlikely to retaliate to attacks after they got inflicted by a disabling status change.
- Changed the "is_boss" define to check for mode MD_BOSS instead of giving mvp exp.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9384 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-02 01:49:27 +00:00
Playtester
68d882a7f8 Removed another unused mob
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9383 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-02 01:08:03 +00:00
KarLaeda
1f73c46800 Small fix to The Sign Quest
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9382 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-02 01:05:29 +00:00
Playtester
09cad51d19 Removed some mobs that aren't used anymore
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9381 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-02 00:41:46 +00:00
Playtester
9064a41b44 * Removed outdated Thief Bug ID [Playtester]
- 1017 and 1021 don't exist anymore

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9379 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-01 23:58:22 +00:00
Playtester
7793857bff Updated sql files
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9378 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-01 22:53:41 +00:00
Playtester
e958997027 Updated various mob stats thanks to Soukosa
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9377 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-01 22:43:09 +00:00
skotlex
2de8486627 - Fixed txt-converter compilation.
- Added my_global.h include to login converter
- Removed sd->char_id since we can use sd->status.char_id instead.
- Small speedup in STRECOVERY, and made it not unlock a mob's target.
- Fixed GS_GROUNDDRIFT consuming ammo when it's time expires (so it was consuming 2 grenades instead of one). Also added a "explosion effect" when their time runs out.
- gvg_dungeon mapflag won't set pvp related mapflags anymore, pc_dead will force pvp ranking gain/loss on gvg_dungeon maps now.
- Now when coming out of hiding land-effects will trigger on the character.
- Made the pc_setpos message when being placed on an unwalkable tile tell you which player triggered it.
- Fixed land effects not taking effect inmediately on map-load when the invincible timer is disabled.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9374 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-01 17:17:09 +00:00
Lance
b59e7b8596 Minor tweak in
modified   src/map/script.c


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9373 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-01 04:06:18 +00:00
Lupus
ecb547edc2 Removed garbage vars from Shinokas quest
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9372 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-30 13:09:14 +00:00
Playtester
80ed807c23 * Added first version of Rachel Sanctuary spawns
- commented for now

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9371 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-30 11:56:41 +00:00
Playtester
26cc18bce1 Fixed some mob names thanks to Soukosa
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9370 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-30 10:59:05 +00:00
Playtester
bc7409eb88 More drop updates
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9369 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-29 22:53:53 +00:00
skotlex
7f67461a49 - Added a missing map_quit in clif_parse which was the real reason for the crashes.
- Therefore, removed the session valid checks from intif.c
- Thanks for Flavio for figuring out how to reproduce the crash. And unthanks to me for introducing it on the first place D:
- Note: Every connection before being closed and free'd will set eof to 1 and invoke the parse function (clif_parse for players), and since this is the last invocation, it is clif_parse's job to do any cleanup necessary. The missing map_quit what did was to leave the player pointer reference in different db's, which lead to a dangling pointer! Which obviously leads to no good. The map server's code should always ensure that session[sd->fd]->session_data == sd ALL the time (except when sd->fd is 0).
- Finally, not writing any of this on the txt changelog file so Flavio can have the glory of the bugfix :B


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9368 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-29 20:54:55 +00:00