Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Sat Dec 14, 2024 1:50 am
All times are UTC + 0
AI Editor for RA2 and TS
Moderators: Community Tools Developpers
Post new topic   Reply to topic Page 3 of 4 [187 Posts] Mark the topic unread ::  View previous topic :: View next topic
Goto page: Previous 1, 2, 3, 4 Next
Author Message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Fri Aug 26, 2016 10:10 am    Post subject: Reply with quote  Mark this post and the followings unread

Update version 2.0.2.2

Changes:
- Crash fix, ScriptType/TaskForce need not have entries in sequence like Name first or Group last.
- Crash fix, technotypes can have negative cost in rules.
- Bug fix, AITrigger technotype <none> entries won't be replaced with another technotype ID
if any technotype Name falls before <none> in sorting.
- More log info for possible errors, also duplicate cases logged from rules upto certain extent.
- Additional side placeholder entries in config files, just in case user forgets to edit them when
having additional sides.

Attaching the updated version and the source code changes over the v2.0.2.



AIEdit2022.zip
 Description:

Download
 Filename:  AIEdit2022.zip
 Filesize:  212.64 KB
 Downloaded:  75 Time(s)


SrcChanges2022.zip
 Description:

Download
 Filename:  SrcChanges2022.zip
 Filesize:  28.01 KB
 Downloaded:  44 Time(s)


Back to top
View user's profile Send private message
Askeladd
Light Infantry


Joined: 29 Dec 2013

PostPosted: Wed Feb 15, 2017 8:55 pm    Post subject: Reply with quote  Mark this post and the followings unread

Hey guys, I finally committed all the changes made by E1 Elite (and made two very minor edits). You can download it from the first post. Thanks E1 Elite  Cool

Back to top
View user's profile Send private message
TK3600
Medic


Joined: 26 Aug 2017

PostPosted: Sat Aug 26, 2017 5:57 pm    Post subject: Noob Question Reply with quote  Mark this post and the followings unread

What is the software needed to run the program? I cannot open .cs file.

Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Sat Aug 26, 2017 6:07 pm    Post subject: Reply with quote  Mark this post and the followings unread

You download aieditv2_0_3.zip (the attachment on the first post of this topic) and not the source.
Then start the exe.

@E1 & Askeladd
got a crash when opening TI or DTA inis
Quote:
System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\Strategy\C&C_DTA_DEV\INI\config\ts.ini'.
  at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
  at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)
  at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
  at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
  at System.IO.StreamReader..ctor(String path)

it seems to try loading the config files from the game directory and not the directory of the editor.

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Sat Aug 26, 2017 6:30 pm    Post subject: Reply with quote  Mark this post and the followings unread

Just tried with AI Editor v2.0.3 and v2.0.2.2, with TI 0.65 and DTA 1.1574,
loading INI files from both the game folder and a subfolder inside AIEdit.
All work without problems. Only shows some possible errors and
duplicates etc. in the INIs. No loading problems.

Edit:
If you make a link of EXE, right click - properties and don't have a correct
Start in folder, that could be your case. Try running the EXE itself or try
making a link with correct start in folder.

Program needs .NET Framework 4.xx.

Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Sat Aug 26, 2017 7:49 pm    Post subject: Reply with quote  Mark this post and the followings unread

i do start the exe directly
from its own folder on D:\modtools\AIEdit

The editor starts fine and asks for rules.ini and ai.ini, after i have selected them i always get the error message.

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Sun Aug 27, 2017 7:03 am    Post subject: Reply with quote  Mark this post and the followings unread

Updated version 2.0.3.1

Changes:
- Application path is used to compute the full path of config files.

Attaching the updated version and the source code changes over the v2.0.3.

@LKO: This should fix your case, though I couldn't test it specifically.



aieditv2_0_3_1.zip
 Description:

Download
 Filename:  aieditv2_0_3_1.zip
 Filesize:  213.07 KB
 Downloaded:  26 Time(s)


SrcChanges2031.zip
 Description:

Download
 Filename:  SrcChanges2031.zip
 Filesize:  5.95 KB
 Downloaded:  20 Time(s)


Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Sun Aug 27, 2017 8:03 am    Post subject: Reply with quote  Mark this post and the followings unread

works now
thanks

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
TK3600
Medic


