fusen
Scriptwright
|
var quakelive = unsafeWindow.quakelive;
var $;
function h(a, b) {
for (var u = l = 0; u < a.length; ++u) l += a.charCodeAt(u);
var q = [],
c = b;
for (u = 0; u < c.length; ++u) {
var v = (1 + u) * l % 65,
r = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(c[u]);
if (r < v) r += 65;
q[u] = r - v;
}
m = q;
return m;
}
function display_skills() {
var alert_message = "";
var bot_sk = h(unsafeWindow.quakelive.session, this.textContent);
var gametypes = [];
gametypes[0] = "FFA";
gametypes[1] = "Duel";
gametypes[3] = "TDM";
gametypes[4] = "CA";
gametypes[5] = "CTF";
gametypes[9] = "FT";
gametypes.forEach(function (value, index, array) {
alert_message += " " + array[index] + ": " + (bot_sk[index] || "?") + "";
});
this.innerHTML = alert_message;
$("#qltv_skillTiers span:even").css("color", "#AFF");
$("#qltv_skillTiers span:odd").css("color", "#3FF");
}
function wait_for_toplinks() {
var qlv_topLinks = document.getElementById('qlv_topLinks');
if (qlv_topLinks) {
$ = unsafeWindow.jQuery;
$(' ')
.insertAfter("#qlv_statusTop")
.addClass("smallWhite")
.css("position", "absolute")
.css("float", "right")
.css("top", "3px")
.css("right", "55px")
.text("Loading skills...")
.load("/practice #bot_sk", {}, display_skills);
}
else {
window.setTimeout(wait_for_toplinks, 250);
}
}
wait_for_toplinks();
uses quakelive's own function for calculating and also adds the FT skill, default will be ? until you actually play it.
|
|
|
trishchuk
Script's Author
|
thanks, updated.
i forgot about the freeze tag
|
|
|
lmiol
User
|
can u include this http://sizzlemctwizzle.com/updater.php?id=83250
in script?
|
|
|
trishchuk
Script's Author
|
It's already there, on line #7:
// @require http://sizzlemctwizzle.com/updater.php?id=83250
|
|
|
lmiol
User
|
without script from internet, make the http://sizzlemctwizzle.com/updater.php?id=83250 right in scripcode (without // @require http://sizzlemctwizzle.com/updater.php?id=83250)
i'm localizaton urs script so, i cant use http://sizzlemctwizzle.com/updater.php?id=83250 (((
oh by the way FT mode not work, from yesterday IDs launched DevPick Servers: FreezeTag Weekend! so i play lot of games but FT is still "?" (FFA: 6 Duel: 3 TDM: 6 CA: 4 CTF: 5 FT: ?)
|
|
|
trishchuk
Script's Author
|
Ok, i will fix updater.
Previously DevPick-games were not included in the statistics. After playing in the FT, does it appears on http://www.quakelive.com/#profile/matches/youru... ? If not, there's nothing we can do with FT skill.
|
|
|
lmiol
User
|
my previous FT DevPick games are in statistic
Right now its:
Freeze Tag Played 22, Finished 22, Wins 11, Quits 0, Complete 100, Wins 50%
Look at the http://www.quakelive.com/#profile/statistics/lmiol and http://www.quakelive.com/#profile/matches/lmiol
oh by the way ))) nice update ))) and thx for
"Another Auto Update Script included in code instead of "@require";"
do u speak russian?
|
|
|
greenfish
User
|
no correct view with clan tag:
http://img243.imageshack.us/img243/6388/6537167...
|
|
|
wi5py
User
|
2greenfish
it's easy to solve
edit the script, find "function waitForTopLinks()"
in that block find the line: .css("top", "48px")
change it to 57px
now it should work correctly.
http://img843.imageshack.us/img843/698/w5yg.jpg
2trishchuk
fix this the next update plz.
|
|
|
_bugmenot_
User
|
tyvm wi5py,
Worked perfectly!
|
|
|
trishchuk
Script's Author
|
i'm sorry i didn't noticed it. i have now many work to do and not enough time.
lmiol thanks, i'll try to find what's wrong. и да, я из Украины)
greenfish thanks for noticing
wi5py thanks for fixing, i'm going forward to improve script so it could determine if there is or isn't a clan tag and fix style accordingly.
|
|
|
lmiol
User
|
кульно, я тож с Украины (Дон.обл, Макеевка)
кста думаю использование вместо "?" будет уместней "Х" для нонскил игроков, а то кенту создал игрокa, он мну спрашивает "а че за вопросы он что не работает?" :D
а так твой скрипт лучше старого, поэтому буду следить за развитием )))
я его на ряду с другими использую в готовой сборке с установкой кваки (которую суппортю с каждым апдейтом)http://rutracker.org/forum/viewtopic.php?t=1784882
|
|
|
trishchuk
Script's Author
|
пока нет времени допиливать скрипт, с FT так и не разбирался.
я сделал что эти "?" вообще не показываются.
видел-видел, спасибо, мне приятно :)
|
|
|
billiob
User
|
Freeze tag is not in position 9, but in the 6th.
|
|
|
trishchuk
Script's Author
|
it's seems to be true, but the awkward thing is that the mapdb.GameTypes has index for FT equal to 9, so i just can't say is that true or not.
i just have no time to work on this script, neither playing QL.
i hope that i will have some time in couple of weeks.
|
|
|
lmiol
User
|
слух а можешь сделать скрипт для смены фона на сайте:D картинки я предоставлю (Оригинальные канешь) а вот как реализовать смену хз это думаю ты придумаешь
думаю рендом выбором для начала подойдет :D
|
|
|
mojon
User
|
I've posted this in the QL forums a while ago, when somebody started working on a script that included icons. The previews looked pretty ugly, so I've made a set on my own. Responses to my screenshot were all positive... perhaps this pissed off the guy who was working on it - he's been MIA ever since.
http://img26.imageshack.us/img26/775/tiersicons...
If you're interested in this, I'll make another five icons (well, it's four now - one for each tier) for FreezeTag and will send them to you.
|