Guest Dark_Cs Posted February 11, 2011 Share Posted February 11, 2011 Мне, как наверно и большинству, довольно нудно постоянно вручную отслеживать появление новых версий аддонов. Поэтому, в целях автоматизации процесса был написан небольшой скрипт - менеджер аддонов: Его ключевыми возможностями являются:* установка аддонов с сайта ui9.ru автоматическое обновление аддонов через определенный промежуток времени удаление аддонов *с поправкой, что скрипт работает как задумано Возможны какие-либо баги, о которых можно даже сообщить. Скрипт написан на Python 3 + PyQt, отсюда последствия... Скачать можно отсюда Соберу exe для широкого круга пользователей, когда скрипт будет доработан полностью и не будет существенных замечаний. изменения в r0.4: [ru] Добавлена поддержка многоязычности. Добавлен английский перевод. [en] Added support for multiple languages. Added English translation. upd: Добавлен немецкий язык (Спасибо Carnifex) Скрипты скомпилированы в exe для 32 и 64 битных систем, скачать по-прежнему можно отсюда изменения в r0.5: Переделана сортировка списка аддонов, теперь сортирует по-человечески. К сожалению, новый вид сортировки пока не удалось совместить с цветовым выделением устаревших аддонов, надеюсь, когда-нибудь я узнаю как это сделать. Аддоны, которые помечены как временно неработающие не отображаются в списке доступных. Если в списке установленных аддонов есть аддон, который недоступен для скачивания, то у него версия отображается как 'r0'. В списке доступных аддонов добавлен столбец с датой последнего обновления аддона. Quote Link to comment Share on other sites More sharing options...
Guest Carnifex Posted February 11, 2011 Share Posted February 11, 2011 nice, but it would be better, if you could make an executable out of it (because no "normal" people has python installed xD) and also add at least a english translation BTW: So I have to look in the xdb and update the version number? xD Quote Link to comment Share on other sites More sharing options...
Ciuine Posted February 12, 2011 Share Posted February 12, 2011 Actually, I'm pretty sure that UI9 rewrites the AddonDesc when you upload; with the new version number, the website address, and the author. Very nice job, Dark_Cs. You're an English translation, Carnifex; Quote Link to comment Share on other sites More sharing options...
Guest Tvicker Posted February 12, 2011 Share Posted February 12, 2011 эээ, а как его запустить?) Quote Link to comment Share on other sites More sharing options...
Setras Posted February 12, 2011 Share Posted February 12, 2011 Ребят, не думайте даже над этим. Для запуска нужно установить Python Runtime Environment. Как говорится "это не для "нормальных" людей". Man, python is rly like... "It's easier to dl yourself than install python and stuff". Local dev's use astral updater (still in beta, WTF?) and local "customers" (consumers?) don't know abot python and stuff. Quote Link to comment Share on other sites More sharing options...
Guest Dark_Cs Posted February 12, 2011 Share Posted February 12, 2011 Exe версия "для всех" будет позже, но и тогда она не будет представлять особой ценности, ибо будет весить несколько мегабайт. Конечно можно было написать на c# и тогда получилось бы гораздо быстрей и компактней, но хотелось написать что-нибудь на питоне. Хотя .net тоже есть не у всех Quote Link to comment Share on other sites More sharing options...
Guest Carnifex Posted February 12, 2011 Share Posted February 12, 2011 german translation BTW: 2 little bugs: -the sort of version number isn't integer sort but string sort -the sort of addonnames is casesensitive File: ru_to_ger.zip Quote Link to comment Share on other sites More sharing options...
Guest Dark_Cs Posted February 12, 2011 Share Posted February 12, 2011 sorting will be corrected in the near future. thanks for the translation Quote Link to comment Share on other sites More sharing options...
Guest Carnifex Posted February 12, 2011 Share Posted February 12, 2011 8,6 MB lol, are you sure, that you can't lower your import, because all thing which you are importing are packed in the executable (also the things, you don't use). Atm I will continue to use the .py's^^ Quote Link to comment Share on other sites More sharing options...
Guest Dark_Cs Posted February 12, 2011 Share Posted February 12, 2011 PyQt4.QtCore.pyd - 1.5mb PyQt4.QtGui.pyd - 5.4mb python31.dll - 2.0mb QtCore4.dll - 2.1mb QtGui4.dll - 7.5mb cx_freeze reduce their size, I do not know how to reduce it further. Packing in the "exe" python script is crap Quote Link to comment Share on other sites More sharing options...
Guest Latstyle Posted February 12, 2011 Share Posted February 12, 2011 нуу .net могут и поставить.. хотя сейчас я незнаю он часто нужен бывает и ставится со многими приложениями/играми Quote Link to comment Share on other sites More sharing options...
icreator Posted February 12, 2011 Share Posted February 12, 2011 круто круто! хочу! .ехе Quote Link to comment Share on other sites More sharing options...
Guest Suralc Posted February 12, 2011 Share Posted February 12, 2011 Verry interesting ;D Well. Python can handle HTTP-Requests,right? If yes, I might have an idea for the nearer future. btw. very nice project, even if it is simliar to that what I`m working on right know. Quote Link to comment Share on other sites More sharing options...
Guest Dark_Cs Posted February 12, 2011 Share Posted February 12, 2011 ехе можно скачать там же, тестировал, работает вроде нормально Quote Link to comment Share on other sites More sharing options...
Guest Dark_Cs Posted February 12, 2011 Share Posted February 12, 2011 >Well. Python can handle HTTP-Requests,right? yes Quote Link to comment Share on other sites More sharing options...
Guest Carnifex Posted February 12, 2011 Share Posted February 12, 2011 Python is a cheating programming language, you can do nearly every thing very easy with it (but performance critical things not very fast, because its interpreted) Quote Link to comment Share on other sites More sharing options...
Guest Suralc Posted February 12, 2011 Share Posted February 12, 2011 Well, I`ll take a look on python and how I could combine it with my actual Project (a client app would make it much more comfortable) btw. @Carnifex grad zu faul ne PM zu schreiben: Soweit so gut, morgen Style und aufteilung überarbeiten, und dann mal Reaktionen hier im Forum abwarten. Idealerweise könnte man das auch mit dem Programm hier verknüpfen,oder? Denn ist ist ja eignetlich das gleiche, jedoch ohne "share" funktion Quote Link to comment Share on other sites More sharing options...
Setras Posted February 13, 2011 Share Posted February 13, 2011 OMG deutsche Leute sprechen deutsche Sprache =D Mann muss Deutsch zu verbessern, der im die Schule mit erweitertem Deutschunterricht gelernt hat =D (Hope i made not a lot of mistakes ^_^ I mean that's me who had leaned deutsch im school )) ) Quote Link to comment Share on other sites More sharing options...
Guest Carnifex Posted February 14, 2011 Share Posted February 14, 2011 Man kann gerade so verstehen, was du sagen wolltest, aber die Grammatik ist nicht die beste xD achja, das ist wieder etwas offtopic xD Quote Link to comment Share on other sites More sharing options...
Guest SpiderPig Posted February 14, 2011 Share Posted February 14, 2011 http://ui9.ru/forum/develop/topic/49/t49-%D0%9F%D1%80%D0%BE%D0%B3%D1%80%D0%B0%D0%BC%D0%BC%D0%B0-%D0%BE%D0%B1%D0%BD%D0%BE%D0%B2%D0%BB%D0%B5%D0%BD%D0%B8%D1%8F-%D0%90%D0%B4%D0%B4%D0%BE%D0%BD%D0%BE%D0%B2 Quote Link to comment Share on other sites More sharing options...
Guest Stics Posted February 16, 2011 Share Posted February 16, 2011 А можете сделать функцию остановки установленных аддонов? Также хотелось бы сортировку вкладки "скачать" по дате последнего изменения. ошибка: во вкладке "аддоны" сортировка по популярности сортирует учитывая только первую цифру в числе. Quote Link to comment Share on other sites More sharing options...
stallkrais Posted February 16, 2011 Share Posted February 16, 2011 Stics Читай AddonsManager...После патче временно не работает Quote Link to comment Share on other sites More sharing options...
Guest Valltron Posted February 21, 2011 Share Posted February 21, 2011 Апдейтер для аддонов уже давно существует и развивается смотрим тут Если нет доступа - просим и ждем, и он обязательно появится Уже реализовано практически все, о чем тут просят, плюс постоянные обновления и улучшения, учитывая ваши же пожелания. Quote Link to comment Share on other sites More sharing options...
Guest Carnifex Posted February 21, 2011 Share Posted February 21, 2011 There are still some bugs with updating the addons. Do you completly remove the folder first before installing the new version of the addon? For example TargetManager and PlayerHUD had stoped working after updating with you AddonManager and had to be reinstalled manually by me. Otherwise is updates much other addon successfully. Quote Link to comment Share on other sites More sharing options...
Guest Dark_Cs Posted February 22, 2011 Share Posted February 22, 2011 fixed but now the Google services do not work for me (appspot.com, uploads.code.google.com), so here's the link: http://rapidshare.com/files/449258328/ao-addon-manager-r0.6.zip Quote Link to comment Share on other sites More sharing options...
Recommended Posts