FlyFF - Awakebot (Customizable, Support your own server)

09/04/2016 19:22 Synode#31
not bad, keep it up
09/04/2016 23:04 greyb1t#32
New Update 1.06!

Changelog:
Added possibilty to support non-english language servers.
Improved the accuracy of the bot and it's alot smarter.
The performance has been increased.
The bot is now basing it's interpretation on the server config and possible awakes.
A new setting has been added in the server config.

@[Only registered and activated users can see links. Click Here To Register...], read the instructions on how to support your own server. It has instructions on another language server.

-----------------------------------

[Only registered and activated users can see links. Click Here To Register...] is also updated for those who'd like to see what changed.
09/04/2016 23:44 venomx96#33
Quote:
Originally Posted by greyb1t View Post
New Update 1.06!

Changelog:
Added possibilty to support non-english language servers.
Improved the accuracy of the bot and it's alot smarter.
The performance has been increased.
The bot is now basing it's interpretation on the server config and possible awakes.
A new setting has been added in the server config.

@[Only registered and activated users can see links. Click Here To Register...], read the instructions on how to support your own server. It has instructions on another language server.

-----------------------------------

[Only registered and activated users can see links. Click Here To Register...] is also updated for those who'd like to see what changed.
You're the best <3

Can you add an option for give 1 line only ?

Cause if i've "Critical Damage+15" and "DEX +5" the bot stop the work-

But i want only "Critical Damage +15" on the item.

Possible to add this option ?





CRASH IDK WHY :

STOP WORKING ->

Signature du problème*:
Nom d’événement de problème: CLR20r3
Signature du problème 01: FlyFF AwakeBot.exe
Signature du problème 02: 1.0.0.0
Signature du problème 03: 57cc8e55
Signature du problème 04: System.Drawing
Signature du problème 05: 4.6.1055.0
Signature du problème 06: 563c0fcc
Signature du problème 07: 39
Signature du problème 08: 7f
Signature du problème 09: System.OutOfMemoryException
Version du système: 6.1.7601.2.1.0.256.48
Identificateur de paramètres régionaux: 4108
Information supplémentaire n°*1: 0a9e
Information supplémentaire n°*2: 0a9e372d3b4ad19135b953a78882e789
Information supplémentaire n°*3: 0a9e
Information supplémentaire n°*4: 0a9e372d3b4ad19135b953a78882e789

Lire notre déclaration de confidentialité en ligne*:
[Only registered and activated users can see links. Click Here To Register...]

Si la déclaration de confidentialité en ligne n’est pas disponible, lisez la version hors connexion*:
C:\Windows\system32\fr-FR\erofflps.txt
09/05/2016 06:43 macroseller#34
Quote:
Originally Posted by venomx96 View Post
You're the best <3

Can you add an option for give 1 line only ?

Cause if i've "Critical Damage+15" and "DEX +5" the bot stop the work-

But i want only "Critical Damage +15" on the item.

Possible to add this option ?





CRASH IDK WHY :

STOP WORKING ->

Signature du problème*:
Nom d’événement de problème: CLR20r3
Signature du problème 01: FlyFF AwakeBot.exe
Signature du problème 02: 1.0.0.0
Signature du problème 03: 57cc8e55
Signature du problème 04: System.Drawing
Signature du problème 05: 4.6.1055.0
Signature du problème 06: 563c0fcc
Signature du problème 07: 39
Signature du problème 08: 7f
Signature du problème 09: System.OutOfMemoryException
Version du système: 6.1.7601.2.1.0.256.48
Identificateur de paramètres régionaux: 4108
Information supplémentaire n°*1: 0a9e
Information supplémentaire n°*2: 0a9e372d3b4ad19135b953a78882e789
Information supplémentaire n°*3: 0a9e
Information supplémentaire n°*4: 0a9e372d3b4ad19135b953a78882e789

Lire notre déclaration de confidentialité en ligne*:
[Only registered and activated users can see links. Click Here To Register...]

Si la déclaration de confidentialité en ligne n’est pas disponible, lisez la version hors connexion*:
C:\Windows\system32\fr-FR\erofflps.txt
Either your free ram was low or theres memory leak in the app.
09/05/2016 06:46 greyb1t#35
Quote:
Originally Posted by venomx96 View Post
You're the best <3

Can you add an option for give 1 line only ?

Cause if i've "Critical Damage+15" and "DEX +5" the bot stop the work-

But i want only "Critical Damage +15" on the item.

Possible to add this option ?





CRASH IDK WHY :

STOP WORKING ->

