Jump to content

Photo

RA2 password not storing


  • Please log in to reply
38 replies to this topic

#26 Jev

Jev

    Lieutenant

  • Bounty Hunters
  • PipPipPipPipPip
  • 784 posts

Posted 03 March 2012 - 10:05 AM

ok So I downloaded 0.0.0 and still it doesnt save the password

Attached Thumbnails

  • 0.0.0.JPG


#27 fir3w0rx

fir3w0rx

    If we learn from our mistakes, then I must be a genius!

  • XWIS Buddies
  • PipPipPipPipPipPip
  • 1962 posts

Posted 03 March 2012 - 11:43 AM

Try this...

Open ra2.ini and under [Multiplayer], check to see if the following line is there

StoreNick=yes


If not, add it.

#28 thomas338

thomas338

    Sun Wukong

  • Members
  • PipPipPipPipPipPipPipPip
  • 11375 posts

Posted 03 March 2012 - 02:04 PM

Was bored so I've swapped out the hKey param for the relevant calls to RegOpenKeyExA and RegCreateKeyExA for this in WOLAPI against HKCU for you. It isn't the same WOLAPI that you have however (size difference). I've used the one that can be downloaded from here, just 4 bytes have been changed, tested, works very fine, not sure about the locale though.

RegSetValueExA:
Posted Image (nick and pass)
Posted Image (locale)


RegQueryValueExA:
Posted Image (nick and pass)

This way also normal users on Vista/7 can save their logins. On a multi-user system the nicks won't be shared anymore.

Replace your existing WOLAPI.dll with this one: http://www.mediafire.com/?y0cbw26a3bu0fg3 (you may want to back-up your old one before though).

Note that if you had any logins saved, you'll have to re-enter them.

#29 fir3w0rx

fir3w0rx

    If we learn from our mistakes, then I must be a genius!

  • XWIS Buddies
  • PipPipPipPipPipPip
  • 1962 posts

Posted 03 March 2012 - 02:25 PM

Let's hear what Cypher has to say about that^^

But seriously, if he understood that, I don't think he'll be asking for any computer-related help! :laugh:

#30 fir3w0rx

fir3w0rx

    If we learn from our mistakes, then I must be a genius!

  • XWIS Buddies
  • PipPipPipPipPipPip
  • 1962 posts

Posted 03 March 2012 - 02:50 PM

Sori I didn't read the bottom part coz I got lost in the maze :D. Yeah, replacing the WOLAPI file seems easy enough, hopefully for him it works.

#31 Jev

Jev

    Lieutenant

  • Bounty Hunters
  • PipPipPipPipPip
  • 784 posts

Posted 04 March 2012 - 08:17 AM

Try this...

Open ra2.ini and under [Multiplayer], check to see if the following line is there



StoreNick=yes


If not, add it.


THANKS EVERYONE.
This is the one that resolved the issue.

Edited by Jacobite, 04 March 2012 - 09:05 AM.


#32 Olaf

Olaf

    Commander

  • XWIS Admin
  • PipPipPipPipPipPipPipPip
  • 12572 posts
  • XWIS Name: XTF

Posted 04 March 2012 - 04:42 PM

You did have "Remember Account Info" ticked, didn't you?

#33 Jev

Jev

    Lieutenant

  • Bounty Hunters
  • PipPipPipPipPip
  • 784 posts

Posted 04 March 2012 - 06:25 PM

You did have "Remember Account Info" ticked, didn't you?

In log in screen???????????? Of course

#34 fir3w0rx

fir3w0rx

    If we learn from our mistakes, then I must be a genius!

  • XWIS Buddies
  • PipPipPipPipPipPip
  • 1962 posts

Posted 04 March 2012 - 06:37 PM

Ahh yes, Fireworks does it again :p. Anything else need fixing while I'm here? :D

#35 Jev

Jev

    Lieutenant

  • Bounty Hunters
  • PipPipPipPipPip
  • 784 posts

