Jump to content
Korean Random

blueferret

User
  • Content Count

    80
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by blueferret

  1. next best thing: https://github.com/hi-skittles/wot-offline-server
  2. hello. i will keep this short and simple. has anyone had success with getting pydev working with PyCharm (professional version)? i am to the point where i get an ImportError for no module named _ctypes. and since WoT is Python 2.7, what version of pydevd should i use? pypi says to use 2.8.0, or should i be using the one bundled with PyCharm (.egg)? i can provide screenshots.
  3. when importing bwpydevd, i always get: i have tried pydev version 2.8.0, which states its for python versions 2 (0.9.22.0.1 is python 2.7 afaik) and i have tried the .egg file that comes with my pycharm professional version. nothing works. however, if i try to do this manually through the debug server mod (github), i just get a "cannot import module _ctypes" :/ when changing to bwpydevd.startDebug('pycharm'), simply nothing is printing in the console, and still no connection. yes all my ports and ips are correct. any way to try to solve this? i'm using the most recent version of PyCharm Professional. what version of pydevd should i try using? Edit: Seems to be the issue was inside of bwpydevd.py appending to sys.path only the relative path of the egg contents and not the absolute. I fixed this and now I receive this: 2024-02-28 12:09:38.342: ERROR: 0.00s - Debugger warning: The os.path.realpath.__code__.co_filename (scripts/common/Lib/ntpath.py) 2024-02-28 12:09:38.342: ERROR: 0.00s - is not absolute, which may make the debugger miss breakpoints. 2024-02-28 12:09:38.342: ERROR: 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. 2024-02-28 12:09:38.352: ERROR: Traceback (most recent call last): 2024-02-28 12:09:38.352: ERROR: File "bwpydevd.py", line 97, in startPyDevD 2024-02-28 12:09:38.352: ERROR: File "C:/Users/user/Desktop/wot-offline-server-git/0.9.22.0.1_#788/res_mods/0.9.22.0.1/scripts/common/pydev/pycharm/pydev\pydevd.py", line 46, in <module> 2024-02-28 12:09:38.353: ERROR: from _pydevd_bundle import pydevd_utils 2024-02-28 12:09:38.353: ERROR: File "C:/Users/user/Desktop/wot-offline-server-git/0.9.22.0.1_#788/res_mods/0.9.22.0.1/scripts/common/pydev/pycharm/pydev\_pydevd_bundle\pydevd_utils.py", line 9, in <module> 2024-02-28 12:09:38.353: ERROR: import ctypes 2024-02-28 12:09:38.353: ERROR: File "C:\Python27\lib\ctypes\__init__.py", line 7, in <module> 2024-02-28 12:09:38.353: ERROR: from _ctypes import Union, Structure, Array 2024-02-28 12:09:38.353: ERROR: ImportError: No module named _ctypes 2024-02-28 12:09:38.353: ERROR: bwpydevd.py(104) : startPyDevD: Failed to load pydevd: ImportError('No module named _ctypes',) My version of 2.7 is the most recent, from April 20th, 2020. What could be causing this? How to fix?
  4. Yes that is the file. It is for 0.9.22.0.1. You will need to download and build modslistapi 1.1.0 for it to work. There is a tiny bit wrong with the code in that mod as well. Check the issues in the github repo, I will post updates there. tl;dr yes is based on izebergs work. not sure why he took it down but the license file allows me to modify and distro it. edit: i have a working version compiled. just trying to get pydev to work with 0.9.22 =p
  5. i have a slightly modified version of 1.0.4.2 on my pc. would this help? old thread i know (sorry, i do not speak russian)
  6. what would be the best way/pipeline to create a mod like https://wgmods.net/4699/ but for more tanks? currently that one works perfectly but crashes in game sadly. would also love to know why or how to fix it (.log wasnt much help)
  7. can anyone seed 0.8.2? im seeding 0.8.2 currently. i also managed to get the debug server working as well. just compile the game scripts with python 2.6, and the client.py with 2.7 and you can use autocomplete functions as well.
  8. Getting this error in JIT compiler as well as trying to recompile the space. I unpacked all XML using PJO. ========== Processing Directory: F:/backup/UE/res/spaces/ ========== 1> F:/backup/UE/res/spaces/hmhm/environments/B699F57C-47F95593-326B91BA-2FD16D8D/skydome/skybox.primitives 1> ERROR: Unable to find source format definition: BPVTxyznuvtb in file: F:/backup/UE/res/spaces/hmhm/environments/B699F57C-47F95593-326B91BA-2FD16D8D/skydome/skybox.primitives/vertices 1> ERROR: FAILED: Errors creating dependencies
  9. yeah i think im just over complicating it
  10. def blowfish_decrypt(INPUT, BLOWFISH_KEY): blowfish_ecb = Blowfish.new(BLOWFISH_KEY, Blowfish.MODE_ECB) decrypted_data = blowfish_ecb.decrypt(INPUT) print(f'[BASEAPP_DECRYPTED] Got {decrypted_data.hex()}') return decrypted_data this?
  11. i also should add that when logging in, it works fine. same methods are used. so forget about the RSA encryption
  12. basically i'm trying to make a mock baseapp for an offline server and for some unknown reason, i'm getting a decrypting error after the client logs in and is communicating with said BaseApp. File "C:\Python39\lib\site-packages\Crypto\Cipher\PKCS1_OAEP.py", line 167, in decrypt raise ValueError("Ciphertext with incorrect length.") client is sending this: b'\x01\x00\x00\x08\x00BW\x01\x00\x00\x00\xbe\xbe\xbe\xbe\x00\x00\x00\x00\x02\x00' keys match; not the problem. while True: readable, writeable, exceptional = select.select(sockets, empty, empty) for sock in readable: data, addr = sock.recvfrom(5000) if sock.getsockname()[1] == 20015: data_cut = data[15:-2] packet_decoded = decrypt_priv(privkey, data_cut)
  13. would anyone know by chance, what is influencing the data that is being sent to the baseapp? its sending invalid data because it doesnt match the correct ciphertext length for the private key, which is 2048
  14. how did you get this to work? i tried with CentOS but all the yum repositories are no longer available.
  15. I've tried using this mod, to no avail. Also, your post above just states which particles/effects should be made, not the sequence :/ sadly
  16. I've attached a screenshot above of what I was able to accomplish in around 15 or so minutes. I tested it out in a battle and they do work fully. Not the fake lights WG put on that E-50M style, but ones that can also illuminate other tanks too. I achieved this thru Unified Editor's built in sequencing tool for models and animation. This also opens the door to be able to animate things such as exhaust fans on tanks rotating, etc etc. Also does anyone know how they made the style work for the WZ QL so that it plays a sequence when the gun fires?
  17. How would I create my own 3D style, for say the KV-85? With sequences and all, but change the base model of the tank to include my .seq file. That's what I need to know how to do, how to include a sequence into the default tank model.
  18. does anyone know where/how the game renders track traces from tanks? was trying to change them slightly if possible.
  19. i would love to implement some basic physics but need the mod to download. been tinkering with the built in one in WE Lite
  20. world editor lite comes with basic terrain physics implemented so devs could drive around the maps. idk what the prob here is lol
  21. okay this is probably because i'm totally not fluent in python, but when i'm trying to override the __init__ function from Account.PlayerAccount (https://github.com/StranikS-Scan/WorldOfTanks-Decompiled/blob/1.11.1/source/res/scripts/client/Account.py#L118) I seem to have to call baseFunc(baseSelf) first before actually changing anything, like baseSelf.name = 'dev' (ingame this reflects). HOWEVER, I'm specifically trying to change baseSelf.initialServerSettings (or baseSelf.serverSettings, but serverSettings gets copied from initialServerSettings so same thing) but when I do so, i get a buncha annoying attribute errors from the original init. i took a copy of the client's original server settings and saved them and then just changed some values to mess around and that seems to be no-no. can anyone help? this seems to do nothing. but yet my in-game name is now 'dev' so it does* work(?) @override(Account.PlayerAccount, '__init__') def Account_init(baseFunc, baseSelf): baseFunc(baseSelf) baseSelf.name = 'dev' baseSelf.initialServerSettings = OFFLINE_INITIAL_SERVER_SETTINGS _initialServerSettings.py
×
×
  • Create New...