Signature du problème*:
Nom d’événement de problème: CLR20r3
Signature du problème 01: FlyFF AwakeBot.exe
Signature du problème 02: 1.0.0.0
Signature du problème 03: 57cc8e55
Signature du problème 04: System.Drawing
Signature du problème 05: 4.6.1055.0
Signature du problème 06: 563c0fcc
Signature du problème 07: 39
Signature du problème 08: 7f
Signature du problème 09: System.OutOfMemoryException
Version du système: 6.1.7601.2.1.0.256.48
Identificateur de paramètres régionaux: 4108
Information supplémentaire n°*1: 0a9e
Information supplémentaire n°*2: 0a9e372d3b4ad19135b953a78882e789
Information supplémentaire n°*3: 0a9e
Information supplémentaire n°*4: 0a9e372d3b4ad19135b953a78882e789

Lire notre déclaration de confidentialité en ligne*:
[Only registered and activated users can see links. Click Here To Register...]

Si la déclaration de confidentialité en ligne n’est pas disponible, lisez la version hors connexion*:
C:\Windows\system32\fr-FR\erofflps.txt
Quote:
Originally Posted by macroseller View Post
Either your free ram was low or theres memory leak in the app.
I just woke up, there's a memoryleak. It seems like the garbage collector is too slow for all the bitmap parsing. I'm not used to C#, damn. I'll have it fixed soon. Don't worry.

Edit --------------------------------------------------

New Update 1.07!

Changelog:
Fixed memory leak.
09/05/2016 08:17 macroseller#36
Anyway great work.
I have coded similar awake bot like 2 years ago for personal use, with C# aswell.
With multiclient support (couple tricks can be used, to make it doable), and faster algorithms without need of any real OCR, which benchmarked at around 5ms (including screen rect capture) per check if i remember correctly.
Means it didn't had any need for awake delay setting, since it just awaited changes.
09/05/2016 08:50 greyb1t#37
Quote:
Originally Posted by macroseller View Post
Anyway great work.
I have coded similar awake bot like 2 years ago for personal use, with C# aswell.
With multiclient support (couple tricks can be used, to make it doable), and faster algorithms without need of any real OCR, which benchmarked at around 5ms (including screen rect capture) per check if i remember correctly.
Means it didn't had any need for awake delay setting, since it just awaited changes.
Multi-Client support won't be possible if you're going to support multiple servers and let the users themselves add support for a server. Doing it multi-client you'd either require the /awake command or calling the awake function itself from memory. So multi-client isn't an option in this case.

Don't really know what you mean by "without need of any real OCR". The OCR library I use is not known for it's speed but has good accuracy instead. If speed was super important I'd probably not use Tesseract and some other engine instead.

The reason I've made it so there's a delay instead of waiting for the awake to change would be because there's a chance of the awake being the same as the one before. Then it'd get stuck waiting for the awake to change. Sure, you can add some code that makes it continue after a while if it still hasn't changed. But, the current way works fine aswell. As I said, such small small changes ain't going to affect it since it has to wait for the scrolls and click with the mouse and shit.

If the benchmark including the screen capture was 5 ms, you've had to use DirectX and / or capturing a very small piece of the screen. But it sound too good to be true with C#, but probably possible though.
09/05/2016 11:46 venomx96#38
Quote:
Originally Posted by greyb1t View Post
I just woke up, there's a memoryleak. It seems like the garbage collector is too slow for all the bitmap parsing. I'm not used to C#, damn. I'll have it fixed soon. Don't worry.

Edit --------------------------------------------------

New Update 1.07!

Changelog:
Fixed memory leak.
You know what ?

You're the best on this planet :D <3 :handsdown:

Quote:
Originally Posted by greyb1t View Post
I just woke up, there's a memoryleak. It seems like the garbage collector is too slow for all the bitmap parsing. I'm not used to C#, damn. I'll have it fixed soon. Don't worry.

Edit --------------------------------------------------

New Update 1.07!

Changelog:
Fixed memory leak.


Signature du problème*:
Nom d’événement de problème: CLR20r3
Signature du problème 01: FlyFF AwakeBot.exe
Signature du problème 02: 1.0.0.0
Signature du problème 03: 57ccfebb
Signature du problème 04: System.Drawing
Signature du problème 05: 4.6.1055.0
Signature du problème 06: 563c0fcc
Signature du problème 07: 39
Signature du problème 08: 7f
Signature du problème 09: System.OutOfMemoryException
Version du système: 6.1.7601.2.1.0.256.48
Identificateur de paramètres régionaux: 4108
Information supplémentaire n°*1: 0a9e
Information supplémentaire n°*2: 0a9e372d3b4ad19135b953a78882e789
Information supplémentaire n°*3: 0a9e
Information supplémentaire n°*4: 0a9e372d3b4ad19135b953a78882e789



