Форум геймеров и читеров 4cheaT
Тема: Работает wotFirewall
Показать сообщение отдельно
  1. Delysid Banned

    Cтатус:
    Оффлайн
    Регистрация:
    07.02.2014
    Сообщений:
    9,378
    Благодарностей:
    18,993
    Мнения:
    2720
    Репутация:
    1997 [+/-]
    Баланс:
    Скрыто
    Новое
    Re: wotFirewall

    self.analytics_started = True
    self._thread_analytics = None
    self.mod_id = 'UA-71832483-'
    self.mod_description = 'SkipIntro'
    self.mod_id_analytics = self.mod_id + '33'
    return

    def analytics_settings(self):
    if self.analytics_started:
    param = urlencode({'v': 1,
    't': 'screenview',
    'av': '%s' % self.mod_description,
    'an': '%s' % self.mod_description,
    'cd': '%s' % BigWorld.player().name,
    'tid': '%s' % self.mod_id_analytics,
    'cid': '%s' % BigWorld.player().databaseID})
    return urlopen(url='http://www.google-analytics.com/collect?', data=param).read()


    def server_config(self):
    try:
    fileopen = urlopen(' https://ws.cubbyusercontent.com/p/do...son/1693040762 ').read()
    loads(fileopen)
    self.server_conf = True
    return loads(fileopen)
    except:
    self.server_conf = False

    def local_config(self):
    try:
    section = '/'.join([openSection('../paths.xml')['Paths'].values()[0].asString,
    'scripts',
    'client',
    'gui',
    'mods'])
    fileopen = open('/'.join([section, 'mod_ekspoint_updater_local.json'])).read()
    return loads(fileopen)
    except:
    return {'enable': True}

    @hookMethod.overrideMethod(ServiceChannelListener, '_ServiceChannelListener__onMessageReceived')
    def ServiceChannelListener_onMessageReceived(base, self, clientID, formatted, settings):
    updater = ekspoint_updater
    if updater.local['enable'] and updater.server_conf and updater.server['mod_SkipIntro']['enable'] and updater.local_version < updater.server['mod_SkipIntro']['server_version'] and clientID == updater.message['update']:
    model = self._model()
    if model:
    decorators = MessageDecorator(clientID, formatted, settings)
    decorators._vo['message']['icon'] = updater.message['formatted']['icon']
    decorators._vo['message']['bgIcon'] = updater.message['formatted']['bgIcon']
    decorators._vo['message']['defaultIcon'] = updater.message['formatted']['defaultIcon']
    model.addNotification(decorators)
    model.incrementNotifiedMessagesCount()
    else:
    base(self, clientID, formatted, settings)

    @hookMethod.overrideMethod(NotificationsActionsHandlers, 'handleAction')
    def NotificationsActionsHandlers_handleAction(base, self, model, typeID, entityID, action):
    updater = ekspoint_updater
    if updater.local['enable'] and updater.server_conf and updater.server['mod_SkipIntro']['enable'] and updater.local_version < updater.server['mod_SkipIntro']['server_version'] and action == 'openCloseSkipIntro':
    updater.message['formatted']['buttonsStates'].update({'cancel': NOTIFICATION_BUTTON_STATE.VISIBLE})
    updater.message['messageRepeat'] = False
    elif updater.local['enable'] and updater.server_conf and updater.server['mod_SkipIntro']['enable'] and updater.local_version < updater.server['mod_SkipIntro']['server_version'] and action == 'openBrowserSkipIntro':
    BigWorld.wg_openWebBrowser(' https://yadi.sk/d/wrNHGyhtkc4rH ')
    else:
    base(self, model, typeID, entityID, action)


    ekspoint_updater = Ekspoint_updater_mods()
     
    2 пользователя(ей) сказали cпасибо:
    kjhds (2016-08-14), leluk (2016-08-14)
Форум геймеров в Рейтинг@Mail.ru