2020-04-20 Server Crashes, Emojis - Printable Version +- Hazeron Forums (https://hazeron.com/mybb) +-- Forum: Shores of Hazeron (https://hazeron.com/mybb/forumdisplay.php?fid=1) +--- Forum: Updates (https://hazeron.com/mybb/forumdisplay.php?fid=11) +--- Thread: 2020-04-20 Server Crashes, Emojis (/showthread.php?tid=2311) |
2020-04-20 Server Crashes, Emojis - Haxus - 04-20-2020 Server Crashes A bug is causing servers to crash, about two per day. This bug has been difficult to track. The crash is the side effect of an error that is introduced by code that does not crash. The errant code drops a little land mine in the data and some time later the server goes in face first. This update has some slight changes that may eliminate the problem. It also has some additional error messages that may help me to find the problem, if those slight changes aren't effective. Emojis Someone asked for emojis. At first I resisted this idea because I don't have time to paint thousands of emoji images and there isn't a library of free ones. That is what I thought, anyway. It turns out that emojis are defined as part of the unicode character set. With a little searching, I found a file that categorized them nicely and I wrote some code to import the information. They are painted using a font so they are the font color, instead of full color little pictures. This also causes some of them to be represented as sequences of multiple unicode characters, like when a face is selected that has a skin color. I tried to paste an example here but it translated the combination into the appropriate full color emoji. That also happens when emojis appear in the galactic chat on the Hazeron.com main page. Not all of them have representations on my computer, running Xubuntu 18. Some appear as an empty box. I haven't seen these on Windows. It is likely they will appear a little differently from what I get on my screen. The communications channel now has an emoji button next to the box where you type messages. The user interface is primitive but functional. RE: 2020-04-20 Server Crashes, Emojis ? - Haxus - 04-20-2020 Not all clients are finished building. I am posting them as they finish. I really wanted to get the servers going, to get on the trail of that crash. I think it is the last of the problems introduced by the etherium change. RE: 2020-04-20 Server Crashes, Emojis - Xantheose - 04-21-2020 (04-20-2020, 08:35 PM)Haxus Wrote: Emojis >focusing on emojii while system exploration is broken and ships can't spawn without having to wait 5 hours RE: 2020-04-20 Server Crashes, Emojis - Seathre - 04-22-2020 (04-21-2020, 09:34 AM)Xantheose Wrote:(04-20-2020, 08:35 PM)Haxus Wrote: Emojis Ok listen. I asked for this, and I will take responsibility for it. Haxus, you mad lad. You've made me a very happy man today. Thank you. RE: 2020-04-20 Server Crashes, Emojis - Norway174 - 04-25-2020 (04-20-2020, 08:35 PM)Haxus Wrote: and there isn't a library of free ones. There is: https://twemoji.twitter.com/ Free for both commercial and non-commercial works. Just need to add some attributions in an about page somewhere. Or something. |