C
C#ā€¢7mo ago
cyclo

process start

Ive been trying to figure out why the proccess.start() hasnt been working
No description
42 Replies
x0rld šŸ‘» šŸŽƒ
show the complete error
cyclo
cycloOPā€¢7mo ago
No description
cyclo
cycloOPā€¢7mo ago
No description
x0rld šŸ‘» šŸŽƒ
read the last sentence
cyclo
cycloOPā€¢7mo ago
No description
cyclo
cycloOPā€¢7mo ago
the files literally in the folder tho
cyclo
cycloOPā€¢7mo ago
\
No description
cyclo
cycloOPā€¢7mo ago
@SlashMango and the
x0rld šŸ‘» šŸŽƒ
don't ping me
cyclo
cycloOPā€¢7mo ago
sorry but the fortnitelinstalllabel; path is a text box
x0rld šŸ‘» šŸŽƒ
can you copy paste here the error as text it's horrible to read in screenshot
cyclo
cycloOPā€¢7mo 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ā€¢7mo ago
No description
Buddy
Buddyā€¢7mo ago
What are you making?
cyclo
cycloOPā€¢7mo ago
a fortnite launcher
Jimmacle
Jimmacleā€¢7mo 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ā€¢7mo ago
yes
Jimmacle
Jimmacleā€¢7mo 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ā€¢7mo ago
to what part C:\Users\court\Downloads\12.00 thats vaild on my desktop
x0rld šŸ‘» šŸŽƒ
your variable from your form is a class or a string ?
Jimmacle
Jimmacleā€¢7mo 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ā€¢7mo 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ā€¢7mo 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ā€¢7mo ago
propb a label1
Buddy
Buddyā€¢7mo ago
What exactly is the point of the launcher? Doesn't Epic Games already have one?
cyclo
cycloOPā€¢7mo ago
its like a private sverver for fortnite
Jimmacle
Jimmacleā€¢7mo ago
is that allowed by the fortnite TOS?
cyclo
cycloOPā€¢7mo 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ā€¢7mo 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ā€¢7mo ago
because private servers are against fortnite TOS
Flourish0x
Flourish0xā€¢7mo ago
no they aren't
leowest
leowestā€¢7mo ago
right LMAO
Flourish0x
Flourish0xā€¢7mo ago
wtv u say
Flourish0x
Flourish0xā€¢7mo ago
leowest
leowestā€¢7mo 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ā€¢7mo 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ā€¢7mo ago
thanks for quoting an unrelated part of their TOS šŸ™‚
Flourish0x
Flourish0xā€¢7mo ago
your welcome šŸ˜„
leowest
leowestā€¢7mo 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ā€¢7mo ago
Want results from more Discord servers?
Add your server