Search

Search found 2848 matches

by gajop
22 Jan 2012, 13:37
Forum: AI
Topic: Looking to start a C# AI - Approaches?
Replies: 61
Views: 75357

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

I admit I haven't read the entire thing, but this is one of the articles that may be useful in my endevour. http://www.mono-project.com/Interop_wit ... _Libraries

I'll post further information when I start working on it.
by gajop
22 Jan 2012, 01:28
Forum: AI
Topic: Looking to start a C# AI - Approaches?
Replies: 61
Views: 75357

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

Ok, so I did some research/work on this thing and I think the work is a 3-part thing: 1) Generate a CSharp interface from a set of .h files (done) 2) Create the way of loading a CSharp AI (you have already created a proxy and i'll be looking into using it from tomorrow on) 3) Generate a CSharp OO wr...
by gajop
21 Jan 2012, 17:13
Forum: Lua Scripts
Topic: User Interface - Display unit portrait using a custom camera
Replies: 14
Views: 1845

Re: User Interface - Display unit portrait using a custom camera

most spring games have WAAAAAAAAAY more units than starcraft. ^^ This. The entire protoss tech tree (including units) is only 29 units. Me and kaiser could have 2 factions easily by now if we followed starcrap. And in my oppinion, maybe you should've done that. Can't comment on evo, but I find zero...
by gajop
21 Jan 2012, 12:04
Forum: Linux
Topic: Error compiling Spring on Archlinux
Replies: 4
Views: 2426

Re: Error compiling Spring on Archlinux

Best way to compile current stable spring on linux is to download it from the ABS, by doing the following: "sudo abs community/spring" "cp /var/abs/spring -r ~/spring-abs" "cd ~/spring-abs" "makepkg". If you want to compile it from git you can probably use the...
by gajop
18 Jan 2012, 11:58
Forum: Engine
Topic: Engine Testing - 16. January 2012 (85.0.1-53-g9b6cffe)
Replies: 17
Views: 3860

Re: Engine Testing - 16. January 2012 (85.0.1-53-g9b6cffe)

Licho wrote: Env variables dont have to be global, ZKL sets them only for the process, they dont change anything user or global bound.
Rather, env variables must not be global if spring is run in isolated mode.
by gajop
17 Jan 2012, 12:22
Forum: Engine
Topic: Engine Testing - 16. January 2012 (85.0.1-53-g9b6cffe)
Replies: 17
Views: 3860

Re: Engine Testing - 16. January 2012 (85.0.1-53-g9b6cffe)

Imo, isolated mode shouldn't be looking at any global variables, but it could be configured to use outside maps/mods folders in it's .springrc. I think that's what most content/lobby devs are trying to point out. Not sure if you can use .springrc or something similar to set runtime ENV variables, or...
by gajop
17 Jan 2012, 11:52
Forum: Engine
Topic: Engine Testing - 16. January 2012 (85.0.1-53-g9b6cffe)
Replies: 17
Views: 3860

Re: Engine Testing - 16. January 2012 (85.0.1-53-g9b6cffe)

The Windows and non-Windows syntaxes are really just batch and *sh syntaxes, right? Btw, why is isolation mode using ENV variables - isn't the whole point of isolation mode to have (portable) installs which are separate from system wide installs? I do recall reading it was causing problems for peopl...
by gajop
16 Jan 2012, 18:28
Forum: AI
Topic: Looking to start a C# AI - Approaches?
Replies: 61
Views: 75357

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

Those files are rather large to read completaly - do you have an xsd perhaps? Anyhow, from what I understand, you seem to be parsing C interfaces and you're creating simple intermediate XML files, your goal being to later use those XML files in all languages, as a point of reference, without having...
by gajop
16 Jan 2012, 16:16
Forum: AI
Topic: Looking to start a C# AI - Approaches?
Replies: 61
Views: 75357

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

Got your idea. My interface implementation was very terse, no additional "trees in the forest". I was thinking about the necessity of additional XML layer and I found it worthwhile for two reasons: 1. Clear and simple point of demarcation between interface and language specific stuff 2. E...
by gajop
16 Jan 2012, 14:54
Forum: AI
Topic: Looking to start a C# AI - Approaches?
Replies: 61
Views: 75357

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

Even though I'm not a fan of C# code in open source projects, it'd be more than willing to help. I'm no dev, however, I think I got a bit familiar with the awk scripts and did some small edits here and there. I'm not exactly sure what's not working for you, if you have a working CS AI (AI written i...
by gajop
16 Jan 2012, 11:39
Forum: AI
Topic: Looking to start a C# AI - Approaches?
Replies: 61
Views: 75357

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

Hi! The only real problem I faced when I tried to make one was that in order to make bidirectional c++/c# binding one had to have few cpp/hpp files parsed. This was the part of work I had almost completed but still failed. I know there are AWK scripts exist which do the job for JavaAI for instance....
by gajop
15 Jan 2012, 18:55
Forum: AI
Topic: Java AI Interface broken?
Replies: 6
Views: 2928

Re: Java AI Interface broken?

As I answered you in the chat, it feels oddly similar to http://springrts.com/mantis/view.php?id=2162. I haven't tested it recently, so I can't confirm if it's still happening for me, but I'll give it a try these days and see what happens.
by gajop
15 Jan 2012, 03:29
Forum: AI
Topic: Bit of confusion with the new Java AI
Replies: 9
Views: 2183

Re: Bit of confusion with the new Java AI

edit: posted a pull request, so this isn't needed
by gajop
01 Jan 2012, 18:28
Forum: Game Development
Topic: Updating mods [PROPOSAL]
Replies: 21
Views: 3745

Re: Updating mods [PROPOSAL]

Which of these work with linux? (I fear none) did you try? or are you just "shooting from the hip?" Yes, in fact, when I last checked the only working lobbies for spring on linux are springlobby and qtlobby (not sure what happened with this one). Rapid is a command line tool I have been u...
by gajop
01 Jan 2012, 18:11
Forum: Game Development
Topic: Updating mods [PROPOSAL]
Replies: 21
Views: 3745

Re: Updating mods [PROPOSAL]

Rapid does not work with .sdz files. For rapid to work game has to use special rapid format. Stuff it uses is stored in pool and packages folders. It then 1) shares content between games (like models, sounds etc) 2) shares content between different versions of same game 3) downloads only changes 4)...
by gajop
01 Jan 2012, 15:06
Forum: Game Development
Topic: Updating mods [PROPOSAL]
Replies: 21
Views: 3745

