- Made the SQL ping interval default to 7 hours.

- Memorize cast time now can't be reduced by status changes neither.
- Made skill_unitsetting remove the group when no unit-cells were placed down. basicly this means that if landprotector blocks all tiles, the group will be removed from memory, preventing said group from counting to the total number of skills you can set.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7972 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
skotlex 2006-07-29 17:39:36 +00:00
parent 685a894908
commit b10a96995e
5 changed files with 14 additions and 2 deletions

View File

@ -4,6 +4,11 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/07/29
* Made the SQL ping interval default to 7 hours. [Skotlex]
* Made skill_unitsetting remove the group when no unit-cells were placed
down. basicly this means that if landprotector blocks all tiles, the group
will be removed from memory, preventing said group from counting to the
total number of skills you can set. [Skotlex]
* Fixed segmentation fault in script engine when calling something which is not a function [Toms]
* Fixed segmentation fault in script engine when activating DEBUG_RUN flag [Toms]
2006/07/28

View File

@ -68,7 +68,7 @@ read_gm_interval: 10
// after 8 hours of inactivity).
// 0 disables (default). Enable it only if you are getting
// "MySQL server has gone Away" errors due to lack of activity on your server
//connection_ping_interval: 3
connection_ping_interval: 7
// MySQL Login SQL Server
login_server_ip: 127.0.0.1

View File

@ -20,6 +20,8 @@
=========================
07/29
* Memorize cast time now can't be reduced by status changes neither.
[Skotlex]
* Large mob_db update [Playtester]
- added most of the missing X.4 / 11.1 drops
- adjusted the drop rates of Odin Temple and Kiel's Mechanical Doll Factory

View File

@ -12,7 +12,7 @@
336,1 //WE_CALLPARTNER
366,1 //HW_MAGICPOWER
370,1 //CH_PALMSTRIKE
403,1 //PF_MEMORIZE
403,3 //PF_MEMORIZE
408,1 //WE_BABY
409,1 //WE_CALLPARENT
410,1 //WE_CALLBABY

View File

@ -6775,6 +6775,11 @@ struct skill_unit_group *skill_unitsetting (struct block_list *src, int skillid,
unit->bl.x,unit->bl.y,group->bl_flag,&unit->bl,gettick(),1);
}
}
if (!group->alive_count)
{ //No cells? Something that was blocked completely by Land Protector?
skill_delunitgroup(src, group);
return NULL;
}
return group;
}