DotNetTorque Weekend Test Result (300 AI 2 Teams)
by Vince Gee · 07/02/2012 (7:02 am) · 7 comments
We tested, we broke, we fixed things and then tested again! I've spent my whole weekend debugging the source code. Overall, the testing was pretty positive. The server never crashed, but we had to deal with a great deal of client crashes. Finally, this morning, I *Think* I smashed the last client side bug.
This weekend I loaded up 300 AI, put them on two teams and let them have at each other. There were 3 teams, AI Team 1, AI Team 2, and the players. Each AI team had 150 bots on it. The bots ran a decent logic routine to make them pick targets on the other team, move around and jump when shot, etc. They also, depending on range of their target would switch between the Lurker and Grenade launcher.
It all started out pretty smooth, the AI logic didn't max the CPU, the server was responsive. Beyond for some simple CSharp mistakes, the AI worked as intended. As the weekend progressed, I added in a bit of feature creep here and there to make the AI more fun to play with (Well, more deadly).
It was during one of the last load tests that we noticed clients hanging, apparently for no reason. First, I thought it was something shader related, but I disabled and still had the error, I then went on to the network stack, and then the sound system. I couldn't trace the error down. All during this, the dedicated server ran like a champ, never crashing once.
I knew the error was in the client but I had no idea where. Finally, after hours of tracing the CSharp I realized it was a Gui Call in the client where one of the parameters where blank due to an AI killing me. It was kind of funny. Up to this point, the AI never really killed anyone. Now, since they were *UBER*, they were killing players left and right and it was causing the client crashes.
So, if you haven't had a chance to check out our server, go to www.garagegames.com/community/blogs/view/21761 and grab the client to load into a game where 300 AI in two teams are locked in an eternal battle, and you are just a casualty of war.
Vince
This weekend I loaded up 300 AI, put them on two teams and let them have at each other. There were 3 teams, AI Team 1, AI Team 2, and the players. Each AI team had 150 bots on it. The bots ran a decent logic routine to make them pick targets on the other team, move around and jump when shot, etc. They also, depending on range of their target would switch between the Lurker and Grenade launcher.
It all started out pretty smooth, the AI logic didn't max the CPU, the server was responsive. Beyond for some simple CSharp mistakes, the AI worked as intended. As the weekend progressed, I added in a bit of feature creep here and there to make the AI more fun to play with (Well, more deadly).
It was during one of the last load tests that we noticed clients hanging, apparently for no reason. First, I thought it was something shader related, but I disabled and still had the error, I then went on to the network stack, and then the sound system. I couldn't trace the error down. All during this, the dedicated server ran like a champ, never crashing once.
I knew the error was in the client but I had no idea where. Finally, after hours of tracing the CSharp I realized it was a Gui Call in the client where one of the parameters where blank due to an AI killing me. It was kind of funny. Up to this point, the AI never really killed anyone. Now, since they were *UBER*, they were killing players left and right and it was causing the client crashes.
So, if you haven't had a chance to check out our server, go to www.garagegames.com/community/blogs/view/21761 and grab the client to load into a game where 300 AI in two teams are locked in an eternal battle, and you are just a casualty of war.
Vince
About the author
www.winterleafentertainment.com
#2
cant seem to reach 'em
07/02/2012 (1:56 pm)
is it just me or your main website and autoupdater server are down atm?cant seem to reach 'em
#3
07/02/2012 (5:36 pm)
They were down earlier, but are up now
#4
i get:
your connection timed out, then a button "clickhere to join vince"
close app, restart and the pain of the updater taking like 2 mins checking for files to see if it requires updates every single time i retsart. :-(
will try out later
cheers
07/02/2012 (6:16 pm)
still cant get ingame, looks like you guys still having issues with server.i get:
your connection timed out, then a button "clickhere to join vince"
close app, restart and the pain of the updater taking like 2 mins checking for files to see if it requires updates every single time i retsart. :-(
will try out later
cheers
#5
07/03/2012 (3:35 am)
I am still having issues with the code base, I'll post an update as soon as I can
#6
kaspersky freaked out and found malware.
maybe is a false positive, but just thought that i had to bring this up , just in case.
my kaspersky idle scanner found trojan embedded in DNT FPS Demo.exe
C:\Users\Username\AppData\Local\Apps\2.0\ZPX4B6RM.KX9\DERLQG8A.D21\dnta..tion_11f998f695847e80_0000.0000_eb43d19577438f03\DNT FPS Demo.exe
Troyan.Win32.Jorik.IRCbot.nse
man, just after 2 days when i finished loading my new Windows 7 enterprise fresh installation, :-(
now gotta redo the install over again.
just incase, lol
so heads up for everyone else, make sure to scan your system to make sure it is not infected.
maybe my kaspersky is freaking out and it is throwinf me false positives, but just in case.
cheers
07/04/2012 (8:21 am)
sorry but i wanted to bring this up to your attention:kaspersky freaked out and found malware.
maybe is a false positive, but just thought that i had to bring this up , just in case.
my kaspersky idle scanner found trojan embedded in DNT FPS Demo.exe
C:\Users\Username\AppData\Local\Apps\2.0\ZPX4B6RM.KX9\DERLQG8A.D21\dnta..tion_11f998f695847e80_0000.0000_eb43d19577438f03\DNT FPS Demo.exe
Troyan.Win32.Jorik.IRCbot.nse
man, just after 2 days when i finished loading my new Windows 7 enterprise fresh installation, :-(
now gotta redo the install over again.
just incase, lol
so heads up for everyone else, make sure to scan your system to make sure it is not infected.
maybe my kaspersky is freaking out and it is throwinf me false positives, but just in case.
cheers
#7
07/05/2012 (5:06 am)
Torque 3D is considered by most anti-virus software as a trojan. The compiler/decompiler in it for .dso files is what sets it off, there have already been a few posts about it. I assure you that you are fine. 
Associate Steve Acaster
[YorkshireRifles.com]
You tell kids these days that's how game development works and they just don't believe you ... they think you just press a button and it automatically shoots a robot in the face with a horse.
Glad you hunted down your esoteric little bug ...