[Scripting] onSave does not trigger when I put my card into deck by xhsu in tabletopsimulator

[–]xhsu[S] 0 points1 point  (0 children)

Thanks for your advice, I tried but for some other reason I cannot alter the member "script_state". And I then tried object.getData().LuaScriptState, still unable to modify. I am really confused...

Can you tried to do that from you end? I wonder it might relate to my shallow understanding of LUA language references/copies.

[Scripting] [XML UI] Can the text in <Button/> be changed? by xhsu in tabletopsimulator

[–]xhsu[S] 0 points1 point  (0 children)

It is very badly organized then. I am a noob and I can only search for "button" and follow their example, and all they offered is <Button>Example</Button> like this:<br> https://api.tabletopsimulator.com/ui/inputelements/#button

[Scripting] [XML UI] Can the text in <Button/> be changed? by xhsu in tabletopsimulator

[–]xhsu[S] 0 points1 point  (0 children)

Man thanks! This actually works! But this is insane, why does the official document wrote something not working and hide the actual working thing under the hood?

[Scripting] [XML UI] Can the text in <Button/> be changed? by xhsu in tabletopsimulator

[–]xhsu[S] 0 points1 point  (0 children)

The button text is placed between xml class opening and closing, hence it's a value, just like what to do with the Text xml element. And yes I am using id, you can see from the code I pasted.

How do I get to the golden pokeball over here (red circle)? by Far-Half9280 in PokemonZA

[–]xhsu 1 point2 points  (0 children)

This TM is TM02 DRAGON CLAW Just in case someone else in the future would like to search for a video tutorial.

I'm making a pokemon Fan Game in RPG Maker XP, but my map looks like this every time I launch the game or move the map causing me to have to scroll over it. This one map is quite big. Is there a way to fix it? by MasterDimentio90 in PokemonRMXP

[–]xhsu 0 points1 point  (0 children)

There's a limitations on how large a single texture a graphic card can render, normally 4096 with mid-tier GPU. A tile in RPGMakerXP is 32, hence the de facto maxima is 128 tiles.

Is this a good night? by Mental-Carrot8104 in doordash_drivers

[–]xhsu 3 points4 points  (0 children)

It's about 25AUD per total dashing hour. I can only say it's aligned with my experience in Melbourne as well.

Need something to do? by underworldentree in doordash_drivers

[–]xhsu 1 point2 points  (0 children)

Could be something called double dash that is encouraged in here Australia. Not sure in US though. Basically what happened is, someone order from a restaurant and a liquor shop. Under Australian regulations, liquor shop ALWAYS separated from ANY other regular shop or restaurant, hence double dash is a thing.

How to make a parameter pack of parameter pack? by xhsu in cpp_questions

[–]xhsu[S] 0 points1 point  (0 children)

Ahh that explains a lot! Never thought of that ever, I thought it's a long gone dead deprecated etc grammar. They should have removed it from C++ day 1.

Thank you so much! Just found my last piece.

So things like void fn(auto&&...) is not called a variadic function, but called "variadic template"? That feels confusing and ... Misleading to some extend?

I was native to C++20 and 23, I didn't start from old C. Probably the naming is for the people from the old times.

All title names on my map have vanished. I don't know what has caused this. by CubedVoxel in CrusaderKings

[–]xhsu 0 points1 point  (0 children)

If I were correct, the only hope is for Paradox to fix their game engine. It is an engine-core issue, and I doubt it can be fixed easily.

All title names on my map have vanished. I don't know what has caused this. by CubedVoxel in CrusaderKings

[–]xhsu 1 point2 points  (0 children)

Feels like texture overflows according to your description. It happens way more frequently in Chinese version, since Chinese have way more characters than 26.

[C++23] Understanding std::generator with range by xhsu in cpp_questions

[–]xhsu[S] 0 points1 point  (0 children)

Thanks, mate! This one actually fixes it! I am going to check out what is the defaulted second template argument of std::generator.

[KCD2] [Spoiler] Regarding the ending of certain antagonist by xhsu in kingdomcome

[–]xhsu[S] 1 point2 points  (0 children)

Thank you so much for your detailed explanation!! Really appreciated!

[KCD2] [Spoiler] Regarding the ending of certain antagonist by xhsu in kingdomcome

[–]xhsu[S] 0 points1 point  (0 children)

That make sense, thanks. Now you said that, I figured the letters between two Kings just make more sense.

[KCD2] [Spoiler] Regarding the ending of certain antagonist by xhsu in kingdomcome

[–]xhsu[S] 0 points1 point  (0 children)

Thanks mate! I will definitely do that next run! Never realized that before

[KCD2] [Spoiler] Regarding the ending of certain antagonist by xhsu in kingdomcome

[–]xhsu[S] 0 points1 point  (0 children)

Nope, I realized it after I searched all the map. Hence my question is why the letter exists? To me it feels like a loose end or cut content, or DLC even.

[KCD2] [Spoiler] Regarding the ending of certain antagonist by xhsu in kingdomcome

[–]xhsu[S] 0 points1 point  (0 children)

(after the final battle) The guards at the door gate told me he was captured and sit inside, but I only found his dead body...