The internet is a lawless place with knowledge and sarcastic wit the pistols of this wild frontier.
Don't go out without being sufficiently armed.

~Blade

Other places

Ares (Current version: 0.B)

Ares's primary facilities have been moved elsewhere:

  • If you wish to report a bug in Ares, please proceed to its bugtracker.
  • If you'd like to request a feature, register a blueprint.
  • If you have questions or can provide answers regarding Ares's usage, visit the Q&A section.
  • Before you post a new question, you should check the FAQ, though.

Behavior

  • Mind the forum rules.
  • Due to its documentedly horrible quality, we do not offer NPatch support.


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
" Is not a valid Interger Value...
Author Message
Private Sonofabandit Offline
Junior Member
**
Members

Posts: 3
Joined: 23 Jan 2007
Reputation: 0
Post: #1
" Is not a valid Interger Value...
This is a question for anybody who has the answer but I must say DCoder, I'm loving your AI Editor. It's an excellent program!

But about my editing mishaps... everything was going fine. But when I open up the program load the necessary files and go directly to the TeamTypes pages... this happens....

I try to create a new taskforce, script, teamtype, ect and save it it gives me this- " Is not a valid Interger Value. That's the error message verbatim.

I'm not sure how this is happening since I'm 100% sure I am not using quotation marks in my Taskforce/Script/Ect ID. And certainly I'm not using the same ID by accident or else I would get a "ID allready in use"...

Now here's the kicker... If I go to the New Trigger page and add a new trigger, then proceede to make a new task force for that blank trigger... it works. What principle of coding am I missing here?

Thanks for the help
(This post was last modified: 27.01.2007 02:28:42 by Sonofabandit.)
27.01.2007 02:24:32
Find all posts by this user Quote this message in a reply
Commander-in-Chief Renegade Offline
Lazy Modder
*****
Admins

Posts: 1 906
Joined: 21 Nov 2004
Reputation: 14
Post: #2
RE: " Is not a valid Interger Value...
An integer is what can be called a "whole number"; the error message suggests you are trying to enter something else, namely a floating point number. The " might also be two 's, indicating that maybe the inputed value is nothing - empty field. And "nothing", of course, would also not be an integer Wink

Logically, when you auto-generate a task force, the editor would fill in working numbers, so it's no suprise it's working there - I suggest comparing what you try to save to an auto-generated task force, and see if you use any points where the auto-force doesn't, or left any fields blank.

Forum Rules

(01.06.2011 05:43:25)kenosis Wrote:  Oh damn don't be disgraced again!

(25.06.2011 20:42:59)Nighthawk Wrote:  The proverbial bearded omni-bug may be dead, but the containment campaign is still being waged in the desert.
27.01.2007 04:23:54
Visit this user's website Find all posts by this user Quote this message in a reply
Commander-in-Chief DCoder Offline
Not Ares Anymore
*****
Admins

Posts: 1 756
Joined: 22 Nov 2004
Reputation: 18
Post: #3
RE: " Is not a valid Interger Value...
I'm sorry, I can't really help you there - that is the default error message when the code cannot convert a string to an integer (the language is pretty picky about that, and I was still a rookie at coding when I wrote it, so I didn't write a custom error handler for this). After looking at the source, I feel ashamed of it - the code is pretty hairy and it would be easier to rewrite it cleanly than to track down and fix all the little bugs like this. So I can't promise any quick fixes. I am, however, getting motivated to recode it from the ground up...

From the looks of the message, it found an empty string where it wanted an integer. I tried myself, and it seems that it doesn't like to save TaskForces when no TeamType is focused.

27.01.2007 12:23:38
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)