Again after 30 minutes off use. And now, crash always.

* And i've 32 Go of Ram, 22 Go of free ram.
09/05/2016 13:48 greyb1t#39
Quote:
Originally Posted by venomx96 View Post
You know what ?

You're the best on this planet :D <3 :handsdown:





Signature du problème*:
Nom d’événement de problème: CLR20r3
Signature du problème 01: FlyFF AwakeBot.exe
Signature du problème 02: 1.0.0.0
Signature du problème 03: 57ccfebb
Signature du problème 04: System.Drawing
Signature du problème 05: 4.6.1055.0
Signature du problème 06: 563c0fcc
Signature du problème 07: 39
Signature du problème 08: 7f
Signature du problème 09: System.OutOfMemoryException
Version du système: 6.1.7601.2.1.0.256.48
Identificateur de paramètres régionaux: 4108
Information supplémentaire n°*1: 0a9e
Information supplémentaire n°*2: 0a9e372d3b4ad19135b953a78882e789
Information supplémentaire n°*3: 0a9e
Information supplémentaire n°*4: 0a9e372d3b4ad19135b953a78882e789



Again after 30 minutes off use. And now, crash always.

* And i've 32 Go of Ram, 22 Go of free ram.
I'm currently in school, I'll check it out when I come home.
09/05/2016 13:49 venomx96#40
Not problem and thank you for your hard work :)
09/05/2016 15:23 betaofS2#41
Forsaken Flyff?
09/05/2016 15:51 peterfaggot#42
could you add ö ü ä letters
09/05/2016 16:52 greyb1t#43
Quote:
Originally Posted by venomx96 View Post
Not problem and thank you for your hard work :)
Quote:
Originally Posted by peterfaggot View Post
could you add ö ü ä letters
Updated 1.08!

Changelog:
Hopefully fixed the OutOfMemoryException, turns out the error was not memory. It was caused by creating a bitmap out of bounds.

@[Only registered and activated users can see links. Click Here To Register...], A swedish language pack has been added. View the thread in the config section on how to use it.

@[Only registered and activated users can see links. Click Here To Register...], Try it out now, I turns out it wasn't a memory issue. It was just C# giving the wrong error message. I may've fixed the issue, but do you remember if item you awake wasn't in that inventory spot anymore when the error occured?
09/05/2016 17:15 peterfaggot#44
Quote:
Originally Posted by greyb1t View Post
Updated 1.08!

Changelog:
Hopefully fixed the OutOfMemoryException, turns out the error was not memory. It was caused by creating a bitmap out of bounds.

@[Only registered and activated users can see links. Click Here To Register...], A swedish language pack has been added. View the thread in the config section on how to use it.

@[Only registered and activated users can see links. Click Here To Register...], Try it out now, I turns out it wasn't a memory issue. It was just C# giving the wrong error message. I may've fixed the issue, but do you remember if item you awake wasn't in that inventory spot anymore when the error occured?
ty for the fast upload but this are german letters i think they dont exist in the swedish alphabet


edit:// got this error [17:19:34] A bitmap has made an attempt to clone an invalid bitmap rectangle or not enough memory was available.
{X=0,Y=137,Width=1004,Height=1160}
[17:19:34] A bitmap has made an attempt to clone an invalid bitmap rectangle or not enough memory was available.
{X=974,Y=0,Width=30,Height=100}
09/05/2016 17:24 venomx96#45
Quote:
Originally Posted by greyb1t View Post
Updated 1.08!

Changelog:
Hopefully fixed the OutOfMemoryException, turns out the error was not memory. It was caused by creating a bitmap out of bounds.

@[Only registered and activated users can see links. Click Here To Register...], A swedish language pack has been added. View the thread in the config section on how to use it.

@[Only registered and activated users can see links. Click Here To Register...], Try it out now, I turns out it wasn't a memory issue. It was just C# giving the wrong error message. I may've fixed the issue, but do you remember if item you awake wasn't in that inventory spot anymore when the error occured?

Yes ! work good, it's a problem with the reversion cause for fashion, reversion is not needed on my server so i use it in a blank position.

Can you add a option for non-reversion awake, an option for only 1 line ?

And it's possible to add an option for give for exemple :

I want critical +15 or +17 or +19.

BUt if i choose they three possibility, the bot want only that result.

If i choose +15 or +17 or +19

[Only registered and activated users can see links. Click Here To Register...]


The bot does not stop if I have one of these 3 results.
He'll want to get the 3 results in an awakening .
It would be possible to have an option for this?


SORRY FOR MY BAD ENGLISH.

I will work it :P

If you can't understand, i use google translator for the next.