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

For the good soul's with free time

netorod

New Member
Joined
Nov 23, 2014
Messages
59
Reaction score
1
Hello guys, since i can't find some stuffs, or when i find it's completly broken (whish i had knowlodge to fix by my self and share)

I have a couple of asks, if some1 can do that.

First is a mining plugin. I managed to change the existent here, cuz he was trying to mine the Veins from the quest, so i changed it, buuut, he don't mining fortune vein
here is the code, already with my change. Karls tried to help me (and i really apreciaty) but still need something
using System; using System.Drawing; using System.Threading; using System.Coll - Pastebin.com

Second, is possible to some1 make a simple plugin to Abolisher? Almost all plugins i see, don't use nothing from battlerage, only mages and more mages '-'

Well, probably almost all will think "Just another forum leach". But no, i'm not here to leach, i'm here to ask for support
I tryed, everybody can see how many time i'm part of this community and if i'm posting something, is cuz i can't do by my self.

Well, i think is that, really thanks guys.

PS: Sorry my ugly english!
 
I think the new hassla grind has something like this, checked that out? :)
 
Use DoodadObject.phaseId property and LINQ
Code:
//Vein phaseId.
public uint   IronVeinId = 3054;//Iron Vein
public uint[] FortunaVeinIds = { 3056, 17071, 17118, 17119, 17120, 17121, 17122, 17123, 17124, 17125, 17126, 22367 }; //fortuna vein
public uint   RemnantVeinId = 17070;//Remnant Vein 

//Example get All
public IEnumerable<DoodadObject> GetAllVein()
{
   return getDoodads().Where(w => (w.phaseId == IronVeinId || FortunaVeinIds.Contains(w.phaseId)));
}
//Example get fortuna veins
public IEnumerable<DoodadObject> GetFortunaVein()
{
   return getDoodads().Where(w => FortunaVeinIds.Contains(w.phaseId));
}
//Example Iron Vein
public IEnumerable<DoodadObject> GetIronVein()
{
   return getDoodads().Where(w => (w.phaseId == IronVeinId));
}
each "Fortuna Vien" phaseId is already known the result of mining. :cool:
 
Last edited:
Back
Top