Search

Search found 52 matches

by msm8bball
06 Dec 2018, 22:44
Forum: AI
Topic: Looking to start a C# AI - Approaches?
Replies: 61
Views: 75180

Re: Looking to start a C# AI - Approaches?

It sounds like Apache Thrift was a step in that direction, but then I didn't see any further discussion of it. I guess what I'm proposing is that as a community we pick some sort of open way that would make it easy to add additional language support, and then we work towards that goal. I don't know...
by msm8bball
06 Dec 2018, 19:14
Forum: AI
Topic: Looking to start a C# AI - Approaches?
Replies: 61
Views: 75180

Re: Looking to start a C# AI - Approaches?

In web development, there's something called the OpenAPI Specification (formerly known as Swagger). It's a way of describing an API that makes it simple to generate a client for an API, in any language. There's code generators for all the popular languages, and it's not too difficult to directly con...
by msm8bball
06 Dec 2018, 19:08
Forum: AI
Topic: Looking to start a C# AI - Approaches?
Replies: 61
Views: 75180

Re: Looking to start a C# AI - Approaches?

Honestly, AIs written in anything other than lua are kind of pariahs at this point. Gamedevs have zero control over non-lua AI, and those AI generally only work for a single game, if that. LuaAIs can be adapted and worked on after that author has long since abandoned them. A perfect example of this...
by msm8bball
06 Dec 2018, 18:59
Forum: AI
Topic: Looking to start a C# AI - Approaches?
Replies: 61
Views: 75180

Re: Looking to start a C# AI - Approaches?

Silentwings wrote: 06 Dec 2018, 11:23 I agree, non-lua AIs remain current - that said, I can't see why anyone would write an AI in C# when you have C++ already available.
Because that developer likes C# better, or doesn't know C++? Everyone has their language preferences.
by msm8bball
05 Dec 2018, 19:22
Forum: AI
Topic: Looking to start a C# AI - Approaches?
Replies: 61
Views: 75180

Re: Looking to start a C# AI - Approaches?

Is there anyone still interested in C#? I'm working on a Java AI but I keep finding myself wishing it was C#. The Thrift stuff sounded promising to me, but it's been six years now... In the time since anyone has last discussed a C# AI, .NET Core has become available, meaning that some of the Linux/M...
by msm8bball
05 Dec 2018, 19:07
Forum: Balanced Annihilation
Topic: Very very easy AI?
Replies: 4
Views: 4271

Re: Very very easy AI?

I'm in the process of writing an AI. It's very unsophisticated. It only knows how to build a couple unit types and doesn't how to search for enemies yet (other than drive South). If you're interested in playing against it, let me know and I can help you get it set up.
by msm8bball
28 May 2016, 23:43
Forum: AI
Topic: Load External Java Library
Replies: 4
Views: 7204

Re: Load External Java Library

abma wrote:
msm8bball wrote:this would be easier if the AI interface could capture this error better?

what do you mean with "this"?
I mean debugging to figure out what was wrong would be easier if it was able to give a more descriptive error message.
by msm8bball
22 May 2016, 05:20
Forum: AI
Topic: Load External Java Library
Replies: 4
Views: 7204

Re: Load External Java Library

