Daily Lucky Numbers:
2
14
19
28
35
43

Recent posts

#21
SMF Arcade Support + Plugins / Re: Title Text Black?
Last post by Chen Zhen - March 22, 2025, 10:35:34 PM

I found your theme & duplicated the issue whereas I can put in a fix for it.
However, in my opinion this is a custom theme issue because the author of it has used a specific text color for the strong tag.
Also the css for that theme somehow messes up the centering within the cat bars.

I'm going to release a new version of the Arcade within the next day or so which will have a fix for that theme or a similar one from that author (Diego) but as I stated this is a theme issue.

#22
SMF Arcade Support + Plugins / Re: Title Text Black?
Last post by Chen Zhen - March 22, 2025, 10:10:19 PM
Which custom theme is this?
The Arcade should try to use the cat_bar text color but it also is within a <strong> tag.
Perhaps your theme has a dark color for the strong tag for some reason?

Is this a free available theme & if it is, can you let me know which one it is?
I'd like to have a look to adjust the Arcade itself for such a scenario.

In the meantime, if you know how to edit your custom theme css file put this in it:
.catbg > strong {
    color: #FAF9F6;
}

... or a color that you prefer for those cat bars.
#23
SMF Arcade Support + Plugins / Title Text Black?
Last post by Senkusha - March 22, 2025, 09:16:14 PM
Does anyone have any idea how I can fix the title text from showing black on black?

2025-03-22 21_14_18-Games — Mozilla Firefox.png
#24
Battle Support / Re: Battle! + ST Shop
Last post by Dave - March 18, 2025, 06:37:11 AM
I can't believe you name a monster 'Underdog'  :D
#25
Site Discussion / Re: IPV4
Last post by Duban Black - March 15, 2025, 07:23:00 PM
I have tested the new version and it only transforms in the PHP version, in javascript and javascript api it shows the same.
But it happens because some ipv6 cannot be mapped.

I think it's ok if we leave it here, I really appreciate the effort and help you gave me with this.
#26
Site Discussion / Re: Happy Birthday, Chen Zhen!
Last post by Dave - March 15, 2025, 06:21:34 PM
A very happy birthday Chen, I always say it's better to have the birthdays rather than not  ;)
#27
Site Discussion / Re: Happy Birthday, Chen Zhen!
Last post by Chen Zhen - March 15, 2025, 12:05:26 AM

Thanks for the bday wishes!  ;D

.. but not for the age reminder  :smiley_chinrub:
#28
Site Discussion / Happy Birthday, Chen Zhen!
Last post by Skhilled - March 14, 2025, 10:11:42 PM
Getting older and older...  ;D
#29
Site Discussion / Re: IPV4
Last post by Chen Zhen - March 14, 2025, 03:42:04 AM
I've attached an update that fixes the converted IP.

The IP-Lib class will map an IPv6 address to a corresponding IPv4 address if it can be mapped.
I made it so that if it can't be mapped then it returns a bogus IPv4 value.

So for example, in one of your images in this thread you included an IPv6 that has a geo location of somewhere in Mexico.
That specific IPv6 can't be mapped to a corresponding IPv4 address.
You can test it for yourself here: https://dnschecker.org/ipv6-to-ipv4.php



Quote from: Chen Zhen on March 13, 2025, 12:17:50 PMTo make it work, one would need something that checks the geo location of the IPv6, attempt to map it to IPv4 & compare the geo location of the mapped IPv4 vs the original IPv6 geo location.
If the geo location fails to match or the IPv6 mapping fails altogether then it needs to pick a random (or somehow calculated mapping) IPv4 from a pool of IP's that correspond to that geo location.
Someone would have to develop what I previously stated but for now this mod will return an IPv4 even if the orginal IPv6 can't be mapped but syncing the geo location is a crap shoot and highly unlikely.
#30
Site Discussion / Re: IPV4
Last post by Duban Black - March 13, 2025, 07:08:38 PM
Quote from: Chen Zhen on March 13, 2025, 12:17:50 PMDoes PHP mode in the mod correspond to a closer geo location?
In version v1.3 in all modes (javascript, php, javascript api) shows ipv6


Quote from: Chen Zhen on March 13, 2025, 12:17:50 PMDoes your IP that you see on this forum correspond to the correct geo location?

Yes, in this forum the exact equivalent of ipv6 to ipv4 is shown.