ScriptUO

Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: Crome969 on January 05, 2009, 12:43:35 PM

Title: Another Way for Heartwood Quest?
Post by: Crome969 on January 05, 2009, 12:43:35 PM
Hi @ all
my Last Work is a Heartwood Questmaker 4 Freeshards (that can have Mobile Banks )
now i`ve Got the 'problem i must to identificate The Quests (  i use only the Quests who need  Low Ressources) use Ocr  >:(
Are There other Ways?

Greetz Crome
Title: Re: Another Way for Heartwood Quest?
Post by: TrailMyx on January 05, 2009, 12:49:36 PM
Nope, no other way at the moment.  OCR all the way!  (yay, shift key working again!)
Title: Re: Another Way for Heartwood Quest?
Post by: Crome969 on January 05, 2009, 12:59:28 PM
Nope, no other way at the moment.  OCR all the way!  (yay, shift key working again!)

Damn i hate ocr ^^ i need a ScreenZoom Tool to Find The Needet Location.. and at this way i canot use MultiAccounts anymore :&
Title: Re: Another Way for Heartwood Quest?
Post by: TrailMyx on January 05, 2009, 01:00:45 PM
Well you can do multiple accounts, but you need to use a virtual machine for each account.  Makes the scripts run smoother as well.
Title: Re: Another Way for Heartwood Quest?
Post by: _C2_ on January 05, 2009, 01:40:17 PM
I've done up to 3 accts without a virtual machine.  You just need to make sure that the clients are moved around perfectly so the quest menu can be seen on all 3 screens.  Virtual machines are easier tough if u know how to set them up.  I couldn't figure it out or find a good tutorial so i just moved my gameplay screens around. 

What you do need though is to open two separate easy uos and have them in two diff locations with diff copies of the script if you do it my lazy way because the rail script cannot handle being called by two scripts at the same time.  I hade on copy on desktop and the other in my doc. so they didn't conflict when running the rails
Title: Re: Another Way for Heartwood Quest?
Post by: Crome969 on January 05, 2009, 03:22:12 PM
I've done up to 3 accts without a virtual machine.  You just need to make sure that the clients are moved around perfectly so the quest menu can be seen on all 3 screens.  Virtual machines are easier tough if u know how to set them up.  I couldn't figure it out or find a good tutorial so i just moved my gameplay screens around. 

What you do need though is to open two separate easy uos and have them in two diff locations with diff copies of the script if you do it my lazy way because the rail script cannot handle being called by two scripts at the same time.  I hade on copy on desktop and the other in my doc. so they didn't conflict when running the rails
Sometimes i have running 8 or 10 clients.. and Every Script had his own euox client..
The problem is at Ocr if i want Surf at Firefox or use icq or do something other..
Thne The Script only Found Blackpixel
Title: Re: Another Way for Heartwood Quest?
Post by: TrailMyx on January 05, 2009, 03:34:34 PM
The nice thing about virtual machines is that each one has it's own virtual viewport, so you can even have the VM minimized and it'll still OCR just fine.  But that's some serious resources if you are using VMWare Workstation.  For that number of VMs, I'd go with VMware server to better manage the system resources.
Title: Re: Another Way for Heartwood Quest?
Post by: Crome969 on January 10, 2009, 12:25:21 AM
The nice thing about virtual machines is that each one has it's own virtual viewport, so you can even have the VM minimized and it'll still OCR just fine.  But that's some serious resources if you are using VMWare Workstation.  For that number of VMs, I'd go with VMware server to better manage the system resources.
VMware Server?
where do you can have it?
Perhaps i need one ;D
Title: Re: Another Way for Heartwood Quest?
Post by: TrailMyx on January 10, 2009, 12:44:22 AM
Do a web search for VMware.  There's free software for it.  You just have to have a copy of an OS to use for it.  Either Win2000, Win2003, WinXP or god forbid Vista!

I guess that's not actually free though.  Perhaps VirtualBox would be better.  Can't really do the same number of VMs with that, though.
Title: Re: Another Way for Heartwood Quest?
Post by: Xclio on January 10, 2009, 01:15:33 PM
VMPlayer is free just not VMWorkstation.
Title: Re: Another Way for Heartwood Quest?
Post by: TrailMyx on January 10, 2009, 01:49:27 PM
VMPlayer is free just not VMWorkstation.

The only problem with VMplayer is you still need to be able to create a VM somehow.  I'm not sure how to do that without either Server or Workstation since I have never used Player before.
Title: Re: Another Way for Heartwood Quest?
Post by: rana70 on January 10, 2009, 04:11:17 PM
VMPlayer is free just not VMWorkstation.

The only problem with VMplayer is you still need to be able to create a VM somehow.  I'm not sure how to do that without either Server or Workstation since I have never used Player before.

VMware can be used for free at home, you just need to register and ask for a serial.
As long as you don't use it comercially you can use the most of the program for free.

Download it .. VMware Server Console
Ask for the serials .. you will get an email ..
create your own virtual machines ...
only other thing you need is a valid OS to install

cu
Title: Re: Another Way for Heartwood Quest?
Post by: casca on February 21, 2009, 05:57:16 PM
I've done up to 3 accts without a virtual machine.  You just need to make sure that the clients are moved around perfectly so the quest menu can be seen on all 3 screens.  Virtual machines are easier tough if u know how to set them up.  I couldn't figure it out or find a good tutorial so i just moved my gameplay screens around. 

What you do need though is to open two separate easy uos and have them in two diff locations with diff copies of the script if you do it my lazy way because the rail script cannot handle being called by two scripts at the same time.  I hade on copy on desktop and the other in my doc. so they didn't conflict when running the rails

I've had 5 going... the client moving around thing is pretty easy.  Make a pathfinding script that you call seperately, and implement a token passing system.  When the client that is moving is moving he has the token and all other clients wait to move until he is done.  The first client to start moving next is the one that gets the token and so on.  I've done this successfully.

After 5 clients (and 5 is really pushing the envelope) I've seen strange things happen (not related to movement, but more to the OCR failing). I've been able to have 4 going nicely without hiccups though and averaging about 120 quests per hour (each client) if I don't lumber the wood.  I've found that 1 lumber jack for every 2.5 questors seems to work well with about a 500-750 board per hour overage.
Title: Re: Another Way for Heartwood Quest?
Post by: TrailMyx on February 21, 2009, 05:59:25 PM
Casca, were you VMing or just Multiclienting?
Title: Re: Another Way for Heartwood Quest?
Post by: casca on February 21, 2009, 07:58:51 PM
Casca, were you VMing or just Multiclienting?

MultiClienting. I have tried VMing with a pretty impressive server (Dual Processor 12 gigs of ram 4 TB array etc...) and I haven't had a lot of luck.  The VMs aren't able to do the graphics well so things are laggy (Which is handy for exploiting at times but I have not had a lot of success running more than 2 clients in one VM). I have never tried it on an ESX server but I do have it going in VMware Server on a Windows 2008 Enterprise box (specs above).

Any tricks on getting the video performance to come in line? 

Anyone seen or heard of the linux version of the uo client? Does it still work? I remember back in the day they had one and you could do quite a bit with that if it were still around...

(The lag seems to really effect the Quests per hour - I have stats on my heartwood script and I can't get more than 35/hr when I have more than 2 clients running in a VM)
Title: Re: Another Way for Heartwood Quest?
Post by: TrailMyx on February 21, 2009, 08:09:59 PM
That's the problem with most heavy dedicated servers out there.  Their video cards are nearly non-existant.  Heavy Sun servers with ATI Rage cards.  lol.  Anyhow, you can just use any plain-jayne dual/quad core with at least 4GB and you should be able to do just find.  I was running 4 questers on my 3.6GHz Athlon X2 and only 2GBytes (nVidia 7800GT).  Worked great.   I was even using just VMware Workstation, and not the Server.  I'd imagine ESX server would do great with it.
Title: Re: Another Way for Heartwood Quest?
Post by: Binary00000001 on June 02, 2009, 08:06:42 PM
This is an interesting topic, I know how to go about setting up multiple instances of virtual machines on a station at once; need to read into it more however, wish me luck
Title: Re: Another Way for Heartwood Quest?
Post by: OMGBurgers on June 03, 2009, 02:51:48 PM
of course you could always make one of each bow to start, then finditem them all and look for the color change after accepting a quest.  That would tell you what quest you're on ;x.  Would take a few seconds longer each quest, but it would work flawlessly.
Title: Re: Another Way for Heartwood Quest?
Post by: Crome969 on July 02, 2009, 08:51:33 AM
Now i use Lot of OCR in scripts.

I have Resolved a Method to Check unique Sentences or Letters to Check,
i split The Gump in Squares and then check the Pixcol with Savepix
to use i Give him a Start x \y and the finish x y
and use:


for %Start %startx %Endx
{
for %end %starty %endy
{
savepix %Start %end 1
}
}


For this i can after them Filter Colours from Letter and what is not the Case
i set %Code %Code , 1 if Colour is in Pixcol
and else i set %Code %Code , 0
if you have a Word wich only Drop in this Gump at this Point you will get a Unique Code of 0\1 and the Script can Choice the Word
Title: Re: Another Way for Heartwood Quest?
Post by: casca on August 23, 2009, 08:12:46 AM
That's the problem with most heavy dedicated servers out there.  Their video cards are nearly non-existant.  Heavy Sun servers with ATI Rage cards.  lol.  Anyhow, you can just use any plain-jayne dual/quad core with at least 4GB and you should be able to do just find.  I was running 4 questers on my 3.6GHz Athlon X2 and only 2GBytes (nVidia 7800GT).  Worked great.   I was even using just VMware Workstation, and not the Server.  I'd imagine ESX server would do great with it.

You know I just upgraded to vSphere (esx server 4.0) and I have to say I can get about 40 clients going at one time on one box (the server I mentioned before).  Awesome thing about vsphere is it actually has virtual video cards and you can assign memory to them.  So each of the VMs I have get enough video ram to handle the task.  So 10 VMs with 4 clients in each one.  I have 4 gigabit ethernet cards in that machine (it's actually 2 pci-e nics I believe that have two gigabit ports on each card).  Anyway, hardly cost effective, but I had the equipment laying around and started to play more after we discussed the issue.