ScriptUO

Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: Ultimafreak77 on November 08, 2013, 01:41:29 AM

Title: Multiple pc/scripts working together?
Post by: Ultimafreak77 on November 08, 2013, 01:41:29 AM
Is there a way to control one account manually and have separate accounts on different pc's assist the controlled account? Nothing complicated... I have a very limited knowledge of writing scripts (would be my first) my question is something along the lines of, can it be done? I hunt for the elusive 4.5+ greater dragons (GD) on a daily basis, I have multiple accounts. I am looking for a way to increase my damage per second (DPS) so that in the same amount of time I can lore/kill twice, three times as many GD's? In theory I would need the assisting accounts to only attack what I attack and only attack when I attack and preferably stop attacking, when I stop attacking... other than that they should stay hidden or invisible so they don't draw agro before me. Later I could adapt it so that they could follow me, auto defend themselves.. like I have my own little auto-kill-party?? Thanks for in advance for any advice or suggestions.
Title: Re: Multiple pc/scripts working together?
Post by: keepin on November 08, 2013, 02:50:19 AM
I'm not that easyUO pro. But if I would want to control a second char while playing the first I would go for party chat.
Its like char a = u playing.
Char b = your "bot".

make them in one party.
char a saying in party bot wait here => char b stops. at point.. etc

Ive seen somebody playing with a bot like this who was able to do a lot of support stuff.. peacemaking, discor, casting evs, ressurect etc.. So my 2 cents.. it's possible and one way would be party journal scan.
Title: Re: Multiple pc/scripts working together?
Post by: Crome969 on November 08, 2013, 03:10:04 AM
Is there a way to control one account manually and have separate accounts on different pc's assist the controlled account? Nothing complicated... I have a very limited knowledge of writing scripts (would be my first) my question is something along the lines of, can it be done? I hunt for the elusive 4.5+ greater dragons (GD) on a daily basis, I have multiple accounts. I am looking for a way to increase my damage per second (DPS) so that in the same amount of time I can lore/kill twice, three times as many GD's? In theory I would need the assisting accounts to only attack what I attack and only attack when I attack and preferably stop attacking, when I stop attacking... other than that they should stay hidden or invisible so they don't draw agro before me. Later I could adapt it so that they could follow me, auto defend themselves.. like I have my own little auto-kill-party?? Thanks for in advance for any advice or suggestions.
There are multiple ways. General you need 1 script that is the "Server" and 1 Script per character who act as "Client". Or better said Sender and Receiver.
If you run all clients on same Computer you could use the *Variables. They are written into your local registry.
Like following :
Sender sets *Command Follow FCERTD
Means all receiver who reads knows they need to follow anything with this ID
Sender sends *Combat SDHDFAS means for receiver they all need to say "all kill" and target Enemy with ID SDHFAS

The Second way ( little bit advanced ) would be through webrequests. You need 1 Server who builds the commands, like 1 Char you control gives commands and all characters calling this request from a webserver in the same way as before using the registry.

This were EUO way basicly

In Stealth in Delphi , .Net or Python as sample you could write a Server application and client application wich connects to your server app. The Server App is used to broadcast code\actions etc and the clients execute.

I also saw this princip at a friend by using easyuo. He have easyuocode saved on webserver and the clients can login and verify themselvs to server and then read that code and execute scripts on fly.
Title: Re: Multiple pc/scripts working together?
Post by: manwinc on November 08, 2013, 03:26:10 AM
Sounds like a good project to start with!

For Reference, I suggest Playing Final Fantasy 12 :)

Start with the Basics. Getting Toon B to Follow Toon A. Then Start Adding Things on from there :)
Title: Re: Multiple pc/scripts working together?
Post by: Endless Night on November 08, 2013, 03:53:38 PM
Take a look at this ...   http://www.scriptuo.com/index.php?topic=1130.0
Title: Re: Multiple pc/scripts working together?
Post by: manwinc on November 09, 2013, 10:24:35 AM
I'd forgot about that one EN!
Title: Re: Multiple pc/scripts working together?
Post by: Tidus on November 20, 2013, 02:15:57 PM
I once had a script that used a call function. It called a text file with the locations of who to follow.  This was a very slow running script because of the time it took to write the .txt file everytime the char moved.  So it was too delayed.  The file was saved on my server so that any computer could access it. I could even access it over the internet.

If you don't use global variables and the same computer i only see being able to use stealth for a true server interaction.