Lion
  • Lion
  • 100% (Exalted)
  • Colonel Topic Starter
21 years ago
yes it does :D
i think i found it out guys!!
indeed its the scripts
i played against 1 AI he had 200 units (my new infantry AI) and it didnt lag
i played with 7 ais within seconds it was laggy...
this is due the AI is checking scripts i think
i could reduce the lag by some 80% (youll get a fifth of it) OR EVEN MORE
it would take ages so ill do it in steps from v0.4 onwards...



UPDATE:
v0.3 IS READY!!!!!
i just sent it to MicScoTho!
enjoy 😃
Creator of the ZH Advanced AI MOD.
Get the latest version here:
http://www.cncgeneralsworld.com/page.asp?page=zerohour:advancedaimod 
MicScoTho
21 years ago
You forgot to attach it Lion... 😄
UserPostedImage 
Lion
  • Lion
  • 100% (Exalted)
  • Colonel Topic Starter
21 years ago
i did, but my e-mail is buggy and wont send it if i spend too much time typing the message... i sent it on a separate e-mail with no text but it must have been filtered out... ill send it again
Creator of the ZH Advanced AI MOD.
Get the latest version here:
http://www.cncgeneralsworld.com/page.asp?page=zerohour:advancedaimod 
MicScoTho
21 years ago
I got it this time... adding it now. Thanks
UserPostedImage 
Lion
  • Lion
  • 100% (Exalted)
  • Colonel Topic Starter
21 years ago
Chuffed...
received my first praise mail hehe 😁
so far everyone is liking the mod and the fun level is very high as im learning lots still so expect a fast development. heck i done 90% of the infantry general just today! of course i dont often get a whole free saturday to work on it straight on
Creator of the ZH Advanced AI MOD.
Get the latest version here:
http://www.cncgeneralsworld.com/page.asp?page=zerohour:advancedaimod 
Lion
  • Lion
  • 100% (Exalted)
  • Colonel Topic Starter
21 years ago
v0.3B is out! go and get it now!!
Creator of the ZH Advanced AI MOD.
Get the latest version here:
http://www.cncgeneralsworld.com/page.asp?page=zerohour:advancedaimod 
apu
  • apu
  • 73.25% (Friendly)
  • Colonel
21 years ago
Are you foinf mods for all the generals lion?
UserPostedImage
Lion
  • Lion
  • 100% (Exalted)
  • Colonel Topic Starter
21 years ago


Are you foinf mods for all the generals lion?

apu wrote:


apu, no offense meant at all but i somehow get the impression you dont read things. its been stated four times in this topic, once in the news section, another in my AI page and another one now. you even answered a question on what general you want next!
yes i will expand the mod to fit all generals, on v0.3 it even has the infantry general already!

MicScoTho even added a nice installer for it now, so its less of a hassle to play with it now 😁

Creator of the ZH Advanced AI MOD.
Get the latest version here:
http://www.cncgeneralsworld.com/page.asp?page=zerohour:advancedaimod 
antaran
21 years ago
To Lion: As you spoke about cheating I checked out those EA AI scripts and I found out that
they are really cheating... And it is not only because of that bug at the beginning of game,
they use several scripts like this one, purposely...

*** IF ***
Counter '_ESCALATION' IS Greater Than or Equal To 75
*** THEN ***
Player '' gets $ 20000

I am terribly disappointed, because I thought while playing against AI that if I could destroy it's
supply lines it will loose almost immediately...

Then I saw your scripts and I am not entirely sure what you changed there, if am I wrong sorry,
but I guess you add there this script which is also cheat...

*** IF ***
5000 is Greater Than or Equal To the number of credits possessed by Player ''
*** THEN ***
Player '' gets $ 1000

I guess this is wrong way how to do AI, because it underestimates importance of supply stashes
and hackers and other buildings generating cash...
I thing when AI is out of money, it should sell buildings like anyone else, but not cheat...

I is very easy to build multiple superweapons or countless numbers of aurora bombers if you have unlimited resources...

Peace is time between wars.
Lion
  • Lion
  • 100% (Exalted)
  • Colonel Topic Starter
21 years ago
of course the AI cheats! I wish it didnt need to but it does...
it has cheated since the original generals!
it cheats because it is too dumb to know that it has to save 2000 for a supply depot or to expand or to do anything like that!
the computer has also set basebuilding spaces that cannot be changed unless i mod every single map in ZH, whcih means it cannot ever expand as well as human and buld say 50 black markets!
the AI on hard cheats and my AI is never different, and im even reducing the amount it cheats from the first version, trading it for money it gets from actual supply centers and others like hackers and drop zones...
that line i added is simply to make sure it can build superweapons and survive later in the game. it does not prevent it from having below 5000 at all but is a smarter income support giving it money only if it needs it... it also makes up for it having to pay for all the chinooks that come with supply centers it builds(now that it builds a lot more of them)...
as far as i can see there is no command for selling one building.. it can only sell all of it as in surrendering.

facing all such aspects the AI is at a tremendous disdvantage against humans, it is dumb, it cannot learn, it cannot do half the stuff we do, it is ridden by bugs EA never stomped.

Now if you can make a very hard AI that doesnt cheat at all, feel free.. ill even create you a website for it... If you think im doing it the wrong way, please feel free to do it yourself and show the community how you can make a clever AI that doesnt need cheats. bear in mind that you can make it a lot smarter by creating a neural network of scripts but that would take years to finish and would eat at least some thirty times the computing power EA's AI does so maybe in year 2015 we will be able to have a 7 AI game that will play at an acceptable speed..
but hey im looking forward to you publishing your non cheating AI. its great to have someone that wont bother spending many months making a super AI as smart as humans.

as i improve the AIs more and more it will cheat less and less but i dont think ill ever make it so it doesnt cheat as it will be just too easy.
Blame EA not me...

Creator of the ZH Advanced AI MOD.
Get the latest version here:
http://www.cncgeneralsworld.com/page.asp?page=zerohour:advancedaimod 
EoNwe
  • EoNwe
  • 56.75% (Neutral)
  • Captain
21 years ago
Lion, do you know what it is about the WC3 and even Starcraft AI that makes them learn over time?

lol my comp is almost FS harassing me now. It seems to even learn from replays, but maybe I'm wrong..
"Commity: A group of people who individually can do nothing, but together decide that nothing can be done."
Lion
  • Lion
  • 100% (Exalted)
  • Colonel Topic Starter
21 years ago


Lion, do you know what it is about the WC3 and even Starcraft AI that makes them learn over time?

lol my comp is almost FS harassing me now. It seems to even learn from replays, but maybe I'm wrong..

EoNwe wrote:



im not sure.. blizard makes the highest quality games ive ever seen, so i wouldnt be surprised.. their AI is really good but i never seen how it works on the inside...
Creator of the ZH Advanced AI MOD.
Get the latest version here:
http://www.cncgeneralsworld.com/page.asp?page=zerohour:advancedaimod