NTai Slander and the Spring Installer

NTai Slander and the Spring Installer

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

NTai Slander and the Spring Installer

Post by AF »

I demand that the NTai within the spring installer is updated from XE7.5, as it's giving the newer versions a very bad name.

I see people saying NTai is crap in #main, but they're using XE7.5 which is months out of date, whats more XE7.5 has crash bugs and no exception handling and logic errors all fixed in XE8.

Whats more I know I haven't released XE9 source as I said I would, I keep running out of time, but there is XE8 source on file universe, why cant you use that?

Even Linux users are usign XE7.5, despite XE8 source having been released.

You have 3 days to take action and repackage, after which I withdraw my consent for pre XE9 versions of NTai to be included.
User avatar
krogothe
AI Developer
Posts: 1050
Joined: 14 Nov 2005, 17:07

Post by krogothe »

only including stable versions in spring releases ftw!
hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post by hollowsoul »

before demanding anything plz
double check facts

edit addition (notice u meant installer). my guess its built off svn. which is meant for linux / mac aswell

which leads to the point that
source for NTAI version 8 does not compile under linux gcc.4.1.1 i got a headache even tryin to port it so it does. prob why 7.5 is in svn & not a later version

havent even tried to use version 9 source as i assume its the same. As noone else has said NTAI = fixed to compile under linux

thus my pet project of GTK UI for configuring spring atm, so i had something easier to workon

edit:- will check later on, if NTAI v9 bot doesnt compile
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

Then I'll just erase it from SVN unless I receive a working new version within the same 3 days. I don't feel like spending time porting it to linux again...
User avatar
Drone_Fragger
Posts: 1341
Joined: 04 Dec 2005, 15:49

Post by Drone_Fragger »

AF fails! \o/

Your threats just became useless AF :D
Egarwaen
Posts: 1207
Joined: 27 Feb 2006, 21:19

Post by Egarwaen »

Tobi wrote:I don't feel like spending time porting it to linux again...
Maybe if you'd released the patches back to the original author...
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

If XE7.5 was erased then it'd force people to sue the proper version.

http://taspring.clan-sy.com/phpbb/viewt ... 0459#90459

XE9 source released.

And I wasnt aware XE8 didnt compile under GCC 4.1.1, afterall I'm a windows user who uses Visual Studio 2003.

Changes to port NTai where kept once they where made, so only the changes need doing, most of which where include statements not being case sensitive, which I always check for now.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

Egarwaen wrote:
Tobi wrote:I don't feel like spending time porting it to linux again...
Maybe if you'd released the patches back to the original author...
I have. But AF only included half of them and all new code was broken again...

btw, we (dev team) are working on a solution but that may take a while
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

A solution? And only half?

If you're referring to the changes to CSunParser that soemone made in the svn without telling me I've included that, and I included everything in that patch you sent me.

s far as I am aware everything should be compatible with linux exept stuff added since XE8 which has never been compiled on linux.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

well or maybe your code doubled :-)

either way, I remember having to do exactly the same fixes the time I updated it as the time I imported NTAI 4.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

NTai XE4 was made long long before even XE7.5, possibly even before christmas!

Try compiling XE9 then, THEN come back and tell me what issues there are before you say anything more.
hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post by hollowsoul »

NTAI v9 doesnt compile
I/Group/UnitName/GroupAI.os AI/Group/UnitName/GroupAI.cpp
In file included from AI/Group/UnitName/GroupAI.cpp:5:
AI/Group/UnitName/GroupAI.h:11:21: error: process.h: No such file or directory
AI/Group/UnitName/GroupAI.h:18:16: error: io.h: No such file or directory
AI/Group/UnitName/GroupAI.cpp:590:2: warning: no newline at end of file
scons: *** [build/AI/Group/UnitName/GroupAI.os] Error 1
scons: building terminated because of errors.


note :- i have got around NTAI 8 problem with this before since they are windows header files. but cant remember off top of my head & its gettin late here


without your group AI source code ==


