Page 27 of 41 FirstFirst ... 1723242526272829303137 ... LastLast
Results 261 to 270 of 408

Thread: Tophe's ArmA2 Dedicated Server Tool (TA2DST)

  1. #261
    Tophe I tried those configs you provided and pasted them into TA2DST.ArmA2OAProfile and TA2DST.ArmA2Profile and still did not have the difficulty numbers show up in the program. I still got the error when trying to reset.

    There is something wrong with the parameter Value with an ID of 55

    It thinks it should be between 'Minimum' and 'Maximum', and doesn't seem to accept numbers.

    The error is as follows:

    Code:
    Value of '55' is not valid for 'Value'. 'Value' should be between 'Minimum' and 'Maximum'.
    Parameter name: Value
    
    Settings file is corrupted.
    You should reset it to default settings to fix the problem.
    
    Do you want to rest the file?
    Googling this it seems to be a .NET issue:
    http://support.microsoft.com/kb/838087

    So I'm uninstalling and reinstalling .NET Framework 4 from here:
    http://www.microsoft.com/en-us/downl....aspx?id=17851

    I'll edit this post after I do so.

  2. #262
    First Sergeant Tophe's Avatar
    Join Date
    Jun 4 2004
    Location
    Örebro/Sweden
    Posts
    925
    Author of the Thread
    Quote Originally Posted by zuff View Post
    Tophe I tried those configs you provided and pasted them into TA2DST.ArmA2OAProfile and TA2DST.ArmA2Profile and still did not have the difficulty numbers show up in the program. I still got the error when trying to reset.

    There is something wrong with the parameter Value with an ID of 55

    It thinks it should be between 'Minimum' and 'Maximum', and doesn't seem to accept numbers.

    The error is as follows:

    Code:
    Value of '55' is not valid for 'Value'. 'Value' should be between 'Minimum' and 'Maximum'.
    Parameter name: Value
    
    Settings file is corrupted.
    You should reset it to default settings to fix the problem.
    
    Do you want to rest the file?
    Googling this it seems to be a .NET issue:
    http://support.microsoft.com/kb/838087

    So I'm uninstalling and reinstalling .NET Framework 4 from here:
    http://www.microsoft.com/en-us/downl....aspx?id=17851

    I'll edit this post after I do so.
    Thank you. You could try that, but I'm afraid the problem is probably in my program. It is written in C# (.net) so all problems should be .net issues.
    It is a bunch of controls that for some weird reason gets fed the wrong numbers. That must be because a arma profile-file gets generated wrong.
    I know where the problem is, and what files are causing the problem, but I do not know why. But i'm working on it. Next release will not take a year ;-)

  3. #263
    @Tophe

    I got rid of the error by going to Server Details tab and entered -nosplash for example in the parameters box saved it and quit. Restarted and no error, i deleted -nosplash saved and quit, then restarted and again no errors. Weird but it solved the issue for me. Starts up every time.
    System Specs:

    Spoiler:


    My brain knows what it's doing, but i don't have a clue!

  4. #264
    First Sergeant Tophe's Avatar
    Join Date
    Jun 4 2004
    Location
    Örebro/Sweden
    Posts
    925
    Author of the Thread
    Quote Originally Posted by Law-Giver View Post
    @Tophe

    I got rid of the error by going to Server Details tab and entered -nosplash for example in the parameters box saved it and quit. Restarted and no error, i deleted -nosplash saved and quit, then restarted and again no errors. Weird but it solved the issue for me. Starts up every time.
    Haha... like an old car. Do you get all your numbers?

  5. #265
    Quote Originally Posted by Law-Giver View Post
    @Tophe

    I got rid of the error by going to Server Details tab and entered -nosplash for example in the parameters box saved it and quit. Restarted and no error, i deleted -nosplash saved and quit, then restarted and again no errors. Weird but it solved the issue for me. Starts up every time.
    Thats because the error occurs when TA2DST is ran the first time and creates its profile folder and settings.

    EDIT: Tophe have you searched your source for anything with '55' as the value? Maybe it's missing a semi-colon above that line or something? I'm no programmer but I do web development and that's what always causes my problems :P

    EDIT 2: I tried changing all of the difficulty numbers in the config files themselves then loaded the programs but they were still blank in the program. It seems it can write to the config files but has issues reading them.
    Last edited by zuff; Jul 9 2012 at 22:37.

  6. #266
    Quote Originally Posted by zuff View Post
    Thats because the error occurs when TA2DST is ran the first time and creates its profile folder and settings.
    The error appeared every time i fired it up, even after it created a profile folder. Now the error has gone, so hopefully it will point him in the right direction and Tophe will at some point sift through his code for the cause of the '55' error.

  7. #267
    First Sergeant Tophe's Avatar
    Join Date
    Jun 4 2004
    Location
    Örebro/Sweden
    Posts
    925
    Author of the Thread
    Quote Originally Posted by zuff View Post
    Thats because the error occurs when TA2DST is ran the first time and creates its profile folder and settings.

    EDIT: Tophe have you searched your source for anything with '55' as the value? Maybe it's missing a semi-colon above that line or something? I'm no programmer but I do web development and that's what always causes my problems :P

    EDIT 2: I tried changing all of the difficulty numbers in the config files themselves then loaded the programs but they were still blank in the program. It seems it can write to the config files but has issues reading them.
    There are no errors in the code, it wouldn't compile then (that still doesn't mean that the code won't do weird things).
    I think I know where the problem is, but I will have to rebuild the settings system to something better.
    I will try to find a temporary fix for the problem though.

    Do you think you could post your TA2DST.ArmA2OAProfile content in a spoiler tag?
    This is the file that is read back when the reset button is pressed in difficulty settings.
    Last edited by Tophe; Jul 10 2012 at 06:10.

  8. #268
    Sure

    Spoiler:


    EDIT - I see that the difficulty numbers are in there at first, but show up as 0's in the program. If I save my settings in the program it overwrites this file and makes them all zeros:

    Spoiler:

  9. #269
    Hello Tophe,

    first of all thank you very much for your great Tool, we appreciate that very much, cause it makes it so much easier for us to run our Arma 2 OA Server.

    After using it for a while, i have only a small Question, and i find no awnser to it.

    How can i configure more then 64 Players ??
    Im able to put in 100 or more Players, but if i click on any other clickable Field it goes back to 64 Players.

    It would be pleasant if you can help me with that.

    Best Regards
    Andy

  10. #270
    Quote Originally Posted by Tophe View Post
    It might have to do with permissions, but I don't think so. D:\ is not a problem.
    I'll start building a new system for the difficulty tab instead.
    My code is a mess... Used this project to learn OOP and C#. It's starting to backfire when you reach 4000 lines of unordered code.
    Time to refactor and rebuild a lot of objects!
    Tophe,

    If you need some help let me know, I have some C# exp. I understand if you don't want to open up the entire source, I would be willing to help out where needed even on just small blocks of code.

    This tool has been a great help to me testing my scripts and addons in a dedi enviorment, I don't mind helping out in return.

Page 27 of 41 FirstFirst ... 1723242526272829303137 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •