Jump to content

RO Credentials (ROCred), v1.10.0 - last updated 2017/12/31


Ai4rei

Recommended Posts


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  417
  • Reputation:   354
  • Joined:  11/11/11
  • Last Seen:  

RO Credentials

rocred.png

  • About
    Simple and tiny client launcher+login. Has no prerequisites and runs on all Windows versions.
  • Known Issues
    [aavc] This tool is not safe for computers running Avast Anti-Virus.
  • Download
    binary, reference source
  • Q & A
  • Is it customizable?
    Yes.
  • How?
    With resource editing tools, such as ResourceHacker. All text and icons can be customized. Settings can be edited in an INI file (included).
  • What is "reference source"?
    You cannot compile it (unless you provide the missing components), but see what functionality the latest binary contains.
  • I want it to be xyz.exe, but it does not read the INI file. Why?
    You have to match the INI name to the EXE name.
    rocred.exe -> rocred.ini
    mytest.exe -> mytest.ini
  • How can I embed an INI file into the EXE?
    Add the INI file as RCDATA resource named CONFIG with ResourceHacker.
  • How do I use background skinning?
    Create a file named bgskin.bmp (magenta #ff00ff is considered transparent). You can also embed the file as BITMAP resource with the name BGSKIN. Window size is adjusted to the bitmap size, position of controls must be set in the INI. Buttons can be skinned as well, see the INI for names.

    rocred-bgskin.jpg
  • Can I add custom buttons, if so, how many?
    Yes, see the INI template for details. There is no defined limit on how many, the only constraints are available memory, GDI resources and INI size limit on some platforms. By the way, custom buttons can be skinned as well.
  • Why does the client not auto-login when I press "Start"?
    The client must be 2010-08-04aRagexeRE or newer and must not have the "Restore Login Window" patch.


80x15by-nc.png
This work is licensed under a Creative Commons Attribution-Noncommercial 3.0 Unported License.

Edited by Ai4rei
  • Upvote 6
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2345
  • Joined:  10/28/11
  • Last Seen:  

Nice release .. luv it.. = )

 

EDIT :

erm .. .. when i use this with  2012-06-18 client.. it can run the client but it doesnt auto login the account..

beside it also ask me to re-enter password before able to login ..

is it because this ROCred doesnt compatible with 2012 client ?? or i setup wrongly ??

 

the ROCred.ini look like this

; ------------------------------------------------------------------
; RO Credentials (ROCred)
; (c) 2012-2013 Ai4rei/AN
;
; ------------------------------------------------------------------

[ROCred]
; Whether or not user name is remembered (0 = No, 1 = Yes).
CheckSave =1

; Remembered user name.

; Client to start when clicking login.
ExeName = 2012-06-18aRagexeRE.exe.patched.exe

; Argument to pass to the client.
ExeType = 1rag1

; Whether or not password should be MD5 hashed (0 = Plaintext, 1 = MD5 hash).
HashMD5 = 0

; Whether second instances are allowed or not (0 = No, 1 = Yes).
SecondInstance = 1
UserName=emistry

Edited by Emistry
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  417
  • Reputation:   354
  • Joined:  11/11/11
  • Last Seen:  

Nice release .. luv it.. = )

 

EDIT :

erm .. .. when i use this with  2012-06-18 client.. it can run the client but it doesnt auto login the account..

beside it also ask me to re-enter password before able to login ..

is it because this ROCred doesnt compatible with 2012 client ?? or i setup wrongly ??

[...]

Have you diffed 'restore login window' by any chance? If so, the auto-login won't work. The setup looks fine to me.

Version 1.3.0

Added settings to lock down some features, intended for paranoia defaults in embedded INI (see the included INI for details). Fixed the client could fail with error "Requires elevation to execute" when using Start or Replay buttons.

Anyone interested in some basic skinning (background), something to the effect of RO Patcher Lite skinning (put a bgskin.bmp file next to the .exe to try) ?

Version 1.3.1

Fixed missing button labels, when user name was saved.

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2345
  • Joined:  10/28/11
  • Last Seen:  

Have you diffed 'restore login window' by any chance? If so, the auto-login won't work. The setup looks fine to me.

i see ....haha thx for it..

now it work perfectly...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  139
  • Reputation:   24
  • Joined:  09/02/12
  • Last Seen:  

nice work. /no1

good job! /thx

 

 

i hope that for the next release it can support dual client. /lv

opss my bad. i forgot to edit ini file for it to work... /sry

Edited by reigneil
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  139
  • Reputation:   24
  • Joined:  09/02/12
  • Last Seen:  

i have a request for your work.

and it is something todo with tab limited to textbox only.

the username and password for faster login.

 hope it will help... thanks

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  417
  • Reputation:   354
  • Joined:  11/11/11
  • Last Seen:  

Not quite sure if I understand you, but you can already TAB between those two. The fastest login sequence would be:

  • When user name is not remembered (user name textbox is selected on start):

    enter username<TAB>enter password<ENTER>

  • When user name is remembered (password textbox is selected on start):

    enter password<ENTER>

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  139
  • Reputation:   24
  • Joined:  09/02/12
  • Last Seen:  

what i'm after is when there is a username remembered tabbing take much time for editing this area.

 

in addition can you make a hotkey for it..

like alt+c for close, or alt+s for start alt+r for replay etc.

what do you think?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  417
  • Reputation:   354
  • Joined:  11/11/11
  • Last Seen:  

For that case it would be

<SHIFT+TAB>enter username<TAB>enter password<ENTER>

Also:

ENTER = Start

ESC = Close

