Started Development :)

For announcing, describing and discussing code changes to BNT.

User avatar

Site Admin

Posts: 151

Joined: Thu Apr 17, 2014 10:15 am

Post Thu Nov 10, 2016 6:02 am

Re: Started Development :)

Rincewind wrote:Sounds like it's a good idea then, I guess, to recode the whole game. Use all the goodies of the new PHP eh? :)

Well I am "hoping" to use all the good stuff.
Its been a while since I have even touched PHP, so I am hoping that some of the +15 years I have worked on BNT has stuck LOL.

Rincewind wrote:I will be waiting patiently then, playing a very unpopulated game atm, practicing my trading/building skills and remembering all the old tactics! But keep us posted on the progress!

Well it will take a while for me to do it, you will be surprised how much code is in this game, but I was thinking of setting up a development blog etc.

And on top of having bad days and Hospital appointments, so this will take a while.
TheMightyDude::Blacknova Development.
Development Blog
User avatar

Posts: 64

Joined: Thu Nov 03, 2016 6:16 am

Post Thu Nov 10, 2016 6:48 am

Re: Started Development :)

Hearing about your health problems makes me realise how lucky I am to be in good health! (knock on wood)

I know there's a lot of code, last time I looked I think something around 80k lines of code... that's insanely a lot for 1 man. That's why I think setting up a GitHub account just for BNT and outline some development plan, write guidelines for pull requests etc. would be helpful. So anyone who wants to jump in and play with the current code can easily do so.

You never know, there may even be someone who knows something about BNT code and is willing to help out.

GitHub also comes with a free Wiki, I'd be happy to write guides for the game on that.
User avatar

Site Admin

Posts: 151

Joined: Thu Apr 17, 2014 10:15 am

Post Thu Nov 10, 2016 8:46 am

Re: Started Development :)

Well a very basic Blog set up :P

Its nothing special and only took me 30 mins to setup, but at least it will allow me to post what I am working on or even post YouTube Videos showing off stuff etc.

The Blog also works on my Android Smart Phone LOL.
TheMightyDude::Blacknova Development.
Development Blog
User avatar

Posts: 64

Joined: Thu Nov 03, 2016 6:16 am

Post Thu Nov 10, 2016 10:46 am

Re: Started Development :)

Great work, captain! :D

*thumbsup*
User avatar

Site Admin

Posts: 151

Joined: Thu Apr 17, 2014 10:15 am

Post Mon Dec 26, 2016 11:30 pm

Development Update :)

Just a quick update on the development...

Sorry I have not been around, but I have been looking into a way to cache database records, I am currently playing about with tmpfs (basically a ram drive with a fixed partition size of 1GB) which seems to be working rather well so far.

More info on the development blog, this route may not please a lot of people that would of liked to run this version of the game "when its completed", due to it will require root access to the server to setup the tmpfs partition, which might also become a security issue if used on host serving multiple sites, like webhosting's etc.

This security issue is that everyone can access the tmpfs partition, so each webhost will be able read and write to that partition, which isn't good. I am looking into ways to reduce the issue like setting owner rights to the partition or encrypting the data, sadly the encryption route will add latency into reading and writing data to the tmpfs partition.

But at least its a start :)
TheMightyDude::Blacknova Development.
Development Blog
User avatar

Site Admin

Posts: 151

Joined: Thu Apr 17, 2014 10:15 am

Post Thu Jan 26, 2017 7:29 am

Re: Started Development :)

Well time for another update...

Well tmpfs didn't pan out plus I wasn't happy with the security side of it :evil: , so I am for now falling back to MySQL's built in caching.

Haven't felt like coding for a week :( , so everything was put on hold.

Also seems that the JSON Serialization code that I wrote a couple of weeks ago had issues on everything apart from Windows, so I had to start the serialization code from scratch.

I ended up using the built in version which is very limited and can only serialize basic variable types that are wrapped in a class.

This was very frustrating at first but I think I have that partly done, so I can now send requests from the client to the server using a JSON formatted string, so the next part will be to add JSON Deserialize code to handle the response data from the server.

So once that's all done I should be able to have the client login into a very basic sandbox :)
TheMightyDude::Blacknova Development.
Development Blog
User avatar

Site Admin

Posts: 151

Joined: Thu Apr 17, 2014 10:15 am

Post Fri Feb 03, 2017 9:14 am

Development update :)

Well, just a very quick update about the client side progress ...

I have now got a very basic windows client framework done that does requests using the normal HTTP Requests using POST and GET over a SSL/TLS 1.2 (RSA 2048 bit Key) encrypted connection using HTTPS so everything is encrypted.
All requests will use the above way to send and all responses are in the form of a JSON string.

I have already done a test app which does a basic login that works great, so we are getting somewhere at last :)

I have modularized everything making it easier to access and update stuff, it also makes it cleaner :)

Now the question is how well this will work with a very large response where the browsers just gave up and broke :P
TheMightyDude::Blacknova Development.
Development Blog
Previous

Return to Development



Who is online

Users browsing this forum: No registered users and 1 guest