Bug

Support and feedback for UniUploader
UniUploader requires microsoft .net runtimes!

Bug

Postby Zajsoft » Wed Jan 10, 2007 2:00 am

If is checked in AddonList too many addons, or of is set too many addons via UniAdmin as Required then after new start UU say "Your settings file is somehow corrupted. Please delete settings.ini or repair it."
Is it due a few addons on newlines.

Example from problematic .ini:
CHECKEDADDONS=rpgo-CharacterProfiler|Group_Calendar|Necrosis|oRA2|Ace_2|Detox|Express_Mail|GMail|La_Vendetta_Boss_Mods|SpellDPS|SpellTips|ClearFont2|AtlasQuest|CleanMinimap|ImprovedCamera|Pingy|BugSack|CooldownCount|Perfect_Targets|Warmup
|AtlasMajorCities
|KLHThreatMeter
|PvPLog|EQCompare|Atlas
|OneStorage|OneBank|OneRing|OneBag|AuldLangSyne|AtlasLoot_Enhanced|OneView|ChatMOD|GuildMap|BugGrabber|AtlasMajorCities|Ace_1.4.1|GuildAds

Problem is in Form1.cs in this code:
Code: Select all
               foreach (string checkedAddon in checkedAddons) //itterate through all checked addons in the addons list
               {
                  if (a > 0)
                  {
                     checkedAddonsFromList +=  "|" + checkedAddon;
                  }
                  else
                  {
                     checkedAddonsFromList += checkedAddon;
                  }
                        MessageBox.Show(checkedAddonsFromList);
                  a++;
               }

If is lenght of checkedAddonsFromList than cca 230chars then new lines is used.

I not a C# (or any C/C++) programer, so i can't repair this problem.
Is type String limited to 255 chars, or is a M$ "feature"?
Zajsoft
WR.net Apprentice
WR.net Apprentice
 
Posts: 8
Joined: Fri Dec 01, 2006 11:00 am
Location: Prague, Czech Republic

Bug

Postby MattM » Wed Jan 10, 2007 10:26 am

interesting, ill try to fix this in the next version

thanks for the info!!
MattM
UA/UU Developer
UA/UU Developer
Gimpy Developer
Gimpy Developer
 
Posts: 886
Joined: Tue Jul 04, 2006 9:53 pm
Location: USA

Re: Bug

Postby Zajsoft » Wed Jan 17, 2007 1:57 pm

Problem with \r\n is directly in checkedAddons.
Fast but maybe not clean solution is:
Code: Select all
foreach (string checkedAddon in checkedAddons) //itterate through all checked addons in the addons list
               {
                  if (a > 0)
                  {
                            checkedAddonsFromList += "|" + checkedAddon.Replace("\r\n", "");
                  }
                  else
                  {
                            checkedAddonsFromList += checkedAddon.Replace("\r\n", "");
                  }
                  a++;
               }
Zajsoft
WR.net Apprentice
WR.net Apprentice
 
Posts: 8
Joined: Fri Dec 01, 2006 11:00 am
Location: Prague, Czech Republic

Re: Bug

Postby lunzet » Sat Feb 17, 2007 11:08 pm

can someone please explain to me how i could fix the length-of-addon-list issue with the current built? do i need to recompile the uniuploader is it something which could be fixed in uniadmin?
User avatar
lunzet
WR.net Journeyman
WR.net Journeyman
 
Posts: 119
Joined: Sat Jan 13, 2007 1:23 pm

Bug

Postby zanix » Sun Feb 18, 2007 1:22 am

It would require editing the source code and recompiling UU

I would suggest SharpDevelop http://www.icsharpcode.net/opensource/sd/
It's free and will open UU's source code
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: Bug

Postby lunzet » Sun Feb 18, 2007 6:06 pm

downloaded the mentioned tool to recode but it gives me a bunch of errors. can someone please add the workaround and recompile so that i can test and distribute to our guild? I would appreciate....
User avatar
lunzet
WR.net Journeyman
WR.net Journeyman
 
Posts: 119
Joined: Sat Jan 13, 2007 1:23 pm

Re: Bug

Postby lunzet » Thu Mar 01, 2007 10:33 am

does the uniuploader 2.6.2 still have this bug or has it been fixed?
User avatar
lunzet
WR.net Journeyman
WR.net Journeyman
 
Posts: 119
Joined: Sat Jan 13, 2007 1:23 pm

Bug

Postby zanix » Thu Mar 01, 2007 10:53 am

Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Bug

Postby MattM » Thu Mar 01, 2007 10:13 pm

i used the code you gave me, i couldnt get it to do that in the first place so i dont know
MattM
UA/UU Developer
UA/UU Developer
Gimpy Developer
Gimpy Developer
 
Posts: 886
Joined: Tue Jul 04, 2006 9:53 pm
Location: USA


Return to UniUploader

Who is online

Users browsing this forum: No registered users and 1 guest

cron