Jump to content

lime

Active Member
  • Posts

    60
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by lime

  1. Hi! So... I've been working on something, downloaded internet serverfile, of course, and I've been building it the binary only in Release Win32 mode. After one and a half month, I've decided that I should start debugging it, because the client is crashing sometimes when I'm launching it. Wrong move. I can't build it in Debug mode. As you can see in the photo, these are the errors that I've come up to. Did some research, found that the problem comes from the topic down below. Here's my screenshot. spacer.png

    Spoiler

     

     

    Some steps forward, I've found this

     xz5DUte.png

    Set 

    DEBUG_MODE = True

    like this

    4Xza7d5.png

    and I was expecting to pop a console after cythonizing & rebuilding the source in RELEASE(which works, ofc)

    But nothing happens, i can't see the console.

    LE:
    I found debugInfo.py, changed like this

     Y8Tey4r.png 
    and i can't still make that console pop. (im still building in release mode)

  2. Just now, Mali said:

    If you are beginner, don't use this

    I am not gonna do it, but i am really sick of switch VM's just because i have to compile on one, and run the server on another, hamachi doesn't allow internet connection, etc etc etc. This option should, somehow, fix my problem, compiling the game/db source on VS19 then uploading it and restarting the server. I've tried replacing files, folder by folder, but i ran into another problems which should not be discussed in this topic. 

    On topic, really cool and you are helping this community a lot 🙂 Keep up the good work! Maybe I am not made to be good at this, i don't know... I'm just sad. 

    • Metin2 Dev 1
  3. On 9/15/2021 at 1:02 PM, martysama0134 said:

    The black screen was mostly caused by two major bugs:

    1. The granny controller freezing the process for n seconds until you get dc'd from the game
      1. You can test it by:
      2. Spawning tons of monsters
      3. Minimize the client for 30 - 40 minutes
      4. Maximizing the window again (it will freeze exactly at this point)
    2. The EffectManager not destroying the expired effects while the window was minimized, which caused all the executed effects to stack up and be run all at once after maximizing the window again
      1. You can test this bug very easily:
      2. Spawn tons Flame Ghosts and minimize the window
        1. /ma "Flame Ghost" 100
        2. /cannot_dead

    I wasn't sure how to solve the 1st one, but for the 2nd one you can fix it in one of these ways:

     

    151605UCH22zd.png

    1st Way) refresh only once every 256 frames = 4-6 seconds depending on the lag

     

    1516050B26Z93.png

    2nd Way) effect manager refresh for every frame

     

    151605kBI2BOi.png

    3rd Way) move the update from RenderGame to UpdateGame (it may not be called if skipFrame=true on ::Process)

    I've tried the 2nd way and it makes my Aura Sword flicker, is it normal?

    • Good 1
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.