Aivolution. Crashes after I install

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
Eversmile
Greenhorn
Posts: 7
Joined: 17 Mar 2007, 00:27

Aivolution. Crashes after I install

Post by Eversmile »

Hey!

I just tried installing Aivolution from http://svn.gna.org/viewcvs/warzone/trun ... /?rev=2159 by replacing all the playerX.slo and PlayerX.vlo in my warzone.wz with the ones from the website. I have TortoiseSVN, but i have no idea what the SVN server actually is. After i installed, the game loads perfectly, until i begin a skirmish match. As soon as i click "OK," the game loads for about 1 second until I get a C++ runtime error. I used winrar to open and repack warzone.wz. I tried searching google and this forum, but I couldn't find anything similar.

Please help me if you can!

PS: Is there any other AIs that work with this version?
Giel
Regular
Regular
Posts: 725
Joined: 26 Dec 2006, 19:18

Re: Aivolution. Crashes after I install

Post by Giel »

Eversmile wrote: ...until I get a C++ runtime error...
Wow! How did you achieve that? Concidering that we don't use C++ for Warzone 2100 currently (we use C, but not C++).
Eversmile wrote: I used winrar to open and repack warzone.wz.
That's the proper method of editing the *.wz files.
Eversmile wrote: PS: Is there any other AIs that work with this version?
To be able to answer that question it might help if you actually mention what version you are using.

As for AIvolution it only works with the current development trunk (or about 200 revisions back as well).
"First make sure it works good, only then make it look good." -- Giel
Want to tip/donate? bitcoin:1EaqP4ZPMvUffazTxm7stoduhprzeabeFh
Eversmile
Greenhorn
Posts: 7
Joined: 17 Mar 2007, 00:27

Re: Aivolution. Crashes after I install

Post by Eversmile »

Wow! How did you achieve that? Concidering that we don't use C++ for Warzone 2100 currently (we use C, but not C++).
I have no idea. Considering you help make the game, I was hoping you could tell me. Image
That's the proper method of editing the *.wz files.
Thank you, I was just making sure.
To be able to answer that question it might help if you actually mention what version you are using.
The latest version available from the website.

Any ideas? Thank you so much for your quick response by the way.
sicanjal
Rookie
Rookie
Posts: 29
Joined: 11 Sep 2006, 11:44
Location: United Kingdom

Re: Aivolution. Crashes after I install

Post by sicanjal »

Aivolution won't work on the release versions because it requires scripting functionality since added in the trunk.

If you're using TortoiseSVN, create a new folder for Warzone and then right-click -> SVN checkout. When prompted, paste svn://svn.gna.org/svn/warzone/trunk into "URL of repository" and click OK. From this point, you will need to compile Warzone. Follow the guide on here: http://wiki.wz2100.net/development:comp ... de_windows

SVN information is available from the project's GNA! page:
https://gna.org/projects/warzone/
Eversmile
Greenhorn
Posts: 7
Joined: 17 Mar 2007, 00:27

Re: Aivolution. Crashes after I install

Post by Eversmile »

I get the error: "Error * Malformed network data"  :-[ Is there anyway i can do this without SVN, or compiling it myself?

Edit: It just started working
Last edited by Eversmile on 22 Jul 2007, 02:09, edited 1 time in total.
Giel
Regular
Regular
Posts: 725
Joined: 26 Dec 2006, 19:18

Re: Aivolution. Crashes after I install

Post by Giel »

Eversmile wrote: I have no idea. Considering you help make the game, I was hoping you could tell me.
Ah! That's just M$ calling it the "C++ runtime library" while it truly is the "C runtime library" (M$ is good at lying IMO).
"First make sure it works good, only then make it look good." -- Giel
Want to tip/donate? bitcoin:1EaqP4ZPMvUffazTxm7stoduhprzeabeFh
User avatar
skellr
Trained
Trained
Posts: 72
Joined: 17 Aug 2007, 15:58

Re: Aivolution. Crashes after I install

Post by skellr »

Eversmile wrote: I get the error: "Error * Malformed network data"  :-[ Is there anyway i can do this without SVN, or compiling it myself?

Edit: It just started working
I frequently get this error, but if you keep trying, brute force will prevail. Apparently a workaround is to use http:// instead of svn://
https://gna.org/support/?func=detailitem&item_id=968