summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2006-04-05- Added inter config connection_ping_interval which specifies interval in ↵skotlex10-106/+180
hours at which mysql_ping's must be done on all connection handles to keep the mysql connection alive. Defaults to 0 (disabled) - Removed login sql handle from the map server as it isn't used for anything. - Made the login sql handle on the char-sql server be used only when gm_read_method 1 is enabled. - Small fixes to npc_enable, added BL_NPC handling on status_get_sc. - Added a path_search check in map_random_dir, so that the random direction picked up doesn't goes through walls and all that. - Some changes to close-confine, status start will fail when the source is not found or it doesn't has sc-data. - pc_setoption no longer changes the character's class when mounting/dismounting, it only changes the view-class. - The peco-crash-fix from the char servers is still needed. This packet must be wrong! We likely need to sniff it. - Modified the char-txt server to modify the class of mounted characters to their non-mounted version. Added an upgrade_svn file to handle the class update on the sql tables. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5902 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-03- Fixed pc_setpos using unit_remove_map with type 0 instead of 3, which ↵skotlex1-3/+3
confuses clients and makes them think the character in question is still standing on the spot where it was removed. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5897 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-03- Fixed script command mapwarp.skotlex1-8/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5895 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-03- SC_AUTOCOUNTER now only blocks all attacks/skills when the flag is 0 ↵skotlex2-2/+2
(attempt to use skill) - Autocounter triggers are now checked against flag 1 (cast-end) rather than 0. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5893 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-03- Fixed a typo in battle.c (status_get_atk invoked instead of ↵skotlex1-1/+1
status_get_atk_) for dual wielders. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5891 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-03- Modified Rude-Attacked behaviour so that such skills only triggers when ↵skotlex3-3/+20
the rude-attacked count is greater than 3. - Added config setting slaves_inherit_mode to determine whether slaves take on their master's aggressive/passive status (defaults to yes) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5890 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-03- Removed the flag variable from the npc_data structure. Disabled NPCs are ↵skotlex2-17/+13
now handled through nd->sc.option&OPTION_INVISIBLE checks. Should fix disable/enablenpc calls not working. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5889 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-03- Moved skill_counter_additional_effect calls to trigger right after ↵skotlex2-11/+21
skill_additional_effect (which means they trigger at the end of the attack motion for physical attacks) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5888 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-03- Oops, the overflow mentioned by foobar was actually because the equippable ↵skotlex2-2/+2
base-jobs field was unsigned short when we now need it to be unsigned int. Fixed now. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5884 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-03- Cleaned up (fixed?) a possible overflow in pc_isUseitem, thanks to foobar.skotlex5-10/+21
- When you have the wrong ammo-type equipped the skill-failed message is now "skill can't be used with this weapon", which is less misleading than "please equip arrows first". - Corrected pet-equipment display (I originally assumed they went in the shield view-position, when they actually go in the head-bottom position). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5883 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-02- Fixed npc_gettimerevent_tick returning the difference since the last ↵skotlex1-2/+2
triggered label instead of total elapsed time for the npc-timer. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5874 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-02- Added a missing memset on ers_alloc'ing mob loot which was making data ↵skotlex2-1/+3
from looted items fill in normal drop info. - Some more work on the display of Brandish Spear... git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5871 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-02- Added preventing sending packet clif_clearchar_id when the character in ↵skotlex1-17/+38
question is invisible. - Added packet 0x7c in clif_spawn which was supposed to be used for non-players. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5869 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-02- grfio.c fixed compile warningLance1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5867 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-02- Fixed my fix on multi-map leak thanks to Buuyo^.Lance1-4/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5865 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-02- Forgot to set state.night = 1 in the night timer.skotlex1-1/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5864 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-02- Moved the night icon invocation to clif_parse_LoadEndAckskotlex2-138/+101
- Changed function clif_set01e1 to clif_spiritball_single - Removed clif_spawnpc as it wasn't really needed. - Added clif_weather_check to handle the weather changes checks. - Merged Larry's fix of using a timer to get rid of the glow-issue when you login to night-enabled map. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5863 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-02Typo in login.cLance1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5860 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-02Typo fix in map.cLance1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5859 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-02* Loading waterheight aliases from resnametable.txt.Lance3-38/+61
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5858 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-02* Workround the warnings for clif.c (what to do? the original codes are ↵Lance1-4/+4
ugly.. passing values as pointers omgwtfbbq). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5856 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-01- Added a check to remove exp-even-share when someone leaves a party.skotlex2-0/+12
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5855 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-01- Fixed an error in the layout initialization of ice-wall. Thanks to Named ↵skotlex1-1/+1
for pointing it out. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5853 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-01- Added function clif_changetraplook to handle changing the appearance of ↵skotlex3-6/+37
traps as they are triggered (rather than using clif_changelook which is meant for view_data objects) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5852 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-01- Fixed berserk not raising your HP to your new cap.skotlex2-4/+6
- Fixed ground-skills not displaying damage done. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5851 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-01- Fixed a few functions sending a negative ID for disguised characters (such ↵skotlex1-22/+12
as clif_specialeffect) which very likely produced client crashes. - A small cleanup on npc-whispering which could fix a reported crash on it. - Removed the gm-whispering of the charnameack hack notice since it isn't perfected yet. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5850 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-01- Fixes to the mob_ai routines. Prevent casting rude-attacked skills in ↵skotlex1-9/+16
situations that shouldn't be considered as so. Fixed mobs failing to chase after enemies when range-attacked out of their view_range. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5848 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-01* Should not exit when you can't find an NPC file.. Lance2-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5845 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-01typoLance1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5844 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-01bl.subtype check.Lance1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5843 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-01Fixed the dynamic shop system memory allocation and id_db problem. Added ↵Lance3-8/+9
sample script. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5842 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-01* Dynamic shops support with script callback. (needs testing)Lance4-10/+89
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5841 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-01- Cleaned up and fixed @where command.skotlex1-6/+8
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5840 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-01Asssuming only __WIN32 (VC++) doesn't have strtok_r.Lance3-6/+10
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5839 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-01* Fixed compiler warnings.Lance4-7/+6
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5838 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-01- Fixed pc_setpos sending you to a random direction when the target tile was ↵skotlex1-1/+1
stacked (CELL_NOSTACK mod) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5836 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-01- Fixed standing up no really making you stand up.skotlex1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5835 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-01- Added structure view_data to handle sprite information for all characters ↵skotlex16-2202/+1212
(equipment, weapons, hair, dyes, etc). Unified a bunch of clif functions now that you only need to handle the view_data (so instead of clif_spawn[pc/mob/npc/pet] you just have clif_spawn) - Fixed the clif_change_class packet (it should check for non players classes, not a class above MAX_PC_CLASS), it fixes morphing enemies. - Rewrote the way cloth dye packets are resent to optimize bandwidth usage. - Fixed the npc_item_flag thing (enable_items/disable_items script command) - Rewrote the disguise implementation to be bandwidth friendly. - Modified the hide options to change your class to INVISIBLE_CLASS, since such classes don't even get their view packets sent around. - Rewrote several clif functions to adapt to the new view_data class; - Added class 139 to npcdb_checkid which was required by some npcs in the swordman quest? o.O git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5833 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-01* April fool! Improved soundeffectall script command. (No, this is not a lie)Lance4-15/+52
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5832 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-31- Fixed skill_require_db loading.skotlex2-40/+43
- Added a column to specify the amount of ammo required for skills that require ammo. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5831 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-31- Changed the terminology from arrow to ammo for the last update.skotlex3-12/+12
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5830 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-31- Changed the look field of all arrows to 1.skotlex3-89/+40
- Added column "RequiredArrowType" to skill_require_db, set to 1 all arrow-based skills. - Added support for ArrowType requirement on skills. It checks for having an item equipped on the arrow-slot who's view has to match with the required arrow-type (works the same way it does for weapons). - Skills will automatically be ranged and arrow-types when they have a arrow-requirement. - Skills will automatically consume arrows if used with a bow and the skill is an attack weapon-based skill even if the skill_require_db doesn't specifies arrow requirements (this is for stuff like backstab used with bows) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5829 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-31- Fixed an infinite recursion in the Wedding Recall skills.skotlex2-6/+15
- UNT_ATTACK_SKILLS unit packets won't be sent to the client as they are supposed to be invisible anyway. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5828 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-31Started work on commands for the IRC Bot.zido2-0/+22
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5827 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-31- Cleaned up battle_check_target to use the jA structure defines and get rid ↵skotlex1-27/+24
of the is_duel variable. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5826 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-31- Adjusted the range of Wall of Fog to 9 and Spider Web to 7skotlex1-3/+9
- Modified a bit the skill packets of Sharp-Shooting and Brandish Spear in hopes of fixing it. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5824 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-31* Should fix a bug in GM stealth mode (@hide).Lance1-24/+32
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5823 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-30- Added a missing "return 0" that fixes a crash on failed lookups on ↵skotlex2-3/+4
status_change_timer git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5818 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-30Added year day return in gettime function. gettime(8) returns 1~366foruken1-0/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5816 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-30- Fixed the compile error in login.cskotlex1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5815 54d463be-8e91-2dee-dedb-b68131a5f0ec