What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

[Plugin] CommunityLib

Status
Not open for further replies.

toNyx

Well-Known Member
Joined
Oct 29, 2011
Messages
3,770
Reaction score
35
Overview

This plugin has been made by the whole community devs for exilebuddy, recent events scared lot of people, even more those botting for profit...
They heard us ! They gave us time !

Pushedx announced that upcoming changes would break the plugins, we were used to it before, but this time it was different, he dropped a real bomb !
Most plugins got rekt by the new Exilebuddy, the time it takes to update our plugins was too long, we were stealing each others code snippets, improved them, and finally went with the idea of :

A COMMUNITY LIB !

I know you're in front of you screen and are like "Vat iz dat ?"

Explanations

It's a set of Methods/Functions/Data that will help developers to organize their code, based on generic calls. You are missing those awesome coroutines from OGB because it went open-source? No worries, CommunityLib has them ! (and optimized, please ! Kappa)

Note that this is not an all-in-one logic spreader, it has generic Basic & Advanced functions, not the whole behavior to have a full task working.

Some examples of what you can do with it :
Code:
- Go to first/last tab of your stash
- Find a tab containing an item (by name and condition !)
- Use items (orbs or whatever) on items in your main inventory
- Find items in main inventory (in a single readable line !)
- FastMove from any inventory ! (Stash, SellPanel, whatever.. everything)
- An optimized ClearCursorTask
- A Generic execute() method to call other plugins !
... And much more to discover !

Some of these possibilities even handle Retries, as parameter.

To make this community bigger and diversified, we need a way to reduce downtimes (we heard that before, in another world that is no more... KappaClaus) for EVERY plugins, don't forget this plugin will be on github, you'll be able to report issues, talk about fixes, request snippets to be integrated...

Most of the plugins are already built on this library, AdvancedItemFilter, FlaskHelper and StashBuddy for example.
This means that if Exilebuddy or OGB cause minor breaks from the Lib, every plugin should be up as soon as the lib is fixed ! FUTURE IS HERE BOYS ! (jk, the code isn't that awesome)

Credits
Everyone, fuck this shit don't have time to write it all fine.

Todo:
Code:
Let Us Know !


Frequently Asked Questions:

Q - How do I install it ?
A - Plugin is compatible with 3rdparty loader, just unzip the content into your "3rdparty" folder, should be it ;)

Q - My bot don't start after installing, I get a Message in a box with an information icon, how do I fix diz ?
A - Simply follow the instructions, it should be asking you to restart your bot, do eet and everything will be fine !

Q - How do I use diz awezome bunch of code lines ?
A - Follow those instructions : Linking project files - Album on Imgur

Q - Where can I follow the live updates from the team on this plugin ?
A - You can find the repo here : GitHub - EBDevGroup/CommunityLib (don't laugh, we're not used to git... zZz)
 

Attachments

Last edited:
Hmm getting this error atm maybe need a fresh install.

[ThirdPartyLoader] Cannot load [CommunityLib] because an exception occurred [Access to the path 'CommunityLib.dll' is denied.].
System.UnauthorizedAccessException: Access to the path 'CommunityLib.dll' is denied.
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at Loki.Bot.ThirdPartyLoader.*‪*‫​‫*******‪‬*‎**‏‫​​****(Dictionary`2 , String )
 
Hmm getting this error atm maybe need a fresh install.

[ThirdPartyLoader] Cannot load [CommunityLib] because an exception occurred [Access to the path 'CommunityLib.dll' is denied.].
System.UnauthorizedAccessException: Access to the path 'CommunityLib.dll' is denied.
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at Loki.Bot.ThirdPartyLoader.*‪*‫​‫*******‪‬*‎**‏‫​​****(Dictionary`2 , String )

Screen me your 3rdparty folder, something may be derping
 
P8xEjjI.png
 
It might be related to user rights, start the bot as admin to see if it fixes it.

Very strange i tried running as admin and same error then i restarted pc tried as admin again and its working now.

Will let you know if any issues occur running the bot but all looks good now.

Cheers for your hardwork!
 
This plugin should be stickied, because it's somewhat mandatory and base for other plugins
 
This plugin should be stickied, because it's somewhat mandatory and base for other plugins

Most of the plugins thread mention that it's mandatory to have it, if people can't read we can't help, no plugins for this :(
 
Would help if this had version though, because it's kinda hard to see that it was even updated, because you need to make notice when was the last time you downloaded it and check this thread every hour just too see if the OP was updated =)
 
Would help if this had version though, because it's kinda hard to see that it was even updated, because you need to make notice when was the last time you downloaded it and check this thread every hour just too see if the OP was updated =)

Yep, this will come once it's stable ;)
 
v0.0.0.2 is out, be sure to update !

// EDIT //

CommunityLib now have a GUI, for those having long-ass caching times, enter the tab names (1 per line) you only wanna cache (especially currency/recipes tabs) to process faster.
 
Last edited:
Download disabled for an issue :))))))

// EDIT //

Back on track, should work properly now ;)
 
Last edited:
New build is up, some security/performances fixes
 
[OpenInventoryPanel] The InventoryUi is not opened. Now opening it.
[ReactionWait] Now sleeping 293 ms.
[LatencyWait] Now sleeping 196 ms.
[EquipPlugin-QualityEquipTask] Applying Blacksmith's Whetstone on Vagan's Flaying Knife of Piercing[Actual quality:0]
[LatencyWait] Now sleeping 193 ms.
[CommunityLib] Failed to use item on item. Error: Unsupported
[CloseBlockingWindows] LokiPoe.Gui.IsLeftPanelShown || LokiPoe.Gui.IsRightPanelShown. Closing them.
[LatencyWait] Now sleeping 193 ms.
 
[OpenInventoryPanel] The InventoryUi is not opened. Now opening it.
[ReactionWait] Now sleeping 293 ms.
[LatencyWait] Now sleeping 196 ms.
[EquipPlugin-QualityEquipTask] Applying Blacksmith's Whetstone on Vagan's Flaying Knife of Piercing[Actual quality:0]
[LatencyWait] Now sleeping 193 ms.
[CommunityLib] Failed to use item on item. Error: Unsupported
[CloseBlockingWindows] LokiPoe.Gui.IsLeftPanelShown || LokiPoe.Gui.IsRightPanelShown. Closing them.
[LatencyWait] Now sleeping 193 ms.

API restriction, disable it (the quality function of equipplugin, not comlib)
 
Last edited:
Yes, it's intentional. No public nor remove-only tabs.
 
Status
Not open for further replies.
Back
Top