3072 Commits

Author SHA1 Message Date
ultramage
2afd345d77 * Cleaned up mob drop code, crashfix is still needed though...
* Reduced ignore-list length to 20, added proper reply packet
* Cleaned up some very poorly written pm-ignore code (see r141)
* Fixed a typo in Warp Portal code displaying an incorrect map name

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10915 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-07-26 23:27:40 +00:00
ultramage
8c5bebe386 Fixed a missing homunculus info packet when doing @refresh
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10910 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-07-25 21:01:19 +00:00
ultramage
8be64bc3b4 * Added support for character rename packet (only dummy code for now)
* Added support for langtype-12 char deletion packet (tested, works)
* Synchronized txt/sql charserver code a bit
* Adjusted motd.txt to not crash new clients
* Removed some dead code from the charserver (see r352)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10909 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-07-25 16:45:09 +00:00
DracoRPG
63929dccf1 Venom Splasher and Gloria Domini fixes and updates
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10907 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-07-24 19:29:23 +00:00
ultramage
348019358c * Changed the restricting mapflag for @jump from nowarp/nowarpto to noteleport
* Simplified the mapindex code a bit
* Changed clif_skill_warppoint() so that now the '.gat' adding happens inside and doesn't have to be handled by the calling code

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10901 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-07-23 17:58:54 +00:00
ultramage
16baba6519 * Corrected packet_db.txt. See topic:158382 for details. As a side-effect, the latest packet version is now 22 instead of 21.
* Added a charserver config option for the character renaming flag, along with a detailed comment on what it's supposed to be. This eliminates all that "change PACKETVER to 8 and recompile" mess.
* Moved PACKETVER back to clif.h, cleaned the related code a bit.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10888 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-07-20 03:38:47 +00:00
ultramage
c1673d90c7 Added delay_dependon_agi since people actually use and need it...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10887 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-07-19 00:15:02 +00:00
ultramage
02e009bd8d - Small update to the effects list (new exe's effects by Au{R}oN)
- No sending of the pet_equip packet when pet has no equip (thx to Skotlex)
- Added back exp gain limiting for old formula to stop exploits (see r8177)
- Now a message is printed when the packet_ver filter rejects someone
- Renamed two structs using same name as variables (MSVC debugger issue)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10886 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-07-18 23:07:05 +00:00
ultramage
5ba6e5f949 Fixed yet another script engine typo, this time in 'copyarray'
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10878 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-07-13 18:29:28 +00:00
L0ne_W0lf
7533ae5726 * Removed a comment I had placed on line 6879 in Skill.c.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10872 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-07-09 17:29:29 +00:00
L0ne_W0lf
a1aaed67da * Alchemist skill "AM_CANNIBALIZE" ("Summon_Flora") now summons the proper monsters.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10870 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-07-09 15:54:36 +00:00
ultramage
a55b2e9533 A rather ugly fix to fix knockback for Firewall, Stormgust and Sanctuary
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10869 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-07-09 12:15:04 +00:00
ultramage
a07af78342 * Fixed typo in 'deletearray' messing up the script engine
* Added a check to pc_skill() to prevent crashes on unknown skill ids

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10868 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-07-08 19:24:48 +00:00
ultramage
3f722ba896 - added temp skill db entries and corrected some existing ones (see topic:157041)
- removed txt converters from txt build (they need mysql files so they don't belong there)
- eol-style for newly added file

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10867 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-07-08 15:47:26 +00:00
ultramage
d07ad9e31c * Cleaned up some nasty code related to skill_blown
- split 'direction' value from flags
- moved (almost) entire direction calculating code to the outside
- bowling bash now has the 'suck-in' effect (knockback is now done in the direction you were last facing, not in your-target direction)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10861 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-07-06 20:51:01 +00:00
ultramage
c73c55d465 * update from Skotlex
- Fixed NPC_STOP's visual effect not clearing when the status ends
- Corrected @homshuffle making the skill tree be lost.
- Corrected homunculus skills being unusable if the master was sitting or inflicted by a disabling status (eg: petrify, stun)
- Some fixes to the cell no stacking mod (mainly mobs would just get stuck behind each other and not properly surround you)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10856 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-07-05 18:07:31 +00:00
ultramage
4fced6485a Fixed a copy-paste typo messing up script variables pretty bad D:
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10850 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-07-04 08:04:55 +00:00
ultramage
aa3f4c7b18 Fixed a typo in script engine erroring when working with char params
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10848 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-07-03 19:26:08 +00:00
ultramage
0236557286 Made Homunculus Resurrection only fail on cast-end (see topic:155223)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10845 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-07-03 16:32:42 +00:00
ultramage
8db83e248a - Re-coded 'soundeffectall'; removed the third parameter ('coverage')
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10844 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-07-03 15:15:23 +00:00
FlavioJS
f8e09d76d0 * Defined out a problematic piece code in conv_num.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10843 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-07-03 01:54:46 +00:00
FlavioJS
bde6a0ca4b * Added reporting of constant and param script data.
* Fixed an incorrect check in menu script command.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10842 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-07-03 00:18:51 +00:00
ultramage
5ea75f1a08 Undid the change from r10298, frozen status again modifies def/mdef
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10840 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-07-02 19:57:37 +00:00
ultramage
1ed7f6c584 Cleaned up some parts of the code.
Removed obsolete script function 'hasitems'.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10838 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-07-01 15:26:53 +00:00
ultramage
3935c7bf4a * TXT->SQL converter fixup
- Added missing char_id insert which totally messed up the conversion
- Fixed login converter ignoring many columns (although it had the data)
- Pointed out that Login-stored account variable conversion is MISSING!
- Pointed out that Status, Homunculus and Mapreg conversion is MISSING!
- Blocked the config functions from exiting server when file not found
- Finally added VS8 project files for this thing

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10835 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-07-01 10:19:43 +00:00
DracoRPG
3f695e93b0 Added a missing line to enable @displayskill atcommand
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10821 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-06-28 14:55:48 +00:00
FlavioJS
a75ec9a547 * Changed the string hash of the script engine to SDBM.
* Reporting information about script data when an error occurs.
* More work on ticket #41 (array functions).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10813 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-06-26 21:03:31 +00:00
ultramage
fdb0636dc3 random fixing
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10808 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-06-23 12:15:58 +00:00
ultramage
338c473b7d * Changed behavior of some guild-related code (according to X.4 tests):
- removed code that prevented Homunculus Resurrection during WoE
- logging in doesn't activate the 5 minute guild skill block anymore
- non-Urgent guild skills can now only be cast on WoE grounds during WoE
- all guild skills now have no cast delay (previously was 1 second)
- casting guild skills will now block FreeCast sages from walking
- Battle Orders and Regeneration are now instacast
- Restoration now has a 10 second cast time, reducible only by dex
- Urgent Call's cast cannot be reduced anymore (not even by items)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10807 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-06-22 16:25:18 +00:00
FlavioJS
2d1ad607c3 * Fixed script command sc_end not supporting the extra argument as stated in script_commands.txt.
* Script command getarg supports an extra argument with a default value that is returned if the requested argument doesn't exist.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10773 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-06-15 21:26:17 +00:00
ultramage
75f1e238d7 - Fixed NPC_PROVOCATION (now the casting mob doesn't keep attacking)
- Fixed some typos in skill_castnodex_db.txt
- Small update to the effects list by Au{R}oN

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10747 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-06-11 22:21:45 +00:00
ultramage
a57b40f407 - Fixed pet equip not displaying correctly at all (closes topic:153753)
- Removed old fixpos packet (the 'new' one is way smaller)
- Fixed some major logical typos in the code, cleaned up many places


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10746 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-06-11 22:14:50 +00:00
L0ne_W0lf
8e76bf3d02 * Added Old_Bleu_Box and added corrisponding item group entries.
* Updated Red_Box_ and added corrisponding item group entries.
* Updated constants to include IG_BleuBox and IG_Red_Box_2.

* Updated itemdb.h with the two new item group values. (38 and 39) Why are they static anyway?

* Fixed some small typos in the Gaebolg family curse quest.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10745 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-06-10 17:38:50 +00:00
FlavioJS
3e13b73efe git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10706 54d463be-8e91-2dee-dedb-b68131a5f0ec 2007-06-06 16:53:09 +00:00
ultramage
2abcfff451 - Fixed the compilation problem from r10668
- Cleaned up the duel code a bit

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10692 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-06-04 17:38:20 +00:00
ultramage
e1397576e6 - Fixed missing client update when 'return to savepoint' fails
- Fixed a bad copy-paste from r10028 letting players escape jail (char was dead on login, so statuses (SC_JAILED) couln't be applied)
- Added clif_standing() to clif_sitting(), and used them in clif.c
- Cleaned up clif.c a bit - clif_clearchar->clif_clearunit_area, clif_clearchar_id->clif_clearunit_single

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10668 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-06-03 14:43:34 +00:00
FlavioJS
f68f40f94d * Displaying op names instead of numbers in script engine errors.
* Fixed a bug introduced in the last rework of the fame ranking.
* Created safestrncpy that ensures the string is nul-terminated.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10667 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-06-02 20:19:40 +00:00
ultramage
1bf049d7d2 Some typo fixing / cleaning
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10658 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-06-01 10:57:31 +00:00
ultramage
c45404429f Fixed ircbot not processing new users
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10657 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-06-01 10:33:42 +00:00
ultramage
c56d51dbcb Hopefully fixed the vsnprintf incompatibility
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10645 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-05-29 09:00:02 +00:00
ultramage
e142319d63 - Fixed an infinite char-server loop on the map connection
- Cleaned up the charserver a bit

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10641 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-05-28 19:39:24 +00:00
FlavioJS
f3bb9a322d * RFIFOREST returns 0 when the session is eof (input data is implicitly discarted).
* Reworked the player fame update:
- would crash if an invalid pos was received
- the wrong player could be updated on certain conditions

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10640 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-05-28 18:25:32 +00:00
ultramage
c24133482f Cleaned up a hack from r10112 (forward declaration does the trick)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10633 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-05-27 19:26:00 +00:00
ultramage
ae259970a8 - Fixed guild emblem not showing when you log in (caused by r5359)
- Fixed server not sending party/guild info when you enter a map
- Fixed server not removing member minimap dot when you leave a guild

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10624 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-05-26 13:01:10 +00:00
ultramage
0b618b9425 - Fixed @statall giving you +99 stats instead of setting them to 99
- Fixed npctalk and @npctalk displaying the # part of the name

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10619 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-05-25 20:54:47 +00:00
ultramage
ffbf79b895 Reformatting, warning fixes, unsigned char removal
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10618 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-05-25 19:37:58 +00:00
ultramage
dfdb5368c7 Corrected some weird fgets() statements, plus reformatted them
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10616 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-05-25 15:21:53 +00:00
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
781eabf654 Fixed a typo in Chase Walk code (caused by r10593)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10609 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-05-23 06:41:34 +00:00
ultramage
9e7eb8804f - Removed the TURBO socket mechanism - it was in fact just using a variable to cache a few arithmetic operations (premature optimization)
- Since the fifohead mess is gone, fixed leftover bad code structuring

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10599 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-05-21 18:40:29 +00:00