It turns out that while my project was building successfully, the signalr-client-sdk.jar I was calling needed two additional JARs (Google's JSON library and Java Web Sockets library). This only became apparent at runtime once I made a standalone Java executable tried to use signalr-client-sdk.jar. M...
by msm8bball
22 May 2016, 01:06
Forum: AI
Topic: Load External Java Library
Replies: 4
Views: 7204

Load External Java Library

My AI deploys and runs without crashing. I want to utilize a library in an external JAR file (signalr-client-sdk.jar). I've placed the JAR file in the /jlib directory under my AI, alongside vecmath.jar and JavaOO-AIWrapper.jar etc. I add a line of code in my AI's init method instantiating an instanc...
by msm8bball
17 May 2016, 16:28
Forum: AI
Topic: The call to initStatic() returned unsuccessfuly.
Replies: 22
Views: 13836

Re: The call to initStatic() returned unsuccessfuly.

Failed locating the client version of the JVM, please contact spring devs. is JAVA_HOME correctly set? maybe unsetting already fixes it. Ah! I forgot I installed the 64bit Java the other day to compile SignalR Java client library. That set my JAVA_HOME to the 64 bit Java. Unsetting the JAVA_HOME al...
by msm8bball
17 May 2016, 15:00
Forum: AI
Topic: The call to initStatic() returned unsuccessfuly.
Replies: 22
Views: 13836

Re: The call to initStatic() returned unsuccessfuly.

abma wrote:should be fixed with https://github.com/spring/spring/commit ... 0a9ddaff5a

please try again with >= spring 101.0.1-373-g9d13eb6
Unfortunately, that did not fix it.
http://paste.springfiles.com/view/2990b921
by msm8bball
15 May 2016, 00:29
Forum: AI
Topic: The call to initStatic() returned unsuccessfuly.
Replies: 22
Views: 13836

Re: The call to initStatic() returned unsuccessfuly.

I'm having this same issue again. Tried leaving JAVA_HOME unset, tried setting it to C:\Program Files (x86)\Java\jdk1.7.0_55\bin and C:\Program Files (x86)\Java\jdk1.7.0_55.

No luck. Any ideas?
by msm8bball
19 Apr 2013, 04:03
Forum: AI
Topic: AI Factory
Replies: 46
Views: 9976

Re: AI Factory

I started the topic, perhaps I should have some say in what the topic is? Although I didn't mention C# in my original post, the intent of the post is "let's get a managed high level AI language working". Java or C# would fit the bill nicely Lua is higher than both of those. Name one reaso...
by msm8bball
19 Apr 2013, 02:09
Forum: AI
Topic: AI Factory
Replies: 46
Views: 9976

Re: AI Factory

That's the theory, not the practice. What happens in practice is developers use Windows-only classes and libraries that cannot be ported to Mono for legal (patents) or technical reasons. Mono is considered by many linux users/developers to be a bloated dependency with inherent portability and legal...
by msm8bball
18 Apr 2013, 06:42
Forum: AI
Topic: AI Factory
Replies: 46
Views: 9976

Re: AI Factory

I've never understood why Java developers make everything so complicated. What's wrong with exporting a basic set of proceedural functions or simple classes in the interface and letting AI writers apply their own abstractions (Factories, Getters, Services, Gateways, etc) on top of that? I've made o...
by msm8bball
18 Apr 2013, 06:20
Forum: AI
Topic: AI Factory
Replies: 46
Views: 9976

Re: AI Factory

I've never understood why Java developers make everything so complicated. What's wrong with exporting a basic set of proceedural functions or simple classes in the interface and letting AI writers apply their own abstractions (Factories, Getters, Services, Gateways, etc) on top of that? Coming from...
by msm8bball
15 Mar 2013, 14:20
Forum: AI
Topic: AI Factory
Replies: 46
Views: 9976

Re: AI Factory

Slow AI's > not working AI's My views on this are that pureint was supposed to improve AI's. And maybe it has, but at the same time it's also made them unusable. So we need to modify Spring to make it easier to integrate AI's, or we need to modify the interface our AI's are using. Whichever is easie...
by msm8bball
14 Mar 2013, 02:01
Forum: AI
Topic: AI Factory
Replies: 46
Views: 9976

Re: AI Factory

A few days ago, my mind wandered back to Spring and I thought to myself "I wish I could write an AI in .NET". I'd settle for being able to write a functioning Java AI right now, that you can have more than one instance of. When I test my AI, it's much easier to put a bunch on the map and w...
by msm8bball
22 May 2012, 01:43
Forum: AI
Topic: failed handling event
Replies: 2
Views: 1786

Re: failed handling event

Thanks, that helped me narrow it down. Apparently every frame I was trying to access a List<Unit> that hadn't been initialized yet. I guess I was expecting a null reference exception.
by msm8bball
20 May 2012, 23:34
Forum: AI
Topic: failed handling event
Replies: 2
Views: 1786

failed handling event

[f=0000000] Warning: AI for team 0 (ID: 0) failed handling event with topic 6, error: -5 [f=0000001] Warning: AI for team 0 (ID: 0) failed handling event with topic 3, error: -5 Seeing these errors a lot. What do they mean? And is there a place where I could look up what those error codes mean myse...

Go to advanced search