I tried doing this.. Q: Im getting the following error: "WARNING: Requested DirectX9 Screen Format may be incompatable with XUnleashed. "
A: Set your screen resolution to like 1024x768 and use 32 bit colors.
A2: open your Xunleashed then go to the options tab.. Once there instead of setting it on FFXI turn it to Xunleashed V3: DirectX 8 Test, lauch that and a little window will show up with the xunleashed logo bouncing around. Once in there bring up the toolbar by taking the mouse to the bottom of the screen and click your Xunleashed V2 Scripts Tab. Then start the mouse demo and it should work(itll move your mouse around and stuff). Once you have done that hit exit on the window and return to the options tab and change it back to FFXI then launch it as u normally would. Once your in game screen try your mouse demo, it should work. Va la problem fixed now when u launch other scripts it wont stop them immidiatley and the should work like a charm. ENJOY please repost if this fix works for u!
I dont quite understand it.. so i ran the dx7 test. and ran the mouse and path script there.. it worked
So i logged into eq2 again hoping it would work.. Frist run.. nothing happened. second run games crashes. BUT log changed ^^
01/21/07 01:05:55 AM
***** XUnleashed Trace Log Started: Sunday, January 21, 2007 01:05:55
01/21/07 01:05:55 AM Registered XUnleashed Controls...
01/21/07 01:05:55 AM Registered XUScriptHelper...
01/21/07 01:05:55 AM XUnleashed Client: Click Play to begin...
01/21/07 01:05:56 AM XUnleashed Client: Updating 3rd Party Plugins and Services...
01/21/07 01:05:56 AM XUnleashed Client: Patching Wyvern's EQ2 Servicer
01/21/07 01:05:56 AM XUnleashed Client: Retrieving the file: update
01/21/07 01:05:57 AM XUnleashed Client: Redirecting to alternate patch server. . .
01/21/07 01:05:57 AM XUnleashed Client: Retrieving the file: EQ2ServiceNews.txt
01/21/07 01:05:57 AM XUnleashed Client: Redirecting to alternate patch server. . .
01/21/07 01:05:57 AM XUnleashed Client: Retrieving the file: Global.map
01/21/07 01:05:57 AM XUnleashed Client: Redirecting to alternate patch server. . .
01/21/07 01:05:57 AM XUnleashed Client: Patching complete. . .
01/21/07 01:05:57 AM XUnleashed Client: Connecting to XUnleashed...
01/21/07 01:05:58 AM XUnleashed Client: Authenticating User...
01/21/07 01:05:59 AM XUnleashed Client: Connected...
01/21/07 01:05:59 AM Using Standard Hooking. . .
01/21/07 01:05:59 AM XUnleashed Client: Launching. . .
01/21/07 01:06:26 AM Found Target Process: EverQuest2.exe
01/21/07 01:06:26 AM Config Option: Display Logo
01/21/07 01:06:26 AM Config Option: ForceRedraw
01/21/07 01:06:26 AM Config Option: Hook DirectX7
01/21/07 01:06:26 AM Config Option: Hook DirectX8
01/21/07 01:06:26 AM Config Option: Hook DirectX9
01/21/07 01:06:26 AM Config Option: Hook DirectInput
01/21/07 01:06:26 AM Initializing COM Objects. . .
01/21/07 01:06:27 AM Direct3D9 Detected
01/21/07 01:06:27 AM Starting Services. . .
01/21/07 01:06:27 AM ------->FOUND A StandardSERVICE: XUnleashed Windows Input Service
01/21/07 01:06:27 AM CXUWinInput::Initialize()
01/21/07 01:06:27 AM Starting the 3rd Party Services...
01/21/07 01:06:27 AM ------->FOUND A 3rd Party Service: Wyvern's EQ2 Servicer
01/21/07 01:06:28 AM Starting Plugins. . .
01/21/07 01:06:28 AM ------->FOUND A STANDARD Plugin: XUnleashed V4 EXhume Scripts
01/21/07 01:06:28 AM Loading Window Schema. . .
01/21/07 01:06:28 AM ------->FOUND A STANDARD Plugin: XUnleashed V2 Triggers
01/21/07 01:06:28 AM Loading Window Schema. . .
01/21/07 01:06:28 AM ------->FOUND A STANDARD Plugin: XUnleashed V2 Macros
01/21/07 01:06:28 AM Loading Window Schema. . .
01/21/07 01:06:28 AM ------->FOUND A STANDARD Plugin: XUnleashed V2 Scripts
01/21/07 01:06:28 AM Loading Window Schema. . .
01/21/07 01:06:28 AM FOUND: Direct3DCreate9
01/21/07 01:06:28 AM Attempting to lock onto Client. . .
01/21/07 01:06:28 AM WARNING: Requested DirectX9 Screen Format (15) may not be compatable with XUnleashed.
01/21/07 01:06:28 AM Contact XU to have them add this format!!!
01/21/07 01:06:28 AM FOUND: Direct3D9::CreateDevice()
01/21/07 01:06:28 AM DETECTED: Direct3DDevice9 Reset
01/21/07 01:06:28 AM WARNING: Requested DirectX9 Screen Format may be incompatable with XUnleashed.
01/21/07 01:06:28 AM FOUND: Direct3DDevice9::Present
01/21/07 01:06:28 AM Initializing DX9 BackBuffers...
01/21/07 01:06:35 AM DETECTED: Direct3DDevice9 Reset
01/21/07 01:06:35 AM WARNING: Requested DirectX9 Screen Format may be incompatable with XUnleashed.
01/21/07 01:06:35 AM FOUND: Direct3DDevice9::Present
01/21/07 01:06:35 AM Initializing DX9 BackBuffers...
01/21/07 01:07:27 AM XUScriptHelper->Creating Script Engine (JScript). . .
01/21/07 01:07:27 AM XUScriptHelper->AddScriptItem: XUScriptHost
01/21/07 01:07:27 AM XUScriptHelper->AddScriptItem: Win32API
01/21/07 01:07:27 AM XUScriptHelper->AddScriptItem: VirtualKey
01/21/07 01:07:27 AM XUScriptHelper->AddScriptItem: Memory
01/21/07 01:07:27 AM XUScriptHelper->AddScriptItem: SystemInfo
01/21/07 01:07:27 AM XUScriptHelper->AddScriptItem: MemoryBasicInformation
01/21/07 01:07:28 AM XUScriptHelper->AddScriptItem: XUScriptPlugin
01/21/07 01:07:28 AM XUScriptHelper->Executing Script: /*
Package Version: HBMakePathv1.00Beta
Package Date: 12/2/2005
Author: Watcher
Date: 6/10/2005
Modified by: Tinydiabla 12/2/2005
Short Description:
This is a quick tossed together script to make a file called waypoints.ini
in your scripts directory that will contain your generated path for the
harvest bot, just copy the waypoints over into the correct place in your
HarvestBot.ini and run it.
{pgup} increases Range by 10
{pgdown} decreases Range by 10
{home} records a waypoint
{end} records a run too waypoint "0, direct"
'n' Toggles Autowaypoint feature creating waypoints after reaching Range - 10.
del terminates script and writes out waypoints.ini
Change the next line to the debug level you would like
1 is normal, 10 is everything.
*/
var MyDebugLevel = 1;
// You will need to change this to your directory to do OUT OF GAME testing.
var XUScriptsDir = 'C:\\Games\\XUnleashed\\scripts'; // Needed to start loading.
var SubDir = '\\HBMakePath';// This is my working/testing dir, comment this and it
// looks in scripts instead, change it for a different
// working dir, ie. EQ2HarvestBot
XUScriptsDir = XUScriptHost.GetXUnleashedDirectory() + '\\scripts';
try {
eval(getFileData(XUScriptsDir+SubDir+'\\XULib.js'));
// uncomment this and alter the above line to work outside of XU
// eval(getFileData(XUScriptsDir + SubDir + '\\NoXULib.js'));
eval(getFileData(XUScriptsDir + SubDir + '\\MyLib.js'));
eval(getFileData(XUScriptsDir + SubDir + '\\LoggerClass.js'));
eval(getFileData(XUScriptsDir + SubDir + '\\DisplayClass.js'));
eval(getFileData(XUScriptsDir + SubDir + '\\IniClass.js'));
eval(getFileData(XUScriptsDir + SubDir + '\\TimerClass.js'));
eval(getFileData(XUScriptsDir + SubDir + '\\KeyHookClass.js'));
eval(getFileData(XUScriptsDir + SubDir + '\\DebugClass.js'));
eval(getFileData(XUScriptsDir + SubDir + '\\Globals.js'));
}
catch (e) {
print(e);
print(e.description);
XUScriptHost.Sleep(1000);
throw(e);
}
// At this point you should be able to use any function or class in any
// of the above files
// First let's do the basic setup.
try {
oSvcObj = XUScriptPlugin.GetService("EQ2Service.Service");
} catch (e) {
print(e);
throw("Unable to instantiate EQ2 service object");
}
oSvcObj.updateData();
ZoneName = oSvcObj.ZoneName;
PlayerName = oSvcObj.PlayerName;
var waypointsFileName = XUScriptsDir + SubDir + '\\waypoints.ini';
var Range = 50; WaypointIndex = 1;
// Always use this try method so that if there are errors in
// your setup you can see what they are.
try {
oLog = new LoggerClass(XUScriptsDir+'\\HBMakePath.log');
oDisplay = new DisplayClass();
// Setup debug class to use preexisting log and display classes
oDebug = new DebugClass(oLog, oDisplay);
oDebug.setDebugLevel(MyDebugLevel);
oIni = new IniClass();
oIni.addSection(ZoneName);
oDebug.status('Added section '+ZoneName, 5);
oIni.addKey('Maxwander', 100);
oIni.addKey('UseWayPoints', true);
oIni.addKey('Numofpoints', WaypointIndex);
oDebug.status('Ini ready...', 5);
// Ini initialized
oKH = new KeyHookClass();
oKH.addRealSleep(RealSleep);
oKH.addKey('{del}', delPressed);
oKH.addKey('{pgup}', upPressed);
oKH.addKey('{pgdn}', downPressed);
oKH.addKey('{home}', insPressed);
oKH.addKey('{end}', endPressed);
oKH.addKey('n', autoPressed);
// KeyHook initialized
oDebug.status('Setup complete, running main loop.', 5);
oDebug.status('HBMakePath Ready, Range: '+Range, 1);
oDisplay.header1('HBMakePath: a waypoint creator for HarvestBot');
oDisplay.header2('Press {pgup} to increase or {pgdown} to decrease Range, {home} to create a waypoint');
oDisplay.header3('Press {end} to create direct waypoint, n to toggle AutoWaypoint, and del to quit and write waypoints.');
oDisplay.header4('Harvest Range Setting : '+Range);
oDisplay.header5('AutoWaypoint : '+AutoWaypoint);
// See bottom of file for functions
while (!ProgramComplete) {
oKH.sleep(100);
// Autowaypoint creation
if (AutoWaypoint) {
oSvcObj.updateData();
var PlayerX = Math.round(oSvcObj.PlayerX);
var PlayerY = Math.round(oSvcObj.PlayerY);
var PlayerZ = Math.round(oSvcObj.PlayerZ);
var CurrentDistance = Math.sqrt( ((PlayerX - MyWaypointX) * (PlayerX - MyWaypointX)) + ((PlayerY - MyWaypointY) * (PlayerY - MyWaypointY)) );
if (CurrentDistance > Range-10) {
var keyValue = PlayerX+', '+PlayerY+', '+Range;
oIni.addKey('Autowaypoint'+WaypointIndex, keyValue);
oDebug.status('AutoWaypoint'+WaypointIndex++ +' = '+ keyValue);
MyWaypointX = Math.round(oSvcObj.PlayerX);
MyWaypointY = Math.round(oSvcObj.PlayerY);
}
}
}
// Done, write out waypoints and clean up.
oDebug.status('Writing waypoint.ini with '+(WaypointIndex-1) +' Waypoints.');
oIni.updateKey('Numofpoints', (WaypointIndex-1));
oIni.write(waypointsFileName);
} catch (e) {
oDebug.print(e);
oDebug.print(e.description);
} finally {
// Do cleanup in here.
// Destroy Debug first because it destroys log and display for you.
oDebug.destroy(); // also destroys log and display class
oDebug = null;
oLog = null;
oDisplay = null;
oIni.destroy();
oIni = null;
oKH.destroy();
oKH = null;
}
function RealSleep(howLong) {
XUScriptHost.Sleep(howLong);
}
function upPressed(key) {
Range += 10;
oDisplay.header4('Harvest Range Setting : '+Range);
}
function downPressed(key) {
Range -= 10;
oDisplay.header4('Harvest Range Setting : '+Range);
}
function delPressed(key) {
oDebug.status('Quitting...', 1);
ProgramComplete = true;
}
function insPressed(key) {
oSvcObj.updateData();
var PlayerX = Math.round(oSvcObj.PlayerX);
var PlayerY = Math.round(oSvcObj.PlayerY);
var PlayerZ = Math.round(oSvcObj.PlayerZ);
var keyValue = PlayerX+', '+PlayerY+', '+Range;
oIni.addKey('waypoint'+WaypointIndex, keyValue);
oDebug.status('Waypoint'+WaypointIndex++ +' = '+ keyValue);
}
function endPressed(key) {
oSvcObj.updateData();
var PlayerX = Math.round(oSvcObj.PlayerX);
var PlayerY = Math.round(oSvcObj.PlayerY);
var PlayerZ = Math.round(oSvcObj.PlayerZ);
var keyValue = PlayerX+', '+PlayerY+', 0, direct';
oIni.addKey('waypoint'+WaypointIndex, keyValue);
oDebug.status('Waypoint'+WaypointIndex++ +' = '+ keyValue);
}
function autoPressed(key) {
AutoWaypoint = !AutoWaypoint;
oDisplay.header5('AutoWaypoint : '+AutoWaypoint);
if (AutoWaypoint) {
oSvcObj.updateData();
MyWaypointX = Math.round(oSvcObj.PlayerX);
MyWaypointY = Math.round(oSvcObj.PlayerY);
var PlayerX = Math.round(oSvcObj.PlayerX);
var PlayerY = Math.round(oSvcObj.PlayerY);
var PlayerZ = Math.round(oSvcObj.PlayerZ);
var keyValue = PlayerX+', '+PlayerY+', '+Range;
oIni.addKey('waypoint'+WaypointIndex, keyValue);
oDebug.status('AutoWaypoint'+WaypointIndex++ +' = '+ keyValue);
}
}
// Needed to include other files
function getFileData(fileName) {
var oFileFSO, oFile, tmp, ForReading = 1;
if (typeof(fileName) == 'undefined') {
return('');
}
oFileFSO = new ActiveXObject('Scripting.FileSystemObject');
try {
var oFile = oFileFSO.OpenTextFile(fileName, ForReading);
} catch (e) {
if (typeof(print) == 'function') {
print('getFileData: ' + fileName + ' not found');
print(e.description);
}
throw(e);
}
tmp = oFile.ReadAll();
oFile.Close();
return(tmp);
}
01/21/07 01:07:28 AM Looking for 3rd Party Service for services\EQ2Service.Service
Why the script is in my log i have no idea about..