Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert declare code into native code #53

Open
5 of 10 tasks
carlbennett opened this issue Feb 1, 2017 · 5 comments
Open
5 of 10 tasks

Convert declare code into native code #53

carlbennett opened this issue Feb 1, 2017 · 5 comments

Comments

@carlbennett
Copy link
Owner

carlbennett commented Feb 1, 2017

Search Results

image

Locations

Globals.BSHA1, line 5
Globals.CheckRevision, line 2
Globals.CheckRevision, line 6
Globals.DateToDWORD, line 2
Globals.DecryptCDKey, line 5
Globals.EncryptOLSPW, line 4
Globals.FlashWindowEx, line 17
Globals.GetLastSocketError, line 2
Globals.GetLastSocketError, line 3
Globals.GetSystemPathVariable, line 4
Globals.QWORDToDate, line 2
OSVersionInformation.Initialize, 8
OSVersionInformation.Initialize, 9
OSVersionInformation.IsTerminalSession, line 1
BotWindow.Activate, line 4
BotWindow.Activate, line 5
NLS.AccountCreate, line 2
NLS.AccountLogon, line 2
NLS.AccountLogonProof, line 2
NLS.Constructor, line 2
NLS.Destructor, line 2
NLS.ServerPasswordProof, line 2

Features / Functional designs to convert

  • BSHA1 hashing
  • Local version checks
  • 8-byte unsigned integer to/from native Date object
  • Game key decryption
  • Double BSHA1 hashing (Old Logon System/OLS password and tokens checksum)
  • Native system notifications for main window
  • OS-native socket error code lookup (could default back to native Realbasic error codes instead)
  • Runtime environment variable lookup for $PATH
  • BotWindow activate/bring-to-front code
  • New Logon System (NLS) algorithms
@carlbennett carlbennett added this to the BNRBot v2 milestone Feb 1, 2017
@carlbennett carlbennett self-assigned this Feb 1, 2017
carlbennett added a commit that referenced this issue Feb 1, 2017
- Remove OSVersionInformation
- Refactor GetSystemPathVariable
@carlbennett
Copy link
Owner Author

carlbennett commented Feb 1, 2017

@carlbennett
Copy link
Owner Author

This is good so far:

* Note: I did have to install gtk2.i686 and move RBGUIFramework.so to the main directory outside of BNRBot Libs, also the config file was renamed to BNRBdat instead of BNRBot.dat possibly due to removing .exe which isn't there on Linux.

image

@carlbennett
Copy link
Owner Author

Installed webkitgtk.i686 and made a few more changes

image

@carlbennett
Copy link
Owner Author

Created release BNRBot v2.8.5.65 with all of these changes in it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant