Jump to content

Asgarath83

Members
  • Posts

    2,023
  • Joined

  • Last visited

Posts posted by Asgarath83

  1. I can't more log on Discord web with my computer on any browser (yes, windows XP trouble, okay)

    On 7 April, Discord will delete my account for inactivity. 

    But recently i get a smartphone, and at least i can use updated browsers on it. I installed the discord APP on my smartphone but i not know how to heck logging in to discord to jkhub.

    also if i put my email \ username and password into the discord log in bar, it send me to the download app page, or point me to the "verify you are not a robot". i do the check in but not log in cause i am logged from "another device, sending email verification..." where???

    Because this email verification not appear in anyone of my email boxes. -.- 

    so, i can't log in more.

    if this will not be fixed, i will be forced to ask to some users to talk into Telegram. 

    Thanks for Understanding me. 

     

     

     

     

     

    Smoo likes this
  2. On 12/4/2023 at 6:44 PM, Circa said:

    Technically not true, I've experimented with Telegram a bit and they have a group feature that lets you have multiple channels just like Discord (just a lot more simple). I created one out  of curiosity and as a potential backup of a backup in case anything happened to Discord.

    I'm shocked that Telegram even works on XP, I wonder how long that will last. Unfortunately the JK community is already fragmented too much as it is, I would only want to promote a Telegram if Discord went away or people started to leave it for whatever reason.

    Yes, i understand. no problem. 🙂

  3. My Discord problem is related to XP Browsers retrocompatibility (Telegram works again on XP)
    .(and please, not blame again cause i use XP and  i am stuck on XP , cause my personal motiviation are not much good to explain without talk of a personal dramatic situation.

    i can use: 

    - Firefox, updated, not open discord desktops.
    - Chrome, updated, not open the page.

    - Chrome360: log in work but ask captchas stuff and not bot verification "verify you are not a bot" and sadly i can't complete the cheking. maybe cause browser not support properly the page scripts. 
    - Mypal68: the log in work but it's looping loading the desktop app. 

    So that' all... 

    If you know some other browser to try... but honestly i tried all XP compatible browsers. 

     

     

  4. On 6/28/2020 at 10:31 AM, CrazyJedi said:

    Hello, I'm new to forum. I love playing Jedi Knight games. I'm also 3d artist, I have my own story ideas and I want to create own game and release on Steam. But I'm not programmer so I was looking for ready engine with good fight system.

    If OpenJK is open-source, can I use engine for my game (replace models, textures, sounds etc.)?

    I read that engine was open-sourced by Lucasfilm, but I read also that they deleted code, and engine is available because fans save it.

    PS. Sorry for bad English.

    i have the same your dreams and i am into the same situation. also most trigged cause i need to make some kind of action RPG , so i need to add a lot of code for adding RPG stuff features.

    You need to replace ALL Star Wars Asset and not sure that something can be really replaced.

    on Openjk source code, (not original JK source code realesed into 2013), the copyrighted stuff chunk of code shoul be removed, and it's on GPL. if you want do that, you can do at your risk, but guys are right, be careful about disney.

    rename and remove from code ALL star wars calling, all Star Wars referecens about lightsaber, weapons, force powers, etc for be more safe.

    (so for example, calle WP_SABER inrto another way, and FP_DRAIN into another way, and rename the AI stuff related to star wars creatures.

    only for this you need to rename and search a TONS of networked functions and this require a lot of preliminar job, there also a lot of limitations of gameplay and engine that avoid you to make HD stuff. (npc limit, vertex limits of models, Shader limits, weapon number limitation, force power limitation). you need AT LEAST to write new libs like .SAB files that allow you to customize weapons and spells stuff, so you can add new weaposn and force power as you wish. the more close things in that way that nicely improve the engine is the JKG jedi knight galaxy project, but it's only for multiplayer arena deathmatch.

     

     

    PS: however, if you change in code all star wars referecenes and replace all SW assets you should be relatevely safe if you not use that for do cash or money. so some kind of free game.

    at least this is about how to works copyright here on Italy, but on UK and USA country things can be much more restrictive and complicated.

    on my country depend. in the north region copyright have a lot of importance. on south regions is "no one look no one care". consider that latin countries laws about author rights are a lot different respect to UK \ USA laws . latin countries should be little more open about these things, but not sure. talk with a lawyer of your place or a trusted lawyer of your family before do anything.

    i already got 3 legal opinions for my own, and i should be okay, but, as i told, on my country things works little different.

  5. On 9/6/2022 at 9:34 AM, Annoxiouse said:

    Hey, 

    thanks to mrwonko I was able to export all maps as .fbx.
     

    Now I’m looking for a way to quickly see what texture is assigned to a brush.


    Currently I’m using  NetRadiant and  I don’t find the shortcut or way to click on a brush face and auto select the assigned  Texture. I’m sure  that is possible.
    If you know how it works in GtkRadiant or any other Radiant please let me know.
    That would be a real time saver.

    Thanks a lots, Cheers
    Annoxiouse

    yes, is pretty long by default cause you need to

    - select  a brush

    - select the face enabled

    - select the desired face

    - press S (surface ispector) e finally you can see the brush texture name and alignment.

    control+s or shift+s enable surface ispector on Patches, if you need to fix the textures more accurate that with the brush surface ispector

  6. 2 hours ago, Librarian said:

    Hey @Asgarath83thanks for your interest, sure I will recheck in a way that you mentioned, visual studio does much better than notepad++. So far I ended up again in cg_draw.cpp. It uses few real numbers but I think its to define color scale. I still cannot find and reference to fe. difficulty level which is a key player in setting this value to 1 or 0. My assumption altough not sure if it makes any sense is that difficulty might be hidden somewhere in map files But that's maybe my lack of experience, I am not a coder so I might not get the logic of it. Anyway I will try whatever I find a moment to dig deeper. I am open for any other suggestions you may have.

    why not check all code calls of g_spskill cvar ? there is something that deactivate into the code the use of crosshair force hint if difficult level is > of some value.

  7. On 3/20/2022 at 1:03 AM, Librarian said:

    Hello everybody

    I may have pretty generic problem regarding OpenJK, however it's causing me a problem 2nd night in a row. I would like to set cg_crosshairForceHint to permanent value of "1",so blue indicator over crosshair stay no matter which difficulty player has chosen, no matter which save it has ben loaded afterwards etc.

    Right now I am lost in where to look for a place where this value have been modified or even initially declared. I had few build attempts already but did not succeed. Can you help?

    If there is any curiosity why I might need that is that, well I took today lack of this force hint as a bug, but then I realized at Jedi Master level there are no forcehint active. If I come back to my build after a year or two I don't want to get surprised again 🙂

     

    you should search the cvar

    "cg_crosshairForceHint" into the code and go undo with reverse engeneering for see the chunks of code involved on it.

    use "go to definition" and "find all references" of visual studio for find all code places when the cvar is called and configurated.

    i not know where is called the shader used for forceusable objects when you pass the crosshair on them, but crosshairs colors i guess should be into cg_draw.cpp or cg_player.cpp or some place like that.

    sure they are set into the cgame folder.

     

  8. Well Well...

    Making a Character:

    - MakeHuman for shape the body.

    - For Clothes... again i not found a solution, i guess i will do some kind of asset on 3d max about it by kitbashing various models... some stuff is on 3d warehouse.

    -------------------------------Making a MD3 \ 3D Models Assets, Weapons, ETC :

    Open Game Art, 3DWAREHOUSE for get stuff, sites of free textures for get textures, choose ever CC0 or CCBY stuff low poly.

    Blender for assign material and compile MD3 (cause of batch functions for copy md3shader parameters tons of time)

    +

    MAX 10, Q3ME Of Ashura for Get autoclip collision stuff.

    --------------------------- Making a Map ---------------------------

    Old tools:

    - Easygen for make terrains / GM terrains

    New Tools:

    - Alternative: Ashura Q3ME for make terrains, most fast, most accurate.

    Walls and brushes:

    SweetHome3D for fastly draw the walls architectures

    Q3ME and 3DMAX for convert to MAP format the prefab map structure

    GTK RADIANT CUSTOM of MJT for build the map, adding MD3 with autocollision (no more pain work for draw manually collision on 3d max, collision of MD3 is generated during map building)

     

    -------------------------------------------------

    VISUAL EFFECTS:

    EffectEd

    SHADERS, NPC file, Sabers data, weapons data, weapons customization:

    ------------------------ Scripts and Strings

    Scripting Icarus: Behaved and Dehaved.

    notepad for edit *.NPC., *.SAB, *.GUN file (weapon customization lib added with coding, WIP unreleased, unfinished)

    ------------------------------------ Audio wav, MP3. ----------------------

    Goldwave, Audacity for edit

    Morphvox for edit voice tracks and change timber of voice. 

    ---------------------------------------------------------------------------

    CODING

    Openjk + VISUAL STUDIO, Cmake, Notepad++

    ----------------------------------------

     

     

     

     

     

     

     

  9. That's right. Is possible to easy use JK2 models into JKA.

    but the inverse operation require re-rig the JKA model with JK2 skeleton.

    if i remember fine, Jka skeleton have 53 bones, JKO skeleton 72 bones.

    I agree to wonko and canseco that a script that make autoconversion should be the best way to solve the problem. fix it manually can be a lot tedious.

    (re-rig model, or manually add missing bones and do hierarchy and eventually rig of it)

     

     

  10. 2 hours ago, Linken said:

    There is no target_counter entity, the entity is:

    {
    "npc_target" "swoop1"
    "targetname" "swoop1"
    "count" "-1"
    "delay" "5"
    "alliedTeam" "2"
    "classname" "NPC_Vehicle"
    "origin" "432 -1039 -206"
    "NPC_type" "snow-speeder-tfp"
    "angle" "45"
    "teamowner" "2"
    }

    The NPC_target is targetting its own spawner so whenever the vehicle is destroyed it respawns. There is a "delay" key in the entity, but as far as I can tell, this means nothing, at least in Single Player.

    What the hell!!! a... a NPC entity spawner that bounce into itself! O.o

    sure a very fast and direct way but it can be the motivation for crash, the easy way to fix that should be to edit the map for use a target_counter -> target_scriptrunner that lead to a script with

    wait 1000

    "use Swoop"

     

    commands and see what it happens, there is sufficente debounce time for avoid a CRC error and for allow engine to free entity.

    also if is added delay 1000 to target_counter or to scriptrunner for increase the debounce time.

    but it require or entity modding, or original MAP file.

    if it crash again, should be very hard to fix with code hacking.

    or at least i am not sure exactly of how do it.

     

     

     

     

  11. 12 minutes ago, Linken said:

    Basically the map entity is given an NPC_target and targetname value which are set to the exact same value. When the NPC (or in this case Vehicle) is killed, the NPC_target is fired and looks for the entity with the same targetname (in this case itself). Since the NPC_target and targetname are the same, the vehicle will respawn itself after being destroyed. Since vehicles tend to delay a little bit before being destroyed and freed from memory, there is no issue when a vehicle or NPC is killed by a weapon rather than the environment.

    so is a problem of missing delay...

    i wondering if that could be fixed with entity modding adding a lot of delay to the target_counter or whatever entity is used for respawn infinite vehicles. 

     

     

    I guess i need to decompile the Map and to check directly how entities works. i need specific informations.

  12. 1 hour ago, Linken said:

    @Asgarath83 So I attempted your fix and unfortunately it did not work. The error is from the game attempting to access the destroyed vehicle which has already been destroyed and freed from memory. In the if statement:

    if (pm->gent->client &&
                pm->gent->client->NPC_class == CLASS_VEHICLE &&
                trace.plane.normal[2]<pm->gent->m_pVehicle->m_pVehicleInfo->maxSlope
                )
            {
                pm->ps->pm_flags |= PMF_BUMPED; // <- FLAG ENABLED.
            }

    The exception is thrown when attempting to read "pm->gent->client->NPC_class == CLASS_VEHICLE" since the vehicle has already been removed from memory. A Read Access Violation.

    So, is not the flag that create the damage, but the fact that there is some worst that happened with target counter set to -1.

    so basically it ask to engine "spawn again the vehicle" but the vehicle is removed from memory, so engine try to spawn but not find ...  nothing!

    i need to check when i can do how work the target_counter code related to vehicle spawning at this point. it's clear that if is not related to the flag BUMPED, the problem is into the code of target_counter, target_scriptrunner, Usescript, whatever is used by engine for spawn the vehicle!

    So need to be checked the icarus code, i guess and the gtk radiant code.

    icarus is set into Q3_Interface.cpp and Q3_interface.h.

    Is there is a script that is runned by the spawner of snowspeeders?

    HOW they are spawned and respawned into these maps? how this works into the map structure? you need to analyze that and do a reverse engeneering job for find the issue.

    consider however that VH_FIGHTER code are VERY messy and incomplete (the reason cause i tried to create a new code working with AI npc and player vector movement, instead of use Vehicle code) probably the problem is about the VH_FIGHTER, try first off to edit the snowspeeder entity into a VH_SWOOP into VEH files of map and see if this cause again the crash.

    VH_FIGHTER code is buggy, incomplete and very messy. so i not surprise it crash for every stupid run access violation of memory bias etc.

     

     

     

     

     

  13. Okay, i examinated the code and i found something very interesting about how this things works into engine:

    basically there is a flag, like EF_BOUNCE, EF_BOUNCE_SHRAPNEL, EF_BOUNCE_HALF etc, that when is enabled create some special movements features with game vectors.

    the bounce and bounce shrapnel are related to the bouncing physic used by bouncing projectiles, flechette shrapnel main fire and flechette alt fire / thermal detonator.

    when on my code i tried to edit stuff with these things i EVER add crashes and exceptions. and they going me mad and crazy for YEARS until i understand . i never really fixed it, i just bypassed the problemes editing the code. i rewrote avoiding the flag on / off feature (basically act like a boolean : on \ off true \ false, so instead of do a silly round of functions with some weird cycle it execute directly the instruction for edit the vectors without use Flags.

    flags code of the engine is very sensitive and unstable for my experience.

     

    about this case:

    bg_public.h

    #define PMF_BUMPED            (1<<17)//131072    // Bumped into something

    this is the flag. his marked to the 17th bit field (each flag can contain 32 bit values)

    //////////////////////////////////////////////////////////////////////////
    // pmove->pm_flags
    #define    PMF_DUCKED            (1<<0)//1
    #define    PMF_JUMP_HELD        (1<<1)//2
    #define    PMF_JUMPING            (1<<2)//4        // yes, I really am in a jump -- Mike, you may want to come up with something better here since this is really a temp fix.
    #define    PMF_BACKWARDS_JUMP    (1<<3)//8        // go into backwards land
    #define    PMF_BACKWARDS_RUN    (1<<4)//16        // coast down to backwards run
    #define    PMF_TIME_LAND        (1<<5)//32        // pm_time is time before rejump
    #define    PMF_TIME_KNOCKBACK    (1<<6)//64        // pm_time is an air-accelerate only time
    #define    PMF_TIME_NOFRICTION    (1<<7)//128        // pm_time is a no-friction time
    #define    PMF_TIME_WATERJUMP    (1<<8)//256        // pm_time is waterjump
    #define    PMF_RESPAWNED        (1<<9)//512        // clear after attack and jump buttons come up
    #define    PMF_USEFORCE_HELD    (1<<10)//1024    // for debouncing the button
    #define PMF_JUMP_DUCKED        (1<<11)//2048    // viewheight changes in mid-air
    #define PMF_TRIGGER_PUSHED    (1<<12)//4096    // pushed by a trigger_push or other such thing - cannot force jump and will not take impact damage
    #define PMF_STUCK_TO_WALL    (1<<13)//8192    // grabbing a wall
    #define PMF_SLOW_MO_FALL    (1<<14)//16384    // Fall slower until hit ground
    #define    PMF_ATTACK_HELD        (1<<15)//32768    // Holding down the attack button
    #define    PMF_ALT_ATTACK_HELD    (1<<16)//65536    // Holding down the alt-attack button
    #define PMF_BUMPED            (1<<17)//131072    // Bumped into something
    #define PMF_FORCE_FOCUS_HELD    (1<<18)//262144    // Holding down the saberthrow/kick button
    #define PMF_FIX_MINS        (1<<19)//524288    // Mins raised for dual forward jump, fix them
    #define    PMF_ALL_TIMES    (PMF_TIME_WATERJUMP|PMF_TIME_LAND|PMF_TIME_KNOCKBACK|PMF_TIME_NOFRICTION)

    ////////////////////////////////////////////////////////////////////////////

     

    THEN here is how it works:

    BG_Slidermove.cpp

    function:

    /////////////////////////////////////////////////////////////////////////////////

    qboolean    PM_SlideMove( float gravMod ) {
        int            bumpcount, numbumps;
        vec3_t        dir;
        float        d;
        int            numplanes;
        vec3_t        normal, planes[MAX_CLIP_PLANES];
        vec3_t        primal_velocity;
        vec3_t        clipVelocity;
        int            i, j, k;
        trace_t    trace;
        vec3_t        end;
        float        time_left;
        float        into;
        vec3_t        endVelocity;
        vec3_t        endClipVelocity;
        qboolean    damageSelf = qtrue;
        int            slideMoveContents = pm->tracemask;

    ////////////////////////////////////////////////////////////////////////

    This function bumps the vehicles when slide against a wall. obvious.

    when this happens, it enabled the flag here:

    if (pm->gent->client &&
                pm->gent->client->NPC_class == CLASS_VEHICLE &&
                trace.plane.normal[2]<pm->gent->m_pVehicle->m_pVehicleInfo->maxSlope
                )
            {
                pm->ps->pm_flags |= PMF_BUMPED; // <- FLAG ENABLED.
            }

    //////////////////////////////////////////////////////////////////////////////////////

    now, into the code, there are 2 other points of interest

    1: - when flags is turned off (so is edit is deactivated)

    2 - when flags is executed, so what happens when PMF_BUMPED is active.

    case 1: flag is deactivated when into Pmove main function (player movevement, the LARGE and BIG function that code ALL player movements! swim, fly, run, etc! )

    every time pmove run, flag is turned out.

    ////////////////////////////////

    // Clear the blocked flag
        //pm->ps->pm_flags &= ~PMF_BLOCKED;
        pm->ps->pm_flags &= ~PMF_BUMPED;

    /////////////////////////////

     

    NOW the chunk of code about when PMF_BUMPED is used:

    is used into

    bg_pmove

    static void PM_airmove (void)

    so, the function that control the movement of entities into air. (so flight, hovering i guess?)

     

    and this is what happen when is executed:

    ///////////////////////////////////////////////////////////////////

    if (pVeh && pm->ps->pm_flags&PMF_BUMPED)
        {

    /*
            // Turn Vehicle In Direction Of Collision
            //----------------------------------------
            vec3_t    nAngles;
             vectoangles(pm->ps->velocity, nAngles);
            nAngles[0] = pVeh->m_pParentEntity->client->ps.viewangles[0];
            nAngles[2] = pVeh->m_pParentEntity->client->ps.viewangles[2];

            // toggle the teleport bit so the client knows to not lerp
            player->client->ps.eFlags ^= EF_TELEPORT_BIT;

            // set angles
            SetClientViewAngle( pVeh->m_pParentEntity, nAngles );
            if (pVeh->m_pPilot)
            {
                SetClientViewAngle( pVeh->m_pPilot, nAngles );
             }

            VectorCopy(nAngles, pVeh->m_vPrevOrientation);
            VectorCopy(nAngles, pVeh->m_vOrientation);
            pVeh->m_vAngularVelocity = 0.0f;
    */

            // Reduce "Bounce Up Wall" Velocity
            //----------------------------------
             if (pm->ps->velocity[2]>0)
            {
                pm->ps->velocity[2] *= 0.1f;
            }
        }
    }

     

     

    ///////////////////////////////////////////////////////////////////////

     

    as you can Most part of this chunk is Deactivated by /*  */

    one of the thousand of code parts when developers wrote "foxil code" that deactivated and in game is not running, ever is still present.

    so is executed ONLY this line:

     // Reduce "Bounce Up Wall" Velocity
            //----------------------------------
             if (pm->ps->velocity[2]>0)
            {
                pm->ps->velocity[2] *= 0.1f;
            }

     

    So, basically, what it create the crash, should be the reduction of velocity of entity when bounce a wall into some circustances.

    so the solution i suggest should be to

    1 - deactivate this:

    /*

     // Reduce "Bounce Up Wall" Velocity
            //----------------------------------
             if (pm->ps->velocity[2]>0)
            {
                pm->ps->velocity[2] *= 0.1f;
            }

    */

    and see what happens and if crash again.

    if this is the reason of crash, it should be possible to fix running

    this feature when is played on  qboolean    PM_SlideMove

    so something like:

    ////////////////////////////////////////////////////////////////

    if (pm->gent->client &&
                pm->gent->client->NPC_class == CLASS_VEHICLE &&
                trace.plane.normal[2]<pm->gent->m_pVehicle->m_pVehicleInfo->maxSlope
                )
            {
                // pm->ps->pm_flags |= PMF_BUMPED;

                     if (pm->ps->velocity[2]>0)
                  {
                      pm->ps->velocity[2] *= 0.1f;
                  }

            }

     

    //////////////////////////////

    So it avoid and bypass to call dangerous flags like PMF_BUMPED and to silly workaround with ping-pong between functions.

    I hope this work, but i not know. can you try or i need to do by myself? :)

     

    (i fixed EF_BOUNCE BOUNCE_HALF crashes using this method into weapon code recently, working for doing a lib like .SAB file for free customize the guns. i added a tons of variables for customize the ballistic of projectiles. it was very hard but they works without crashes )

     

     

     

     

     

     

     

     

     

  14. 39 minutes ago, Linken said:

    Sorry I should've been more specific, the specific point where it crashes is at "pm->gent->client->NPC_class == CLASS_VEHICLE"

    thanks, is a start point. 🙂

    but i told you that i never worked much with vehicles code, so i not guarantee that i can fix the bug. also cause is a very strange and foolish bug.

    openjk is born with purpouse to clean bugs from original engine. if you find a new bug, really, you should ask to openjk stuff to fix it asap.

    i see what how can i do, but i am not doing promises.

     

     

  15. 1 hour ago, Linken said:

    I can understand what you mean, though looking back on prior commits, I'm not seeing any edits to the code that would've screwed with Pmove.

    The favorite place for the code to crash is actually this if statement here (sorry I can't post a screenshot):

            if (pm->gent->client &&
                pm->gent->client->NPC_class == CLASS_VEHICLE &&
                trace.plane.normal[2]<pm->gent->m_pVehicle->m_pVehicleInfo->maxSlope
                )
            {
                pm->ps->pm_flags |= PMF_BUMPED;
            } 

     

    This is located on Line 202 in code\game\bg_slidemove.cpp.

    It's interesting that you mentioned regular OpenJK, because out of curiosity I attempted to replicate the bug there, drove a respawning swoop into a wall and crashed, and the game did crash. I just now attempted normal JKA and it crashed as well.

    If you want to try it, I made a few edits to the Coruscant Speedway map for Galactic Legacy to stop an infinite swoop respawning bug, the link is here (will only work on OpenJK unless you can compile entity files): https://drive.google.com/file/d/11n547dbW2fgfHacW7kZQZvNubx5KBf13/view?usp=sharing

    I also got pretty consistent crashing on the Battle for Hoth map when crashing a snowspeeder into a wall. Here are the links, again taken from the SWGL files and editted down to work in base JKA.

    https://drive.google.com/file/d/1oX3tu7tVcQfeLPkRQHxUclOpvD1--X5R/view?usp=sharing

    https://drive.google.com/file/d/1zbnWfYYPp1Cn-1utqxL2wRCmZusGguOK/view?usp=sharing

     

     

     

    Damn, that's is pretty nasty. it means that you have found a rare glitch and bug of original game engine!

    so, infinite swoop spawns are instables when they hit a wall and slide on wall.. that's is very interesting and incredible glitch.

    Congratulations for your sharp eye sight.

    you should talk about this to openjk developeers team stuff and segnalate the incredibile issue and pull a request on git about some way to fix the bug.

    I will try this stuff when i have a lot of time. i need to repay your for bypass 32 bit limit field of weapons, remember?

    but i not know if i am so skilled to fix this stupid crash. it will require a lot of time for manage it.

    thanks however for pointed me the lines that are responsable of this silly behavour of engine.

    HINT:

    try to check ALL the code parts whre is called the flag PMF_BUMPED. maybe there is some strange connections with spawners entities. 

    the issues should be mostly that, or the "if statement itself" i can't be sure without testing it. it will require times. :3

    i'll let you know if i 'll do some progress.

    pm->ps->pm_flags |= PMF_BUMPED;

     

    Into the way, signal this to openjk stuff. is a really interesting bug that need to be investigated.

     

  16. Apparently seems okay.

    but the issue is caused by pmove.

    two questions:

    1 - name of the functions when it happens?

    2 - is default ja code, or a mod code?

    Never had this problem on my openjk, my personal code edits, or  vanilla original code or other mod codes (also if on my machine run only eezstreet gunslinger) .

    if is a edited code, i should suppose is caused by unpredictable effects.

    i means, there is some kind of entropy into a game code.

    each time that you edit something, it will can have unpredictables effect or create bugs.

    when you do a code edit, checks ever carefully with "find all references" all the code chunks when is called the functions and also the subfunctions that are inside it, so, if happens a bug or crash, you have a start point to fix it.

    you can try to do try and error deactivating the chunks of code line that you guess to cause the crash for better identify it.

    for example, try the function with the pmove line deactivated

    you can use

    // before the line for deactivate his code reading.

    othersiwe you can put code chunk between

    /* */

    i never had  a good debugging on my machine, so for fix crash mostly i go with try and error with this sytem until i find the issue.

    a good debugging help very much to avoid time consuming to locate the issue.

    but if you have crash with unknown causes, using this method can give you an help for find the chunks or code, or the function calls that cause the issue.

     

     

     

     

     

     

×
×
  • Create New...