chinsouki help Anonymous 2023/12/28(Thu) 07:15 No.186
is chinsouki b0rked?? i am trying to log in and i am left with a white screen
Re: chinsouki help Anonymous◆Admin 2023/12/28(Thu) 08:28 No.187
It appears so... I'll look into it (;´Д`)
Re: chinsouki help Anonymous◆Admin 2023/12/28(Thu) 09:34 No.188
Appears to work now - issue seemed to be the "Everyone's money has been doubled" message, possibly because it contained an apostrophe (which this game generally haets) (´~`)
I also changed "mr. penis"-san's username to "mrpenis", just in case. The message about "Do not use symbols in your name" isn't a joke - teh game is very prone to b0rking at the slightest thing (;^Д^)
I also changed "mr. penis"-san's username to "mrpenis", just in case. The message about "Do not use symbols in your name" isn't a joke - teh game is very prone to b0rking at the slightest thing (;^Д^)
Re: chinsouki help Anonymous 2023/12/28(Thu) 10:05 No.189
thank youuu
Re: chinsouki help Anonymous 2023/12/28(Thu) 14:20 No.190
Escape the apostrophes then!
var user_chat='${user{"*chat"} =~ s/'/\\'/gr}';
Re: chinsouki help Anonymous◆Admin 2023/12/28(Thu) 18:32 No.191
I wish it was that simple - I've been at war with this game over apostrophes for a long time, and that's why if u hover over someone's territory u will see a backslash (;´Д`)
Re: chinsouki help Anonymous 2023/12/29(Fri) 01:20 No.193
By that I meant change this line in main.cgi
to
It would only escape apostrophes in chat messages inside the javascript so you won't see any backslashes.
var user_chat='${user{"*chat"}}';
to
var user_chat='${user{"*chat"} =~ s/'/\\'/gr}';
It would only escape apostrophes in chat messages inside the javascript so you won't see any backslashes.
Re: chinsouki help Anonymous 2023/12/29(Fri) 03:02 No.194
And how about replacing all apostrophes in the translated text with single quotation marks? That's what the game does with usernames and chat messages.
https://en.m.wiktionary.org/wiki/%E2%80%99
https://en.m.wiktionary.org/wiki/%E2%80%99