Large

Castle Age Golem

By Rycochet Last update May 20, 2011 — Installed 26,928 times.

prefered Taget worker not working

in
Subscribe to prefered Taget worker not working 9 posts, 5 voices



Pitrhino User
FirefoxWindows

Dialog shows: Next Target: Undefined (level undefined with undefined army), 1 vaild target

Currently i have tried the setting below, and its not working since r751

Use best Genera: Checked
Battle type: Dual/invade ( tried both )
Get demi points type : Dual / Invade ( tried both )
attack till: 1 Losses
Fight monster first: Uncheck
Clear battle points: Never
Target: (-10 to 5) rank above (tried any number)
Time Between attack : 1
Risk death : Check/Un-checked (tried both)
level ratio: Any

Prefered added and tried all with these below..

1. http://apps.facebook.com/castle_age/keep.php?ca...
2. causer=1234567890
3. id=1234567890
4. =1234567890
5. 1234567890

 
Vitae Scriptwright
FirefoxWindows

afaik the only one that should work is using just the player ID

Are you sure you are using the right ID?
Are you sure this person has used CA?

 
Aeoros User
FirefoxWindows

I second the same problem

 
Tension113 User
FirefoxWindows

Is this working for anyone? I've been messing around with it and I'm getting the same results..

 
lurgid User
FirefoxWindows

I just took a quick peek at the code and there may be a "first time target" issue. The preferred list is just the IDs, #5 in your list above. If you have any other characters on a line, possibly even blanks, it may skip that target.

If you have "Get Demi-Points Type" set to "Duel" or "Invade" and you haven't yet collected a full 50 count for the day, but some types are at 10, then the last known alignment type of preferred targets (or any target) will be skipped if it matches any of those already at 10. Also, an unknown alignment is always skipped when collecting demi points. If those preferred targets aren't also in your cache with a known alignment, then those targets will be skipped. To work around the problem you can try turning off demi point collecting ("Never", but make sure you have "Battle type" set to something other than "Never" or you won't battle at all) and see if that won't populate your cache with those preferred targets.

It does appear that the code could benefit from a tweak to allow preferred targets with unknown alignments at all times, even when trying to collect demi points. Alignments now show on all wins, even when your daily limit has been met (a recent CA change in the last few weeks or so), so unknown alignments would be fixed on the first win anyway.

The battle points, target rank and level ratio settings don't come into play directly here on preferred targets, but they can affect the cache, which may cause your preferred targets to be flushed back out of the cache as soon as they hit it. Yet another case for nixing that unknown alignment test on preferred targets anyway.

 
Tension113 User
FirefoxWindows

Is it the fact that the user id I'm trying to use I got from the persons homepage? Therefor the alignment is unknown since they haven't appeared on my battle page and that's why it won't work? I had already tried the suggested settings, a fresh install, and every other combination I could, but nothing seems to work.. 1 valid target, but undefined..

 
lurgid User
FirefoxWindows

The only way alignment is known to Golem is either from a battle win (duel or invade only at present, war doesn't award or report alignment last I checked) or from the battle page list. Alignments aren't shown on keeps, so you can't just visit a keep to get that information. The only way to force Golem to learn a given target's alignment is to manually battle that target and win with Golem watching. Golem may still choose not to cache that target, but it will at least briefly learn that target's alignment from the battle win page.

 
Tension113 User
FirefoxWindows

Oh ok.. I guess that's not my problem then.. I've invaded, but still can't get the name in the target list no matter what I try.. Maybe there's just no work around at the moment.. Either way, thanks for looking at it..

 
lurgid User
FirefoxWindows

r813 should now fight preferred targets properly when collecting demi points if the target's demi alignment is unknown. It will still skip known alignments that don't match what it is seeking, as the script was intentionally doing that before. Hopefully this should sort out the "new target" or "target not in cache" issue that results in unknown alignments.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel