Jump to content

c4_angel

Member Since 20 Mar 2017
Offline Last Active Oct 15 2018 11:47 AM

Posts I've Made

In Topic: Mod ACTION_READLN removal - brainstorming

12 October 2018 - 12:06 PM

Here's a quick version (perhaps there are more elegant ones):

Impresive! Thanks DavidW.
And I think an extra component with READLN to reconfigure the hotkeys (and modify the scripts) could fix the typo/conflict issue.

And, if I may, that function can be further shortened. You can dump the string length check and just use a regexp match against ~^[A-Za-z]$~, as it would only match a one-character input.

Ahh...You just opened a new door to me. Thanks very much.

In Topic: Mod ACTION_READLN removal - brainstorming

11 October 2018 - 01:39 PM

Here's a quick version (perhaps there are more elegant ones):

Impresive! Thanks DavidW.
And I think an extra component with READLN to reconfigure the hotkeys (and modify the scripts) could fix the typo/conflict issue.

In Topic: Mod ACTION_READLN removal - brainstorming

10 October 2018 - 01:29 PM

I suppose you could make the installer automatically increment a wrong letter by one until it hits a free slot. But yes, it's not not exactly user friendly.

 
 

Or else just define some defaults, and revert to the defaults unless the player choices pass validation.


Thank you both.

But my concern is both doesnt give the users a second chance if any defination goes wrong or they just forget it. It could become a mess when using an install tool if there are mods install after it.

In Topic: Mod ACTION_READLN removal - brainstorming

10 October 2018 - 07:15 AM

Hello.

I agree to the concept of removing READLN, but I cannot figure out the solution to my mod (published only on a forum with Chinese players by now):
It requires the player input 3 different hotkeys (from A to Z) during installation, also checks if any typo or confliction when input the 2nd and the 3rd hotkey.

I think neither solution 1 or 2 can handle this easily.

In Topic: SR Revised V1.0.3 + A List of Problems with b15 + Fixing Them

02 October 2018 - 06:54 AM

Now on github, per c4_angel's request (and provided little better install instructions in the first post).

Thanks!