Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Numsgil

Pages: [1] 2 3 ... 508
@Numsgil will you be able to support using HTTP GET and PUT in the darwinbots client directly, or will it still use an external program with an incoming and outgoing directory?

Although Visual Basic 6 is supposed to support http libraries, in practice we've had better success with external programs that read and write the files, with the DB2 app just reading and writing files.


For the server code, can you explain which abuses you're trying to protect against?

I got the https certificates but certbot is having a hard time installing them in to apache.  We have a lot of virtual hosts that are Include'd from other files, and I think that's confusing it.  I'll need to manually add the certificates to all the virtual host files.  Sometime in the next few days hopefully.

For the https it's pretty simple to set it up, but if you give me access to the server hosting it I can do it for you.

Would you mind just walking me through setting it up?  I'd like to have at least some idea of what's changed so when it breaks I vaguely know what to poke :)  The server is just a linux box.

Would also be neat to have a / server if you'd like me to set one up.

Can you give me the elevator pitch for how you think it'd work?  Is it just a matter of hooking up the Darwinbots client/desktop app, and then matrix would be the server?  Do we have/get to run matrix on our own server?

For the internet mode, will the DB client ask for if there's a bot available to get regularly and always take it if there is one, or is the server side more intelligent and selectively chooses DB clients?

At the moment/historically it's first-come-first-serve, and there's nothing to prevent either duplication of bots when two people download a file at once or getting your own bot back.  But we can certainly do something smarter, especially if it's only a little bit of code to enable.  But my first priority would just be getting something set up.

I've got measures in place to prevent abuse (Draining all bots / pushing out a lot of your own bots)

Can you issue login credentials to people?  That would prevent at least some sorts of abuses I'm concerned with.  If we could tie it in the forum authentication that would be even better, but that might be tricky.

Yeah, sounded like you were maybe volunteering some expertise in the area?

What do you need me to do?

DNA - General / Re: It doesnt work.
« on: June 24, 2017, 12:13:18 PM »
If you're doing what I think you are it should be

*.totalbots *.totalmyspecies sub > 20

The asterisk is important or else you're just pointing to a memory location and not the value in the memory location.

If it still doesn't work it's possible those sysvars are broken.  Use the bot memory inspection tool and see if the variables in those sysvar locations look right.

Newbie / Re: Windows 10 version?
« on: June 18, 2017, 06:23:17 AM »
It should work, as far as I know.  What error does it give you?

Newbie / Re: How did you find DarwinBots?
« on: June 18, 2017, 06:22:50 AM »
I've been looking at Screeps, too, trying to decide if I want to get that involved in to a programming game or not.

Newbie / Re: Hi
« on: May 13, 2017, 11:07:56 AM »
I've checked in the unit tests.  I've put them in their own folder just so things don't get entirely crazy.  However, they don't seem to be showing up in the test app (it shows 0 tests).  I couldn't figure out where it went wrong.  Maybe you can take a look at it?

Newbie / Re: Hi
« on: May 11, 2017, 01:12:40 PM »
Just an update that I haven't forgotten about you.

I recently had to reinstall Windows 7, so there was a lot of ActiveX wrangling to get Visual Basic working.  I'm trying to go through and sanitize it so this won't be as much of an issue in the future.

I'm sorry it's taking so long.  Next patch won't take so long for me to review I promise.

Newbie / Re: Hi
« on: May 08, 2017, 06:09:14 AM »
Looks good.  Give me a day or so to give it a look over and check it in.

Newbie / Re: Hi
« on: May 07, 2017, 06:56:31 AM »
I haven't been doing any work in the VB6 code for many years now, so I don't know what all needs doing there.  I think bugs at least are pretty well squished.

If you were feeling really adventurous you could try and figure out testing.  Not knowing if a change is breaking something has been a huge issue for us in that code base.  From a quick google I found SimplyVBUnit.  If you wanted to you could try and figure out how to set that up so that we had some unit tests.  That would be a gigantic help.  If you aren't familiar with unit testing I think the Stepping Through the Looking Glass: Test-Driven Game Development is a good introduction.

In terms of what to test to start with, if you look in common.bas, there's a bunch of low level functions that get used all over the place.  Testing VectorMagnitude would be a good place to start.  Make sure it doesn't overflow especially.

When you're ready, you can create a SVN patch (for tortoise see Creating and Applying Patches) and upload it to the forums here in a post (if it's not too big).  I'll review it and make sure you're on the right track and check it in.  After a few such patches I'll give you an account to check code in with yourself.

Newbie / Re: Where can I find the latest source code (ver 2.48.32)?
« on: May 06, 2017, 06:15:46 AM »
Oh wait, no, scratch that, it's in there I think, at least up to 2.48.32.

It's under SVN control.  The repository lives here.

Newbie / Re: Where can I find the latest source code (ver 2.48.32)?
« on: May 06, 2017, 06:12:35 AM »
Looks like Botsareus hasn't been updating the repository with any of his recent changes.  You might shoot him a personal message and ask him to do that.

Newbie / Re: Hi
« on: May 06, 2017, 06:08:40 AM »
Yes, I'm doing active development on a next version.  I recently dropped a sort of preview thing here.

If you know/can learn C#, I'm sure I could give you some tasks you'd find interesting.  Information on getting the source code up and running is found here.

If you know Visual Basic 6, you could play around in the current version.  In some ways it's an easier codebase to figure out and modify, but it's also pretty easy to break stuff without knowing since it's not really tested.  Its SVN is here.

Pages: [1] 2 3 ... 508