Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 11:11

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Shellexecute give error 9

Discussion on Shellexecute give error 9 within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2014
Posts: 43
Received Thanks: 1
Shellexecute give error 9

Hi

I try to run game like this and give me error 9 and title of a window is error 10, i looked here for error code but i dont know what it means.

Code:
$game = RegRead('HKEY_CURRENT_USER\Software\FWstarter', 'Pem path')
$user = 'email'
$pass = 'password'
$id = 'arc:1'

ShellExecute($game, ' '&$id&' user:'&$user&' pwd:'&$pass)

If @error Then
	ConsoleWrite(@error & @extended)
Else
	ConsoleWrite('all ok')
EndIf

;~ ConsoleWrite($game)

;~ "D:\Igre\Forsaken World_en\update\pem.exe" arc:1 user:email pwd:password
It works like this on shortcut

Target : "D:\Igre\Forsaken World_en\update\pem.exe" arc:1 user:email pwd: password
Start In : "D:\Igre\Forsaken World_en\update"
LiveLong23 is offline  
Old 04/29/2016, 20:14   #2
 
elite*gold: 0
Join Date: Apr 2011
Posts: 363
Received Thanks: 167
U need to specify the working dir to make sure your game will run in that location
PHP Code:
$game RegRead('HKEY_CURRENT_USER\Software\FWstarter''Pem path')
$user 'email'
$pass 'password'
$id 'arc:1'

$commandLine $id&' user:'&$user&' pwd:'&$pass

$workingDir 
StringRegExpReplace($game,"pem.exe","")

ShellExecute($game,$commandLine,$workingDir)
If @
error Then
    ConsoleWrite
(@error & @extended)
Else
    
ConsoleWrite('all ok')
EndIf 
elmarcia is offline  
Thanks
1 User
Old 04/29/2016, 20:22   #3
 
elite*gold: 0
Join Date: Jan 2014
Posts: 43
Received Thanks: 1
Thank you, i forgot for working dir i was think it will work in single line but no.
LiveLong23 is offline  
Reply


Similar Threads Similar Threads
Neuz give"s me error!
06/12/2012 - Flyff Private Server - 0 Replies
hey all, i started again working on flyff private server, i used Place of Destiny filles, link to thread can be found here: afther i set up everything, edit the .ini's and edit the Neuz with reshacker... i started up all server, and thay whare all online! than i moved up tp neuz, wen i open it by dubble klicking a white screen showed up( thads normale, its loading) bot afther thad i got this weard error, look:
[Help] help me in Wizard bot ZsZc 1.690 No Work and give me error
03/24/2011 - SRO PServer Guides & Releases - 0 Replies
please all help me on Wizard bot for ZsZc no work and give me this error http://img104.herosh.com/2011/03/24/217010304.jpg please help me fast :(:(
[Help]Server Stable Give ERROR
02/23/2010 - EO PServer Hosting - 5 Replies
================================================== =============== 03:13:31 Message: Jehad Server Stable V2.2901 C2.177 - (Oct 31 2007 20:17:17) 03:13:31 Message: ================================================== =============== 03:13:31 Message: SHELL: 0¡¢Init Database thread... 03:13:31 ERROR: CreateFieldDef - not support type columns_priv! 03:13:32 ERROR: CreateFieldDef - not support type cq_mission! 03:13:32 ERROR: CreateFieldDef - not support type fee! 03:13:32 ERROR: CreateFieldDef...
Cant Build Solution Give me an error
10/31/2008 - CO2 Private Server - 5 Replies
1st error: Error 1 The type 'COServer_Project.Character' already contains a definition for 'CastingPray' D:\server conquer\PowerSource CO\COServerProject1\COServerProject\Character.cs 1 30 21 COServerProject 2 nd : Error 2 The type 'COServer_Project.Character' already contains a definition for 'Praying' D:\server conquer\PowerSource CO\COServerProject1\COServerProject\Character.cs 1 31 21 COServerProject I try to change name of server and other and cant build solution give me that...
How to D/C ppl, and Give them WoW Error Message
10/22/2007 - WoW Exploits, Hacks, Tools & Macros - 10 Replies
very simple now what you need to do is make a macro that does /roll, once you have done that put it on the action bar so u can spam it flat out when i tell you, once you have done that find the person you want to D/C and invite em into a group As soon as u hit the invite button start spamming the macro 90% chance they will get D/C'd and get a WoW Error Message.



All times are GMT +1. The time now is 11:12.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.