ScriptUO
Scripting Resources & Utilities => Stealth Client => Stealth scripts => Topic started by: unisharp on May 09, 2015, 12:16:21 PM
-
SOURCE: https://github.com/unisharpUO/EggFarmer
What:
EggFarmer is a 100% AFKable script. I split the nest areas into 5 different regions, each has their own rail. Your character will walk around, and stop when it finds BOTH a snake and a nest, and then will proceed to use your charmer flute on it. You must have Stealth (the skill.... and the program, of course.) If you get revealed, there are no methods of defense setup - you will die. Area 5 is notorious for this because of the Horrors around (they reveal you) but I've also died in other areas as well. - added method for smoke bombs. Make sure you have plenty of snake charmer flutes in your inventory and also make sure they are insured.
UPDATE 3-5-2020:
I removed the ClickOnce signing. I'll figure out something eventually for people who don't want to compile from source. For now, you must compile from source. That means downloading Visual Studio 2019, cloning the source repo posted above, adding ScriptSDK as a reference and compiling it yourself.
Requirements:
https://github.com/Crome696/ScriptSDK
Instructions:
Step 1: Fire up Stealth (the application, not the skill)
Step 2: Connect a profile
Step 3: Run EggFarmer
Step 4: Click "Show Areas" to see where you need to start it at, and select it from the Drop Down Box
Step 5: Run to the "Start Here" location for the area you chose
Step 6: Click Start
Step 7: Go make a pizza
Statistics:
I watched it collect as much as 20 eggs in 30 minutes, and as little as 5 eggs in 1 hour. It's complete RNG. In about 3 hours I had 20 runs.
EDIT: 100 eggs in 8hrs
EDIT: 3/8/20, 5 runs collected in 2hrs (20 eggs) - area 3
44 eggs in roughly 3-4hrs
UPDATE 3/8/20: Optimizations made, dramatically increased rate of persuading snakes which will lead to increased eggs over time.
-
Awesome Contribution :)
-
OooOOo might have to give it a shot and stop using mad hax to send the snakes to the nests with EUO
-
Thanks guys :)
OK feedback from 2 users using the same version I am using. Using EggFarmer via setup/installation deployment. Both users got an error after pressing Start. Something about an incompatibility with Stealth, which confuses the hell out of me. I wish I was at their PCs lol.
Someone with Stealth experience could help me in diagnosing this problem, as it works flawlessly for me and I am unsure what to do.
Possible that the deployment didn't include ScriptAPI or ScriptDotNet2? Not sure...
EDIT: Also, these 2 users are completely new to Stealth
-
Get them to download team viewer and allow temporary access to see what's happening.
-
Ah yes didn't think of that :)
(http://i.imgur.com/ESQupT2.jpg?1)
That's the error they are getting, still lost =/
Tomorrow morning, probably just gonna switch to another PC install Stealth and EggFarmer and go from there
EDIT: Also, I noticed why I'm dying so much :) the snakes can reveal you too, extremely rare, but they do... So I'm going to be adding in a smoke bomb method and it'll pop one once revealed.
-
Oh its not as rare as you think.... One of the snakes (Either coral or lava) will reveal you like crazy. Especially as more and more pop out of the holes. I wound up using smoke bombs and Shadow Strike to combat this.
-
Ah yes didn't think of that :)
(http://i.imgur.com/ESQupT2.jpg?1)
That's the error they are getting, still lost =/
Tomorrow morning, probably just gonna switch to another PC install Stealth and EggFarmer and go from there
EDIT: Also, I noticed why I'm dying so much :) the snakes can reveal you too, extremely rare, but they do... So I'm going to be adding in a smoke bomb method and it'll pop one once revealed.
This is a correction by dll, dll only works with correct revision. I could send you a new revision and the latest build of stealth (with EC support :O ) once iam home.
-
EC SUPPORT!? I want! :)
(http://i.giphy.com/100OSA3Yoqo9TG.gif)
That's funny I was taking a crack at LUA last night.... It seems that the default user interface that comes with Enhanced Client, has a ton of errors in it. So I began working on that, and by working on it I mean I just started commenting stuff out lol ;)
manwinc: ahHA! I knew one of those bastards were revealing me. Good call on Shadow Strike, didn't think of that. Only thing I'm thinking now is how to deal with being poisoned. Considering picking up Necro to stay in Vampiric Embrace... not sure though. Trying to come up with something better than chugging a Greater Cure Pot.
-
I love that picture!
-
Sadly vampiric embrace isn't always enough to combat it, so make sure you slap hpr on their suits. I think you would have to go stone form just to be 100% Poison proof, but that is too much of a skill investment for an already crunched character.
-
Tx to Crome969 this problem is resolved. The issue was incompatible versions between ScriptDotNet2 and Stealth. I sent them the version of Stealth I was using and voila, success.
I posted a link to the version of Stealth I built EggFarmer with.
Again, good to go people! :)
Enjoy.
-
Release: EggFarmer 1.0.0.10
Changes:
*Added support for Smoke Bombs, carry them in your main backpack
-
i love it, how you are total into it !
-
i love it, how you are total into it !
;D having so much fun!
-
Release 1.0.0.15
*Added delay after moving to an egg and before picking it up. Caught an instance where we would get revealed walking to an egg, smoke bomb and try to pick up the egg at the same time, resulting in the program forever-waiting to move the egg.
-
my god I wish I could even attempt to write a script, let alone write one like this!
-
my god I wish I could even attempt to write a script, let alone write one like this!
That's nice of you to say thank you :)
-
Thanks for the script, I need to learn how to use the stealth client now.
-
for setting up stealth
-
for setting up stealth
Thanks Sibble! I watched the tutorial and got stealth set up. I am going to try the Egg Farmer tonight.
-
I downloaded Egg Farmer and ran the setup. I selected my area, clicked start and received (Not Responding). This was with stealth open and the client started. I use windows 7 64-bit OS. Any help would be appreciated.
-
Sibble, I still haven't been able to get your egg farmer to work. On a side note I figure anyone collecting lots of eggs is going to need gorgon lens?.. Does anyone have a good method to collect crystals/dust for making gorgon lens?
-
Sibble, I still haven't been able to get your egg farmer to work. On a side note I figure anyone collecting lots of eggs is going to need gorgon lens?.. Does anyone have a good method to collect crystals/dust for making gorgon lens?
Back when I use to farm Medusa a lot, I'd go to the Prism of Light in Nujelm. Costs 10k to get in. Kill the Crystal Daemon and loot the Scattered Crystals they drop. You can use those to make the Crystal Dust.
I recommend a script to loot them as it's impossible to keep up with looting with the spawn rate. I take a sampire and never have any issues.
-
Sibble, I still haven't been able to get your egg farmer to work. On a side note I figure anyone collecting lots of eggs is going to need gorgon lens?.. Does anyone have a good method to collect crystals/dust for making gorgon lens?
Back when I use to farm Medusa a lot, I'd go to the Prism of Light in Nujelm. Costs 10k to get in. Kill the Crystal Daemon and loot the Scattered Crystals they drop. You can use those to make the Crystal Dust.
I recommend a script to loot them as it's impossible to keep up with looting with the spawn rate. I take a sampire and never have any issues.
Thanks! I took my Sampire and got a bag full pretty quick. I am pretty sure I didn't loot all the crystals because of all the dead bodies. Ill try to make a script to loot the crystals.
-
I downloaded Egg Farmer and ran the setup. I selected my area, clicked start and received (Not Responding). This was with stealth open and the client started. I use windows 7 64-bit OS. Any help would be appreciated.
Sorry been busy lately just caught this... I will get back to you ASAP!
-
I'm blind or unisharp forget to post the link
-
Can't wait for it 8)
-
Download link updated!
https://gitlab.com/unisharp/EggFarmer
Let me know if there's any problems, I haven't use it since new Stealth release. It still should work fine.
-
Yea... no lol..
I need to do some changes real quick, I'll post when it's done!
-
Thanks for taking you'r time to fix it :)
-
Update published, application should self-update.
Also updated source @ GitLab (link in first post)
-
any chance you could update the "how to run" section please, I have downloaded the files and cannot do anything with them
-
Updated!
http://downloads.uostealth.com/eggfarmer/
or, compile from source at:
https://gitlab.com/unisharp/EggFarmer
If you do it this way, you'll also need to download https://sourceforge.net/projects/scriptsdk/
-
I downloaded the .net framework but when I click the "launch" link to DL your newest version I get this... http://snag.gy/9097V.jpg (http://snag.gy/9097V.jpg)
I had your version before this and it was working fine a few days ago. Since yesterday or the day before it would run one cycle then stop and display 3 "complete" windows and I would have to manually restart the script. This wasnt the case before. I uninstalled it hoping to get the newest version but that's where I'm stuck. I hope you can help me! I only used this for about a week or more and I miss it already. Thanks!
-
I downloaded the .net framework but when I click the "launch" link to DL your newest version I get this... http://snag.gy/9097V.jpg (http://snag.gy/9097V.jpg)
I had your version before this and it was working fine a few days ago. Since yesterday or the day before it would run one cycle then stop and display 3 "complete" windows and I would have to manually restart the script. This wasnt the case before. I uninstalled it hoping to get the newest version but that's where I'm stuck. I hope you can help me! I only used this for about a week or more and I miss it already. Thanks!
There's nothing worse than having working software that, one day, decides to stop working for whatever reason :( sorry!
Control Panel -> Add/Remove Program, Remove EggFarmer.
If you are sure that:
- Your framework is not corrupt - did you recently install a new version?
- In Internet Explorer, there is a security setting: Open files based on content, not file extension. This should be turned off.
- Anti-Virus is not removing the program. Be sure to check your security history.
...then reinstall @ download link and let me know if you're getting the same thing
-
Also, make sure you are using latest version of Stealth and ScriptSDK!
http://sourceforge.net/projects/scriptsdk/files/Releases%20%5BAlpha%5D/
-
I downloaded the .net framework but when I click the "launch" link to DL your newest version I get this... http://snag.gy/9097V.jpg (http://snag.gy/9097V.jpg)
I had your version before this and it was working fine a few days ago. Since yesterday or the day before it would run one cycle then stop and display 3 "complete" windows and I would have to manually restart the script. This wasnt the case before. I uninstalled it hoping to get the newest version but that's where I'm stuck. I hope you can help me! I only used this for about a week or more and I miss it already. Thanks!
There's nothing worse than having working software that, one day, decides to stop working for whatever reason :( sorry!
Control Panel -> Add/Remove Program, Remove EggFarmer.
If you are sure that:
- Your framework is not corrupt - did you recently install a new version?
- In Internet Explorer, there is a security setting: Open files based on content, not file extension. This should be turned off.
- Anti-Virus is not removing the program. Be sure to check your security history.
...then reinstall @ download link and let me know if you're getting the same thing
I got the framework again by going to microsoft's site, and after the install and restart I got the same screen when using the "install" button. I went to the site I downloaded from the first time and got a "setup" file. When running that I got this error: http://snag.gy/6COIX.jpg (http://snag.gy/6COIX.jpg) I dont use IE I use Chrome, and currently I'm not running an anti-virus. I also got the latest Stealth client v.6. but I'm not having any luck reinstalling your program =[.
-
That website is the wrong link, did it automatically take you there?
Use the updated link in the first post
http://downloads.uostealth.com/eggfarmer/
EDIT: Also, you tried removing eggfarmer from control panel?
(http://i.imgur.com/M84U7Of.png?1)
(http://i.imgur.com/SbTMpak.png)
If not, remove from control panel *first*, then visit the download link
-
Yes I removed it using control panel and using that site you linked gives me the error window that says "Application cannot be started. Contact the application vendor." There is a details button that gives this info:
PLATFORM VERSION INFO
Windows : 6.2.9200.0 (Win32NT)
Common Language Runtime : 4.0.30319.34209
System.Deployment.dll : 4.0.30319.34243 built by: FX452RTMGDR
clr.dll : 4.0.30319.34209 built by: FX452RTMGDR
dfdll.dll : 4.0.30319.34243 built by: FX452RTMGDR
dfshim.dll : 6.3.9600.16384 (winblue_rtm.130821-1623)
SOURCES
Deployment url : http://downloads.uostealth.com/eggfarmer/EggFarmer.application
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of http://downloads.uostealth.com/eggfarmer/EggFarmer.application resulted in exception. Following failure messages were detected:
+ The referenced assembly is not installed on your system. (Exception from HRESULT: 0x800736B3)
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [9/14/2015 6:31:39 PM] : Activation of http://downloads.uostealth.com/eggfarmer/EggFarmer.application has started.
ERROR DETAILS
Following errors were detected during this operation.
* [9/14/2015 6:31:40 PM] System.Runtime.InteropServices.COMException
- The referenced assembly is not installed on your system. (Exception from HRESULT: 0x800736B3)
- Source: System.Deployment
- Stack trace:
at System.Deployment.Internal.Isolation.IStore.GetAssemblyInformation(UInt32 Flags, IDefinitionIdentity DefinitionIdentity, Guid& riid)
at System.Deployment.Application.ComponentStore.GetAssemblyManifest(DefinitionIdentity asmId)
at System.Deployment.Application.ComponentStore.GetSubscriptionStateInternal(DefinitionIdentity subId)
at System.Deployment.Application.SubscriptionStore.GetSubscriptionStateInternal(SubscriptionState subState)
at System.Deployment.Application.SubscriptionState.Validate()
at System.Deployment.Application.SubscriptionStore.CheckAndReferenceApplication(SubscriptionState subState, DefinitionAppId appId, Int64 transactionId)
at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirectBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options)
at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
Thanks for trying to help me out with this. I'm sure I'm doing something foolish
-
Ahh.. I see...
http://stackoverflow.com/questions/702101/installation-problems-of-c-sharp-deployment
#1 Answer
You may need to delete that registry key. This will uninstall any Click-Once applications you have installed on your system. So if you've installed any applications in the same manner as this installation, they will get uninstalled. Basically, you'd know it if you had any. There aren't any system-dependent hidden click-once applications you'd be unaware of.
Sorry, I don't like suggesting to anyone to muck with their registry... but it looks like this is the only way.
-
I uninstalled my old egg farmer and installed the new one, now I have some serious issues opening it and running it, clicking it on my start icon does nothing and it's not even on my desktop anymore....
thanks for trying to update it and writing it but I cannot get it to work anymore
-
It's not easy trying to fix something that works for a few users and doesn't for others. "It's not working" isn't helpful either but I understand that there is no other information that can be given to me.
It's just going to take time to identify the problem and I'm extremely busy with real life problems at the moment.
So with that being said, I'm taking the download link back down until I can actually really look at this project.
-
sorry I can't be much more help and thanks
-
catch me tomorrow or thursday (you know my timing) then i look via Remote :)
-
It's not easy trying to fix something that works for a few users and doesn't for others. "It's not working" isn't helpful either but I understand that there is no other information that can be given to me.
It's just going to take time to identify the problem and I'm extremely busy with real life problems at the moment.
So with that being said, I'm taking the download link back down until I can actually really look at this project.
Oh no Uni! I hope I didn't influence your decision to take it down again! :'( I was going to fix the registry issue today and give it another whirl. Good luck with all your RL stuff and hopefully we'll get access to it again.
-
My car needs to get off the street this week or it will be impounded.
So, I need to: Oil Change, Insurance, Registration, Drivers License
Before Monday.
-
My car needs to get off the street this week or it will be impounded.
So, I need to: Oil Change, Insurance, Registration, Drivers License
Before Monday.
Trust me Uni would code more if he could :)
-
If you remove the link, it will be hard for us to help you Unisharp.
Trust me Uni, it hard to get more negative reply then positive but atlease someone else are finding the issue. Sometime it just a timing issue ( incease wait), if it work fine on your machine. Happen with a friend that his builded was working fine for him and never workfor me on my machine. My connection was just a little bit slower. I have to add a few wait time to ensure the proper flow.
So fell free the leave the link up and just add a note that a the moment support will be at a minimun. We all have higher priority and UO is not one of them sometime.
As for me, I'm glad to have an exemple that work for you.
-
I added the install link and and source back in
-
Hi, Looks like a great script, did you take down the download and stop support?
-
Hi, Looks like a great script, did you take down the download and stop support?
Hi Morphe,
Here is the link : https://gitlab.com/unisharp/EggFarmer/tree/e3c47823c2b744400a58210a02c776fe29dd8af3
there are a few changes to make to get it working, but it's working.
Have a nice day.
-
Hi Morphe,
Here is the link : https://gitlab.com/unisharp/EggFarmer/tree/e3c47823c2b744400a58210a02c776fe29dd8af3
there are a few changes to make to get it working, but it's working.
Have a nice day.
[/quote]
Thanks for the help, its working now after a few hours of thinking and changing a few things, im a virgin to VS but the script os amazing and id like to thank Unisharp for creating something so awesome! so hats off to you sir :-]
-
Wait until i break his scripts with new API SDK *gg*
-
Pleaaaaase... :'(
-
Wait until i break his scripts with new API SDK *gg*
I was waiting for that shoe to drop. :p
-
Wait until i break his scripts with new API SDK *gg*
oh great, now my scripts will break too.
-
does this still work anymore?
-
Yes any info would be great. PS, anyone developed a Medusa killing script yet?
-
The download link for the exe file appears broken. The source files have an error when I try to re-build the file. Anybody have an updated version they can post?
-
What Error do you get? I know unisharp is taking an uo break but i can try to help out a bit :)
-
When I download the installer from the main page, the website simple states Pageok (http://downloads.uostealth.com/eggfarmer)
When I download the source, there is no .exe build included in the zipped package. (https://gitlab.com/unisharp/EggFarmer). When I open this in VS (EggFarmer.csproj) and then click build eggfarmer, I get 20 errors.
The first two is the namespace API does not exist in the namespace ScriptSDK
The third error is namespace name Buff_DebuffSystemEventArgs
The other 17 are all "the name stealth does not exist in the current context
The one warning is that the certificate is not in the certificate store but this one I can fix by unchecking the option to sign.
-
You need to make sure you are referencing the DLL file with the VS project in order to be able to see the named references of Stealth and ScriptSDK.
-
I think that I have them correctly in the Reference section and I double checked to ensure the DLL was in the correct folder. As an example, I have:
C:\Program Files (x86)\Microsoft SDKs\Expression\Blend\.NETFramework\v4.5\Libraries\ScriptSDK.dll
If I compile it and run the exe, I get an error at opening it. I debug it and try common fixes for the items but new errors pop up each time. I am not familiar with VS enough to fix this apparently. I guess in the past year too many things have changed. It would be nice if his install package was able to be downloaded but it looks like he took it down perhaps.
Maybe we will be lucky and when someone has free time, they can update and post for the community ;)
-
I think that I have them correctly in the Reference section and I double checked to ensure the DLL was in the correct folder. As an example, I have:
C:\Program Files (x86)\Microsoft SDKs\Expression\Blend\.NETFramework\v4.5\Libraries\ScriptSDK.dll
If I compile it and run the exe, I get an error at opening it. I debug it and try common fixes for the items but new errors pop up each time. I am not familiar with VS enough to fix this apparently. I guess in the past year too many things have changed. It would be nice if his install package was able to be downloaded but it looks like he took it down perhaps.
Maybe we will be lucky and when someone has free time, they can update and post for the community ;)
ScriptSDK is a standalone non Microsoft library written by me. If you add reference to ScriptSDK.dll you should also make sure that the executing exe has a ScriptSDK.dll in the folder.
Try to drop the dll where your exe has been compiled, and perform the exe as admin. Then it should work.
-
Chrome, thank you for the quick response. I have the .dll file in place and run as admin. I get the below error as soon as I open the file:
Problem Event Name: CLR20r3
Problem Signature 01: EggFarmer.exe
Problem Signature 02: 1.0.0.0
Problem Signature 03: 56f06b04
Problem Signature 04: System
Problem Signature 05: 4.6.1055.0
Problem Signature 06: 563c0ff8
Problem Signature 07: 204b
Problem Signature 08: 74
Problem Signature 09: System.Net.Sockets.Socket
OS Version: 6.1.7601.2.1.0.256.48
-
Do you use the Stealth Client? this sounds like the api connector try to search for a Stealth Client for Communication and fail ...
-
that fixed it, It was as simple as I didn't have the Stealth client running at the time. I keep getting random errors but overall, it works.
Post Merge: March 30, 2016, 11:59:11 AM
So I keep getting two errors, that may be related. The problem seems to be that the script looks for a flute and doesn't find it after the last one breaks. I have about 10 of them in my bag. The error below is the most common one I get.
Index was out of range. Must be non-negative and less than the size of the collection parameter name:index
system.throwhelper.throwargumentoutofrangeexception (line 246 in eggfarmer.cs)
The other error is that the program says I am out of flutes and just pops up the three ok boxes like it does when you exit.
The error would imply that the below first line isn't correct? The error of line 246 is the last sentence below (Flutes[0].DoubleClick();)
for (int _i = 0; _i < Snakes.Count; _i++)
{
lock (WorkLocker)
{
if (Nests[0].Distance > 9)
{
MoveNextSpot();
break;
}
if (_i == 3)
break;
workerFluteRoutine.ReportProgress(0, "Trying to persuede snakes...");
Stealth.Client.CancelWaitTarget();
Stealth.Client.CancelTarget();
while (true)
{
StopWatch = DateTime.Now;
Flutes[0].DoubleClick();
-
The project that unisharp offered us is gold, It shows us how to work with Paths.
With a little more time (for me) next week, I really want to create a "Champ Checker "(Move character to all champions spawn and give the state).
I think there is already enough information to build this. it just remains the part for "Recall" and "Write on an interface" to gather the information.
-
Still not able to get it work.
have an error after looting the first egg
(https://i.imgur.com/PznkcVz.png)
Anyone can help ?
Thanks :)
-
Updated
-
Updated 3/7/20
- fixed packet error
- added type to bamboo flutes
Known issues:
Looks like the program was working for like 5 minutes and then randomly stopped. Looking into issue.
EDIT: Been running 20 minutes now with 2 collected already. I won't be able to fix this issue if I can't reproduce the error. I believe it may have been due to lack of snakes. When you get it running, additional snakes will be pop'd so I think that's why it's running now.
EDIT2: After an hour I got the exception again https://github.com/unisharpUO/EggFarmer/blob/master/EggFarmer/EggFarmer.cs line 241 which makes no sense because I only have 1 flute in my backpack and it hasn't been used up yet. The type of error I got is when you reference an index in an array and it doesn't exist. Flutes is a list of objects found in your main backpack. Each time Flutes is referenced, a search is redone via ScriptSDK Scanner Engine to fill that list of flutes in your main backpack. Why, after an hour, did it not find the same flute it was using in my backpack? I have no idea yet.
private List<SnakeCharmerFlute> Flutes
{
get { return Scanner.Find<SnakeCharmerFlute>(Self.Backpack.Serial.Value, false); }
}
Basically any time I reference Flutes[0] this should reference the first flute found in my backpack. Again, this error happened while I only had 1 flute in my backpack and it was the same one I was using for an hour, which is why I'm kinda stuck on this. I may change the way this is handled.
-
OK well we're mostly functioning over here...
EggFarmer.cs line 136 - currently commented out.
Stealth.Client.Buff_DebuffSystem += onBuff;
This line causes an exception "Error, packet parsed incorrectly!" - Unfortunately this means ScriptSDK needs to be updated, which I'm capable of doing, but not knowledgeable enough to figure out how to fix.
As of right now, there is no method to cure yourself if you're poisoned.
I spoke with Vizit0r, he may be helping me out later this evening!
-
Temporary change - pushed to github 3/8/20 7:48AM est
Under the Combat worker thread, I added a journal check for poison which will then chug a pot.
This is temporary till the Debuff system in ScriptSDK is working again.
The timers may be off, I still got a lot of testing to do but overall the program is working correctly.
EDIT: Also updating main post with new egg stats.
-
After testing all day today, I've come to the conclusion that using the Scanner engine in ScriptSDK concurrently in multiple threads may result in failed searches.
I'm going to have to move blocks of code around to test this... had enough for the day. Will get back to this tomorrow.
-
github push 3/9/20:
- The egg finder worker thread is disabled and copied into the flute routine
- Scans for greater cures and smoke bombs are only done once at initialization
- Added 250ms delays after every scan to ensure accuracy - this should be way more than needed because it takes around 2 seconds to search and parse 50 items in a container.
It appears after moving the methods that use the FindType function to one thread has fixed the nil index errors which means that this function most likely cannot be used concurrently in multiple threads. Stat reports to follow...
EDIT: 13 eggs in about an hour
-
Nice to see you back again !!
Thanks for updating the script :)
-
OK -- I am ready to test this again. Where is the new updated version? If I am looking in the correct spot, then do I need to download all those files and keep them in the EasyUO file folder?
-
OK -- I am ready to test this again. Where is the new updated version? If I am looking in the correct spot, then do I need to download all those files and keep them in the EasyUO file folder?
This is a Stealth script, not a EUO script. You will need Stealth, and ScriptSDK Dll files to be able to run the program.
-
Hello,
This is completely unrelated to EasyUO
1. You'll need to first get familiar with the StealthUO client which can be downloaded here: http://stealth.od.ua/Site/Downloads (currently Stealth 8.10.1)
If you have trouble with this client I can come up with a short tutorial on how to set it up.
2. Then you'll need to download and install Visual Studio 2019 Community Edition https://visualstudio.microsoft.com/downloads/
3. After you install VS2019 and run it, the first window will ask if you want to create a new project or clone an existing one. We'll need to compile the ScriptSDK library first and import it to the EggFarmer project.
4. Choose to clone a project and put in this URL: https://github.com/Crome696/ScriptSDK.git
5. After it's cloned, the right side will have 2 panels - Solution Explorer and Team Explorer - make sure you click on Solution Explorer.
6. Double click ScriptSDK.sln - this is the solution file.
7. Select "Build" from the top menu and click on Rebuild. This will compile your solution and build the library file needed to import into EggFarmer.
8. We're done with the ScriptSDK project, select "File" from the top menu and close solution.
9. Choose to clone and put in this URL: https://github.com/unisharpUO/EggFarmer.git
10. Again, once cloned you should have 2 tabs on the right side that say Solution Explorer and Team Explorer - click on Solution Explorer and double click EggFarmer.sln - this is the solution file.
11. Now that you have the solution open, click the arrow next to references - we'll need to add one.
12. Right-click on References, select Add Reference, select the Browse button on the bottom and find the ScriptSDK.dll we just built... it'll be in the folder you cloned it to and then drill down to ScriptSDK/bin/debug/ScriptSDK.dll
13. Once the ScriptSDK reference has been added to EggFarmer, you can then build the EggFarmer application by selecting "Build" from the top menu and then select Rebuild.
14. At this point, you can either just hit the Start button at the top with the green arrow, or open File Explorer and drill down to where we just created EggFarmer.exe - EggFarmer/bin/debug/EggFarmer.exe
-
Nice to see you back again !!
Thanks for updating the script :)
Great to be back! :)
-
3/16/20 Update pushed
- fixed cross-threading error
-
Thank you for continuing to work and update this script. I know I appreciate it. Egg Farming is a pain. Actually all farming is a pain. I was hoping to find the Ant Farming Script that was on here a while ago. See what happens when you leave the Script Community for a little while. Everything changes on you.
-
Chips ahoy,
Stealth_v8.10.2
EggFarmer latest git
Windows 10
I'm new to this, but I'm fairly certain I got everything in place and I'm still getting the error:
Error, Packet parsed incorrectly! Last Method id is 12
I used VS2019 to build ScriptSDK.dll
I added ScriptSDK.dll reference to EggFarmer. Built without error
I launch stealth with admin privs.
Character gets logged in, I load the built exe from file and when I push play is when the error pops up.
Am I doing something wrong or is this a code problem with current stealth version?
Thank you for all your work.
-
Chips ahoy,
Stealth_v8.10.2
EggFarmer latest git
Windows 10
I'm new to this, but I'm fairly certain I got everything in place and I'm still getting the error:
Error, Packet parsed incorrectly! Last Method id is 12
I used VS2019 to build ScriptSDK.dll
I added ScriptSDK.dll reference to EggFarmer. Built without error
I launch stealth with admin privs.
Character gets logged in, I load the built exe from file and when I push play is when the error pops up.
Am I doing something wrong or is this a code problem with current stealth version?
Thank you for all your work.
Most recent update to 10.8.2 broke some packet parsing in ScriptSDK. I haven't had a chance to look to see what it is yet. I know Maxwell was working on it for his C# wrapper. So once he updates i can see the difference and see whether i can apply it to scriptsdk.
-
Thank you for letting me know.
-
I don't mind re-writing this in python gimme like a week or two I have to find motiviation :P
-
This just made me really stoked to learn this again. Thank you.
-
Progress: https://github.com/unisharpUO/StealthUO-Scripts/blob/master/EggFarmer.py
Untested, will create new thread when complete.
-
It is preferable to use tuples instead lists if the arrays will not be edited.
There is no need to use global operator if your variables will not be reassigned (OnClilocSpeech function).
There is a wrong using SetFindDistance and SetFindVertical functions. They are functions.
I hope you continue to write python scripts, cause this script is a good one. If you will, there is some styling conventions PEP-8 (https://www.python.org/dev/peps/pep-0008/).
-
It is preferable to use tuples instead lists if the arrays will not be edited.
There is no need to use global operator if your variables will not be reassigned (OnClilocSpeech function).
There is a wrong using SetFindDistance and SetFindVertical functions. They are functions.
I hope you continue to write python scripts, cause this script is a good one. If you will, there is some styling conventions PEP-8 (https://www.python.org/dev/peps/pep-0008/).
Thank you! -Updated 10/01/20
More optimizations to come...