| Author |
Vanguard Bot - VGExtreme Scritping Service![]() |
Tault_mississippi
Lifetime Member (Scripting)

Regular Member
Joined: 08 Nov 2004 Posts: 257 1030 TUBucks
|
Posted: Sat Feb 17, 2007 3:18 am Post subject:
|
|
Sinshar - go read Exhume Automation 101. Go read it right now before you write another line of script!
// Send the data to Notepad
Keyboard.SendKeys("Hello World!");
Win32.Sleep(1000);
Keyboard.SendKeys ("{ENTER}");
Win32.Sleep(1000);
Keyboard.SendKeys("I am Alive!");
Win32.Sleep(1000);
Keyboard.SendKeys ("{ENTER}");
Win32.Sleep(1000);
|
|
Back to top
|
|
 |
wyvernx
Site Moderator

Premium Member
Joined: 01 May 2004 Posts: 8258 8392 TUBucks
|
Posted: Sat Feb 17, 2007 3:22 am Post subject:
|
|
Sure..
a debug.log is always created. You can write it to it like so:
Log.DebugLog "Your Log Text"
Pretty easy huh?
You can also use debugging. You just enter "break" on a line and it will debug to that point and stop. You can then use the memory view drop down to look at variables values.
There is a bug with break points, currently the only way to debug is to actually enter break on a line like so:
Log.DebugLine "Stopping for a break line"
break
Log.Debug "this wont get this far until you hit continue fter the break."
People should really use the wiki or the tutorials.. but to send keys, i like the SendKeys command like so:
SendKeys ("{ENTER}") 'this will press enter
SendKeys ("Line of text") 'this will dump out that line
Some games you have to also set a delay.. I beleive it is SetKeyDelay(50) or whatever value you want. Its documented in the functions drop down.
_________________ Use Search first, ask questions later!
|
|
Back to top
|
|
 |
wyvernx
Site Moderator

Premium Member
Joined: 01 May 2004 Posts: 8258 8392 TUBucks
|
Posted: Sat Feb 17, 2007 3:26 am Post subject:
|
|
slam666, ok thanks. I'll have a update out here in just a bit to fix the health values.
_________________ Use Search first, ask questions later!
|
|
Back to top
|
|
 |
sinshar
Typical User

Regular Member
Joined: 22 Feb 2005 Posts: 199 74 TUBucks
|
Posted: Sat Feb 17, 2007 3:34 am Post subject:
|
|
OK, one more thing to get me going.
if i do this in VBS
dim Myhealth
Myhealth = getPlayerHealth()
Keyboard.Sendkeys("Hello there Myhealth")
HOW do i get the MyHealth Value to send, and NOT the word Myhealth
|
|
Back to top
|
|
 |
tault_stigma
Typical User

Regular Member
Joined: 06 Mar 2005 Posts: 136 68 TUBucks
|
Posted: Sat Feb 17, 2007 3:44 am Post subject:
|
|
| slam666 wrote: |
Hi Wyvernx,
player health and power is the max health and power, we need the current one.
Thanks. |
If thats the case, then yea, the max values are kinda useless. Lets get the real ones
|
|
Back to top
|
|
 |
jdillard
In Training

Regular Member
Joined: 07 Oct 2006 Posts: 25 21 TUBucks
|
Posted: Sat Feb 17, 2007 3:53 am Post subject:
|
|
dim Myhealth
Myhealth = getPlayerHealth()
Keyboard.Sendkeys("Hello there Myhealth")
I'm not great at VB or know to much about VB. But it should be something that tells VB that that is a function.... maybe...
Keyboard.Sendkeys("Hello there" & MyHealth)
Maybe?
|
|
Back to top
|
|
 |
wyvernx
Site Moderator

Premium Member
Joined: 01 May 2004 Posts: 8258 8392 TUBucks
|
Posted: Sat Feb 17, 2007 4:00 am Post subject:
|
|
Yep, i'm uploadin a new version here in just a minute... well maybe 5 mins.
_________________ Use Search first, ask questions later!
|
|
Back to top
|
|
 |