Joined: 26 Aug 2017

PostPosted: Sun Sep 17, 2017 8:32 pm    Post subject: Reply with quote  Mark this post and the followings unread

Excuse me for a noob question, but how do I run this program?

Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Mon Sep 18, 2017 1:43 am    Post subject: Reply with quote  Mark this post and the followings unread

Download aieditv2_0_3_1.zip from the above post or aieditv2_0_3.zip from
the first post. Unzip into a folder of your choice. Run AIEdit.exe from it.

Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Sun Dec 24, 2017 7:21 am    Post subject: Reply with quote  Mark this post and the followings unread

Updated version 2.0.3.2

Changes:
- Added an error message with faulty ID before throwing an exception while parsing AI ini.

Attaching the updated version and the source code changes over the v2.0.3.



aieditv2_0_3_2.zip
 Description:

Download
 Filename:  aieditv2_0_3_2.zip
 Filesize:  213.37 KB
 Downloaded:  30 Time(s)


SrcChanges2032.zip
 Description:

Download
 Filename:  SrcChanges2032.zip
 Filesize:  13.92 KB
 Downloaded:  20 Time(s)


Back to top
View user's profile Send private message
TK3600
Medic


Joined: 26 Aug 2017

PostPosted: Wed Jan 10, 2018 9:41 pm    Post subject: Reply with quote  Mark this post and the followings unread

E1 Elite wrote:
Updated version 2.0.3.2

Changes:
- Added an error message with faulty ID before throwing an exception while parsing AI ini.

Attaching the updated version and the source code changes over the v2.0.3.

Thank you! Even though I learned to do it manually but this will be very helpful!

Back to top
View user's profile Send private message
TK3600
Medic


Joined: 26 Aug 2017

PostPosted: Wed Jan 10, 2018 10:46 pm    Post subject: Reply with quote  Mark this post and the followings unread

May I ask what does group do? No group, Any group, Group 1 and etc.

Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Thu Jan 11, 2018 4:52 am    Post subject: Reply with quote  Mark this post and the followings unread


Back to top
View user's profile Send private message
TK3600
Medic


Joined: 26 Aug 2017

PostPosted: Sun Jan 14, 2018 9:59 pm    Post subject: Reply with quote  Mark this post and the followings unread

Ever considered adding a rename option in the editor? Sometimes I change the taskforce comp from 4 terrorists to 3, I would like to change the name to 3 terrorists as well.

Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Mon Jan 15, 2018 3:39 am    Post subject: Reply with quote  Mark this post and the followings unread

For rename, select an entry on the left panel and press F2 or double click.

Back to top
View user's profile Send private message
MadHQ
Commander


Joined: 07 Nov 2003

PostPosted: Sun Feb 18, 2018 4:12 am    Post subject: Reply with quote  Mark this post and the followings unread

I do not know if this error is known... I am not sure what to do about it either.

My AI file cant be bad... My games does not crash.

The error appears after I load the AIMD.ini, there is no types of patching code used.

I can PM you my rules/ai if needed to help debug.

