Jump to content
Korean Random

Mixaill

XVM Team XVM Team
  • Content Count

    1,719
  • Joined

  • Last visited

  • Days Won

    154

Posts posted by Mixaill


  1. После установки последних ночников Шарик лает постоянно даже не заходя в бой, но у меня нет т34-85руди

    Качайте ветку default, а не py+audio. То что шарик в конец оборзел и лает с момента загрузки - это так и задумано.

    • Upvote 4

  2. она автоматом вроде должна вытянуться

    Demon2597 тянет с форка на своем аккаунте, а путь к сабрепам у нас прописан относительный.

    Вот оно и не находит bitbucket.org/demon2597/wot.libpython/

    форкнул заново- такая же беда:( фиг знает что такое

    я в этом темный, мне ни о чем не говорит к сожалению) а что делать?

     

    Форкни к себе wot.libpython


  3. Hi
     
    Look at https://developers.wargaming.net/documentation/rules/rules/
     

    No modifications shall be created which, according to Wargaming.net, bring undesirable changes to the gameplay of Wargaming.net Games. The list includes, but is not limited to:

    • Transparent textures on game objects penetrated by game armament.
    • Replacement of game models with collision models.
    • Explicit highlighting of game objects that may seem dangerous as non-hazardous (e.g., white textures on destroyed tanks).
    • Any changes to auto-aim (e.g., leading targets, automatic targeting of vulnerable areas).
    • Fixing for the player the position of the other players that are not visible by the rules of the game visibility (locking the position of the player that disappeared from sight on map by tracer flares, display of the name of an enemy player that inflicted a non-critical hit remaining out of sight, etc.).
    • Fixing the destruction of destructible objects on the minimap.
    • Camera which is not attached to the position of a player, a “free” camera, able to move in three dimensions, and the use of artillery mode for other types of vehicles.
    • Using keyboard macros in game situations (e.g., automation of work of “manual fire extinguisher”, except for an automatic shot from a reloaded weapon).
    • Indication of an aiming point of other players which is different from its visual representation based on the position of a standard, unmodified 3D vehicle model operated by the player.
    • Full or partial automation sending a vehicle to battle, its operating and firing (use of bots).

    Nothing about the reloading indicator.

    • Upvote 1

  4. немного перебор вроде, ЕМНИП PyString_AsString можно не врапить, а использовать макрос PyString_AS_STRING (по аналогии как и PY_INCREF и т.п.).

     

    Не, вполне себе самостоятельная функция, мало ли кто захочет использовать:

    https://hg.python.org/cpython/file/v2.7.7/Include/stringobject.h#l69

    https://hg.python.org/cpython/file/v2.7.7/Objects/stringobject.c#l791


  5. а что с ними?

    __declspec(dllexport)/extern на них не влияет?

    Может есть какой-то дефайн типа Py_ENABLE_SHARED...

    __declspec(dllexport) работает отлично, символы экспортируются, тут вопросов нет.

     

    Проблема в том, что делать перенаправление со структуры, объявленной у себя, на структуру, которая внутри WorldOfTanks.exe нельзя. (или я не знаю как?).

     

    Точнее, можно, но для этого нужно будет изменить заголовочные файлы (добавить по звёздочке к каждой структуре), что приведёт к поломке бинарной совместимости с обычными .pyd собранными под обычный белый питон, чего не хотелось бы.

     

    В качестве самого упоротого варианта вижу копирование содержимого структур к себе и замену адресов в WorldOfTanks.exe на свои. Но это как-то перебор, тут и до смены наживую версии Python (с 2.7.7 на 2.7.12, например) недалеко.

×
×
  • Create New...