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!

Buff ID's

bangbangbaby

New Member
Joined
Aug 7, 2015
Messages
11
Does anyone know how to get the Buff Id for Dahuta's Bubble?
I tried Dumpy but it freezes EVERY time and the coding to retrieve Buffs isn't working.. (or I don't know how to use it)

Any help would be great thanks!
 
PHP:
using System;
using System.Drawing;
using System.Windows.Forms;
using System.Threading;
using System.Collections.Generic;
using System.Linq;
using ArcheBuddy.Bot.Classes;

namespace DefaultNameSpace{
   public class DefaultClass : Core
   {
       public static string GetPluginAuthor()
       {
           return "TariTenshi";
       }

       public static string GetPluginVersion()
       {
           return "1.0.0.0";
       }

       public static string GetPluginDescription()
       {
           return "Will list all buffs into the Log from the plugin";
       }

       //Call on plugin start
       public void PluginRun()
       {                           
           
           foreach (var buff in sqlCore.sqlBuffs)
            {
                Log(string.Format("id: {0} name: {1}", buff.Value.id, buff.Value.name));
                Thread.Sleep(25);
            }
            Thread.Sleep(25);
        }
       //Call on plugin stop
       public void PluginStop()
       {
       }
   }
}

If you only want to get the buffs your char have:

PHP:
List<Buff> buffs = me.getBuffs();
                foreach (Buff buff in buffs)

                {       
                   Log("Buff Name: " buff.name + " buffID: " + buff.id);
                 }
 
If you only want to get the buffs your char have:

PHP:
List<Buff> buffs = me.getBuffs();
                foreach (Buff buff in buffs)

                {       
                   Log("Buff Name: " buff.name + " buffID: " + buff.id);
                 }

This one doesn't work =/ The other one is good, it's giving me Id's but for EVERYTHING in the game haha :P
 
Thanks so much!

I combined it with some other code I found and it worked!


using System;
using System.Drawing;
using System.Windows.Forms;
using System.Threading;
using System.Collections.Generic;
using System.Linq;
using ArcheBuddy.Bot.Classes;

namespace DefaultNameSpace{
public class DefaultClass : Core
{
public static string GetPluginAuthor()
{
return "TariTenshi";
}

public static string GetPluginVersion()
{
return "1.0.0.0";
}

public static string GetPluginDescription()
{
return "Will list all buffs into the Log from the plugin";
}


public void PluginRun()
{


foreach(var buff in me.getBuffs())
{
Log(string.Format("id:{0} name:{1}",buff.id,buff.name));
}
Thread.Sleep(25);
}


public void PluginStop()
{
}
}
}

Will give you ALL the buffs you have on :)
 
Manza is using the same code. The only thing that is better he filtered already unused buff id's. But on the other hand I don't like it very much because it's not copy and paste friendly listed.
The 2nd code I wrote here was just written on my smartphone so I wasn't much suprised that it didn't worked.
But as you can see the basic idea already helped bangbangbaby so he can find easy the buffs his char has right now.
In my opinion it's sometimes easier to list the buffs your char has instead of searching the whole database.
 
I don't like it very much because it's not copy and paste friendly listed

You are right, I'll change it in 2 minutes (and list will be updated at night).

I don't paste it as friendly-copy-paste because you can just search on my pastebin's link using CNTRL+F, but some users maybe would like to copy my code and do some changes so, I'll update it to friendly-copy-paste.

Thanks!
 
You are right, I'll change it in 2 minutes (and list will be updated at night).

I don't paste it as friendly-copy-paste because you can just search on my pastebin's link using CNTRL+F, but some users maybe would like to copy my code and do some changes so, I'll update it to friendly-copy-paste.

Thanks!

I will give you an example:
Buff ID: 25342
Buff Name:
This is a stupid buff

With an listing like this it's copy and paste friendly. Why?
You are able to double left click the buff id to select it and then press ctrl + c to copy it and ctrl + v to paste it somewhere.
And you are able to tripple left click the buff name to copy and paste it too.
 
Back
Top