HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

question concering saving game information to a local file.

07-26-2007, 05:54 PM#1
archpsi
hi

Im a computer science research student and part of my research has to do with A.I in RTS games. I wanted to do something with wc3, whereby I need to be able to actually save the results of how effective an a.i was after running a full game and a some kind of data structure to represent the A.I used. This has to be done automatically (it would invovle a significant amount of games running across a few days at top speed -customized speed to make it much faster).

is it possible in jass?

I've noticed that theres other tools like 1: japi(might have misspelled it) and 2: gobbledgook, but Im not sure about the legal issues involved in using 1: and possible limitations of 2: (might need to save a lot of information in table format -matrix)

any advice on how to implement this legally would be appreciated.

thanks in advance for any information.
07-27-2007, 09:05 AM#2
Anitarf
As long as you're doing single player tests, which I assume you are, you can use gamecache. Gamecache can be saved to the hard drive in single player. It is basicaly a sort of hash table to which you can store any amount of data in.
07-27-2007, 01:43 PM#3
Vexorian
Actually, afaik grimoire got some natives that allow to save to an output file or you can even try making one if you want.

But if you choose to use gamecache, it is easy to convert the gamecache to an slk using a program made by pitzermike.
07-27-2007, 04:35 PM#4
PipeDream
I suspect that grimoire is 100% legal as it has not helped me meet women seeking rebellious men. So, I suggest you do something like write SQL natives.

However, the gamecache route is probably going to be the easiest path.
07-28-2007, 11:54 AM#5
archpsi
thanks for the information and yep game cache sounds suitable enough for the data I need to store.