2019-12-08 02:15 CET

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0000964Spring engineGeneralpublic2008-06-20 16:44
Reporterzenzike 
Assigned ToKloot 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0000964: [patch] AI cheat interface message
DescriptionThis patch makes the AI report that it is using the cheat interface in a way that's more standardised.

It also reports exactly which AI is using the interface: this is useful, since I'm running my AI against others, and I'd like it to be known which ones are cheating, and which ones aren't.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files
  • txt file icon patch.txt (463 bytes) 2008-06-20 14:02 -
    Index: /spring/rts/ExternalAI/GlobalAICallback.cpp
    ===================================================================
    --- /spring/rts/ExternalAI/GlobalAICallback.cpp	(revision 6043)
    +++ /spring/rts/ExternalAI/GlobalAICallback.cpp	(working copy)
    @@ -22,8 +22,7 @@
     {
     	if(cheats)
     		return cheats;
    -
    -	logOutput.Print ("AI has enabled cheating.");
    +	logOutput.Print("GlobalAI%i: Cheating enabled.", ai->team);
     	cheats=SAFE_NEW CAICheats(ai);
     	return cheats;
     }
    
    txt file icon patch.txt (463 bytes) 2008-06-20 14:02 +

-Relationships
+Relationships

-Notes

~0002357

Kloot (developer)

committed
+Notes

-Issue History
Date Modified Username Field Change
2008-06-20 14:02 zenzike New Issue
2008-06-20 14:02 zenzike File Added: patch.txt
2008-06-20 16:44 Kloot Status new => resolved
2008-06-20 16:44 Kloot Resolution open => fixed
2008-06-20 16:44 Kloot Assigned To => Kloot
2008-06-20 16:44 Kloot Note Added: 0002357
+Issue History