Use it or lose it brain :(

For announcing, describing and discussing code changes to BNT.

Post Reply
User avatar
Site Admin
Posts: 246
Joined: Thu Apr 17, 2014 9:15 am

Use it or lose it brain :(

Post by TheMightyDude » Wed Jul 27, 2016 8:53 am

Well due to developing a complete game from scratch, including 3D Models, Audio Files, Images, Particle Effects, Shaders etc is going to take a while so I "thinking" on trying to code BNT from the ground up, so you all have something to play on while I develop my game.

And before you ask, yes it will be opensource and I plan to have two options when setting up the game:

• Run your own Auth Server along side your Game Server
With this option you run both the Auth Server (cut down version) and the Game Server and any other plugin features that you add.

• Use our Auth Service with your Game Server
Now with this option we would run the Auth Service, so all you need to do is take care of the game, you would need to sign up on our server as a Server User, this will be linked to your main account.
With a Server User Account you get given our Public Key along with your own Unique Key Pair for secure communication to our services.

There is also perks of this option which is features like:
• Friends List where you can see where your friends are playing etc
• Network Messaging where you can send a message to your friends no matter what server they are playing on
Both features are assuming the server they are playing on is using this second option.

There was more features that I was going to talk about, but I have completely forgotten about, this is what happends when somebody phones you in mid posting :roll:

Anyway I thought I would dig into the PHP Code of BNT due to I was having a good day health wise, just so I can see the state of the current code and decide where to go from there to also see what is usable or not, and for the life of me I couldn't even remember what half of the code did. :?

So its true, if you don't use it you lose it and in this case where I haven't dug into the code in a very long time due to ill health and to the state of the code I had absolutely no clue what some of the code was actually doing, well not at first.

It seems that I am having to look up PHP functions whereas before I knew most of them, granted its a set back, but it shouldn't be that hard to get back into PHP.

As far as I can see we are currently running the following on here:
• PHP: 5.5.9
• MySQL: 5.5.50
• Apache: 2.4.7

So if I "do" decide on coding it will be based around those versions or what ever version is on here at the time and if really needed I can add version checks to make sure we call them right.

We now have Valid SSL Certs in place, so we can now use HTTPS for secure stuff.
So we could do things two ways:
1: Have in the code switches to use HTTPS or HTTP where needed.
2: Have a .htaccess file that redirects to HTTPS for the required pages.

Both may/will require 2 sets of virtual hosts for the HTTP and HTTPS.

We could even have a config switch that defines whether to use HTTPS for everything, just not fully decided on it yet.

Damn, I must really write down my ideas when I get them.

If I was to stay very close to how BNT currently is, what realistic features would you like to see (knowing its still a browser based game) ?

Well this is it for now.
TheMightyDude::Blacknova Development.
Development Blog Twitter Twitch

Posts: 64
Joined: Thu Nov 03, 2016 5:16 am

Re: Use it or lose it brain :(

Post by Rincewind » Mon Nov 07, 2016 6:12 am

To be honest I don't really feel like many more features (if any) are needed, just Quality of Life improvements. Like the pre-defined special port purchases.

Also, maybe a way to navigate to starting points for trade-routes easier than having to click onto trade route every time. I feel like those could easily always be displayed on the left side once you enter something like 'Trading mode'. So display the trade routes while I trade, then go back to galaxy view.

A lot of the game would be so much more pleasant with a bit of UI rework.

Post Reply