Re: Updating mods [PROPOSAL]

What Niobium said. Sadly this rapid downloader has no manual afaik. Though there is some technical blabla no player understands: ;) http://springrts.com/wiki/Dev:LobbyDownloadSystems On windows, start the rapid\rapid-gui.exe (comes with spring install) and click things on the left site until you ge...
by gajop
01 Jan 2012, 13:18
Forum: Game Development
Topic: Updating mods [PROPOSAL]
Replies: 21
Views: 3745

Updating mods [PROPOSAL]

Currently, whenever a change in a mod has been made and a new version has been published, you have to download the entire file, sometimes as big as 20MBs. Often however, there weren't many changes, and even sometimes none were done to unit models, which probably (guesswork here) makes most of the mo...
by gajop
29 Dec 2011, 21:47
Forum: AI
Topic: Bit of confusion with the new Java AI
Replies: 9
Views: 2183

Re: Bit of confusion with the new Java AI

Well, damn, I figured 1) and 2) out, it seems the "options" parameter shouldn't be -1, setting it to 0 fixed both problems. Wish it was documented in Java so I had a clue of what it did without having to go to that .h file. Seems it would set a couple of flags improperly, shift, control, a...
by gajop
29 Dec 2011, 17:14
Forum: AI
Topic: Bit of confusion with the new Java AI
Replies: 9
Views: 2183

Re: Bit of confusion with the new Java AI

Well, I have checked and double checked my code, but I will keep looking as I may yet end up finding something. The thing is, I'm not issuing any move orders, I even disabled the "military" and "economy" managers (military issues attack move orders, but only for vehplant units). ...
by gajop
29 Dec 2011, 17:02
Forum: AI
Topic: Bit of confusion with the new Java AI
Replies: 9
Views: 2183

Re: Bit of confusion with the new Java AI

You dont need to tell a builder to move to the building site, it will do that automatically. If you DO however there need to be set options for queueing commands, or you can use Unit Idle to chain events, but Im unfamiliar with command options in the Java API I don't want to tell him that, in fact ...

Go to advanced search