Posted 04 March 2012 - 08:36 PM

Ahh yes, Fireworks does it again :p. Anything else need fixing while I'm here? :D

Thanks very Much

#36 thomas338

thomas338

    Sun Wukong

  • Members
  • PipPipPipPipPipPipPipPip
  • 11375 posts

Posted 04 March 2012 - 09:11 PM

THANKS EVERYONE.
This is the one that resolved the issue.


RA2 doesn't give a damn about the StoreNick value, in fact it doesn't even know about it. That's a TS thing. A relict. If you do believe RA2 uses StoreNick, then show some proof instead pls.

0050F410 Call to game.0050F410 from game.0066F4D7
007DBCE4 Arg1 = ASCII "MultiPlayer"
007DFE18 Arg2 = ASCII "SendDelay"
00000000 Arg3 = 0
0050F410 Call to game.0050F410 from game.0066F552
007DBCE4 Arg1 = ASCII "MultiPlayer"
007F3678 Arg2 = ASCII "WOLLimitResolution"
00000000 Arg3 = 0
0050F410 Call to game.0050F410 from game.0066F65C
007DBCE4 Arg1 = ASCII "MultiPlayer"
007F3644 Arg2 = ASCII "WOLTaunts"
FFFFFF01 Arg3 = -0FF
0050F410 Call to game.0050F410 from game.0066F67D
007DBCE4 Arg1 = ASCII "MultiPlayer"
007F3638 Arg2 = ASCII "LANTaunts"
00000001 Arg3 = 1
0050F410 Call to game.0050F410 from game.0066F69E
007DBCE4 Arg1 = ASCII "MultiPlayer"
007F3628 Arg2 = ASCII "WOLScrollText"
02913801 Arg3 = 2913801
0050F410 Call to game.0050F410 from game.0066F6BF
007DBCE4 Arg1 = ASCII "MultiPlayer"
007F3618 Arg2 = ASCII "LANScrollText"
00000001 Arg3 = 1

These are all the boolean values read from the MultiPlayer section of ra2.ini. For full reference see attached text file.

First parameter is the section, second key name, third is actually the default value (the result is returned), duh. For some values seemingly bogus integers/pointers are passed as default. The file handle is held somewhere globally.

Attached Files



#37 Jev

Jev

    Lieutenant

  • Bounty Hunters
  • PipPipPipPipPip
  • 784 posts

Posted 04 March 2012 - 10:09 PM

RA2 doesn't give a damn about the StoreNick value, in fact it doesn't even know about it. That's a TS thing. A relict. If you do believe RA2 uses StoreNick, then show some proof instead pls.


These are all the boolean values read from the MultiPlayer section of ra2.ini. For full reference see attached text file.

First parameter is the section, second key name, third is actually the default value (the result is returned), duh. For some values seemingly bogus integers/pointers are passed as default. The file handle is held somewhere globally.

All I know is that whatever firework said to check, it was found to be missing. I insert what he suggests and hey presto it works.

#38 fir3w0rx

fir3w0rx

    If we learn from our mistakes, then I must be a genius!

  • XWIS Buddies
  • PipPipPipPipPipPip
  • 1962 posts

Posted 05 March 2012 - 03:13 AM

These are all the boolean values read from the MultiPlayer section of ra2.ini. For full reference see attached text file.

Wow, how do you know all this? All I remember from my assembly classes in computer school is ASCII code for 'A' = 65 (decimal) :laugh:.

Open your debugger in XP, maybe you'll see something different.

Edited by Fireworks, 05 March 2012 - 10:33 AM.


#39 thomas338

thomas338

    Sun Wukong

  • Members
  • PipPipPipPipPipPipPipPip
  • 11375 posts

Posted 05 March 2012 - 06:17 PM

Open your debugger in XP, maybe you'll see something different.

Newsflash - there's no reference to "StoreNick" in RA2s code unlike TS'. XP wouldn't change that


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users