Page 1 of 1

VGExtreme meets JScript

Posted: February 18th, 2007, 11:04 am
by tault_mississippi
I see a lot of people stating that VBScript is foreign and asking about JScript examples, so I ported Wyvern's VGExtreme.vbs to VGExtreme.js.

Keep in mind that I wasn't trying to make it pretty and it doesn't come with any warranty. WyvernX made some adjustments to pretty it up and I also split it out with an include file!

Anyway, for you JScript lovers I hope this helps you sort out how to use the service better\faster.

Posted: February 18th, 2007, 3:34 pm
by wyvernx
That sounds like a bug that admin just needs to fix.

Dont give up hope on that.

On the other hand, I rememebr one of the eq2 scripts using one of those just fine. I'll have to load up one of them and see what they did to use multiple files.

Posted: February 18th, 2007, 4:17 pm
by wyvernx
Here is a updated version of your script with some bugs fixed. It works now.. only thing I didnt know was how to make a new line in a form. I thought it was "\n" but that isnt it. I'm sure its something simple.

Anyway, here it is.

Posted: February 18th, 2007, 7:01 pm
by tault_mississippi
Thanks I figured out the ImportScript issue as well. I was trying to call:

ImportScript("includes\VGService.js");

But because ImportScript is a preprocessor command it has to be:

ImportScript "includes\VGService.js"

The preprocessor seems to choke on the parenthesis and the semi-colon!

Lastly - Everything is now running, but I am still not getting results back for the mobs array. I'll keep playing with it .. and thanks again for all your help.

Posted: February 18th, 2007, 7:02 pm
by sinshar
Missippi, Can you please Write up instructions on getting this working

Thanks

Posted: February 18th, 2007, 7:23 pm
by tault_mississippi
Sure Sinshar - gimme a few ticks and I'll make it so.

WyvernX - I'm still having issues with the mob display. Sometimes it works, sometimes it doesn't. I believe it stops working when I leave my game idle so long that it kicks me to the CHaracter Select screen and then return. But I haven't proven it yet - takes so long to idle out. I'll keep playing around with it.

Posted: February 19th, 2007, 12:04 pm
by sinshar
I tried to get it working but It wouldn'tfire up properly but then again, i don't understand if i need ot change something to JS ...
shurg.

Posted: February 19th, 2007, 12:10 pm
by tault_mississippi
1) Make sure VGExtreme is working properly with the default VGExtreme.vbs script.
2) Download the .rar and Extract it to your VGextreme directory.
3) In eXhume (VGExtreme) for to File->Open Project.
4) In the file select window change the type to .JS
5) Find and Load VGExtreme.js.
6) Go to Debug->Start (or Hit F5)

Check your open windows for a new window - it occassionally hides from you. It should show a lot of information.

Posted: February 19th, 2007, 12:16 pm
by sinshar
Ok i will try that when i get home tonight. I got VGEstream working, i have a pretty good bot to farm right now, but It needs some more work before i can release it.. My visual basic script is Horrid looking, IM" jsut starting to lfeel my waya round it..

Jscript is much more comfortable looking although i must admit i suck at both, but RUle all in c.

Posted: February 19th, 2007, 3:50 pm
by sinshar
Thanks, i was checking it out, It jsut looks more comforting for me in j-=script.. did you get the mob array working ?

WyvernX Is it possible to get J-script versions released when you do the VBS versions?

Posted: February 19th, 2007, 6:16 pm
by wyvernx
Until its finished, I really dont want to support 2 different scripts. And I will be makding alot of changes in the next week to get it fininished.

Posted: February 19th, 2007, 6:51 pm
by sinshar
tis ok.. i'm enjoying learning Visual basic script...