donnaken15 / FastGH3

Minimalist Guitar Hero 3 mod with one click play and numerous gameplay fixes and additions
https://donnaken15.com/FastGH3
Other
24 stars 1 forks source link

Error message when starting the main program or the updater #7

Closed Xane8 closed 1 year ago

Xane8 commented 1 year ago

this error: System.Net.WebException: The remote name could not be resolved: 'donnaken15.tk' at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request) at System.Net.WebClient.DownloadString(Uri address) at Program.Main(String[] args)

the only thing i could think of was making an exception through the firewall but it did nothing

donnaken15 commented 1 year ago

my domain registrar is getting screwed over that part of the launcher is meant to send the log with the error for what actually failed try the latest download of this mod from (Code > Download as ZIP)

donnaken15 commented 1 year ago

wait, I realized, this error stems from the updater, and you did not mention that pushed new commit to use different URL

Xane8 commented 1 year ago

yeah the latest download fixed that problem sort of because now it outputs an error log

ERROR! :(
System.FormatException: Input string was not in a correct format.
   at System.Number.ParseSingle(String value, NumberStyles options, NumberFormatInfo numfmt)
   at System.Single.Parse(String s)
   at Program.Main(String[] args)
Uploading log.
Log saved to https://0x0.st/HTch.txt

also not sure if i'm supposed to be doing this but running register.bat outputs this

Creating class keys...
The operation completed successfully.
OK
ERROR: Access is denied.
FAIL
ERROR: Access is denied.
FAIL
ERROR: Access is denied.
FAIL
ERROR: Access is denied.
FAIL
ERROR: Access is denied.
FAIL
ERROR: Access is denied.
FAIL
ERROR: Access is denied.
FAIL
ERROR: Access is denied.
FAIL
ERROR: Access is denied.
FAIL
ERROR: Access is denied.
FAIL
If you see any FAILs here, something went wrong.
This requires running as administrator.
Done.

running it as admin makes it close instantly after finishing

donnaken15 commented 1 year ago

register.bat is ran to automatically make .chart files openable with the mod (when you double click on them)

try redownloading for the Single.Parse fix

Xane8 commented 1 year ago

yeah that seems to work maybe unrelated issue but there's no music in practice and is there some way to unbind esc?

donnaken15 commented 1 year ago

I don't know why that's happening the escape bind is forced AFAIK

Xane8 commented 1 year ago

ok it only happens with a specific song i'll use this opportunity to ask how to activate autoplay because i can't find it

donnaken15 commented 1 year ago

enable debug menu from launcher settings, open game, go to debug menu > settings > toggle bot and restart the song

Xane8 commented 1 year ago

any way to change the sp activations?

donnaken15 commented 1 year ago

you can specify an array of times for when the bot should execute but you need to edit the song.pak's QB to do that (or changing it internally could work) the array must be named fastgh3_path_triggers

edit: actually, this only goes for the unpak branch as of now it might be integrated into main later, but it's available here https://github.com/donnaken15/FastGH3/tree/unpak

Xane8 commented 1 year ago

i get this

ERROR! :(
System.FormatException: Input string was not in a correct format.
   at System.Number.ParseSingle(String value, NumberStyles options, NumberFormatInfo numfmt)
   at System.Single.Parse(String s)
   at Program.Main(String[] args)
Uploading log.
Log saved to https://0x0.st/HT29.txt

and the song.pak gets corrupted (?) changing its size to 176 bytes

would this be easier to do on discord? if so i'm xane88

donnaken15 commented 1 year ago

i'm "donnaken15" on discord

Xane8 commented 1 year ago

ok so, the unpak version doesn't work even if i don't edit anything and seems to have a different error for different charts?

song  : NaN% (ERROR! :(                       )
System.ArgumentOutOfRangeException: 'count' must be non-negative.
Parameter name: count
   at System.String.CtorCharCount(Char c, Int32 count)
   at Program.pb(Single p, Int32 l)
   at Program.Main(String[] args)
Uploading log.
Log saved to https://0x0.st/HTOF.txt
ERROR! :(
System.FormatException: Input string was not in a correct format.
   at System.Number.ParseSingle(String value, NumberStyles options, NumberFormatInfo numfmt)
   at System.Single.Parse(String s)
   at Program.Main(String[] args)
Uploading log.
Log saved to https://0x0.st/HTVr.txt
donnaken15 commented 1 year ago

ugh, the code for that is old and doesn't just cancel (progress bar drawing) if it errors just updated the repo AGAIINNNNNNN