Full error message in the spoiler.
Spoiler (click here to read it):
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.FormatException: Input string was not in a correct format.
  at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
  at System.Number.ParseUInt32(String value, NumberStyles options, NumberFormatInfo numfmt)
  at AIEdit.TaskForce.Parse(String id, OrderedDictionary section, List`1 technoTypes, List`1 groupTypes, Logger logger)
  at AIEdit.frmMainNew.LoadTaskForces(Dictionary`2 ai, List`1 technoTypes, List`1 groupTypes)
  at AIEdit.frmMainNew.LoadData(String rulesPath, String aiPath)
  at AIEdit.frmMainNew.LoadAI(String rulesfile, String aifile)
  at AIEdit.frmMainNew.mnuLoad_Click(Object sender, EventArgs e)
  at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
  at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
  at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
  at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
  at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
  at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
  at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
  at System.Windows.Forms.Control.WndProc(Message& m)
  at System.Windows.Forms.ToolStrip.WndProc(Message& m)
  at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
  at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
   Assembly Version: 4.0.0.0
   Win32 Version: 4.7.2600.0 built by: NET471REL1LAST
   CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
AIEdit
   Assembly Version: 2.0.6255.38615
   Win32 Version: 2.0.3
   CodeBase: file:///C:/Users/Max/Downloads/aieditv2_0_3/AIEdit.exe
----------------------------------------
System.Windows.Forms
   Assembly Version: 4.0.0.0
   Win32 Version: 4.7.2556.0 built by: NET471REL1
   CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
   Assembly Version: 4.0.0.0
   Win32 Version: 4.7.2556.0 built by: NET471REL1
   CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
   Assembly Version: 4.0.0.0
   Win32 Version: 4.7.2556.0 built by: NET471REL1
   CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
   Assembly Version: 4.0.0.0
   Win32 Version: 4.7.2556.0 built by: NET471REL1
   CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
   Assembly Version: 4.0.0.0
   Win32 Version: 4.7.2600.0 built by: NET471REL1LAST
   CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
   Assembly Version: 4.0.0.0
   Win32 Version: 4.7.2556.0 built by: NET471REL1
   CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
ObjectListView
   Assembly Version: 2.9.1.40222
   Win32 Version: 2.9.1.0
   CodeBase: file:///C:/Users/Max/Downloads/aieditv2_0_3/ObjectListView.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
   <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.



error.png
 Description:
 Filesize:  163.41 KB
 Viewed:  24373 Time(s)

error.png



_________________
MadHQ's Graveyard - Click here!
(Permissions) - (F.A.Q.)

Back to top
View user's profile Send private message Skype Account
E1 Elite
General


Joined: 28 May 2013

PostPosted: Sun Feb 18, 2018 6:06 am    Post subject: Reply with quote  Mark this post and the followings unread

Use v2.0.3.2 that is attached above. It will show which Taskforce entry is giving
problem. Check if a number is given where it is expected.

Back to top
View user's profile Send private message
MadHQ
Commander


Joined: 07 Nov 2003

PostPosted: Sun Feb 18, 2018 6:14 am    Post subject: Reply with quote  Mark this post and the followings unread

LOL!!!

There is some thing wrong with my INI file... This was the taskforce that was erroring out... I need to find out if that was even used... My game never crashed. Either way I am going to fix it.

Code:
[0AE3596C-G]
Name=4 PREDTNK
0=4 PREDTNK, 2 WLFRIN
1=2,WLFRIN
Group=-1

_________________
MadHQ's Graveyard - Click here!
(Permissions) - (F.A.Q.)

Back to top
View user's profile Send private message Skype Account
G-E
Defense Minister


Joined: 09 Feb 2015

PostPosted: Sun Feb 18, 2018 11:37 pm    Post subject: Reply with quote  Mark this post and the followings unread

MadHQ wrote:
My game never crashed. Either way I am going to fix it.

What does my AICHECK say about it?

_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Fri Mar 23, 2018 5:18 am    Post subject: Reply with quote  Mark this post and the followings unread

Updated version 2.0.3.3

Changes:
- Script action's parameters now allow negative numbers wherever needed.
- Script actions 53, 54 and 55 now has editable parameters for YR (config\yr.ini).

Script actions 53, 54 and 55 uses 0 as parameter in vanilla YR but Ares
now allows non-zero parameters also.

Attaching the updated version and the source code changes over the v2.0.3.



aieditv2_0_3_3.zip
 Description:
AI Editor 2.0.3.3

Download
 Filename:  aieditv2_0_3_3.zip
 Filesize:  213.63 KB
 Downloaded:  23 Time(s)


SrcChanges2033.zip
 Description:
Source Code

Download
 Filename:  SrcChanges2033.zip
 Filesize:  38.25 KB
 Downloaded:  15 Time(s)


Back to top
View user's profile Send private message
PussyPus
Commander


Joined: 14 Jul 2015
Location: Egypt

PostPosted: Fri Mar 23, 2018 10:54 am    Post subject: Reply with quote  Mark this post and the followings unread

Now that's easier to make without AI.INI manually.

_________________
If you are a MetalHead (Heavy Metal Fan) and don't want to be a metalhead, Just remove your metal ball from your head. �:p .

Back to top
View user's profile Send private message ModDB Profile ID Skype Account
cxtian39
Commander


Joined: 11 Feb 2016

PostPosted: Mon Mar 26, 2018 9:32 am    Post subject: Reply with quote  Mark this post and the followings unread

Can't set Max=-1. If I do it manually, it automatically changes it to 0.

_________________

Back to top
View user's profile Send private message Skype Account
E1 Elite
General


Joined: 28 May 2013

PostPosted: Mon Mar 26, 2018 1:25 pm    Post subject: Reply with quote  Mark this post and the followings unread

Max=-1 is valid value but same can be achieved like with Max=1000.
You have to put some limit using condition check in AITrigger otherwise
it keeps on producing.

If you or others want I can give a private/public build which allows -ve
numbers in Priority/Max/Techlevel by switching datatype in the code
from unsigned int to integer.

My intention was to do more proper code changes but felt Max=-1 isn't
useful enough and alternative exists, so didn't do it.

Back to top
View user's profile Send private message
cxtian39
Commander


Joined: 11 Feb 2016

PostPosted: Mon Mar 26, 2018 7:32 pm    Post subject: Reply with quote  Mark this post and the followings unread

I have a suicide aircraft with LimboLaunch=yes but then it's not considered dead after firing so AI can only build the team Max= times.

_________________

Back to top
View user's profile Send private message Skype Account
E1 Elite
General


Joined: 28 May 2013

PostPosted: Mon Mar 26, 2018 8:13 pm    Post subject: Reply with quote  Mark this post and the followings unread

Updated version 2.0.3.4

Changes:
- TeamType fields of Max/Priority/Techlevel now allows negative numbers also.

Attaching the updated version and the source code changes over the v2.0.3.



aieditv2_0_3_4.zip
 Description:
AI Editor 2.0.3.4

Download
 Filename:  aieditv2_0_3_4.zip
 Filesize:  213.66 KB
 Downloaded:  42 Time(s)


SrcChanges2034.zip
 Description:
Source Code

Download
 Filename:  SrcChanges2034.zip
 Filesize:  38.28 KB
 Downloaded:  17 Time(s)


Back to top
View user's profile Send private message
cxtian39
Commander


Joined: 11 Feb 2016

PostPosted: Mon Mar 26, 2018 9:28 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thanks E1 Elite!

_________________

Back to top
View user's profile Send private message Skype Account
Ich-Henker
Flamethrower


Joined: 06 Aug 2015
Location: Germany

PostPosted: Wed Jul 18, 2018 11:53 am    Post subject: Reply with quote  Mark this post and the followings unread

THanks indeed!

There is one question for me, is there a way to stop the alphabetical or ID ordering or triggers, I made my own ordering scheme before and this tosses it away, I am willing to adapt but a question doesn't hurt.

And I get an error whenever i save my file with ai edit because it creates an [AIEdit] Team, if I erase it, I can open it again but if I save it creates this team again wich makes it unopenable with this message: System.ArgumentNullException: Der Wert darf nicht NULL sein.
Parametername: String
Edit: For now I got rid of it by creating test teams before saving, this stopped the aiedit team to appear...

Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Wed Jul 18, 2018 1:12 pm    Post subject: Reply with quote  Mark this post and the followings unread

Internally the tool stores in sorted format, so the saves are also sorted.

Also don't delete the [AIEdit] section as its Index= is used to get the next new section IDs by the tool. It is not a team and you shouldn't create a team with that ID or use that name in any of the list in AI.ini.

The tool is implemented that way. Those could be personalized/improved, the source code is available.

Back to top
View user's profile Send private message
Ich-Henker
Flamethrower


Joined: 06 Aug 2015
Location: Germany

PostPosted: Wed Jul 18, 2018 2:18 pm    Post subject: Reply with quote  Mark this post and the followings unread

Hey,  thanks for answering. To clarify: It was a team i am not talking about the index at the end of the aimd.ini, it was a real team crated by the program while saving. It had an index entry in the team list always at the last spot in the list, thats why i created a normal test team as  a desperate idea before saving, i was very surprised by this because I used an older version of ai edit for years now ...  what does this error message universally mean?

...now it is back after some renaming of task forces and adjusting some team types in its usage of task forces - i have no errors in aiedit btw. and aicheck doesn't give any ai errors too...[/img]



n.jpg
 Description:
 Filesize:  76.28 KB
 Viewed:  22953 Time(s)

n.jpg



Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Wed Jul 18, 2018 3:09 pm    Post subject: Reply with quote  Mark this post and the followings unread

From very early version this tool has used [AIEdit] for getting last used ID for making a new next ID.

You have that as a teamtype which is a mistake for the tool. You should search for AIEdit in your AI.ini and replace with a different ID for both section and list. There should be only a single section without any list entry for [AIEdit] with only Index= entry. That Index= value is the AIEdit's last used hex ID 's decimal value.

If that sounds difficult, share your INI publicly or privately.

Back to top
View user's profile Send private message
Ich-Henker
Flamethrower


Joined: 06 Aug 2015
Location: Germany

PostPosted: Wed Jul 18, 2018 3:41 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thank you, i work on it! I had a working session with this error disappearing.

Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Wed Jul 18, 2018 5:30 pm    Post subject: Reply with quote  Mark this post and the followings unread

Just checked, G-E's aiclean5 script erroneously adds AIEdit to teamtype list. Avoid using that script with this tool's saved files.

Back to top
View user's profile Send private message
G-E
Defense Minister


Joined: 09 Feb 2015

PostPosted: Thu Jul 19, 2018 9:19 am    Post subject: Reply with quote  Mark this post and the followings unread

It would do this because it reclassifies orphaned objects and adds them to the list... if this is a permanent change I can add an exception.

_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Thu Jul 19, 2018 10:44 am    Post subject: Reply with quote  Mark this post and the followings unread

Minor update version 2.0.3.5

Changes:
- Avoid creating duplicate IDs even if [AIEdit] section is deleted from AI ini.

Attaching the updated version and the source code changes over the v2.0.3.

-----------------------------------------

@G-E: That script shouldn't automatically classify and add unlisted/orphaned/unused sections to list. How would you classify a section like

[AIEdit]
Index=16777228

into a TeamType? That script needs correction or exception to this etc.



aieditv2_0_3_5.zip
 Description:
AIEdit 2.0.3.5

Download
 Filename:  aieditv2_0_3_5.zip
 Filesize:  211.66 KB
 Downloaded:  194 Time(s)


SrcChanges2035.zip
 Description:
Source Code

Download
 Filename:  SrcChanges2035.zip
 Filesize:  38.37 KB
 Downloaded:  16 Time(s)


Back to top
View user's profile Send private message
G-E
Defense Minister


Joined: 09 Feb 2015

PostPosted: Thu Jul 19, 2018 11:39 am    Post subject: Reply with quote  Mark this post and the followings unread

That's silly and you know it... this use case didn't exist until recently.

Anyway I've added an exemption for [AIEdit], and I'm changing the way orphans are detected/reported so they can be automatically removed OR re-classified.

_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Tue Oct 09, 2018 12:55 pm    Post subject: Reply with quote  Mark this post and the followings unread

Update version 2.0.3.6

Changes:
- Added AI Guide for offline reference.
- Removed the usage of [AIEdit] section for ID generation.
- Provided StartIndex, IDPrefix and IDSuffix fields in config file for customizing IDs.
- Config files updated for corrections and for ID related fields.
- Added duplicate ID check across lists in AI ini.
- Parsing exception message box will now close the application.

Attaching the updated version and the source code changes over the v2.0.3.
Edit: Removed v2.0.3.6 attachments in favor of new release available with bugfix.

Last edited by E1 Elite on Fri Oct 12, 2018 5:57 am; edited 1 time in total

Back to top
View user's profile Send private message
MRMIdAS
Energy Commando


Joined: 17 Jul 2008

PostPosted: Tue Oct 09, 2018 4:19 pm    Post subject: Reply with quote  Mark this post and the followings unread

Yay, the new AI EDIT triggers MalwareBytes.

It reckons it's "Machine Learning"

_________________
MIdAS - Turning wages into beer since 2002

Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Tue Oct 09, 2018 5:57 pm    Post subject: Reply with quote  Mark this post and the followings unread

I just did a build from my Win10 installation and also restored Win7 from backup and checked with it, there is no change in the exe file except for timestamp etc. differences. So, there is nothing wrong with the files, it is only a false positive. Checked at virustotal.com and all are clean, even MalwareBytes.

Can't say if just using the word AI is causing it or checking registry for default browser and then launching the browser for the help html is causing it on your end. Attaching a test EXE file without that launching html from menu part of the code (changes to frmMainNew.cs and frmMainNew.Designer.cs is reverted). Let me know if it still gives warning for you.

Edit: Removed the test attachment.

Last edited by E1 Elite on Fri Oct 12, 2018 5:57 am; edited 1 time in total

Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Wed Oct 10, 2018 7:02 am    Post subject: Reply with quote  Mark this post and the followings unread

Update version 2.0.3.7

Changes:
- Fixed additional number of duplicate messages on reloading INI files.

Attaching the updated version and the source code changes over the v2.0.3.



aieditv2_0_3_7.zip
 Description:
AIEdit v2.0.3.7

Download
 Filename:  aieditv2_0_3_7.zip
 Filesize:  234.54 KB
 Downloaded:  23 Time(s)


SrcChanges2037.zip
 Description:
Source Code Changes

Download
 Filename:  SrcChanges2037.zip
 Filesize:  62.03 KB
 Downloaded:  13 Time(s)


Back to top
View user's profile Send private message
G-E
Defense Minister


Joined: 09 Feb 2015

PostPosted: Wed Oct 10, 2018 10:24 am    Post subject: Reply with quote  Mark this post and the followings unread

Just a note that this particular instance of duplicate is perfectly valid, each behaviour adds something, not sure if you want to leave it as a warning/error or make an exception:
Duplicate tag/index [LargeRailgunPart] => BehavesLike in rules.ini!

_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Wed Oct 10, 2018 12:27 pm    Post subject: Reply with quote  Mark this post and the followings unread

My understanding is, if you have duplicate BehavesLike in a section, game will use the one that comes last. It won't add up the effects. And it is just logged as a duplicate, it doesn't touch/modify rules file, it is just an info.

Back to top
View user's profile Send private message
MRMIdAS
Energy Commando


Joined: 17 Jul 2008

PostPosted: Wed Oct 10, 2018 6:51 pm    Post subject: Reply with quote  Mark this post and the followings unread

E1 Elite wrote:
I just did a build from my Win10 installation and also restored Win7 from backup and checked with it, there is no change in the exe file except for timestamp etc. differences. So, there is nothing wrong with the files, it is only a false positive. Checked at virustotal.com and all are clean, even MalwareBytes.

Can't say if just using the word AI is causing it or checking registry for default browser and then launching the browser for the help html is causing it on your end. Attaching a test EXE file without that launching html from menu part of the code (changes to frmMainNew.cs and frmMainNew.Designer.cs is reverted). Let me know if it still gives warning for you.


yep, still removing it.

EDIT: I do have 2.0.6 it's just in the folder I extracted 2.0.3 which didn't trip the AV, and still doesn't.

EDIT2: 2.0.7 Boots to the editor, trips the AV after booting, so it can't delete the exe, and makes malwarebytes demand a reset to fix the problem. joy.



ai.PNG
 Description:
 Filesize:  23.62 KB
 Viewed:  21424 Time(s)

ai.PNG



_________________
MIdAS - Turning wages into beer since 2002

Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Wed Oct 10, 2018 8:18 pm    Post subject: Reply with quote  Mark this post and the followings unread

Source code is shared and it can be compared with the github code and anyone can compile it themselves. There is no threat.

Edit: Just tested with latest MalwareBytes v3.6.1.2711. All the AIEdit files are clean. Also virustotal.com gave it clean. So, the problem could be on your end.

Edit2: Edited the post about further tests and removed its test attachment.

AIEdit.exe in v2.0.3.7 (94208 bytes) checksums:
SHA256: cd0db914b38f3535d0897c06e71b6d432dcae4a61edbc762b65d2e68838389f3
MD5: 98837e4e090447dcbaf96dcc8c21ad9f



virustotal_AIEdit_2037.jpg
 Description:
 Filesize:  108.52 KB
 Viewed:  21375 Time(s)

virustotal_AIEdit_2037.jpg



Back to top
View user's profile Send private message
chr0nicz420
Jumpjet Infantry


Joined: 10 Feb 2016

PostPosted: Wed Oct 24, 2018 4:04 pm    Post subject: Reply with quote  Mark this post and the followings unread

I have some visual problem regarding the latest version of AIEditor.




Apparently you can't see now the total cost of a TaskForce? And even I fully scroll down, I still can't see deeper down.

Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Wed Oct 24, 2018 6:17 pm    Post subject: Reply with quote  Mark this post and the followings unread

@chr0nicz420: Check with this update. When you say latest version, mention the version number also like v2.0.3.7. Reverted some of the changes made by the UI designer tool of VS2017. If the problem still persists, then reduce the DPI scaling. Specially if you have updated Win10, instead of display scaling of 125%, you can try custom and scale it to say 113%.

--------------------------------
Minor update version 2.0.3.8

Changes:
- Reverted back non-essential changes in the form designer file.

Attaching the updated version and the source code changes over the v2.0.3.



aieditv2_0_3_8.zip
 Description:
AIEdit v2.0.3.8

Download
 Filename:  aieditv2_0_3_8.zip
 Filesize:  234.4 KB
 Downloaded:  20 Time(s)


SrcChanges2038.zip
 Description:
Source code changes

Download
 Filename:  SrcChanges2038.zip
 Filesize:  61.72 KB
 Downloaded:  12 Time(s)


Back to top
View user's profile Send private message
chr0nicz420
Jumpjet Infantry


Joined: 10 Feb 2016

PostPosted: Wed Oct 24, 2018 7:05 pm    Post subject: Reply with quote  Mark this post and the followings unread

I apologize for not specifying but I mean the version 2.0.3.7. I just assumed the latest version is what it's posted recently here.

Anyway, the latest version, which is v2.0.3.8, fixed the visual issue. Thanks!

Back to top
View user's profile Send private message
Crimsonum
Seth


Joined: 14 Jul 2005
Location: Fineland

PostPosted: Wed Oct 31, 2018 6:16 pm    Post subject: Reply with quote  Mark this post and the followings unread

In the config files the VeteranLevel values are wrong.

These
Code:
[VeteranLevels]
0=Rookie
1=Veteran
2=Elite


should be
Code:
[VeteranLevels]
1=Rookie
2=Veteran
3=Elite


In addition, TS only uses the following AI Trigger conditions, the additional three (5-7) were added in RA2/YR.

Code:
[Conditions]
-1=No Condition
0=Enemy owns AMOUNT of TECH TYPE
1=AI owns AMOUNT of TECH TYPE
2=Enemy power is YELLOW
3=Enemy power is RED
4=Enemy has at least AMOUNT of credits

_________________


Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Wed Oct 31, 2018 8:14 pm    Post subject: Reply with quote  Mark this post and the followings unread

@Crimsonum: Updated with the fixes.
--------------------------------

Update version 2.0.3.9

Changes:
- TS config file fix of veteran level and removed unused AITrigger condition choices
- Skipped across list duplicate ID check for AITrigger IDs as vanilla TS has such
- Added version number to application title text
- Updated the AIGuide for script action Attack TargetType (0,n)

Attaching the updated version and the source code changes over the v2.0.3.



aieditv2_0_3_9.zip
 Description:
AIEdit v2.0.3.9

Download
 Filename:  aieditv2_0_3_9.zip
 Filesize:  234.76 KB
 Downloaded:  51 Time(s)


SrcChanges2039.zip
 Description:
Source code changes

Download
 Filename:  SrcChanges2039.zip
 Filesize:  62.16 KB
 Downloaded:  24 Time(s)


Back to top
View user's profile Send private message
DyordsTheBell
Medic


Joined: 01 Dec 2016
Location: Manila

PostPosted: Wed Nov 21, 2018 5:49 am    Post subject: Reply with quote  Mark this post and the followings unread

Finally I found a perfect editor to create my own AI tactics without having manually typing it by scratch, thanks ????????????.

Back to top
View user's profile Send private message ModDB Profile ID Facebook Profile URL
Display posts from previous:   
Post new topic   Reply to topic Page 3 of 4 [187 Posts] Goto page: Previous 1, 2, 3, 4 Next
Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
Quick Reply
Username:


If you are visually impaired or cannot otherwise answer the challenges below please contact the Administrator for help.


Write only two of the following words separated by a sharp: Brotherhood, unity, peace! 

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.3899s ][ Queries: 17 (0.0288s) ][ Debug on ]