sinshar
Typical User

Regular Member
Joined: 22 Feb 2005 Posts: 199 74 TUBucks
|
Posted: Sat Feb 17, 2007 4:03 am Post subject:
Ummmmmm question |
|
Whats the Special charecter to Display "
I need to send
/cast "Some SPell name II"
But the Double Quotes are killing me... any ideas?
I tried /" %" anyone know what it is?
Thanks guys
|
|
Back to top
|
|
 |
wyvernx
Site Moderator

Premium Member
Joined: 01 May 2004 Posts: 8258 8392 TUBucks
|
Posted: Sat Feb 17, 2007 4:08 am Post subject:
|
|
Updated VGE, please download and grab version 1.01. Guess i'll have to put in a patcher for it.
Anways../cast My Spell III will work fine you dont have to send quotes at all, but if you insist... you can use double quotes. /cast """ my spell III """
Basically double quotes will send a quote to the game.
|
|
Back to top
|
|
 |
jdillard
In Training

Regular Member
Joined: 07 Oct 2006 Posts: 25 21 TUBucks
|
Posted: Sat Feb 17, 2007 7:32 am Post subject:
|
|
Just realized you can inject your own libraries into VGClient. This sounds like you can be able to have two VGClients open at once. Just find which fuctions the client is looking for, I.E. Username and Pass. With that could you essentially write a vb code that opens up VGClient and injects that username and pass. Then just run the other Vanguard launcher as normal for the other instance. Is this possible? If so could someone figure this out quick?
|
|
Back to top
|
|
 |
tault_stigma
Typical User

Regular Member
Joined: 06 Mar 2005 Posts: 136 68 TUBucks
|
Posted: Sat Feb 17, 2007 12:14 pm Post subject:
|
|
| wyvernx wrote: |
| Yep, i'm uploadin a new version here in just a minute... well maybe 5 mins. |
A new version? great, but please tell us what exactly is new Did you fix the player health memoffsets?
|
|
Back to top
|
|
 |
wyvernx
Site Moderator

Premium Member
Joined: 01 May 2004 Posts: 8258 8392 TUBucks
|
Posted: Sat Feb 17, 2007 6:52 pm Post subject:
|
|
Umm.. look at the download thread and you will see what has changed.
_________________ Use Search first, ask questions later!
|
|
Back to top
|
|
 |
prophet_al
Script Kiddy
Regular Member
Joined: 10 Jul 2006 Posts: 2 2 TUBucks
|
Posted: Sat Feb 17, 2007 7:38 pm Post subject:
|
|
hi wyvernx,
can you add a c# APi ?
|
|
Back to top
|
|
 |
jdillard
In Training

Regular Member
Joined: 07 Oct 2006 Posts: 25 21 TUBucks
|
Posted: Sat Feb 17, 2007 7:47 pm Post subject:
|
|
I was looking at the EQ2 Ultra bot scripts...wow. My first main question is what is the big difference between XUM and XUnleased? I want to go through there and try to conver the Ultrabot into Vanguard Bot. Now I got along fine until where it gave me this
Option Explicit
Randomize
and this
Set LocPoints(z) = New LocPointClass
It says that the classes are not defined.
And it expects a statement for the Option Explicit. I would really like to help and converting this into something we can use for Vanguard. So any help would be appreciated.
|
|
Back to top
|
|
 |
sinshar
Typical User

Regular Member
Joined: 22 Feb 2005 Posts: 199 74 TUBucks
|
Posted: Sat Feb 17, 2007 8:51 pm Post subject:
help with some key issues |
|
How do i make my charecter move?
{Enter} is the enter key,
How do i send a Constant UPARROW
SO i can write a crude navigation routine
Thanks
|
|
Back to top
|
|
 |
|