Author Topic: CD-Key Exception  (Read 15077 times)

0 Members and 2 Guests are viewing this topic.

Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: CD-Key Exception
« Reply #15 on: February 16, 2010, 08:04:35 pm »
Fixed. SVN upload in the next few minutes, after I nab a byte [sic] to eat.

Hopefully 2.1.3 will be out by the end of the week. If I remember (and I won't), I'll recompile 2.1.2 when I get home to hopefully get a working bot in everyone's hands.
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline Lance

  • Full Member
  • ***
  • Posts: 129
    • View Profile
Re: CD-Key Exception
« Reply #16 on: February 16, 2010, 09:18:05 pm »
Flushed Alpha.jbb just to make sure it was not the settings (just got the default <CDKEY HERE> error), then I entered the new settings and saved them, but I still got this:



This is resolved by changing lines 24 and 25 in packets.SidAccountLogon which are:
Code: [Select]
String username = pubFuncs.getLocalSetting("Battle.net Logon Plugin", "username");
String password = pubFuncs.getLocalSetting("Battle.net Logon Plugin", "password").toLowerCase();
To:
Code: [Select]
String username = pubFuncs.getLocalSetting("Battle.net Login Plugin", "username");
String password = pubFuncs.getLocalSetting("Battle.net Login Plugin", "password").toLowerCase();

But it seems to have exposed another problem:


Thanks :)
« Last Edit: February 19, 2010, 09:29:34 pm by Lance »
Quote from: Joe
[23:55:31] [william@enterprise ~/Documents/Programming/javaop2]$ svn commit -m 'Tried to fix StayConnected. Again.'
Committed revision 63.
StayConnected strikes back!

Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: CD-Key Exception
« Reply #17 on: February 17, 2010, 01:04:34 am »
Wow, my recent changes are turning out to be some kind of a joke. I'll get right on those. Thank you very much for testing this out with me.

Feel free to add me on AIM or MSN, by the way. joetheodd or joetheodd@gmail.com
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: CD-Key Exception
« Reply #18 on: February 17, 2010, 02:57:24 am »
Okay -- I cleaned up a ton and a half of SRP code. I'm now getting a incorrect password password after SID_AUTH_ACCOUNTLOGON proof. It's in subversion if you want to track it down, or if not I'll solve it tomorrow morning when I'm tutoringgetting paid to do nothing.

The important news is both WarCraft III and StarCraft pass SID_AUTH_CHECK with 26-character keys. Also, off-topic but Hdx fixed StealthBot as well.
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline Lance

  • Full Member
  • ***
  • Posts: 129
    • View Profile
Re: CD-Key Exception
« Reply #19 on: February 17, 2010, 09:05:41 am »
It works! Just had to remove that extra cdkey folder in the root directory :)

Thanks Joe!
Quote from: Joe
[23:55:31] [william@enterprise ~/Documents/Programming/javaop2]$ svn commit -m 'Tried to fix StayConnected. Again.'
Committed revision 63.
StayConnected strikes back!

Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: CD-Key Exception
« Reply #20 on: February 17, 2010, 01:23:07 pm »
Odd, you're right. I don't know why I was getting password errors.. probably running unfixed code while my fiance was yelling at me to come to bed. Ahh, late night programming.

So now all I have to do is change the namespace of every single class, fix the 300 bugs that makes, and then 2.1.3 should be ready to ship.
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline Lance

  • Full Member
  • ***
  • Posts: 129
    • View Profile
Re: CD-Key Exception
« Reply #21 on: February 17, 2010, 10:31:22 pm »
Odd, you're right. I don't know why I was getting password errors.. probably running unfixed code while my fiance was yelling at me to come to bed. Ahh, late night programming.

So now all I have to do is change the namespace of every single class, fix the 300 bugs that makes, and then 2.1.3 should be ready to ship.

Sorry to be the one to add three more things to the list  :P, though these are just minor graphical problems.

You may already be aware of one or two of these issues, but just in case you are not I am listing them here.

No icons are showing in the Channel List. This is from the stack trace:
Code: [Select]
Loading Alpha
Activating plugin: Simple event processor
Activating plugin: Commands
Activating plugin: Swing Gui
Exception in Metacity for theme "Nodoka": Variable "mini_icon_width" not defined
Activating plugin: Channel list plugin
Activating plugin: Battle.net Login Plugin
Activating plugin: _Default
Error: client icon not found:
Error: client icon not found:
Error: client icon not found:
Error: client icon not found:
Error: client icon not found:
Error: client icon not found:

Also, when I type the text into the message box for a loaded bot, I cannot see what I am typing because the text is the same color as the background. Highlighting the text is the only way to see what is in the box at the moment.

Last, the title bars for individual bots are not displaying properly, and the product icon seems to have the wrong size. To see examples of this, please refer to my previous screenshots.

Running FC11 by the way.

Thanks :)
Quote from: Joe
[23:55:31] [william@enterprise ~/Documents/Programming/javaop2]$ svn commit -m 'Tried to fix StayConnected. Again.'
Committed revision 63.
StayConnected strikes back!