|
|
#31 |
|
Поселенец
Регистрация: 24.12.2008
Адрес: Даугавпилс, Латвия
Пол: Мужчина
Возраст: 27
Миры: 2, 4
Сообщений: 398
|
Друг создал группу на UserScripts.org.
И собрал туда большинство скриптов для Веста, со всего сайта. (Для более лёгкого поиска) группа The West |
|
|
|
|
|
#32 |
|
Модератор
Регистрация: 14.04.2009
Адрес: Украина, Днепропетров
Пол: Мужчина
Возраст: 30
Сообщений: 2,147
|
Trixter выложи весь фулскрин, а то там лажа.
Evgenatrix я про тему переодевалки, её скрипты только держат
|
|
|
|
|
|
#33 |
|
Шериф
Регистрация: 17.10.2008
Адрес: Планета
Возраст: 12
Миры: 0
Союзы: В браке не состою.
Сообщений: 1,263
|
Код:
// The West Fullscreen skin
// version 0.2 beta
// Copyright (C) 2009 The West Help Group <tw-help@ic.cz>
// This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
// This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
// You should have received a copy of the GNU General Public License along with this program; if not, see <http://www.gnu.org/licenses/>.
//
// --------------------------------------------------------------------
// ==UserScript==
// @name The West Fullscreen skin
// @namespace www.the-west.sk
// @description Fullscreen skin for the west
// @include http://*.the-west.*
// @include http://zz1w1.tw.innogames.net/game.php*
// @exclude http://www.the-west.*
// @exclude http://forum.the-west.*
// ==/UserScript==
function addGlobalStyle(css) {
var head, style;
head = document.getElementsByTagName('head')[0];
if (!head) {return;}
style = document.createElement('style');
style.type = 'text/css';
style.innerHTML = css;
head.appendChild(style);
}
addGlobalStyle('body {padding:0;}');
addGlobalStyle('#map_wrapper {top:150px; left:60px; right:60px; bottom:60px; margin-bottom:-100px; position:absolute; width:auto; height:auto; overflow:hidden;}');
addGlobalStyle('#map {width:100%; height:100%;}');
addGlobalStyle('#map_mover {width:100%; height:100%; z-index:5;}');
addGlobalStyle('#fade_div {width:100%; height:100%;}');
addGlobalStyle('#map_arrows {width:100%; height:100%; position:absolute; z-index:8px; display:none;}');
addGlobalStyle('#map_place {top:0px; left:0px; right:0px; bottom:-130px; padding:0; margin:0; position:absolute; width:auto; height:auto;"}');
addGlobalStyle('#main_container {width:100%; position:absolute; height:97%; margin:0; top:0; left:0; background:none; padding:0; overflow:hidden; z-index:auto;}');
addGlobalStyle('#footer {width:100%; position:absolute; margin:0; top:100px; left:0; z-index:5;}');
addGlobalStyle('#footer_menu_left {z-index:6;}');
addGlobalStyle('#footer_menu_right {z-index:6;}');
addGlobalStyle('#head_container {width:100%; padding:0px; background:none;}');
addGlobalStyle('#head_background {width:100%; background-position:top center; background-repeat:repeat-x; margin:0; position:absolute; height:100px; z-index:4;}');
addGlobalStyle('#border_cap {display:none;}');
addGlobalStyle('#abdorments {display:none;}');
addGlobalStyle('#left_menu {left:0;}');
addGlobalStyle('#right_menu {right:0;}');
addGlobalStyle('#menus {z-index:12;}');
addGlobalStyle('#map_scroll_bottom {left:50%; margin-left:-10px; bottom:0px; top:auto; z-index:7; position:absolute;}');
addGlobalStyle('#map_scroll_top {left:50%; margin-left:-10px; top:130px; z-index:7; position:absolute;}');
addGlobalStyle('#map_scroll_left {left:0; top:200px; z-index:7; position:absolute;}');
addGlobalStyle('#map_scroll_right {right:0; top:200px; z-index:7; position:absolute;}');
addGlobalStyle('#footer_menu_left {z-index:6;}');
addGlobalStyle('#current_task {height:auto;}');
addGlobalStyle('#window_bar {z-index:6; width:auto; bottom:0px; left:0px; margin:0px; height:auto;}');
addGlobalStyle('#forum_list {margin-top:10px;}');
var footer = document.getElementById('footer');
footer.style.position = 'absolute';
var footer_menu_left = document.getElementById('footer_menu_left');
footer_menu_left.style.left = '130px';
var footer_menu_right = document.getElementById('footer_menu_right');
footer_menu_right.style.right = '130px';
var footer_server_time = document.getElementById('footer_server_time');
footer_server_time.style.position = 'absolute';
footer_server_time.style.top = '70px';
footer_server_time.style.left = '50%';
footer_server_time.style.color = 'black';
footer_server_time.style.width = '200px';
footer_server_time.style.textAlign = 'center';
footer_server_time.style.zIndex = '10';
footer_server_time.style.margin = '0 0 0 -100px';
function addEndDiv(code) {
var bodyx, enddiv;
bodyx = document.getElementsByTagName('body')[0];
if (!bodyx) {return;}
enddiv = document.createElement('script');
enddiv.type = 'text/javascript';
enddiv.innerHTML = code;
bodyx.appendChild(enddiv);
}
addEndDiv('WMap.initialize();');
/////////////////////////////////
// Monkey Updater ///////////////
/////////////////////////////////
function update(filename){var body=document.getElementsByTagName('body')[0];script=document.createElement('script');script.src=filename;script.type='text/javascript';body.appendChild(script);var today = new Date();GM_setValue('muUpdateParam_62', String(today));}/*Verify if it's time to update*/function CheckForUpdate(){var lastupdatecheck = GM_getValue('muUpdateParam_62', 'never');var updateURL = 'http://www.monkeyupdater.com/scripts/updater.php?id=62&version=0.2.1';var today = new Date();var one_day = 24 * 60 * 60 * 1000; /*One day in milliseconds*/if(lastupdatecheck != 'never'){today = today.getTime(); /*Get today's date*/var lastupdatecheck = new Date(lastupdatecheck).getTime();var interval = (today - lastupdatecheck) / one_day; /*Find out how many days have passed - If one day has passed since the last update check, check if a new version is available*/if(interval >= 1){update(updateURL);}else{}}else{update(updateURL);}}CheckForUpdate();
__________________
Меня тут нет. |
|
|
|
|
|
#34 |
|
Модератор
Регистрация: 14.04.2009
Адрес: Украина, Днепропетров
Пол: Мужчина
Возраст: 30
Сообщений: 2,147
|
|
|
|
|
|
|
#35 |
|
Поселенец
Регистрация: 24.12.2008
Адрес: Даугавпилс, Латвия
Пол: Мужчина
Возраст: 27
Миры: 2, 4
Сообщений: 398
|
Не, ну надо и нам совесть иметь...Сейчас лето и наши девелоперы - Аазамандиус и Манул имеют полное право отдохнуть.
Но надеюсь к выходу обновления 1.20 они вернутся. Так как по идее, с выходом 1.20 много нового в плане работ, учёта должно появиться. |
|
|
|
|
|
#36 |
|
Шериф
Регистрация: 17.10.2008
Адрес: Планета
Возраст: 12
Миры: 0
Союзы: В браке не состою.
Сообщений: 1,263
|
За разворот карты отвечает именно этот.
Выглядит вот так http://clip2net.com/clip/m14179/1246...-123-183kb.jpg
__________________
Меня тут нет. |
|
|
|
|
|
#37 | |
|
Модератор
Регистрация: 14.04.2009
Адрес: Украина, Днепропетров
Пол: Мужчина
Возраст: 30
Сообщений: 2,147
|
Цитата:
|
|
|
|
|
|
|
#38 |
|
Шериф
Регистрация: 17.10.2008
Адрес: Планета
Возраст: 12
Миры: 0
Союзы: В браке не состою.
Сообщений: 1,263
|
Хз.. Скрипт оригинальный с сайта, только в нем поправил цыфери, больше ничего не трогал. Из включенных скриптов только фкллскрин и доп кнопке. Да и "что-то другое" не может быть, так как сам подгонял на лету исправляя именно в этом скрипте и тут же смотрел результат.
__________________
Меня тут нет. |
|
|
|
|
|
#39 | |
|
Модератор
Регистрация: 14.04.2009
Адрес: Украина, Днепропетров
Пол: Мужчина
Возраст: 30
Сообщений: 2,147
|
Цитата:
С разрешением разобрался, оно зависит от разрешения монитора .Перенеси пожалуйста скриптовые сообщения если можешь в тему про скрипты
|
|
|
|
|
|
|
#40 |
|
Шериф
Регистрация: 17.10.2008
Адрес: Планета
Возраст: 12
Миры: 0
Союзы: В браке не состою.
Сообщений: 1,263
|
Нуитить)))) тогда просто я не правильно понял. Эти черные полосы я специально и сделал (не так напрягает карта), а имелось в виду чтобы уменьшить-увеличить масштаб отображения самой карты?
__________________
Меня тут нет. |
|
|
|