exec cmd similar to the Localize()? + Running .bat/.py files
Posted: Sat Dec 09, 2017 7:52 am
Why does the exec command asks for an INT file if it can read from txt files either? Does it mean Localize() function can read from txt and do the same staff of the exec command?
Old thought:
slmPLABiGhI
EDIT: /o\ I managed to execute a bat file using that function! I'll post the vid here.
New thought:
The function from within PlayerPawn.uc 'ClientTravel()' can also run .bat files!
iPdnNzNfFuk
p.s. Of course other than all the cool stuff you can do using the shell through Unreal, it also means there's actually a way to write into INTs through Unreal, so this means you can write and read textual dynamic arrays.
EDIT 2: I think that function uses the explorer, you can send any kind of URL onto the explorer and the behaviour is exactly the same.
Old thought:
Spoiler
Also I forgot to show what error is thrown when I try opening a 'non-existing' file using the function(that I forgot to show in the vid) that let 'players' travel, but the error talks about "file not found", so does it mean that function was intended to open files other than webpages and Unreal URL protocols? (I tested it using the file:/// directive and it works, is it a standard protocol or it works cause of my browser handling it?)
EDIT: /o\ I managed to execute a bat file using that function! I'll post the vid here.
New thought:
The function from within PlayerPawn.uc 'ClientTravel()' can also run .bat files!
iPdnNzNfFuk
p.s. Of course other than all the cool stuff you can do using the shell through Unreal, it also means there's actually a way to write into INTs through Unreal, so this means you can write and read textual dynamic arrays.
EDIT 2: I think that function uses the explorer, you can send any kind of URL onto the explorer and the behaviour is exactly the same.