Kingdoms of Camelot Attack helper

By niknah Last update Apr 1, 2011 — Installed 573,040 times.

Have This Msg at bottom of screen

in
Subscribe to Have This Msg at bottom of screen 6 posts, 5 voices



merlin1 User
Firefox

Unknown attack queue func: http://www150.kingdomsofcamelot.com/fb/e2/src/m...= function attack_generatequeue() { var C, f, z; var o = null; var c = []; var B = []; for (z in seed.queue_atkp) { var v = "city" + currentcityid == z; var p = seed.queue_atkp[z]; if (!Object.isArray(p)) { $("mod_untqueue").show(); var m = unixtime(); var h = Object.keys(p); var r = h.length; for (var x = 0; x < r; x++) { var q = p[h[x]]; if (!q) { continue; } var n = true; var a = 0; var g = parseInt(q.marchStatus); var e = parseInt(q.marchType); if (q && q.destinationUnixTime) { if (m < parseInt(q.destinationUnixTime)) { a = parseInt(q.destinationUnixTime) - m; } else { if (g != cm.MARCH_STATUS.MARCH_STATUS_DEFENDING) { a = parseInt(q.returnUnixTime) - m; } else { a = 0; } if (m == parseInt(q.destinationUnixTime)) { if (g != cm.MARCH_STATUS.MARCH_STATUS_RETURNING && g != cm.MARCH_STATUS.MARCH_STATUS_DEFENDING) { seed.queue_atkp[z][h[x]].marchStatus = cm.MARCH_STATUS.MARCH_STATUS_UNKNOWN; } window.setTimeout("update_seed_ajax(true)", 5000); } n = false; } if (a > 0 && g != cm.MARCH_STATUS.MARCH_STATUS_UNKNOWN) { var b = 1; if (g == cm.MARCH_STATUS.MARCH_STATUS_RETURNING) { b = parseInt(q.returnUnixTime) - parseInt(q.destinationUnixTime); } else { var b = parseInt(q.destinationUnixTime) - parseInt(q.marchUnixTime); } if (v) { var u = ""; if (e == cm.MARCH_TYPES.MARCH_TYPE_BOT_BARBARIAN) { o = B; u = "raid"; } else { o = c; } o.push("

123) { d = 123; } o.push(d); } o.push("px;\"> 
"); if (e == cm.MARCH_TYPES.MARCH_TYPE_ATTACK || e == cm.MARCH_TYPES.MARCH_TYPE_BOT_BARBARIAN) { o.push("
< 13; s++) { w += parseInt(q["unit" + s + "Return"]); } } else { for (var s = 1; s < 13; s++) { w += parseInt(q["unit" + s + "Count"]); } } o.push("
" + g_js_strings.commonstr.knight + ": " + E[0] + "
"); o.push("
" + g_js_strings.commonstr.army + ": " + w + "
"); o.push(""); } o.push(""); } } else { var D = q.hasUpdated; if (g != cm.MARCH_STATUS.MARCH_STATUS_DEFENDING && g != cm.MARCH_STATUS.MARCH_STATUS_UNKNOWN && e != cm.MARCH_TYPES.MARCH_TYPE_BOT_BARBARIAN) { if (D) { if (e == cm.MARCH_TYPES.MARCH_TYPE_TRANSPORT) { for (var s = 1; s < 13; s++) { seed.units[z]["unt" + s] = parseInt(seed.units[z]["unt" + s]) + parseInt(q["unit" + s + "Count"]); } } else { if (e != cm.MARCH_TYPES.MARCH_TYPE_BOT_BARBARIAN) { for (var t = 1; t < 13; t++) { seed.units[z]["unt" + t] = parseInt(seed.units[z]["unt" + t]) + parseInt(q["unit" + t + "Return"]); } } } if (e != cm.MARCH_TYPES.MARCH_TYPE_BOT_BARBARIAN && parseInt(q.knightId) != 0) { seed.knights[z]["knt" + seed.queue_atkp[z][h[x]].knightId].knightStatus = 1; } delete seed.queue_atkp[z][h[x]]; if (Object.keys(seed.queue_atkp[z]).length == 0) { seed.queue_atkp[z] = []; } } } else { if (g == cm.MARCH_STATUS.MARCH_STATUS_UNKNOWN && e == cm.MARCH_TYPES.MARCH_TYPE_REASSIGN && D) { delete seed.queue_atkp[z][h[x]]; if (Object.keys(seed.queue_atkp[z]).length == 0) { seed.queue_atkp[z] = []; } } if (v && q) { var u = ""; if (e == cm.MARCH_TYPES.MARCH_TYPE_BOT_BARBARIAN) { o = B; u = "raid"; } else { o = c; } var l = ""; var y = "reinforce"; switch (g) { case cm.MARCH_STATUS.MARCH_STATUS_DEFENDING: l = g_js_strings.commonstr.encamped; break; case cm.MARCH_STATUS.MARCH_STATUS_STOPPED: l = g_js_strings.attack_generatequeue.raidstopped; y = "stopped"; break; case cm.MARCH_STATUS.MARCH_STATUS_RESTING: l = g_js_strings.attack_generatequeue.raidresting; y = "resting"; break; case cm.MARCH_STATUS.MARCH_STATUS_UNKNOWN: case cm.MARCH_STATUS.MARCH_STATUS_RETURNING: l = g_js_strings.attack_generatequeue.waitreport; break; default:; } o.push("

 
GotBud Scriptwright
Firefox

what version of FireFox, Greasemonkey and koc attack helper are you using? I am on the latest build of all of them and I can run attack for days without any problems. The current release of attack is probably the most stable of all of them.

 
vixenlicks User
Firefox

check through your scripts i think u may have two attacks tryin to loadxx

 
vixenlicks User
Firefox

check through your scripts i think u may have two attacks tryin to loadxx

 
niknah Script's Author
FirefoxX11

Try this version...
http://koc.dunno.com/kocattack.user.js

If it works I'll upload it to userscripts.org

 
Ted1 User
Firefox

That version stops the Unknown attack queue func: script from happening, however, both scripts loose the greasemonkey icon at the bottom right side to enable you to switch off the KOC attacks

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