UnrealEd constantly crashing during package editing
-
- Thug
- Posts: 16
- Joined: Wed Apr 06, 2016 12:43 am
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?
Is there another way to modify the "DeusExPlayer" script directly (through another editor, perhaps), so that I can continue with my testing?
-
- Illuminati
- Posts: 2284
- Joined: Thu Mar 08, 2012 3:21 am
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.
-
- Thug
- Posts: 16
- Joined: Wed Apr 06, 2016 12:43 am
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?
Is there absolutely no other way at all for me to alter the code in the "DeusEx.u" package, or am I just stuck?
-
- Illuminati
- Posts: 2284
- Joined: Thu Mar 08, 2012 3:21 am
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.
-
- Thug
- Posts: 16
- Joined: Wed Apr 06, 2016 12:43 am
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.
-
- Illuminati
- Posts: 2284
- Joined: Thu Mar 08, 2012 3:21 am
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.
-
- Thug
- Posts: 16
- Joined: Wed Apr 06, 2016 12:43 am
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.
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.
-
- Illuminati
- Posts: 2284
- Joined: Thu Mar 08, 2012 3:21 am
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.
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.
-
- Thug
- Posts: 16
- Joined: Wed Apr 06, 2016 12:43 am
Re: UnrealEd constantly crashing during package editing
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.Cybernetic pig wrote:Are you the one that wanted to add the Invisible War grab SFX?
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: Select all
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
-
- Illuminati
- Posts: 2284
- Joined: Thu Mar 08, 2012 3:21 am
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?
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.
I added a script that detects certain Shifter features and refuses to compile if foundI 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.
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.
-
- Thug
- Posts: 16
- Joined: Wed Apr 06, 2016 12:43 am
Re: UnrealEd constantly crashing during package editing
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.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?
I added a script that detects certain Shifter features and refuses to compile if foundI 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.
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.
-
- Illuminati
- Posts: 2284
- Joined: Thu Mar 08, 2012 3:21 am
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.
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.
Last edited by Cybernetic pig on Mon Dec 12, 2016 2:56 am, edited 1 time in total.
-
- Thug
- Posts: 16
- Joined: Wed Apr 06, 2016 12:43 am
Re: UnrealEd constantly crashing during package editing
Ah.....that works just fine. Only thing left now is to wonder why this particular bit of code won't.Cybernetic pig wrote:http://pastebin.com/
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.
-
- Illuminati
- Posts: 2284
- Joined: Thu Mar 08, 2012 3:21 am
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:
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.
Code: Select all
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");
}
}
}
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.
-
- Thug
- Posts: 16
- Joined: Wed Apr 06, 2016 12:43 am
Re: UnrealEd constantly crashing during package editing
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.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.
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: Select all
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>