taultunleashed logoconst NUKE_Doom = "/cast ""Doom III"" " ??? didnt work : VGExtreme General Discussion
newtopic  postreply
 [ 9 posts ] 
blue large dot

const NUKE_Doom = "/cast ""Doom III"" " ??? didnt work : VGExtreme General Discussion

Posted: November 12th, 2007, 3:20 pm
 
kumpel100

Total Posts: 375
Location: Germany
Joined: October 24th, 2005, 12:29 pm
kumpel100's Reps: 969
User avatar
premium
const NUKE_Doom = "/cast ""Doom III"" " ??? didnt work

to setup my bot easyer i want that VGExtreme directly cast my spell i wish, without setup hotbars.
i setup this:
const NUKE_Doom = "/cast ""Doom III"" "

and this to ask for this but my spells didnt come up why?

if ((LEVEL_TRAINED => 1) and (TargetDistance < 24) and )) then

VGSendCommand NUKE_Doom '// Holy Nuke !!!!!!!!!!!!!!!!!!!!!!!!
Sleep SPELL_SLEEP
VGSendCommand NUKE_Doom '// Holy Nuke !!!!!!!!!!!!!!!!!!!!!!!!
Sleep SPELL_SLEEP
end if


ty


Reply with quote
Posted: November 12th, 2007, 11:00 pm
 
stuarcl
stuarcl's Reps:
User avatar
don't think it likes those double quotes. Try it like this
const NUKE_Doom = "/cast +'Doom III+' "


Reply with quote
Posted: November 13th, 2007, 7:36 am
 
beergeek

Total Posts: 434
Joined: July 10th, 2005, 9:59 am
beergeek's Reps: 21
User avatar
Moderator
premium
the script interprets the extra quotes as the end of the string and gives an error when it encounters the rest.

I believe the escape code in vbscript is a backslash, so try this:

const NUKE_Doom = "/cast \"Doom III\" "

EDIT: just realized this doesn't work, also tried single quotes in stuarcl's example, both with and without the "+" and it does not work either.

Anyone know the escape code?


Reply with quote
Posted: November 13th, 2007, 2:45 pm
 
stuarcl
stuarcl's Reps:
User avatar
This is how I set up to do something similar in the crafting bot. The Recipe needs quotes when doing. The + is supposed to be a shift so the +' should be a "

Beergeek was it typing anything when you tried it?

You might try splitting it up and see if that works.


Recipe_type = "+'Practice Select Plank+'"

VGSendCommand "/RefineSetRecipe " & Recipe_Type

Hmm just noticed you didn't have the & Try adding that...


Reply with quote
Posted: November 15th, 2007, 9:26 am
 
kumpel100

Total Posts: 375
Location: Germany
Joined: October 24th, 2005, 12:29 pm
kumpel100's Reps: 969
User avatar
premium
nothing works ... any other idears?


Reply with quote
Posted: November 15th, 2007, 11:43 am
 
beergeek

Total Posts: 434
Joined: July 10th, 2005, 9:59 am
beergeek's Reps: 21
User avatar
Moderator
premium
Yes, stuarcl, that worked... I had fat-fingered it in my script :)

kumpel, just substitute anywhere you want a double quote to appear in the command with +'


Reply with quote
Posted: November 15th, 2007, 2:27 pm
 
kumpel100

Total Posts: 375
Location: Germany
Joined: October 24th, 2005, 12:29 pm
kumpel100's Reps: 969
User avatar
premium
const BUFF_Ward_Shield = "/cast ""Ward Shield I"" "


VGSendCommand BUFF_Ward_Shield


this way works for me but is rly slow to use in a farming bot.... while this always type in chat slows the battle alot.


Reply with quote
Posted: November 15th, 2007, 2:39 pm
 
wyvernx

Total Posts: 6718
Joined: May 1st, 2004, 4:00 am
wyvernx's Reps: 21
User avatar
administrator
premium
It is MUCH better to hotkey it. and press the hotkey.

You can speed up the chat typing by calling the input delay API and set it to a lower number, but using hotkeys is the preferred method of casting spells.

_________________
Use Search first, ask questions later!


Reply with quote
Posted: November 15th, 2007, 3:29 pm
 
kumpel100

Total Posts: 375
Location: Germany
Joined: October 24th, 2005, 12:29 pm
kumpel100's Reps: 969
User avatar
premium
wyvernx (!empty($user->lang['WROTE'])) ? $user->lang['WROTE'] : ucwords(strtolower(str_replace('_', ' ', 'WROTE'))):
It is MUCH better to hotkey it. and press the hotkey.

You can speed up the chat typing by calling the input delay API and set it to a lower number, but using hotkeys is the preferred method of casting spells.


was just an idear to make the setup for the users more easy.
you have right i stay on hotkeys.


Reply with quote
Want Advertisements After The Last Post Removed? Create A Free Account!

blue large dot Who is online
Users browsing this forum: No registered users and 30 guests

Popular Sections
SWTOR Cheats
Guild Wars 2 Cheats
Guild Wars 2 Hacks
Guild Wars 2 Bots
Diablo 3 Cheats
Guild Wars 2 Mods

Popular Sections
WoW Cataclysm Cheats & Exploits
WoW Cataclysm Hacks & Bots
Star Wars The Old Republic Cheats
SWTOR Mods
Torchlight 2 Cheats
SWTOR Space Mission Bots
Site Nav and RSS
RSS Feed of VGExtreme General Discussion RSS Feed 
Sitemap of VGExtreme General Discussion Sitemap 
SitemapIndex SitemapIndex
RSS Feed RSS Feed
Channel list Channel list
left bottom corner Site and Contents Copyright 2001-2012 All Rights Reserved TaultUnleashed.com bottom corner
top left
top right
createaccount
Username:   Password:   Remember Me?