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

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Custom Itemfilter - goal of plugin to use animate guardian/weapon

WhereIsMyMind

Member
Joined
Oct 12, 2013
Messages
848
Sup,

For the lols i'm prepared to bash my head against a plugin for the animate guardian gem.
for this I need to get the plugin hooked at item pickup time.

Now I do not want to overwrite the current default itemfilter implementation, I'd wanting a simple standalone evaluation of the times being pickedup and then logic it for animation.

so.. how do I interface 'at pick' and before stashing?

wimm
 
Heyas,

there are two loot item tasks. one in a fixed radius near the character, and a second without a distance limit
to be checking after both, I believe you should insert your task before MergeInventoryTask

this is checking after the items are picked up, so you may need to cache the inventory from the last time you checked it, so it doesn't constantly see the same item as a new one that was picked up ;)
 
Heyas,

there are two loot item tasks. one in a fixed radius near the character, and a second without a distance limit
to be checking after both, I believe you should insert your task before MergeInventoryTask

this is checking after the items are picked up, so you may need to cache the inventory from the last time you checked it, so it doesn't constantly see the same item as a new one that was picked up ;)

Hi, i was searching the forum for some answer to few problems i have coding my new project, when i spotted this thread that answer all at once, but is to much pseudocode for me (i'm a noob developer learning on the way of fun.)

Pls, can someone clarify " insert your task before MergeInventoryTask" with a code exemple?

Also i'm reading right now to learn how to Cache Objects, and i see System.Runtime.Caching support for ObjectCache (got a cuple exemple on stackoverflow.com). I'm i on the right path or should i use a different way to Cache Items while writing my plugins?... is it possible to have 2,3 line of code exemple to get me on the way?

I can write the logic no problem but i'm still learning coding tools as i encounter them...not really efficient, but actualy working..

Tnx and really hope to get some help, i'm falling in love with this bot..
 
Hi, i was searching the forum for some answer to few problems i have coding my new project, when i spotted this thread that answer all at once, but is to much pseudocode for me (i'm a noob developer learning on the way of fun.)

Pls, can someone clarify " insert your task before MergeInventoryTask" with a code exemple?

Also i'm reading right now to learn how to Cache Objects, and i see System.Runtime.Caching support for ObjectCache (got a cuple exemple on stackoverflow.com). I'm i on the right path or should i use a different way to Cache Items while writing my plugins?... is it possible to have 2,3 line of code exemple to get me on the way?

I can write the logic no problem but i'm still learning coding tools as i encounter them...not really efficient, but actualy working..

Tnx and really hope to get some help, i'm falling in love with this bot..

Addbefore(yourtask, "MergeInventoryTask")
 
Tnx friend, really appreciated.
Pls can you confirm ObjectCache is the way to go, also?

/hat
 
Tnx friend, really appreciated.
Pls can you confirm ObjectCache is the way to go, also?

/hat

Just use local varsn you have a good example in the ExampleRoutine (search bestTarget). And you check things using those cached values.
 
>Addbefore(yourtask, "MergeInventoryTask")
Should be AddBefore(yourtask, "MergeInventoryTask")

:p

I am finally working on this.

wimm
 
Back
Top