It is currently Tue Oct 23, 2018 10:19 am




Post new topic Reply to topic  [ 24 posts ]  Go to page 1, 2  Next
UnrealEd constantly crashing during package editing 
Author Message
Thug

Joined: Wed Apr 06, 2016 12:43 am
Posts: 15
Post UnrealEd constantly crashing during package editing
I'm attempting to test a new mod, and I've been trying to import a modified version of "DeusExPlayer.uc", just to make sure that I'm doing everything right. Unfortunately, it would seem that I'm *not* doing something right, because all my attempts to load this file in the editor keep giving me a "General Protection Fault" message.

Is there another way to modify the "DeusExPlayer" script directly (through another editor, perhaps), so that I can continue with my testing?


Sun Aug 14, 2016 12:56 am
Profile
Illuminati

Joined: Thu Mar 08, 2012 3:21 am
Posts: 2283
Post Re: UnrealEd constantly crashing during package editing
Click the "export all" button in the unreal editor actor browser, edit DeusExPlayer.uc in notepad or WOTGreal, then recompile the whole DeusEx.u with UCC.exe. There's guides for this, search "Tacks Deus Ex Lab" for one.

_________________
GMDX: Advancement Mod


Sun Aug 14, 2016 2:14 am
Profile
Thug

Joined: Wed Apr 06, 2016 12:43 am
Posts: 15
Post Re: UnrealEd constantly crashing during package editing
Nope, not working. Removed the original "DeusEx.u" file from the System folder and used "ucc make", and the command prompt *still* won't create a new "DeusEx.u" file. All that happens is that I get a message saying "0 error(s), 0 warnings", and no new file.

Is there absolutely no other way at all for me to alter the code in the "DeusEx.u" package, or am I just stuck?


Mon Aug 15, 2016 3:39 am
Profile
Illuminati

Joined: Thu Mar 08, 2012 3:21 am
Posts: 2283
Post Re: UnrealEd constantly crashing during package editing
Do you have any other DeusEx.u's in your DeusExDirectory (e.g GMDX or HDTP' DeusEx.u)? They will need to be deleted or temporarily moved elsewhere.

_________________
GMDX: Advancement Mod


Mon Aug 15, 2016 4:07 am
Profile
Thug

Joined: Wed Apr 06, 2016 12:43 am
Posts: 15
Post Re: UnrealEd constantly crashing during package editing
No, that doesn't seem to be the issue. On that note, I'd already tried testing the usage of a modified DeusExPlayer in GMDX (a testing phase to see how modifying separate packages is supposed to work), and kept getting the same annoying "can't find sound 'bouncemetal'" error from the compiler.


Fri Aug 19, 2016 12:12 pm
Profile
Illuminati

Joined: Thu Mar 08, 2012 3:21 am
Posts: 2283
Post Re: UnrealEd constantly crashing during package editing
GMDX's DeusEx.u references files in a bunch of new packages. Copy-paste every .u file in DeusEx\GMDX\System into DeusEx\System, except for the DeusEx.u file ofc. Do the same for HDTP's .u files, again except its DeusEx.u.

_________________
GMDX: Advancement Mod


Fri Aug 19, 2016 2:57 pm
Profile
Thug

Joined: Wed Apr 06, 2016 12:43 am
Posts: 15
Post Re: UnrealEd constantly crashing during package editing
Happened again.

Error: C:\DeusEx (GMDX)\DeusEx\Classes\DeusExPlayer.uc(11898) : Error, Can't find Sound 'bouncemetal'
Critical: appError called:
Critical: Failed due to errors.

All of the files are in their proper places.....I have no idea why the compiler claims to be unable to find any sounds. :/


Fri Aug 19, 2016 5:55 pm
Profile
Illuminati

Joined: Thu Mar 08, 2012 3:21 am
Posts: 2283
Post Re: UnrealEd constantly crashing during package editing
In DeusEx\System find the DeusEx.ini file and under [Editor.EditorEngine] your EditPackages list should look like this:

EditPackages=Core
EditPackages=Engine
EditPackages=Editor
EditPackages=Fire
EditPackages=IpDrv
EditPackages=UWindow
EditPackages=UBrowser
EditPackages=Extension
EditPackages=DeusExUI
EditPackages=ConSys
EditPackages=DeusExConversations
EditPackages=DeusExSounds
EditPackages=DeusExItems
EditPackages=DeusExDeco
EditPackages=DeusExCharacters
EditPackages=HDTPCharacters
EditPackages=HDTPItems
EditPackages=HDTPDecos
EditPackages=HDTPPapers
EditPackages=HDTPBookOpen
EditPackages=HDTPBookClosed
EditPackages=MPCharacters
EditPackages=DeusExText
EditPackages=IpServer
EditPackages=ShifterEX
EditPackages=GMDXSFX
EditPackages=GMDXUI
EditPackages=DeusEx

Are you the one that wanted to add the Invisible War grab SFX? When I release the source code there will also be a step by step guide for compiling GMDX files + documentation.

_________________
GMDX: Advancement Mod


