ScriptUO

Scripting Resources & Utilities => Stealth Client => Stealth scripts => Topic started by: unisharp on September 14, 2015, 05:24:56 AM

Title: [C#, ScriptSDK, XScript] FAIL - Fully Automated IDOC Looter
Post by: unisharp on September 14, 2015, 05:24:56 AM
PROJECT IS DEAD

BROADSWORD CHANGING HOW IDOCS HANDLED

IM SORRY


original code: https://github.com/unisharpUO/FAIL

(https://i.imgur.com/XyISgMa.png)
Title: Re: FAIL - Fully Automated IDOC Looter (work in progress)
Post by: bendel on September 14, 2015, 06:08:21 AM
this is what i call next level script... :o

GJ
Title: Re: FAIL - Fully Automated IDOC Looter (work in progress)
Post by: unisharp on September 14, 2015, 07:02:12 AM
Ty sir, it's got a long way to go :)
Title: Re: FAIL - Fully Automated IDOC Looter (work in progress)
Post by: unisharp on September 14, 2015, 12:10:54 PM
Tomorrow, I will be publishing a ClickOnce installation for users who just want to run the program without having to compile.

Also, changing location of files that get saved, will save to My Documents \ Stealth Scripts \ FAIL
Title: Re: [V6, C#] FAIL - Fully Automated IDOC Looter (work in progress)
Post by: unisharp on September 18, 2015, 05:29:28 AM
Updated to latest ScriptSDK.  Good to go.
Title: Re: [V6, C#] FAIL - Fully Automated IDOC Looter (work in progress)
Post by: Gemviper on October 04, 2015, 09:25:24 PM
I'd like to try this out but I'm just a UO player with average code skills(php,html etc hell yes, I design websites... but pascal/python not so much). I've got stealth running smoothly and am drooling all over the map feature as I write this.

I'd love to take your code out for a test ride, perhaps provide feedback on how it feels, what could be done to improve etc but... stealth won't recognize those files(obviously) and I don't have a compiler or know what to do with a compiler just yet, steep learning curve.

Can you post a copy of the file I'd be creating to use with stealth? If not, perhaps a link to somewhere that I can learn what the heck to do with the files? Sorry for being a noob, what you've got done already looks fantastic. In it's current form it's not stealth compatible for me though :/

Gem
Title: Re: [V6, C#] FAIL - Fully Automated IDOC Looter (work in progress)
Post by: Crome969 on October 04, 2015, 10:59:48 PM
I'd like to try this out but I'm just a UO player with average code skills(php,html etc hell yes, I design websites... but pascal/python not so much). I've got stealth running smoothly and am drooling all over the map feature as I write this.

I'd love to take your code out for a test ride, perhaps provide feedback on how it feels, what could be done to improve etc but... stealth won't recognize those files(obviously) and I don't have a compiler or know what to do with a compiler just yet, steep learning curve.

Can you post a copy of the file I'd be creating to use with stealth? If not, perhaps a link to somewhere that I can learn what the heck to do with the files? Sorry for being a noob, what you've got done already looks fantastic. In it's current form it's not stealth compatible for me though :/

Gem

Code me or Unisharp provide are written in c# by using .net. I know that unisharp is doing experiments on "runtime" compiling. What he released here was basicly a link to his source.
Title: Re: [V6, C#] FAIL - Fully Automated IDOC Looter (work in progress)
Post by: Gemviper on October 04, 2015, 11:56:17 PM
Ahh, ok. The screenshots looked promising. I know a few idoc capable rail and looting scripts exist because I am seeing them being used. I heard one guy on Atlantic is running 50+ accounts to do idocs on 9 shards daily?!?

He's no coder either, lol.

 
Title: Re: [V6, C#] FAIL - Fully Automated IDOC Looter (work in progress)
Post by: unisharp on October 05, 2015, 05:07:38 AM
1 youtube video, coming right up   :D
Title: Re: [V6, C#] FAIL - Fully Automated IDOC Looter (work in progress)
Post by: Gemviper on October 05, 2015, 10:49:23 AM
I'm not sure I can learn Pascal/Python in any reasonable amount of time and I don't have the tools to do so on my computer, yet, so don't tease too much in the vid kk?   ;D
Title: Re: [V6, C#] FAIL - Fully Automated IDOC Looter (work in progress)
Post by: TrailMyx on October 05, 2015, 10:55:25 AM
I'm not sure I can learn Pascal/Python in any reasonable amount of time and I don't have the tools to do so on my computer, yet, so don't tease too much in the vid kk?   ;D

Here's a helpful video that demonstrates the venerability and usefulness of Pascal:

Title: Re: [V6, C#] FAIL - Fully Automated IDOC Looter (work in progress)
Post by: Gemviper on October 05, 2015, 10:58:51 AM
HAHA, TM, very funny. Hey that's ME in the video you linked, I'm on phone modem speed vs these rail running looting gods on my server.  :'(
Title: Re: [V6,ScriptSDK] FAIL - Fully Automated IDOC Looter
Post by: Insideout on October 29, 2015, 10:41:23 PM
I'm guessing it's all been taken down?
Title: Re: [V6,ScriptSDK] FAIL - Fully Automated IDOC Looter
Post by: Gemviper on October 30, 2015, 09:30:55 PM
No, but it's not functional to non elite. Elite are added very rarely, I haven't seen any in a long time I don't think so don't hold your breath.

On the bright side the inability to become elite and see the more refined scripts means you can adapt and come up with tactics to compete with the elite, there is always a way.

Title: Re: [V6,ScriptSDK] FAIL - Fully Automated IDOC Looter
Post by: Crome969 on October 31, 2015, 01:02:39 AM
Title: Re: [V6,ScriptSDK] FAIL - Fully Automated IDOC Looter
Post by: unisharp on October 31, 2015, 07:54:20 AM
No, but it's not functional to non elite. Elite are added very rarely, I haven't seen any in a long time I don't think so don't hold your breath.

On the bright side the inability to become elite and see the more refined scripts means you can adapt and come up with tactics to compete with the elite, there is always a way.



How is it not functional?  You can build rails, it will run rails, it will search and log houses.  That's a lot in itself, also giving source code for people to learn and add on to, that's even more...

I'd rename the project to FAIS but it doesn't quite have the same ring to it, and the full version has everything anyway, this is just part of it.

Also, I am not elite, so there is no elite version.  There's simply a public version and a private version.
Title: Re: [V6,ScriptSDK] FAIL - Fully Automated IDOC Looter
Post by: Insideout on October 31, 2015, 11:09:17 AM
I figured out my problem :) I have a ton of reading to do :) I'm guessing it's all got to be put together. I'm studying up just because I want to see if I cam do this.
Title: Re: [V6,ScriptSDK] FAIL - Fully Automated IDOC Looter
Post by: unisharp on November 02, 2015, 01:55:04 AM
I figured out my problem :) I have a ton of reading to do :) I'm guessing it's all got to be put together. I'm studying up just because I want to see if I cam do this.

Yes it needs to be compiled.

http://sourceforge.net/p/scriptsdk/wiki/%22Hello%20World%22%20Application/

This could help you out maybe.
Title: Re: [V6,ScriptSDK] FAIL - Fully Automated IDOC Looter
Post by: Insideout on November 02, 2015, 08:55:46 AM
Yeah for some reason VS is failing to install lol  been trying for 2 days it stalls out  who knows
Title: Re: [V6,ScriptSDK] FAIL - Fully Automated IDOC Looter
Post by: Gemviper on November 02, 2015, 11:35:56 AM
I assumed by not public you meant elite... my mistake, sorry.
Title: Re: [V6,ScriptSDK] FAIL - Fully Automated IDOC Looter
Post by: Insideout on November 06, 2015, 03:15:57 PM
Well I got the Hello world part down and I've spent about 3 hours watching the runebook copier build. I'm guessing  I'm missing a step with FAIL.  I load it up into VS and  then end up with about 110 Errors.
Title: Re: [V6,ScriptSDK] FAIL - Fully Automated IDOC Looter
Post by: Insideout on November 18, 2015, 02:33:56 AM
Ok will this work on VS 2013?  As VS 2015 is just being a pain to get working.


I load the Fail.cs and get 101 errors this is just an example short list

Error   1   The type or namespace name 'Forms' does not exist in the namespace 'System.Windows' (are you missing an assembly reference?)   c:\users\xxxx\documents\visual studio 2013\Projects\ConsoleApplication9\ConsoleApplication9\Program.cs   20   22   ConsoleApplication9
Error   2   The type or namespace name 'Form' could not be found (are you missing a using directive or an assembly reference?)   c:\users\xxxx\documents\visual studio 2013\Projects\ConsoleApplication9\ConsoleApplication9\Program.cs   26   33   ConsoleApplication9
Error   3   The type or namespace name 'Rail' could not be found (are you missing a using directive or an assembly reference?)   c:\users\xxxx\documents\visual studio 2013\Projects\ConsoleApplication9\ConsoleApplication9\Program.cs   33   17   ConsoleApplication9
Error   4   The type or namespace name 'Rail' could not be found (are you missing a using directive or an assembly reference?)   c:\users\xxxx\documents\visual studio 2013\Projects\ConsoleApplication9\ConsoleApplication9\Program.cs   34   22   ConsoleApplication9
Error   5   The type or namespace name 'Rail' could not be found (are you missing a using directive or an assembly reference?)   c:\users\xxxx\documents\visual studio 2013\Projects\ConsoleApplication9\ConsoleApplication9\Program.cs   34   53   ConsoleApplication9
Error   6   The type or namespace name 'Rail' could not be found (are you missing a using directive or an assembly reference?)   c:\users\xxxx\documents\visual studio 2013\Projects\ConsoleApplication9\ConsoleApplication9\Program.cs   40   22   ConsoleApplication9
Error   7   The type or namespace name 'Rail' could not be found (are you missing a using directive or an assembly reference?)   c:\users\xxxx\documents\visual studio 2013\Projects\ConsoleApplication9\ConsoleApplication9\Program.cs   40   45   ConsoleApplication9
Error   97   The name 'txtStatus' does not exist in the current context   c:\users\xxxx\documents\visual studio 2013\Projects\ConsoleApplication9\ConsoleApplication9\Program.cs   409   17   ConsoleApplication9
Error   98   'FAIL.FAIL.Settings' is a 'field' but is used like a 'type'   c:\users\xxxx\documents\visual studio 2013\Projects\ConsoleApplication9\ConsoleApplication9\Program.cs   410   70   ConsoleApplication9
Error   99   The name 'txtStatus' does not exist in the current context   c:\users\xxxx\documents\visual studio 2013\Projects\ConsoleApplication9\ConsoleApplication9\Program.cs   415   17   ConsoleApplication9
Error   100   The name 'MessageBox' does not exist in the current context   c:\users\xxxx\documents\visual studio 2013\Projects\ConsoleApplication9\ConsoleApplication9\Program.cs   419   17   ConsoleApplication9
Error   101   The name 'txtStatus' does not exist in the current context   c:\users\xxxx\documents\visual studio 2013\Projects\ConsoleApplication9\ConsoleApplication9\Program.cs   436   13   ConsoleApplication9

I have most if not all the files from the FAIL sourceforge. I just want it to find  IDOCs I don't want to go full blown looting rails. Heck I'm happy with the benches for turn in points. Just killing myself trying to figure out what I'm doing wrong.
Title: Re: [V6,ScriptSDK] FAIL - Fully Automated IDOC Looter
Post by: unisharp on November 21, 2015, 06:03:53 AM
Ok will this work on VS 2013?  As VS 2015 is just being a pain to get working.


I load the Fail.cs and get 101 errors this is just an example short list

Error   1   The type or namespace name 'Forms' does not exist in the namespace 'System.Windows' (are you missing an assembly reference?)   c:\users\xxxx\documents\visual studio 2013\Projects\ConsoleApplication9\ConsoleApplication9\Program.cs   20   22   ConsoleApplication9
Error   2   The type or namespace name 'Form' could not be found (are you missing a using directive or an assembly reference?)   c:\users\xxxx\documents\visual studio 2013\Projects\ConsoleApplication9\ConsoleApplication9\Program.cs   26   33   ConsoleApplication9
Error   3   The type or namespace name 'Rail' could not be found (are you missing a using directive or an assembly reference?)   c:\users\xxxx\documents\visual studio 2013\Projects\ConsoleApplication9\ConsoleApplication9\Program.cs   33   17   ConsoleApplication9
Error   4   The type or namespace name 'Rail' could not be found (are you missing a using directive or an assembly reference?)   c:\users\xxxx\documents\visual studio 2013\Projects\ConsoleApplication9\ConsoleApplication9\Program.cs   34   22   ConsoleApplication9
Error   5   The type or namespace name 'Rail' could not be found (are you missing a using directive or an assembly reference?)   c:\users\xxxx\documents\visual studio 2013\Projects\ConsoleApplication9\ConsoleApplication9\Program.cs   34   53   ConsoleApplication9
Error   6   The type or namespace name 'Rail' could not be found (are you missing a using directive or an assembly reference?)   c:\users\xxxx\documents\visual studio 2013\Projects\ConsoleApplication9\ConsoleApplication9\Program.cs   40   22   ConsoleApplication9
Error   7   The type or namespace name 'Rail' could not be found (are you missing a using directive or an assembly reference?)   c:\users\xxxx\documents\visual studio 2013\Projects\ConsoleApplication9\ConsoleApplication9\Program.cs   40   45   ConsoleApplication9
Error   97   The name 'txtStatus' does not exist in the current context   c:\users\xxxx\documents\visual studio 2013\Projects\ConsoleApplication9\ConsoleApplication9\Program.cs   409   17   ConsoleApplication9
Error   98   'FAIL.FAIL.Settings' is a 'field' but is used like a 'type'   c:\users\xxxx\documents\visual studio 2013\Projects\ConsoleApplication9\ConsoleApplication9\Program.cs   410   70   ConsoleApplication9
Error   99   The name 'txtStatus' does not exist in the current context   c:\users\xxxx\documents\visual studio 2013\Projects\ConsoleApplication9\ConsoleApplication9\Program.cs   415   17   ConsoleApplication9
Error   100   The name 'MessageBox' does not exist in the current context   c:\users\xxxx\documents\visual studio 2013\Projects\ConsoleApplication9\ConsoleApplication9\Program.cs   419   17   ConsoleApplication9
Error   101   The name 'txtStatus' does not exist in the current context   c:\users\xxxx\documents\visual studio 2013\Projects\ConsoleApplication9\ConsoleApplication9\Program.cs   436   13   ConsoleApplication9

I have most if not all the files from the FAIL sourceforge. I just want it to find  IDOCs I don't want to go full blown looting rails. Heck I'm happy with the benches for turn in points. Just killing myself trying to figure out what I'm doing wrong.


It looks like you're just loading a single file within the project and not actually opening the project itself.  Try opening FAIL.sln

Also if you're not looking for rails, then this is not the solution for you :)
Title: Re: [V6,ScriptSDK] FAIL - Fully Automated IDOC Looter
Post by: unisharp on November 21, 2015, 06:12:44 AM
Erm ok, read a bit more.

You're creating a Console Application and importing files into it.  The repository itself, is a project.  You do not need to create one.

Go here: http://sourceforge.net/p/fail/code/ci/master/tree/
Click "Download Snapshot"
Extract files
Double click FAIL.sln
Title: Re: [V6,ScriptSDK] FAIL - Fully Automated IDOC Looter
Post by: Insideout on November 21, 2015, 09:50:00 AM
Worked like a champ added the SDK.dll reference a poof it's working. I was just over thinking  and not really understanding it all at the same time.
Title: Re: [V6,ScriptSDK] FAIL - Fully Automated IDOC Looter
Post by: unisharp on November 21, 2015, 04:13:45 PM
Great!  Glad to hear it :)
Title: Re: [V6,ScriptSDK] FAIL - Fully Automated IDOC Looter
Post by: Orich on December 19, 2015, 08:58:00 PM
Nice job unisharp.


You're carrying on the Stealth C# legacy quite nicely.
Title: Re: [V6,ScriptSDK] FAIL - Fully Automated IDOC Looter
Post by: unisharp on October 07, 2016, 03:56:23 AM
-Updated for latest ScriptSDK.
-Optimized rail movement logic
-Added house watching functionality
-Private version moved to public, no more private versions


There is a possible StealthAPI problem with movement functions.  While moving through a rail a random disconnect will occur.  I've posted to the Stealth forum about it, hopefully will be fixed soon.
Title: Re: [V6.7.1,ScriptSDK] FAIL - Fully Automated IDOC Looter
Post by: Crome969 on October 07, 2016, 07:25:17 AM
Guess who is back  :o hit me up via icq next days
Title: Re: [V6.7.1,ScriptSDK] FAIL - Fully Automated IDOC Looter
Post by: Insideout on December 21, 2017, 12:25:54 PM
Okay does this not work with the new stealth? Did the reference to the SDK.dll   it brings up the interface but that is it .
Title: Re: [V6.7.1,ScriptSDK] FAIL - Fully Automated IDOC Looter
Post by: Crome969 on December 21, 2017, 11:27:57 PM
have not seen his code for long but SDK and Stealth should work.. if not i need to see whats the issue.
Title: Re: [V6.7.1,ScriptSDK] FAIL - Fully Automated IDOC Looter
Post by: Insideout on December 22, 2017, 01:06:08 AM
Okay for starters when I try the  new rail I get this error. Did I maybe put the SDK.dll refernce in the wrong spot?
Title: Re: [V6.7.1,ScriptSDK] FAIL - Fully Automated IDOC Looter
Post by: Crome969 on December 22, 2017, 01:34:28 AM
it searchs for the xml.. thats a FAIL issue because he stores the data in an xml. Check if there is a way either to genrrate the rail or what datastructure is behind and then reproduce.
Title: Re: [V6.7.1,ScriptSDK] FAIL - Fully Automated IDOC Looter
Post by: bendel on December 22, 2017, 03:47:06 AM
You have to add the folder that he looking for.
Title: Re: [V6.7.1,ScriptSDK] FAIL - Fully Automated IDOC Looter
Post by: illw1ll on March 29, 2018, 10:46:19 AM
I just got this all compiled and setup but when i click Add Runebook the fail.exe locks up and crashes every time
Title: Re: [V6.7.1,ScriptSDK] FAIL - Fully Automated IDOC Looter
Post by: Gemviper on March 29, 2018, 11:22:49 AM
Try an earlier version of stealth
Title: Re: [V6.7.1,ScriptSDK] FAIL - Fully Automated IDOC Looter
Post by: bendel on March 29, 2018, 11:32:06 AM
Gemviper, did u get it work?
Title: Re: [V6.7.1,ScriptSDK] FAIL - Fully Automated IDOC Looter
Post by: Gemviper on March 29, 2018, 07:59:25 PM
I haven't tried, others I know of have complained it crashes too much right now.
Title: Re: [V6.7.1,ScriptSDK] FAIL - Fully Automated IDOC Looter
Post by: unisharp on April 25, 2018, 06:12:16 PM
I'd look at it but I'm kinda skeptical using the client with the bans recently.
Title: Re: [V6.7.1,ScriptSDK] FAIL - Fully Automated IDOC Looter
Post by: bendel on April 25, 2018, 07:11:20 PM
Nice to see you back unisharp !

They are mostly the Endless Journey they punish.
2 of my accounts were banned (EJ) just because of multi-boxing with EasyUO. So I do not think it's a tier application in itself that is targeted.
Title: Re: [V6.7.1,ScriptSDK] FAIL - Fully Automated IDOC Looter
Post by: unisharp on April 26, 2018, 01:59:41 AM
Thanks! :)

Yeah I had a feeling... and that's all I'm playing are EJ accounts.

I may work on it using a free shard to debug, just need to find one as close to official as possible I think.

I've also been considering paying for 1 account - we'll see what happens.

I'd like to get working on these projects again.  I got a job recently and it's been going great.  I code all day and periodically help someone with a printer  ;D  so jumping back into these projects won't be a problem.
Title: Re: [V6.7.1,ScriptSDK] FAIL - Fully Automated IDOC Looter
Post by: Jake Naftis on April 26, 2018, 06:50:18 AM
You will need to get stealth going again. can no longer read anything in backpack.
Title: Re: [V6.7.1,ScriptSDK] FAIL - Fully Automated IDOC Looter
Post by: bendel on April 26, 2018, 07:10:00 AM
for a FS very close to EA, i'd say TrueUO or Alexandria from easyuo
Title: Re: [V6.7.1,ScriptSDK] FAIL - Fully Automated IDOC Looter
Post by: Jake Naftis on April 26, 2018, 07:24:00 AM
yep. 

I had to write an euo rail system yesterday because stealth is out of commish.  So painful.  Really hope someone fixes stealth soon.  I love my old system.
Title: Re: [V6.7.1,ScriptSDK] FAIL - Fully Automated IDOC Looter
Post by: unisharp on July 14, 2020, 04:56:13 AM
Added original working code for example