Jump to content
Korean Random


  • Posts

  • Joined

  • Last visited

  • Days Won


blueferret last won the day on August 28 2023

blueferret had the most liked content!


13 Noob


Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  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 ( 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/\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/\_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 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 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
  • Create New...