g++ -march=pentium4 -O2 -pipe -fvisibility=hidden -fpermissive -pthread -fPIC -D _REENTRANT -DDIRECT_CONTROL_ALLOWED -D_SZ_ONE_DIRECTORY -DNO_CLIPBOARD -DNO_AVI -DNO_LUA -Irts -Irts/System -I/usr/include -I/usr/include/GL -I/usr/include/free type2 -I/usr/include/SDL -I/usr/include/python2.4 -Irts/ExternalAI -c -o build/A I/Group/SimpleFormationAI/TestAI.os AI/Group/SimpleFormationAI/TestAI.cpp
g++ -shared -o game/aidll/SimpleFormationAI.so build/AI/Group/SimpleFormationAI/ GroupAI.os build/AI/Group/SimpleFormationAI/TestAI.os
gcc -shared -o game/aidll/Mapping.so
i686-pc-linux-gnu-gcc: no input files
scons: *** [game/aidll/Mapping.so] Error 1
scons: building terminated because of errors.


if u got email address. i sent u mine before in PM to your forum account. if u want i test compiling it & send back the errors i encounter.
User avatar
Tim Blokdijk
Posts: 1242
Joined: 29 May 2005, 11:18

Re: NTai Slander and the Spring Installer

Post by Tim Blokdijk »

AF wrote:I demand that the NTai within the spring installer is updated from XE7.5, as it's giving the newer versions a very bad name.

...

You have 3 days to take action and repackage, after which I withdraw my consent for pre XE9 versions of NTai to be included.
Give me a week or two, I'm working on a proposal to give more people svn access and AI developers are on the top of that list.
That way you yourself can update NTAI inside svn and you don't have to make treats to overworked engine developers.
If it's any comfort, I understand you feel frustrated.

It's just not like you can write something like this (proposal on giving more people svn access) in an afternoon.
User avatar
IceXuick
Posts: 519
Joined: 14 Mar 2006, 01:46

Post by IceXuick »

good work Tim! Solutions to de-overwork the scarce ammount of dev's we have is always a smart thing to do.
User avatar
Neuralize
Posts: 876
Joined: 17 Aug 2004, 23:15

Post by Neuralize »

Include the latest version of KAI instead :)
hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post by hollowsoul »

Commented out the following
process.h && io.h
in

Group AI -> Unitanme -> GroupAI.h
Group AI -> reader -> GroupAI.h

Results in

AI/Group/UnitDef reader/GroupAI.cpp:268:2: warning: no newline at end of file
AI/Group/UnitDef reader/GroupAI.cpp: In member function 'virtual void CGroupAI::InitAi(IGroupAICallback*)':
AI/Group/UnitDef reader/GroupAI.cpp:68: error: 'const struct UnitDef' has no member named 'dontLand'
AI/Group/UnitDef reader/GroupAI.cpp:190: error: 'struct WeaponDef' has no member named 'isPlasmaRepulser'
AI/Group/UnitDef reader/GroupAI.cpp:208: error: 'struct WeaponDef' has no member named 'repulseEnergy'
AI/Group/UnitDef reader/GroupAI.cpp:209: error: 'struct WeaponDef' has no member named 'repulseForce'
AI/Group/UnitDef reader/GroupAI.cpp:210: error: 'struct WeaponDef' has no member named 'repulseRange'
AI/Group/UnitDef reader/GroupAI.cpp:211: error: 'struct WeaponDef' has no member named 'repulseSpeed'
scons: *** [build/AI/Group/UnitDef reader/GroupAI.os] Error 1
scons: building terminated because of errors.
User avatar
FizWizz
Posts: 1998
Joined: 17 Aug 2005, 11:42

Post by FizWizz »

Neuralize wrote:Include the latest version of KAI instead :)
you don't need to, KAI's reputation produces enough demand for it already.
hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post by hollowsoul »

not to drag off topic.
Whats point of including a binary only AI in svn. when changes to spring could break the binary. Besides peep can always download it themselves.

Not to mention svn isnt ideal for tracking binary files changes i.e its meant to track source code changes.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

There isn't one. :-)

I included aai in the previous tarball tho, but found it too much burden (AI interface changes too often anyway) to include a new version in new data tarball.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

technically AI and KAI cant be bundled with spring at all because they're closed source and that means they're violating the GPL license spring and its source is distributed under.

That Leaves NTai OTAI JCAI and SAI.
Post Reply

Return to “Engine”