Fri Aug 19, 2016 9:32 pm
Profile
Thug

Joined: Wed Apr 06, 2016 12:43 am
Posts: 15
Post Re: UnrealEd constantly crashing during package editing
Cybernetic pig wrote:
Are you the one that wanted to add the Invisible War grab SFX?

No, I'm working on a different project.....and at this point, I'm close to wanting to abandon this portion of it. If UED is giving me this much grief with altering someone else's DeusExPlayer file, then I'd hate to think what might happen if I tried anything with the original version.

I'm essentially trying to create my own version of Yukichigai's "combat booster" ability from Shifter. This is achieved through modifying Zyme so that the player can attain a "bullet time" state upon imbibing a vial of the drug. I added a file from Shifter, altered VialCrack, and modified DeusExPlayer in several places throughout the file to make everything similar to what appears in his mod. Then, I started running into numerous errors that didn't even remotely sound like errors in any way whatsoever.

Long story short, this is the latest batch of problems I got from UCC.

Code:
C:\DeusEx (GMDX)\DeusEx\Classes\DeusExPlayer.uc(5022) : Error, '{': Bad command or expression
Failed due to errors.

History: CompileError <- TryCompile <- FScriptCompiler::CompileScript <- (Class DeusEx.DeusExPlayer, Pass 1, Line 5022) <- CompileScripts <- CompileScripts <- CompileScripts <- CompileScripts <- CompileScripts <- CompileScripts <- DoScripts <- UEditorEngine::MakeScripts <- UMakeCommandlet::Main

Exiting due to error

C:\DeusEx (GMDX)\DeusEx\Classes\DeusExPlayer.uc(5272) : Error, 'State' is not allowed here
Failed due to errors.

History: CompileError <- TryCompile <- FScriptCompiler::CompileScript <- (Class DeusEx.DeusExPlayer, Pass 0, Line 5272) <- MakeScript <- MakeScript <- MakeScript <- MakeScript <- MakeScript <- MakeScript <- DoScripts <- UEditorEngine::MakeScripts <- UMakeCommandlet::Main

Exiting due to error

C:\DeusEx (GMDX)\DeusEx\Classes\DeusExPlayer.uc(15008) : Error, Unexpected end of file at end of Class
Failed due to errors.

History: CompileError <- TryCompile <- FScriptCompiler::CompileScript <- (Class DeusEx.DeusExPlayer, Pass 0, Line 15008) <- MakeScript <- MakeScript <- MakeScript <- MakeScript <- MakeScript <- MakeScript <- DoScripts <- UEditorEngine::Make Scripts <- UMakeCommandlet::Main

Exiting due to error

C:\DeusEx (GMDX)\DeusEx\Classes\DeusExPlayer.uc(15007) : Error, End of script encountered inside comment
Failed due to errors.

History: CompileError <- TryCompile <- FScriptCompiler::CompileScript <- (Class DeusEx.DeusExPlayer, Pass 0, Line 15007) <- MakeScript <- MakeScript <- MakeScript <- MakeScript <- MakeScript <- MakeScript <- DoScripts <- UEditorEngine::Make Scripts <- UMakeCommandlet::Main

Exiting due to error


I fix one problem, another one manages to pop up from out of nowhere. If I didn't know any better, I'd think that someone (or something) was actively keeping me from testing a couple of changes. :/


Mon Aug 22, 2016 10:08 am
Profile
Illuminati

Joined: Thu Mar 08, 2012 3:21 am
Posts: 2283
Post Re: UnrealEd constantly crashing during package editing
By the looks of things your code has an error, probably missing a closing/opening bracket somewhere. Have you tried compiling the DeusEx.u without making any changes to it first, to confirm you are good to go?

Quote:
I fix one problem, another one manages to pop up from out of nowhere. If I didn't know any better, I'd think that someone (or something) was actively keeping me from testing a couple of changes. :/


I added a script that detects certain Shifter features and refuses to compile if found :lol:

Just kidding, of course. Just keep at it and we'll get it sorted. Consider posting your code too, if you want me to check for errors.

_________________
GMDX: Advancement Mod


Mon Aug 22, 2016 11:51 am
Profile
Thug

Joined: Wed Apr 06, 2016 12:43 am
Posts: 15
Post Re: UnrealEd constantly crashing during package editing
Cybernetic pig wrote:
By the looks of things your code has an error, probably missing a closing/opening bracket somewhere. Have you tried compiling the DeusEx.u without making any changes to it first, to confirm you are good to go?

Quote:
I fix one problem, another one manages to pop up from out of nowhere. If I didn't know any better, I'd think that someone (or something) was actively keeping me from testing a couple of changes. :/


I added a script that detects certain Shifter features and refuses to compile if found :lol:

Just kidding, of course. Just keep at it and we'll get it sorted. Consider posting your code too, if you want me to check for errors.

