Shell("@start bin32\aion.bin -ip: -port:2106 -cc:1 -noauthgg -noweb -lang:enu")
ok so im back again lost again. ok in the past to test the server we have been using a bat file to start the game heres the code
ok so what it does is starts aion and tells it what ip and port to connect to what country code(cc), that there is no game guard auth needed and no web, and that the lang is English.Code:@start bin32\aion.bin -ip: -port:2106 -cc:1 -noauthgg -noweb -lang:enu
ok all that isnt needed all i need is the ip and port and convert that all the VB
i tried
which worked......the first time after that it kept opening 10+ command prompts then tossed errors because it typed 1 part of that line in each boxCode:Process.Start("cmd.exe") SendKeys.Send("@start bin32\aion.bin -ip:IP Here -port:2106 -cc:1 -noauthgg -noweb -lang:enu {Enter} exit {Enter}")
is there any way to limit the amount it can open or a different way to go at this
i really dont care if there is a cmd that opens and closes thats not a big deal if i cant get it meshed with this it will run off that bat anyhow.
Last edited by Maniac101; 01-29-2011 at 01:21 PM.
Add Me on MSN Maniac101@live.com
[IMG]https://i820.photobucke*****m/albums/zz121/lilmatt1101/maniac101r.png[/IMG]
[img]https://www.danasof*****m/sig/Maniac288377.jpg[/img]
Shell("@start bin32\aion.bin -ip: -port:2106 -cc:1 -noauthgg -noweb -lang:enu")
Maniac101 (01-29-2011)
Give it a try, for me it works.....Code:Process.Start("cmd.exe") SendKeys.Send("@start bin32\aion.bin -ip:IP Here -port:2106 -cc:1 -noauthgg -noweb -lang:enu {Enter} exit {Enter}") While True Dim p As Process() = Process.GetProcessesByName("cmd.exe") If p.Length > 1 Then Do Until p.Length = 1 p(0).Kill() Loop End If End While
Edit:
Or do what Blubb said
Why would you do such complicated crap o_o?
lol That is the most basic thing for me xD (And Im noob XD)
You can do that:
Code:Shell("YOURCODE", vbhide) ' vbHide is to the cmd doesnt show..
Maniac101 (01-29-2011)
Code:Dim psi as new ProcessStartInfo() psi.FileName = "cmd.exe" psi.Arguments = "@start bin32\aion.bin -ip: -port:2106 -cc:1 -noauthgg -noweb -lang:enu" Process.Start(psi)
Try my source
On Error Goto Err
Process.Start("cmd.exe")
SendKeys.Send("@start bin32\aion.bin -ip:IP Here -port:2106 -cc:1 -noauthgg -noweb -lang:enu {Enter} exit {Enter}")
Err:
msgbox("Error Occured on Attempt!", vbCritical+vbOkOnly, "Error")
i mean, atleast mine gives a error.
Add Me on MSN Maniac101@live.com
[IMG]https://i820.photobucke*****m/albums/zz121/lilmatt1101/maniac101r.png[/IMG]
[img]https://www.danasof*****m/sig/Maniac288377.jpg[/img]
Try it w/o the @start.
Maniac101 (01-29-2011)
ok so i guess its not smart to try and code on a huge lack of sleep ty so much i never thought to remove the @start it works perfect now i can finally finish the rest of this and we can release our game server ty again and ty to all that posted
Add Me on MSN Maniac101@live.com
[IMG]https://i820.photobucke*****m/albums/zz121/lilmatt1101/maniac101r.png[/IMG]
[img]https://www.danasof*****m/sig/Maniac288377.jpg[/img]
Shell by default start's at the program's directory. (eg: C:\Users\Blah\Documents\Visual Studio 2010\Projects\SomeThing\Debug). You have to include the whole path otherwise it will go looking in the same fodler as your program.
Donate:
BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9
Handy Tools/Hacks:
Extreme Injector v3.7.3
A powerful and advanced injector in a simple GUI.
Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!
Minion Since: 13th January 2011
Moderator Since: 6th May 2011
Global Moderator Since: 29th April 2012
Super User/Unknown Since: 23rd July 2013
'Game Hacking' Team Since: 30th July 2013
--My Art--
[Roxas - Pixel Art, WIP]
[Natsu - Drawn]
[Natsu - Coloured]
All drawings are coloured using Photoshop.
--Gifts--
[Kyle]
Well, it is solved now anyways.
Add Me on MSN Maniac101@live.com
[IMG]https://i820.photobucke*****m/albums/zz121/lilmatt1101/maniac101r.png[/IMG]
[img]https://www.danasof*****m/sig/Maniac288377.jpg[/img]
What don't you people get about not posting in solved threads?