Replay does not have any shortcut, but since you do not need to enter user/password for that, clicking should be more preferable.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  139
  • Reputation:   24
  • Joined:  09/02/12
  • Last Seen:  

i see well i guess a little documentation on how to use it would be helpful. especially for us newbie /no1

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  417
  • Reputation:   354
  • Joined:  11/11/11
  • Last Seen:  

i see well i guess a little documentation on how to use it would be helpful. especially for us newbie /no1

I hope you are kidding.
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  417
  • Reputation:   354
  • Joined:  11/11/11
  • Last Seen:  

Experimental Version 1.4.0

Support for background image and control resizing/moving.

binary (replaced by a proper release)

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  417
  • Reputation:   354
  • Joined:  11/11/11
  • Last Seen:  

Version 1.4.0

Added support for background skinning, see the INI or first post for details.

rocred-merch-skin.jpg

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  417
  • Reputation:   354
  • Joined:  11/11/11
  • Last Seen:  

Version 1.5.0

Added support for skinning buttons. See the accompanied INI for details on design and restrictions.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  139
  • Reputation:   24
  • Joined:  09/02/12
  • Last Seen:  

nice update. /no1

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  93
  • Reputation:   0
  • Joined:  03/04/12
  • Last Seen:  

hi Ai4rei you're really amazing, can you remove the PolicyNoSessionPassword forever please?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  417
  • Reputation:   354
  • Joined:  11/11/11
  • Last Seen:  

hi Ai4rei you're really amazing, can you remove the PolicyNoSessionPassword forever please?

What do you mean? If you do not like the option, just do not use it?
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  417
  • Reputation:   354
  • Joined:  11/11/11
  • Last Seen:  

Version 1.6.0

Per request, added support for providing the server with miscellaneous user information (requires user consent once). When enabled, requires modification of the login packet code on server-side to extract the url-style parameters from the t1 (token) field.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  53
  • Topics Per Day:  0.01
  • Content Count:  411
  • Reputation:   259
  • Joined:  04/25/12
  • Last Seen:  

Using cliente 2012-04-10 the servers when login dont show the account login, show a null value and give the console error "Login Authentication Failed"

Edited by Zell
  • Upvote 1
Link to comment
Share on other sites

  • 4 weeks later...

  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  126
  • Reputation:   4
  • Joined:  10/31/12
  • Last Seen:  

how can i change the the (NAME of the Launcher)

i try to hex but i cant s

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  164
  • Reputation:   55
  • Joined:  11/25/11
  • Last Seen:  

When you say "You can also embed the file as BITMAP resource with the name BGSKIN" do you mean using Resource Hacker, or using /embed parameter?

 

Can you give an example of how to embed a bgskin and buttons?

 

Update: Figured out it is updating via Resource Hacker, and it is working. Is there any way to embed the buttons too?

 

PS: the 'focus' state of buttons do not work. You have to click to get it to focus - mouse over does not focus it.

Edited by rayn
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  417
  • Reputation:   354
  • Joined:  11/11/11
  • Last Seen:  

how can i change the the (NAME of the Launcher)

i try to hex but i cant s

Use Resource Hacker to edit the String Table. 

When you say "You can also embed the file as BITMAP resource with the name BGSKIN" do you mean using Resource Hacker, or using /embed parameter?

 

Can you give an example of how to embed a bgskin and buttons?

 

Update: Figured out it is updating via Resource Hacker, and it is working. Is there any way to embed the buttons too?

 

PS: the 'focus' state of buttons do not work. You have to click to get it to focus - mouse over does not focus it.

Yes, Resource Hacker only. For the button names, see the example INI shipped with rocred (ex. filename: btnreplay.bmp / resource: IDB_REPLAY). It's called "focus", because it occurs when the button gains focus (tab or mouse-button pressed), if it would react to mouse-over, it would be called as such; mouseover/mouseout tracking is painful to add with the methods I know (TrackMouseEvent function), that's why i choose focus instead.
Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  141
  • Topics Per Day:  0.03
  • Content Count:  444
  • Reputation:   22
  • Joined:  06/18/12
  • Last Seen:  

 

how can i change the the (NAME of the Launcher)

i try to hex but i cant s

Use Resource Hacker to edit the String Table. 

When you say "You can also embed the file as BITMAP resource with the name BGSKIN" do you mean using Resource Hacker, or using /embed parameter?
 
Can you give an example of how to embed a bgskin and buttons?
 
Update: Figured out it is updating via Resource Hacker, and it is working. Is there any way to embed the buttons too?
 
PS: the 'focus' state of buttons do not work. You have to click to get it to focus - mouse over does not focus it.

Yes, Resource Hacker only. For the button names, see the example INI shipped with rocred (ex. filename: btnreplay.bmp / resource: IDB_REPLAY). It's called "focus", because it occurs when the button gains focus (tab or mouse-button pressed), if it would react to mouse-over, it would be called as such; mouseover/mouseout tracking is painful to add with the methods I know (TrackMouseEvent function), that's why i choose focus instead.

 

 

Can you give me instructions in details on how to apply the custom background for this?
I'm new to resource hacker. I can only change the app name and the icons..

But regarding the background, I really don't know how.

 

Edited by Lord Ganja
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  417
  • Reputation:   354
  • Joined:  11/11/11
  • Last Seen:  

  • Menu "Action" -> "Add a new resource..."
  • Button "Open file with new resource" -> select your background bitmap (.bmp)
  • Field "Resource Type" should turn into BITMAP.
  • Field "Resource Name": Enter BGSKIN
  • Field "Resource Language": Enter 0
  • Button "Add Resource"
  • Menu "File" -> "Save"
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...