Been a little busy this year, but I'm back (for now, I hope). All of the brackets in my code match (as far as I know), so I have no idea as to why compiling is still broken. Unfortunately, the amount of characters in the code itself is nearly six times the posting limit, so I cannot post it. Furthermore, I seem to have caused a bit of an irreversible glitch with the settings on this very message board, and I am unable to access my User Control Panel to fix the problem, so I cannot even attach the file to this post. :/


Sun Dec 11, 2016 10:20 pm
Profile
Illuminati

Joined: Thu Mar 08, 2012 3:21 am
Posts: 2283
Post Re: UnrealEd constantly crashing during package editing
http://pastebin.com/

But I doubt I'll be the one who reads over thousands of lines looking for your missing opening/closing bracket.

If it's just a time dilation feature as you say then it shouldn't be so much code.

_________________
GMDX: Advancement Mod


Last edited by Cybernetic pig on Mon Dec 12, 2016 2:56 am, edited 1 time in total.

Mon Dec 12, 2016 12:19 am
Profile
Thug

Joined: Wed Apr 06, 2016 12:43 am
Posts: 15
Post Re: UnrealEd constantly crashing during package editing
Cybernetic pig wrote:
http://pastebin.com/

Ah.....that works just fine. Only thing left now is to wonder why this particular bit of code won't. :P

http://pastebin.com/[REDACTED]

You'll also need [REDACTED]


Last edited by Stanton_Blackbyrd on Mon Dec 12, 2016 7:08 pm, edited 1 time in total.

Mon Dec 12, 2016 2:54 am
Profile
Illuminati

Joined: Thu Mar 08, 2012 3:21 am
Posts: 2283
Post Re: UnrealEd constantly crashing during package editing
The problem seems to be you've took GMDX's DeusExPlayer.uc and simply replaced it with Shifter's. That won't work as everything is a complex web of code referencing other files and packages as a whole. You'd need to port the specific code into GMDX's DeusExPlayer.uc, such as this:

Code:
function ZymeEffects(float deltaTime)
{
    //Zyme effect
    // This function just manages the time and resets it when applicable.  The fact
    // that the value is negative is what other functions look for.
    if(drugEffectTimer < 0.0)
    {
        drugEffectTimer += deltaTime;

        if(drugEffectTimer >= 0.0)
        {
            if(Level.NetMode == NM_Standalone)
            {
                flagBase.DeleteFlag('Travel_GameSpeed', FLAG_Float); //Just in case it hasn't been set yet
                Level.Game.SetGameSpeed(Level.Game.GameSpeed * 2.000);
            }
            else
                log("DeusExPlayer: Somehow the zyme effect was activated in a non-singleplayer map.  WTF?");
            drugEffectTimer = 180.0;
            ClientMessage("Zyme effect wears off");
        }
    }
}

As well as making every instance of playerTick() call that function, and possibly adding the initialization and management of the 'Travel_Gamespeed' flag, which seems to be added by Shifter for whatever reason.

The consumable and VialCrack classes should be able to be ported in without modification as they are vanilla and GMDX-friendly.
But just taking shifter's DeusExPlayer.uc and replacing vanilla or GMDX's with it won't work.

_________________
GMDX: Advancement Mod


Mon Dec 12, 2016 3:10 am
Profile
Thug

Joined: Wed Apr 06, 2016 12:43 am
Posts: 15
Post Re: UnrealEd constantly crashing during package editing
Cybernetic pig wrote:
The problem seems to be you've took GMDX's DeusExPlayer.uc and simply replaced it with Shifter's. That won't work as everything is a complex web of code referencing other files and packages as a whole. You'd need to port the specific code into GMDX's DeusExPlayer.uc, such as this:

.........
.........
.........

As well as making every instance of playerTick() call that function, and possibly adding the initialization and management of the 'Travel_Gamespeed' flag, which seems to be added by Shifter for whatever reason.

The consumable and VialCrack classes should be able to be ported in without modification as they are vanilla and GMDX-friendly.
But just taking shifter's DeusExPlayer.uc and replacing vanilla or GMDX's with it won't work.

Well, this shows that I was slightly more tired than I thought.....Anyway, I have the proper form now, and I've already made my changes to it.

http://pastebin.com/YeC6f2Lz

And look.......new errors upon compiling! At least I'm not being told there's a missing sound or two.......XD

Code:
Compiling DeusExPlayer
C:\DeusEx (GMDX)\DeusEx\Classes\DeusExPlayer.uc(14201) : Error, Unrecognized member 'GetString' in class 'DebugInfo'
Failed due to errors.

History: CompileError <- TryCompile <- FScriptCompiler::CompileScript <- (Class
DeusEx.DeusExPlayer, Pass 1, Line 14201) <- CompileScripts <- CompileScripts <-
CompileScripts <- CompileScripts <- CompileScripts <- CompileScripts <- DoScript
s <- UEditorEngine::MakeScripts <- UMakeCommandlet::Main

Exiting due to error

C:\DeusEx (GMDX)\System>


Mon Dec 12, 2016 7:13 pm
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 24 posts ]  Go to page 1, 2  Next


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © phpBB Group.
Designed by Vjacheslav Trushkin for Free Forum/DivisionCore.