Search

Search found 32 matches

by Jack
14 Oct 2008, 22:17
Forum: Lua Scripts
Topic: Sick of acccidentally scrapping things in CA?
Replies: 14
Views: 2173

Re: Sick of acccidentally scrapping things in CA?

Licho wrote:Jack, good work..
CA is fully open project, you can modify CA scrapping directly and then post a ticket with patch or just contact any dev for commit rights!
Thanks Licho. I would do this, but I'm unsure whether the widget "fits" CA nicely. It works for me, but it's not pretty.
by Jack
09 Oct 2008, 23:37
Forum: Lua Scripts
Topic: Sick of acccidentally scrapping things in CA?
Replies: 14
Views: 2173

Re: Sick of acccidentally scrapping things in CA?

The widget is now updated for 0.77b2.
by Jack
07 Oct 2008, 21:27
Forum: Lua Scripts
Topic: Sick of acccidentally scrapping things in CA?
Replies: 14
Views: 2173

Sick of acccidentally scrapping things in CA?

This is a Scrap warning widget. It tells you if any scrap operations are in progress (with a big message in the centre of the screen) and gives you an opportunity to cancel them instantly. This makes it very hard to accidentally scrap anything, such as your commander, your factory, or all of your un...
by Jack
17 Sep 2006, 16:17
Forum: Off Topic Discussion
Topic: What would you do?
Replies: 42
Views: 7573

Ahh.. I dunno. I mean, it seems like an ideal set up.. Anyways isn't communism where people rule? Not leaders? Wouldn't mine be more that nazism thing with Hitler XD Actually there is little difference between the two. Communism requires the state to have absolute power, just like Hitler really. Bu...
by Jack
07 Sep 2006, 21:41
Forum: Engine
Topic: Patch for multiple group AIs in one DLL
Replies: 15
Views: 1585

Tobi wrote:I think you can use "svn add filename" before "svn diff" to have the file included in the patch. Thanks for fixing indentation.
Ah, I'll remember that. Anyway, hopefully you have everything now.. do let me know if any problems show up as I will be happy to fix them.
by Jack
07 Sep 2006, 21:36
Forum: Engine
Topic: Patch for multiple group AIs in one DLL
Replies: 15
Views: 1585

Could you fix indentation? (use tabs instead of spaces, open patch in browser to easily see where) The code itself looks fine, I didn't spot obvious problems. Done - new patch at http://www.jwhitham.org.uk/pyai/multi_ais_per_dll_svn.diff Also I have noticed that 'svn diff' does not include new file...
by Jack
07 Sep 2006, 20:55
Forum: Engine
Topic: Patch for multiple group AIs in one DLL
Replies: 15
Views: 1585

Ah, I got it now. http://www.jwhitham.org.uk/pyai/multi_a ... l_svn.diff

I was using regular Unix diff, but I should have been using 'svn diff'. Thanks for your help.. hope it works now.
by Jack
07 Sep 2006, 20:30
Forum: Off Topic Discussion
Topic: look around you
Replies: 12
Views: 1685

It is excellent. If I was a science teacher I'd play them to my class to see how long they took to work out what was going on.

There is a second series but it is not as good - they changed the format completely: it is effectively a different show.
by Jack
07 Sep 2006, 19:41
Forum: Engine
Topic: Patch for multiple group AIs in one DLL
Replies: 15
Views: 1585

Is my new patch usable? Do let me know, when you have a chance to look at it, as I am quite happy to change it.
by Jack
06 Sep 2006, 00:49
Forum: Engine
Topic: Patch for multiple group AIs in one DLL
Replies: 15
Views: 1585

Ehm, can you change it back? :) My tortoisesvn doesn't like it. It also doesn't have revision numbers which seems wrong. In theory it could check dates but it doesn't work at all anyway. So a normal patch plz:) Hi, sorry it didn't work. http://www.jwhitham.org.uk/pyai/multi_ais_per_dll_2.diff is a ...
by Jack
05 Sep 2006, 21:05
Forum: Engine
Topic: Patch for multiple group AIs in one DLL
Replies: 15
Views: 1585

