Quote from: Crimson Wizard on Mon 18/07/2022 14:30:05
@LauraHunt, here's the fixed build:
https://cirrus-ci.com/task/6597896589017088
Works like a charm, thank you!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: Crimson Wizard on Mon 18/07/2022 14:30:05
@LauraHunt, here's the fixed build:
https://cirrus-ci.com/task/6597896589017088
Quote from: Crimson Wizard on Mon 18/07/2022 05:31:43
Could you send me a script that causes the problems, and a font?
Quote from: Crimson Wizard on Mon 18/07/2022 05:31:43
Also, what is the locale for non-unicode programs set on your system;
Quote from: Crimson Wizard on Mon 18/07/2022 05:31:43and what locale is mentioned at the top of the Game.agf, where it sais "encoding"?
Quote from: Crimson Wizard on Mon 18/07/2022 04:55:26Quote from: Laura Hunt on Mon 18/07/2022 04:16:07
I've done some more testing, and it turns out it doesn't have to do specifically with custom text properties. Any extended characters in any non-room scripts will display the same issue.
So if I simply do player.Say("My name is LucÃa"); in the Global Script, it will get displayed as "My name is Luc?a".
If I change anything in that script, even if it's just adding a commented line like //this is a comment, the issue is fixed temporarily untl the next time I open the engine.
When you say "next time I open the engine", do you mean "editor"?
Quote from: Crimson Wizard on Mon 18/07/2022 04:55:26Overall, this sounds as the problem is in reading the scripts from the file and/or writing them back to file. As when compiling the game editor probably uses the scripts in memory if available, so when you edit the script, the version in memory gets fixed, but if they are not memory and loaded from the file - then a broken version is used.
Quote from: Crimson Wizard on Mon 18/07/2022 04:55:26So, two things should be tested: how the script is saved and how it's loaded. Can you open the script in a separate text editor and see what encoding is it saved in, and if the letter is correct there?
Quote from: Crimson Wizard on Mon 18/07/2022 04:55:26Additionally, do you use any editor plugins, or any extra tools, which may affect a script file?
Quote from: Crimson Wizard on Sun 17/07/2022 22:51:24
Please tell, how do you display it precisely?
Quote from: Crimson Wizard on Sun 17/07/2022 22:51:24Does it display correctly in the editor, or it gets broken in both text editor and game?
Quote from: Crimson Wizard on Sun 17/07/2022 22:51:24Could it be that while in game you restore some previously made save, which has this property value stored in an incorrect way?
Quote from: Crimson Wizard on Sun 17/07/2022 22:51:24PS. I rather recommend switching to Unicode mode regardless, as that might resolve all text problems now and in the future.
object[27].SetTextProperty(OBJ_ITEMNAME, "A photograph of LucÃa.");
Quote from: LimpingFish on Tue 28/06/2022 00:16:04If there was to be a mascot in the logo, the obvious choice would be an anthropomorphic blue cup, would it not?
Quote from: milkanannan on Wed 22/06/2022 13:45:59
Is that movie any good guys?
Quote from: milkanannan on Wed 22/06/2022 13:45:59
Up next:
Quote from: Stupot on Thu 26/05/2022 04:28:33
Yeah, I mentioned it way up in the second post. The first movie is one of my favourite films of any genre. The second is basically more of the same, so I enjoyed it. I frankly hated Rec 3 and thought it was utter toilet, but maybe I was in the wrong frame of mind on the day. Rec 4, I watched in Spanish with Japanese subititles and still absolutely loved it.
Quote from: Crimson Wizard on Thu 19/05/2022 00:50:49Quote from: Laura Hunt on Wed 18/05/2022 21:36:11
I think you're missing a null check. I haven't tested this, but maybe try something like this?
There's no need for a null check when you are comparing a pointer value.Code: ags if (tempbutton != bBegin)
This will also cover null value, because if tempbutton is null, then it's already not equal to bBegin
function room_RepExec(){
Button* tempbutton = GUIControl.GetAtScreenXY(mouse.x, mouse.y).AsButton;
if (tempbutton == null || tempbutton != bBegin) bBegin.TextColor = 65535;
else bBegin.TextColor = 63488;
}
Quote from: lorenzo on Wed 04/05/2022 12:00:14
I saw this one not too long ago. I'm pretty sure it's Dr. Terror's House of Horrors.
Quote from: heltenjon on Tue 03/05/2022 08:29:27
OMAM! (*) How didn't I recognize this?
(*) Oh my Alanis Morrisette!
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.164 seconds with 17 queries.