Zopokx - Jun 25, 2013 16:40
I must ask if someone else has the same problem that I have.
It seems that investing in castle (commercial growth or defense) is not working properly.
Although checking castle briefing reports that I have invested several times in past days, the level of commercial growth or defense is always 0.
Ind - Jun 25, 2013 20:15
I wonder if its related to the new guild dungeons (if so its not a source problem)
This post has been edited by
Ind
on Jun 25, 2013 20:15
Zopokx - Jun 26, 2013 8:17
[quote name="Ind" timestamp="1372191308"]
I wonder if its related to the new guild dungeons (if so its not a source problem)[/quote]
It's possible. Maybe Euphy knows something else that we don't :P
Euphy - Jun 27, 2013 23:43
I didn't touch the old scripts.
Ind - Jun 28, 2013 0:42
I was unable to reproduce, It added to the total after the OnClock0001 event was run (in agit_main.txt)[code=auto:0]
// Apply investment to Eco. and Def. Only happens if there were investments made.
// Permanent Development can only happen once per day.
if (GetCastleData(strnpcinfo(2),4)) {
set .@Economy,GetCastleData(strnpcinfo(2),2);
SetCastleData strnpcinfo(2),2,.@Economy + GetCastleData(strnpcinfo(2),4) + (rand(2) && getgdskilllv(.@GID,10014));
if (GetCastleData(strnpcinfo(2),2) > 100) SetCastleData strnpcinfo(2),2,100;
}
if (GetCastleData(strnpcinfo(2),5)) {
set .@Defence,GetCastleData(strnpcinfo(2),3);
SetCastleData strnpcinfo(2),3,.@Defence + GetCastleData(strnpcinfo(2),5);
if (GetCastleData(strnpcinfo(2),3) > 100) SetCastleData strnpcinfo(2),3,100;
}
// Reset daily investment limits.
setcastledata strnpcinfo(2),4,0;
setcastledata strnpcinfo(2),5,0;
[/code]
Zopokx - Jun 28, 2013 19:15
Yep, it's working now... this is weird...