imbaczek wrote:Only useful comment I can give, given my zero knowledge of Spring code - unified diffs are (IMHO) a lot more human readable 8)
Having now seen the results of using -U, I would tend to agree. I have updated the file.
by Jack
05 Sep 2006, 19:50
Forum: Engine
Topic: Patch for multiple group AIs in one DLL
Replies: 15
Views: 1585

Patch for multiple group AIs in one DLL

I've written a patch for spring to allow multiple AIs in a single DLL. I've tested it with the latest version from SVN. It includes an update to the interface version number, the changelog and the existing group AIs (the interface has changed slightly). This has been done to support group AIs that a...
by Jack
02 Sep 2006, 00:43
Forum: Engine
Topic: Latest data tarfile
Replies: 0
Views: 461

Latest data tarfile

Hi,

I just built a recent Spring, out of SVN, and tried to run it with the data files from 0.72b1, which are the most recent I can find. However, I get an error:


Edit: d'oh... I forgot to symlink the base directory. Please ignore this post.
by Jack
01 Sep 2006, 12:01
Forum: AI
Topic: AI interface improvements
Replies: 9
Views: 1697

AF, make sure to write the interface in C only and also define the calling convention you use etc., so there'll finally be an AI interface that doesn't require the AIs to be compiled with same compiler vendor & version as spring itself... Pardon my ignorance, but will this be possible? I notice...
by Jack
31 Aug 2006, 15:39
Forum: AI
Topic: Write your Group AI in Python!
Replies: 18
Views: 2467

I took a look at the source and found it to be a seething mass of confusion, I cant even find the exported functions the engine calls to get the name of the groupAI and the copy of IGroupAI. That's in gluecpp, which gets #included by the SWIG code. The reason for doing this, rather than compiling g...
by Jack
31 Aug 2006, 15:34
Forum: AI
Topic: Write your Group AI in Python!
Replies: 18
Views: 2467

hollowsoul wrote:http://www.py2exe.org/
Unfortunately this won't work. I thought about doing this, and investigated it, but Py2exe isn't able to embed the Python interpreter in a DLL: it can only generate EXE files. So you do have to install Python - sorry!
by Jack
30 Aug 2006, 14:37
Forum: AI
Topic: Write your Group AI in Python!
Replies: 18
Views: 2467

Can this be used for lua? It'd be a godsend if you set it up for that, as it would take out a huge chunk of XE10 work and allow me to change a heck of a lot very quickly and allow a huge feature explosion That's possible, but I don't know much about Lua myself. SWIG is able to generate Lua - have a...
by Jack
30 Aug 2006, 10:51
Forum: AI
Topic: Write your Group AI in Python!
Replies: 18
Views: 2467

Nice work, only the spring restriction of 1 AI per DLL is now a drawback... Ideally someone would write a patch to have more than 1 AI per DLL ;) Yes - PyAI would work far better if it was possible to do this. Would the devs accept a patch from myself? This also allows others to easily make wrapper...
by Jack
29 Aug 2006, 23:34
Forum: AI
Topic: Write your Group AI in Python!
Replies: 18
Views: 2467

Write your Group AI in Python!

I've written a Python wrapper for the Spring group AI interface. You can use this to write group AIs in Python, which might be easier than writing them in C++. The webpage has source code, a Windows DLL, and some example AIs (mostly ported from the C++ group AIs). http://www.jwhitham.org.uk/pyai/ Th...
by Jack
21 Aug 2006, 01:09
Forum: General Discussion
Topic: People rename accounts, how to avoid them?
Replies: 44
Views: 5529

3.The remaining players all have played x amount of time, and never got complaints about lame playing during all the matches he has played to get x amount of ingame time. 4.All the remaining players are probably going to continue to behave good, or if they dont, they atleast get a negative rating a...

Go to advanced search