Wizzup?
2007-08-25 12:23:17
I started using Smart today.
Get the latest java first before continuing.
These are a few bugs I got:
First error:
Could not initialize SMART.
Error Code [16711422]
This one isn't too hard to handle.
Open Regedit.
Go to HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment
Add a string in there named 'BrowserJavaVersion'.
It's value should be: '1.6.0_02'
It should now add to the list which also holds the string 'currentversion' and 'installstatus'.
Done.
Second:
Replace TypeSend with this:
Third:
SmartSetup needs a prefix world, not a number.
Like this:
A list of all prefixes can be found in the SCSS folder.
Before you include anything else, include smart.scar
In very the beginning of your script,
Call the following:
This will start up the client, you might want to add:
You need to drag the crosshair once.
Fourth: 'MSVCR71.dll was NOT found.'
http://www.advancedinstaller.com/for...pic.php?t=1801
Just copy'ing the file does it. (MSVCR71.dll)
From your java installdir/bin/*here*
To C:/Windows/system32/*here*
Fifth: Failed when compiling
Line 1: [Error] (16634:11): Duplicate identifier 'MOVEMOUSE' in script C:\Program Files\SCAR 3.12_3\includes\Smart.scar
You need include Smart.scar before anything else.
I got it running now, and I must say, it rocks my socks.
I already see forward to your next version with a lower fps, Ben.
I hope this has helped.
PS: It is not a wrong forum, cause you download Smart.scar include here.
Get the latest java first before continuing.
From: BenLand100
The registry, and typing problem will be fixed in the next version just as an fyi.
These are a few bugs I got:
First error:
Could not initialize SMART.
Error Code [16711422]
This one isn't too hard to handle.
Open Regedit.
Go to HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment
Add a string in there named 'BrowserJavaVersion'.
It's value should be: '1.6.0_02'
It should now add to the list which also holds the string 'currentversion' and 'installstatus'.
Done.
Second:
Replace TypeSend with this:
procedure TypeSend(Text: string);
var
i: Integer;
Shift: Boolean;
begin
SmartSendKeys(Text + Chr(10));
end;
Third:
SmartSetup needs a prefix world, not a number.
Like this:
SmartSetup('ams3', false, false);
A list of all prefixes can be found in the SCSS folder.
Before you include anything else, include smart.scar
In very the beginning of your script,
Call the following:
SmartSetup('ams3', false, false);
SetTargetDC(SmartGetDC);
This will start up the client, you might want to add:
repeat
wait(100);
until welcometorunescape;
You need to drag the crosshair once.
Fourth: 'MSVCR71.dll was NOT found.'
http://www.advancedinstaller.com/for...pic.php?t=1801
Just copy'ing the file does it. (MSVCR71.dll)
From your java installdir/bin/*here*
To C:/Windows/system32/*here*
Fifth: Failed when compiling
Line 1: [Error] (16634:11): Duplicate identifier 'MOVEMOUSE' in script C:\Program Files\SCAR 3.12_3\includes\Smart.scar
You need include Smart.scar before anything else.
I got it running now, and I must say, it rocks my socks.
I already see forward to your next version with a lower fps, Ben.
I hope this has helped.
PS: It is not a wrong forum, cause you download Smart.scar include here.