hi i found the problem i think its the framework 3.5 if you have new windows 7 with sp1 the framework is system compoment and you cnot install the framework 3.5 and under so i test my oldest windows 7 and work
hi i found the problem i think its the framework 3.5 if you have new windows 7 with sp1 the framework is system compoment and you cnot install the framework 3.5 and under so i test my oldest windows 7 and work
@RageHunter
It seems that you have to multiply by 8 the index in order to retrieve the actionbarslots (look at sub_A5A5D0 in IDA).
I tried both Pally and Monk behaviors. Some spells are detected and other aren't, so I think it isn't a problem with the engine and it could be related to changes done by Blizzard, perhaps spell ID? Idk. Be patient about wonderful Ragehunter's work, try using SEND KEY option, and I'm pretty sure he should solve it as soon as he can.
yes sure, i'm patient. just want give my feedback.
but why did you make 3 posts?![]()
------------------------------------------------------------------------------------------------------
Thanks, but I should just change the size of the bars from 30 to 60.
First noticed it in IDA
------------------------------------------------------------------------------------------------------
Спасибо, но мне надо было просто изменить размер баров с 30 на 60.
Сперва не заметил это в IDA
------------------------------------------------------------------------------------------------------
Are there any other engines for LB?
Last edited by Rage Hunter; 11-29-2012 at 11:51 AM.
Rage Hunter,
I am one of the few that is getting this exception. I am running x64 with Volume License. I took a look at your code and the function throwing the exception is below. I executed your code on my machine and noticed that key2.GetValue("DigitalProductId") is returning null. I checked the registry key and it's there, but x86 applications (32 bit) running on a x64 operating system are using a different registry (registry view). In order to access the x64 registry you could use the .Net Framework 4.0 RegistryKey class and RegistryView enum. If you can't use .NET 40, then you would have to use Interop (RegOpenKeyEx() Win32 API function with the KEY_WOW64_32KEY flag) to access the x64 registry.
I made it work with the .NET 40 RegistryKey class, see this screenshot..
Code:public static byte[] GetRegistryDigitalProductId(Key key) { byte[] buffer = null; RegistryKey key2 = null; if (key == Key.Windows) { key2 = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Microsoft\Windows NT\CurrentVersion", false); } if (key2 != null) { buffer = key2.GetValue("DigitalProductId") as byte[]; key2.Close(); } return buffer; }
I hope this helps. Also, keep in mind that the DigitialProductId key could be null/empty if you are using a Volume License Key to activate your Windows 7 operating system. Sometimes the VLC key is deleted from the registry after activation, although mine appears to still be there (used slmgr -dli to see it). It might also be missing if someone deleted the registry key (modified the content of this key) manually using the command slmgr –cpky.
Last edited by hyperflow; 11-29-2012 at 11:58 AM. Reason: Put a link to the image on imgur.com instead, site resized it.
------------------------------------------------------------------------------ ENG ------------------------------------------------------------------------------------
LB works on 32 and 64 bit. Checked on 6 computers with different operating systems.
At the expense of reading the registry. When you run 32-bit applications on 64-bit OS and reading SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ DigitalProductId machine readable SOFTWARE \ Wow6432Node \ Microsoft \ Windows NT \ CurrentVersion \ DigitalProductId
Yes, there is no record in the SOFTWARE \ Wow6432Node \ Microsoft \ Windows NT \ CurrentVersion \ DigitalProductId
but
SetupLB.exe (any CPU)
This corrects the lack of records, and if you are copying from a computer is not a computer that will run on the LB.Code:public byte[] GetRegistryDigitalProductId(Key key) { byte[] digitalProductId = null; RegistryKey registry = null; switch (key) { case Key.Windows: { try { .................................... } catch { ................................... } } break; } if (registry != null) { ......................................... } if (IntPtr.Size == 8) { registry = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion", true); if (registry != null) { registry.SetValue("DigitalProductId", digitalProductId); registry.Close(); } } return digitalProductId; }
------------------------------------------------------------------------------ RUS ------------------------------------------------------------------------------------
LB работает на 32 и 64 бит. Проверил на 6 компах с разными ОС.
На счет чтения реестра. При запуске приложения 32 бит на 64 бит ОС и чтении SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId автоматом читается SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\DigitalProductId
Да, нет записи в SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\DigitalProductId
но
SetupLB.exe
Это исправляет отсутствие записи, и если вы копируете с компа не комп то ЛБ работать на будет.
Last edited by Rage Hunter; 11-29-2012 at 12:21 PM.
hey guys when i try to update from file in forum, i got this following message:
"See the end of this message for details on invoking debugging
JIT (just-in-time) instead of this dialog box.
Exception Text ************** **************
System.UnauthorizedAccessException: Attempted to perform an unauthorized operation.
***in Microsoft.Win32.RegistryKey.Win32Error (Int32 errorCode, String str)
***in Microsoft.Win32.RegistryKey.SetValue (String name, Object value, RegistryValueKind valueKind)
***in SetupLB.Form1.GetRegistryDigitalProductId (Key key)
***in SetupLB.Form1.EncodeKey ()
***in SetupLB.Form1.CreateKey ()
***in SetupLB.Form1.button1_Click (Object sender, EventArgs e)
***in System.Windows.Forms.Button.OnMouseUp (MouseEventArgs mevent)
***at System.Windows.Forms.Control.WmMouseUp (Message & m, MouseButtons button, Int32 clicks)
***at System.Windows.Forms.Control.WndProc (Message & m)
***in System.Windows.Forms.ButtonBase.WndProc (Message & m)
***in System.Windows.Forms.Button.WndProc (Message & m)
***at System.Windows.Forms.NativeWindow.Callback (IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Assemblies loaded ************** **************
mscorlib
****Assembly Version: 4.0.0.0
****Win32 Version: 4.0.30319.296 (RTMGDR.030319-2900)
****CodeBase: file :/ / / C :/ Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
SetupLB
****Assembly Version: 1.0.0.0
****Win32 Version: 1.0.0.0
****CodeBase: file :/ / / C :/ Users / Walls / Desktop / SetupLB.exe
----------------------------------------
System.Windows.Forms
****Assembly Version: 4.0.0.0
****Win32 Version: 4.0.30319.278 built by: RTMGDR
****CodeBase:
----------------------------------------
System.Drawing
****Assembly Version: 4.0.0.0
****Win32 Version: 4.0.30319.282 built by: RTMGDR
****CodeBase:
----------------------------------------
System
****Assembly Version: 4.0.0.0
****Win32 Version: 4.0.30319.296 built by: RTMGDR
****CodeBase: file :/ / / C :/ Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
****Assembly Version: 4.0.0.0
****Win32 Version: 4.0.30319.233 built by: RTMGDR
****CodeBase:
----------------------------------------
System.Configuration
****Assembly Version: 4.0.0.0
****Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
****CodeBase:
----------------------------------------
System.Xml
****Assembly Version: 4.0.0.0
****Win32 Version: 4.0.30319.233 built by: RTMGDR
****CodeBase:
----------------------------------------
mscorlib.resources
****Assembly Version: 4.0.0.0
****Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
****CodeBase:
----------------------------------------
System.Windows.Forms.resources
****Assembly Version: 4.0.0.0
****Win32 Version: 4.0.30319.1 built by: RTMRel
****CodeBase:
----------------------------------------
************** JIT Debugging **************
To enable debugging just-in-time (JIT), the. Config for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
activated.
Eg
<configuration>
****<system.windows.forms jitDebugging="true" />
</ Configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box."
What can i do in order to solve this?!
@Paredix
See if this bot works, i just updated it and works on my comp
LB 5.1.7z
:gusta:wow:gusta: