C
C#ā€¢8mo ago
cyclo

process start

Ive been trying to figure out why the proccess.start() hasnt been working
No description
42 Replies
x0rld
x0rldā€¢8mo ago
show the complete error
cyclo
cycloOPā€¢8mo ago
No description
cyclo
cycloOPā€¢8mo ago
No description
x0rld
x0rldā€¢8mo ago
read the last sentence
cyclo
cycloOPā€¢8mo ago
No description
cyclo
cycloOPā€¢8mo ago
the files literally in the folder tho
cyclo
cycloOPā€¢8mo ago
\
No description
cyclo
cycloOPā€¢8mo ago
@SlashMango and the
x0rld
x0rldā€¢8mo ago
don't ping me
cyclo
cycloOPā€¢8mo ago
sorry but the fortnitelinstalllabel; path is a text box
x0rld
x0rldā€¢8mo ago
can you copy paste here the error as text it's horrible to read in screenshot
cyclo
cycloOPā€¢8mo ago
System.ComponentModel.Win32Exception: 'An error occurred trying to start process 'System.Windows.Forms.RichTextBox, Text: C:\Users\court\Downloads\12.00\FortniteGame\Binaries\Win64\FortniteClient-Win64-Shipping.exe' with working directory 'C:\Users\court\source\repos\MarshMello Launcher\MarshMello Launcher\bin\Debug\net8.0-windows7.0'. The system cannot find the file specified.'
cyclo
cycloOPā€¢8mo ago
No description
Buddy
Buddyā€¢8mo ago
What are you making?
cyclo
cycloOPā€¢8mo ago
a fortnite launcher
Jimmacle
Jimmacleā€¢8mo ago
what do you think, is System.Windows.Forms.RichTextBox, Text: C:\Users\court\Downloads\12.00\FortniteGame\Binaries\Win64\FortniteClient-Win64-Shipping.exe a valid path on your computer?
cyclo
cycloOPā€¢8mo ago
yes
Jimmacle
Jimmacleā€¢8mo ago
you are ignoring the first part of the string what i sent is the exact path it's trying to find, which wouldn't be a valid path on any computer
cyclo
cycloOPā€¢8mo ago
to what part C:\Users\court\Downloads\12.00 thats vaild on my desktop
x0rld
x0rldā€¢8mo ago
your variable from your form is a class or a string ?
Jimmacle
Jimmacleā€¢8mo ago
that isn't the first part of your string you are trying to use this exact text as your path
System.Windows.Forms.RichTextBox, Text: C:\Users\court\Downloads\12.00\FortniteGame\Binaries\Win64\FortniteClient-Win64-Shipping.exe
System.Windows.Forms.RichTextBox, Text: C:\Users\court\Downloads\12.00\FortniteGame\Binaries\Win64\FortniteClient-Win64-Shipping.exe
when you want
C:\Users\court\Downloads\12.00\FortniteGame\Binaries\Win64\FortniteClient-Win64-Shipping.exe
C:\Users\court\Downloads\12.00\FortniteGame\Binaries\Win64\FortniteClient-Win64-Shipping.exe
cyclo
cycloOPā€¢8mo ago
oh so how do i make it only that when my code is a simple
c#
string FN = System.IO.Path.Combine(FortniteInstallLabel + "\\FortniteGame\\Binaries\\Win64\\FortniteClient-Win64-Shipping.exe");

ProcessStartInfo actualFortnitePathInfo = new ProcessStartInfo
{
FileName = FortniteInstallLabel + "\\FortniteGame\\Binaries\\Win64\\FortniteClient-Win64-Shipping.exe",
Arguments = "-epicapp=Fortnite -epicenv=Prod -epicportal -epiclocale=en-us -skippatchcheck -NOSSLPINNING -FORCECONSOLE",
UseShellExecute = false
};
c#
string FN = System.IO.Path.Combine(FortniteInstallLabel + "\\FortniteGame\\Binaries\\Win64\\FortniteClient-Win64-Shipping.exe");

ProcessStartInfo actualFortnitePathInfo = new ProcessStartInfo
{
FileName = FortniteInstallLabel + "\\FortniteGame\\Binaries\\Win64\\FortniteClient-Win64-Shipping.exe",
Arguments = "-epicapp=Fortnite -epicenv=Prod -epicportal -epiclocale=en-us -skippatchcheck -NOSSLPINNING -FORCECONSOLE",
UseShellExecute = false
};
Jimmacle
Jimmacleā€¢8mo ago
FortniteInstallLabel is not a string, it's a RichTextBox you want to access whatever property contains the actual text the user put in probably .Text
cyclo
cycloOPā€¢8mo ago
propb a label1
Buddy
Buddyā€¢8mo ago
What exactly is the point of the launcher? Doesn't Epic Games already have one?
cyclo
cycloOPā€¢8mo ago
its like a private sverver for fortnite
Jimmacle
Jimmacleā€¢8mo ago
is that allowed by the fortnite TOS?
cyclo
cycloOPā€¢8mo ago
yeah as long as we dont go ingame for fortnite latest but old verson ive been playing like thanos mopde and stuff
Flourish0x
Flourish0xā€¢8mo ago
@leowest why the reaction? it is allowed. as long as there is no in-game cosmetic it's allowed epic posts older dev builds on their github as well
leowest
leowestā€¢8mo ago
because private servers are against fortnite TOS
Flourish0x
Flourish0xā€¢8mo ago
no they aren't
leowest
leowestā€¢8mo ago
right LMAO
Flourish0x
Flourish0xā€¢8mo ago
wtv u say
Flourish0x
Flourish0xā€¢8mo ago
leowest
leowestā€¢8mo ago
I mean its not w/e I say its what its on their TOS ĀÆ\_(惄)_/ĀÆ you're free to go argue with them
Flourish0x
Flourish0xā€¢8mo ago
You are permitted to use the Services for your personal, non-commercial use only or legitimate business purposes related to your role as a current or prospective customer of Epic. Except as provided below, you must not copy, modify, create derivative works of, publicly display, publicly perform, republish, or transmit any of the material obtained through the Services, or delete, or alter any copyright, trademark, or other proprietary rights notices from copies of materials from the Services. šŸ‘ have a good day
leowest
leowestā€¢8mo ago
thanks for quoting an unrelated part of their TOS šŸ™‚
Flourish0x
Flourish0xā€¢8mo ago
your welcome šŸ˜„
leowest
leowestā€¢8mo ago
I am afraid u dont understand what a private server entails to even further continue the conversation so refrain from quoting me.
Flourish0x
Flourish0xā€¢8mo ago
Want results from more Discord servers?
Add your server