Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
2020-04-20 Server Crashes, Emojis
#1
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.
Reply
#2
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.
Reply
#3
(04-20-2020, 08:35 PM)Haxus Wrote: 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.

>focusing on emojii while system exploration is broken and ships can't spawn without having to wait 5 hours
[Image: unknown.png]
Reply
#4
(04-21-2020, 09:34 AM)Xantheose Wrote:
(04-20-2020, 08:35 PM)Haxus Wrote: 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.

>focusing on emojii while system exploration is broken and ships can't spawn without having to wait 5 hours

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.
Reply
#5
(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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)