Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Character Chooser thingy confusion (I don't have discord) #4

Open
TonyBallOhKnee-Games opened this issue Jun 3, 2024 · 74 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@TonyBallOhKnee-Games
Copy link

Describe the bug
Every character except default opponent is greyed out.

Where is the error?
Not much of error. Just I don't know where to put character

Expected behavior
Character not greyed out

Screenshots

image

Engine (please complete the following information):
Baloney Engine v1.1

  • Link

Additional context
Tried to add it to unlisted characters variable, but it in defaultUnlocked, I just don't know where to go.

@TonyBallOhKnee-Games TonyBallOhKnee-Games added the bug Something isn't working label Jun 3, 2024
@TonyBallOhKnee-Games
Copy link
Author

Never mind. I found it.

@TonyBallOhKnee-Games
Copy link
Author

Uh... I actually don't know what I was doing.

@TorchTheDragon
Copy link
Owner

TorchTheDragon commented Jun 3, 2024

As mentioned in the other issue, you may be experiencing a bug that is caused by me not sending the fully up to date one #3 (comment)
I can try to send the new file, though give me a minute to remove the spoiler characters from it since it is currently being used in a mod right now directed by this guy https://www.youtube.com/@JorgeX_YT

Actual video to show it off I guess https://www.youtube.com/watch?v=JRgEF1tpspo

@TorchTheDragon
Copy link
Owner

haxe files.zip
Try using these, this should hopefully fix it. Also, it's because when you first load the save data, it doesn't fix for new default characters, the new version should account for that, my bad.

@TorchTheDragon
Copy link
Owner

Also, the new menu does have some Psych Mod Support so you can instead put the new characters info into the mods folder, though it isn't 100% working fully yet. Eventually, I will have a thing with the character menu that will let you add new characters to it via mods and designate if they need to be unlocked or not.

@TonyBallOhKnee-Games
Copy link
Author

Extra note: I have the mod as both mod folder and .exe (characters are in mod folder)

@TonyBallOhKnee-Games
Copy link
Author

(unrelated but) do u have skype?

@TorchTheDragon
Copy link
Owner

(unrelated but) do u have skype?

No sadly as I don't really like using Skype because of how buggy it can be. Never really had a good time with it.

@TorchTheDragon
Copy link
Owner

Extra note: I have the mod as both mod folder and .exe (characters are in mod folder)

Well, it has little support with mod characters at this moment, though that is planned to be changed later one. For now, it would work better if you implement them directly into the exe if you plan on using the char menu.

@TonyBallOhKnee-Games
Copy link
Author

(unrelated but) do u have skype?

No sadly as I don't really like using Skype because of how buggy it can be. Never really had a good time with it.

Oh, okay... well do you have email thingy (Google Chat)

and also

"source/torchsthings/TorchsCharMenuState.hx:522: characters 38-53 : backend.SaveVariables has no field loadLockedChars
source/torchsthings/TorchsCharMenuState.hx:566: characters 38-53 : backend.SaveVariables has no field loadLockedChars
source/torchsthings/TorchsCharMenuState.hx:604: characters 38-53 : backend.SaveVariables has no field loadLockedChars"

@TorchTheDragon
Copy link
Owner

(unrelated but) do u have skype?

No sadly as I don't really like using Skype because of how buggy it can be. Never really had a good time with it.

Oh, okay... well do you have email thingy (Google Chat)

and also

"source/torchsthings/TorchsCharMenuState.hx:522: characters 38-53 : backend.SaveVariables has no field loadLockedChars source/torchsthings/TorchsCharMenuState.hx:566: characters 38-53 : backend.SaveVariables has no field loadLockedChars source/torchsthings/TorchsCharMenuState.hx:604: characters 38-53 : backend.SaveVariables has no field loadLockedChars"

I could use gmail, but discord is the only real thing I spend time looking at as I know everyone usually has it. Might I ask if there is any reason you don't? Not trying to be rude, just curious. Also, I forgot a file, hold on a minute, as this relies on an edited ClientPrefs.hx file

@TonyBallOhKnee-Games
Copy link
Author

(unrelated but) do u have skype?

No sadly as I don't really like using Skype because of how buggy it can be. Never really had a good time with it.

Oh, okay... well do you have email thingy (Google Chat)
and also
"source/torchsthings/TorchsCharMenuState.hx:522: characters 38-53 : backend.SaveVariables has no field loadLockedChars source/torchsthings/TorchsCharMenuState.hx:566: characters 38-53 : backend.SaveVariables has no field loadLockedChars source/torchsthings/TorchsCharMenuState.hx:604: characters 38-53 : backend.SaveVariables has no field loadLockedChars"

I could use gmail, but discord is the only real thing I spend time looking at as I know everyone usually has it. Might I ask if there is any reason you don't? Not trying to be rude, just curious. Also, I forgot a file, hold on a minute, as this relies on an edited ClientPrefs.hx file

Simply put, I did some dumb shit.

@TorchTheDragon
Copy link
Owner

(unrelated but) do u have skype?

No sadly as I don't really like using Skype because of how buggy it can be. Never really had a good time with it.

Oh, okay... well do you have email thingy (Google Chat)
and also
"source/torchsthings/TorchsCharMenuState.hx:522: characters 38-53 : backend.SaveVariables has no field loadLockedChars source/torchsthings/TorchsCharMenuState.hx:566: characters 38-53 : backend.SaveVariables has no field loadLockedChars source/torchsthings/TorchsCharMenuState.hx:604: characters 38-53 : backend.SaveVariables has no field loadLockedChars"

I could use gmail, but discord is the only real thing I spend time looking at as I know everyone usually has it. Might I ask if there is any reason you don't? Not trying to be rude, just curious. Also, I forgot a file, hold on a minute, as this relies on an edited ClientPrefs.hx file

Simply put, I did some dumb shit.

So I am assuming you got banned lol, can't you make another account? Also, these files should fix that crash
files.zip

@TonyBallOhKnee-Games
Copy link
Author

thank. (PS, I didn't get banned, my discord account got hacked and idk what to do since I can't delete the account, and u know how discord is like "WHAT ABOUT UR SERVERS?!?!?!" and shit. Just stuff like that.)

@TorchTheDragon
Copy link
Owner

thank. (PS, I didn't get banned, my discord account got hacked and idk what to do since I can't delete the account, and u know how discord is like "WHAT ABOUT UR SERVERS?!?!?!" and shit. Just stuff like that.)

Oh thats an easy fix, simply just change your password, if you are still logged in that is, and enable 2fa from now on.

@TonyBallOhKnee-Games
Copy link
Author

i had 2fa enabled b4 then. also icons are.. .uh.....

image

@TonyBallOhKnee-Games
Copy link
Author

i had 2fa enabled b4 then. also icons are.. .uh.....

image

Simple note: Icons are showing danger ones when selected

@TorchTheDragon
Copy link
Owner

I've gotten hacked twice now, no not through any qr codes or anything, just a site that happened to grab my discord token thanks to chrome's cache... not fun, though a password reset always changes your token, thus signing them out of it.

@TorchTheDragon
Copy link
Owner

i had 2fa enabled b4 then. also icons are.. .uh.....
image

Simple note: Icons are showing danger ones when selected

Oh, that is accidental code I left over in the custom FreeplayState from the other mod lol, I can try to find the lines to remove it if you want

@TonyBallOhKnee-Games
Copy link
Author

ok

@TonyBallOhKnee-Games
Copy link
Author

uh..... where is that code? (line numbers)

@TorchTheDragon
Copy link
Owner

Lines 558 and 562
image
Those two can be removed

@TorchTheDragon
Copy link
Owner

That code was intended for a modified health icon too, so it would actually show their winning faces, not their losing ones lol

If you want that (for any characters that have 3 icons, not 2) I can hand that over to you

@TonyBallOhKnee-Games
Copy link
Author

ok, thank you (i find this kind if funny, the mod im working on was originally a joke mod, but now its starting to be similar to the actual vs retrospecter mod). I'd like that icon code please!

@TorchTheDragon
Copy link
Owner

Essentially, I just replaced this in the HealthIcon.hx file located in objects
image
(I will put code below this for copy paste reasons)

if (graphic.width == 300) { // This is just a test fix for the clippling for 2 part icons, aka icons with no win icon - Torch
	loadGraphic(graphic, true, Math.floor(graphic.width / 2), Math.floor(graphic.height));
	iconOffsets[0] = (width - 150) / 3;
	iconOffsets[1] = (height - 150) / 3;
	iconOffsets[2] = (height - 150) / 3;
	updateHitbox();
	animation.add(char, [0, 1, 0], 0, false, isPlayer);
} else {
	loadGraphic(graphic, true, Math.floor(graphic.width / 3), Math.floor(graphic.height));
	iconOffsets[0] = (width - 150) / 3;
	iconOffsets[1] = (height - 150) / 3;
	iconOffsets[2] = (height - 150) / 3;
	updateHitbox();
	animation.add(char, [0, 1, 2], 0, false, isPlayer);
}

@TonyBallOhKnee-Games
Copy link
Author

thank

@TorchTheDragon
Copy link
Owner

A guess would be that it's not letting you pick the characters as they are technically "locked" since it might be having an issue with them being mod characters and not built into the engine. (Basing this off what you said before)

@TonyBallOhKnee-Games
Copy link
Author

ig a zoom call?

@TonyBallOhKnee-Games
Copy link
Author

oh wait prob not.

@TorchTheDragon
Copy link
Owner

A guess would be that it's not letting you pick the characters as they are technically "locked" since it might be having an issue with them being mod characters and not built into the engine. (Basing this off what you said before)

Just to repeat what I said a while ago, mod characters aren't fully implemented yet, so I don't know what the menu will do with them.

@TonyBallOhKnee-Games
Copy link
Author

i guess i gotta import the characters into actual exe.

@TorchTheDragon
Copy link
Owner

If that doesn't work then send me your edited Character menu file and I'll look at it after work

@TonyBallOhKnee-Games
Copy link
Author

(when pressing up and down, it doesn't do anything.)

@TorchTheDragon
Copy link
Owner

2 things come to mind then,

  1. If you're not worried about locked characters showing up, then make sure you also put the character you want visible in the defaultUnlocked string array
  2. If you do want locked characters showing up, then go to your in graphic options and enable the check.

@TorchTheDragon
Copy link
Owner

2 things come to mind then,

  1. If you're not worried about locked characters showing up, then make sure you also put the character you want visible in the defaultUnlocked string array
  2. If you do want locked characters showing up, then go to your in graphic options and enable the check.

The option is just there to reduce a bit of lag in game when going to the menu with a lot of characters

@TonyBallOhKnee-Games
Copy link
Author

image
like this?

@TorchTheDragon
Copy link
Owner

Yes

@TonyBallOhKnee-Games
Copy link
Author

how do i make characters unlocked by default

image

@TonyBallOhKnee-Games
Copy link
Author

(removed tank man)

@TonyBallOhKnee-Games
Copy link
Author

image
also

@TorchTheDragon
Copy link
Owner

TorchTheDragon commented Jun 4, 2024

You put them in the defaultUnlocked variable

It should also unlock them for enemy characters

@TorchTheDragon
Copy link
Owner

Did that work out for you?

@TorchTheDragon
Copy link
Owner

image
also

This is more than likely just because you are trying to use a mod character or it's not in the unlisted characters variable

@TorchTheDragon
Copy link
Owner

I hate that I had to add a lot of things to edit lol

@TorchTheDragon
Copy link
Owner

how do i make characters unlocked by default

image

This should show the two locations you have to put the name in as well

Screenshot_20240604-133647.png

Screenshot_20240604-133655.png

@TorchTheDragon
Copy link
Owner

As you can see, I am using GF characters and a pico enemy

@TonyBallOhKnee-Games
Copy link
Author

image
doot doot

@TorchTheDragon
Copy link
Owner

If that doesn't work then there is an issue with mod character, assuming you are still using them outside the exe

@TonyBallOhKnee-Games
Copy link
Author

(characters are put in assets folder, along with json.)

@TorchTheDragon
Copy link
Owner

(characters are put in assets folder, along with json.)

Do you have the character images in there too? With their XML files? Just asking cuz the Images and XMLs have a different location than the json files

@TonyBallOhKnee-Games
Copy link
Author

yes

@TorchTheDragon
Copy link
Owner

Well then I don't really know what's wrong here as it's working fine for me on my end, I guess just double check that you didn't mistype anything

@TorchTheDragon
Copy link
Owner

Oh, did you rebuild the exe after putting the characters in their correct slot or no? This also applies if you've changed any variables, though I feel as though that's obvious

@TorchTheDragon
Copy link
Owner

Better yet, is there a way I can get access to your build? I can try to help fix any issues when I get home.

@TonyBallOhKnee-Games
Copy link
Author

i dont have github thing set up for it yet. lemme do that now

@TonyBallOhKnee-Games
Copy link
Author

i have invited u as collaborator (files will be uploaded in a bit.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants