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!

Slot Machine

Try This:

Code:
using System;
using System.Windows;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Buddy.BehaviorTree;
using Buddy.Swtor;
using Buddy.Common.Plugins;
using Buddy.Swtor.Objects;
using Action = System.Action;

namespace Buddywing.Plugins
{
    public class TheLuck : IPlugin
    {

        public string Author { get { return "Jon310 - Edited by CryoGenesis"; } }
        public Version Version { get { return new Version(0, 2); } }
        public string Name { get { return "The Luck"; } }
        public string Description { get { return "Gambles on the Smuggler's & Kingpin's Luck Machines and Contraband Slot Machine"; } }
        public Window DisplayWindow { get { return null; } }

        public void OnPulse()
        {
            var Luck = ObjectManager.GetObjects<TorObject>().OrderBy(t => t.Distance).FirstOrDefault(t => t.Name == "Smuggler's Luck");
            var Bounty = ObjectManager.GetObjects<TorObject>().OrderBy(t => t.Distance).FirstOrDefault(t => t.Name == "Kingpin's Bounty");
			var Contraband = ObjectManager.GetObjects<TorObject>().OrderBy(t => t.Distance).FirstOrDefault(t => t.Name == "Contraband Slot Machine");
            // Don't run in combat.
            if (BuddyTor.Me.InCombat)
                return;

            if (Luck != null && Luck.Distance < 5) Luck.Interact();
            if (Bounty != null && Bounty.Distance < 5) Bounty.Interact();
			if (Contraband != null && Contraband.Distance < 5) Contraband.Interact();
        }


        /// <summary> Executes the initialize action. This is called at initial bot startup. (When the bot itself is started, not when Start() is called) </summary>
        public void OnInitialize()
        {
        }

        /// <summary> Executes the shutdown action. This is called when the bot is shutting down. (Not when Stop() is called) </summary>
        public void OnShutdown()
        {
        }

        /// <summary> Executes the enabled action. This is called when the user has enabled this specific plugin via the GUI. </summary>
        public void OnEnabled()
        {
        }

        /// <summary> Executes the disabled action. This is called whent he user has disabled this specific plugin via the GUI. </summary>
        public void OnDisabled()
        {
        }

        public bool Equals(IPlugin other)
        {
            return other.Name == Name;
        }
    }
}
Save it or update TheLuck.cs inside the plugins.
Buy enough credits, set your toon besides the slot machine and have fun.
 
ok tryed with defaultcombat and w/o defaultcombat with unpure and i cant make it working i am on flagship and i am close to mashine

Code:
[16:15:02.397 N] Starting Buddy Wing v1.0.1137.552
[16:15:03.460 N] Logging in...
[16:15:03.790 N] T: 5247255371462392664 H: 3394542376
[16:15:03.790 N] Login Success!
[16:15:04.871 D] First CPU: Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
[16:15:04.872 D] OS Version: Windows NT 6.2.9200.0

[16:15:04.966 D] Current build number: 1002031
[16:15:04.980 D] Loading client.gom..
[16:15:05.032 D] Loaded client.gom!
[16:15:05.299 D] Took 235ms to get the nodes list.
[16:15:05.299 D] There are 13064 nodes.
[16:15:05.299 D] DomList has 13184/98317
[16:15:05.331 D] _BaseClient handled.
[16:15:05.331 D] utlStaticDefinitions handled.
[16:15:05.348 D] strOracle handled.
[16:15:05.348 D] chrOracle handled.
[16:15:05.348 D] qstOracle handled.
[16:15:05.348 D] spnOracle handled.
[16:15:05.348 D] ablOracle handled.
[16:15:05.349 D] cnvOracle handled.
[16:15:05.349 D] ctlOracle handled.
[16:15:05.349 D] _InputHandler handled.
[16:15:05.349 D] mapOracle handled.
[16:15:05.349 D] scSpaceCombatOracle handled.
[16:15:05.349 D] gmOracle handled.
[16:15:05.349 D] Debug Draw Oracle added.
[16:15:05.349 D] dbgDrawOracle handled.
[16:15:05.355 D] ablTrainerOracle handled.
[16:15:05.355 D] prfOracle handled.
[16:15:05.357 D] guiApiGfx handled.
[16:15:05.380 D] Adding input layer ctlInputCamera - 3BA105CD
[16:15:05.380 D] sysInputLayer handled.
[16:15:05.381 D] Adding input layer ctlInputMouse - 3BA105DA
[16:15:05.381 D] sysInputLayer handled.
[16:15:05.381 D] Adding input layer ctlInputMovement - 3BA105DE
[16:15:05.381 D] sysInputLayer handled.
[16:15:05.381 D] Adding input layer ctlInputVehicle - 3BA105F3
[16:15:05.382 D] sysInputLayer handled.
[16:15:05.382 D] Adding input layer ctlInputTargetting - 3BA10602
[16:15:05.382 D] sysInputLayer handled.
[16:15:05.382 D] Adding input layer ctlInputGame - 3BA10625
[16:15:05.383 D] sysInputLayer handled.
[16:15:05.385 D] Adding input layer ctlInputUI - 3BA10684
[16:15:05.385 D] sysInputLayer handled.
[16:15:05.386 D] Adding input layer ctlInputConvo - 3BA106B7
[16:15:05.386 D] sysInputLayer handled.
[16:15:05.386 D] Adding input layer ctlInputCharacterSelection - 3BA106C9
[16:15:05.386 D] sysInputLayer handled.
[16:15:05.386 D] Adding input layer ctlInputCreditsScreen - 3BA106CF
[16:15:05.386 D] sysInputLayer handled.
[16:15:05.386 D] Adding input layer ctlInputUtility - 3BA106D1
[16:15:05.386 D] sysInputLayer handled.
[16:15:05.387 D] Adding input layer ctlInputLoadingScreen - 3BA106DC
[16:15:05.387 D] sysInputLayer handled.
[16:15:05.387 D] Adding input layer ctlInputMacroBinoculars - 3BA106DE
[16:15:05.387 D] sysInputLayer handled.
[16:15:05.387 D] Adding input layer ctlInputSCFFVehicle - 3BA106EA
[16:15:05.387 D] sysInputLayer handled.
[16:15:05.599 D] Took 300ms to process the node list
[16:15:06.072 N] User is a Knight
[16:15:06.091 N] Advanced Class: Guardian / Discipline: Vigilance
[16:15:06.091 V] Routine Path: Routines
[16:15:06.797 D] Reloading AssemblyLoader<Buddy.CommonBot.ICombat> - Initializing
[16:15:07.882 D] Reloading AssemblyLoader<Buddy.CommonBot.ICombat> - RoutineManager.Reload !THROTTLED!
[16:15:07.882 D] Routines were reloaded. New routine list:
[16:15:07.882 D] Pure Rotation v0.0.0.0
[16:15:07.882 D] Unpure Rotation v0.0.0.0
[16:15:07.931 N] LazyRaider Disabling Loot Targeting
[16:15:07.931 N] LazyRaider Disabling Mounting
[16:15:07.931 N] LazyRaider Disabling Movement
[16:15:07.931 N] LazyRaider Disabling Targeting
[16:15:07.931 N] LazyRaider Disabling Repop
[16:15:07.932 D] Replaced hook [RepopCorpse] 9c16a2f7-2349-449e-a5a1-752a8f633ca6
[16:15:07.948 N] [Hot Key][F7] Toggle AOE
[16:15:07.948 N] [Hot Key][F8] Load UI
[16:15:07.948 N] [Hot Key][F12] Set Tank
[16:15:07.948 N] [Hot Key][F9] Toggle Pause
[16:15:07.948 N] Initialize Behaviors
[16:15:07.949 N] RebuildBehaviors called.
[16:15:07.949 D] Replaced hook [RepopCorpse] 2b86e64d-442d-41c1-937c-6dad9794e495
[16:15:07.949 D] Replaced hook [RepopCorpse] 963e279b-072c-43ee-abec-a6333a7714c2
[16:15:08.035 N] Medpac  Created!
[16:15:08.059 N]  Using Guardian Vigilance by alltrueist rotation based on Character Spec 
[16:15:08.103 D] Replaced hook [TreeStart] f4e870e9-280b-454c-a5f8-71c06d930d0d
[16:15:08.103 N] Rebuild Complete.
[16:15:08.103 N] Chose Pure Rotation as your combat routine.
[16:15:08.103 N] LazyRaider Disabling Loot Targeting
[16:15:08.103 N] LazyRaider Disabling Mounting
[16:15:08.103 N] LazyRaider Disabling Movement
[16:15:08.103 N] LazyRaider Disabling Targeting
[16:15:08.103 N] LazyRaider Disabling Repop
[16:15:08.103 D] Replaced hook [RepopCorpse] 79ca9606-6cc1-4ef3-985b-3803ed9cc9b6
[16:15:08.103 N] [Hot Key][F7] Toggle AOE
[16:15:08.103 N] [Hot Key][F8] Load UI
[16:15:08.103 N] [Hot Key][F12] Set Tank
[16:15:08.103 N] [Hot Key][F9] Toggle Pause
[16:15:08.103 N] Initialize Behaviors
[16:15:08.103 N] RebuildBehaviors called.
[16:15:08.103 D] Replaced hook [RepopCorpse] 2ec24c81-cd71-457c-8fea-d7affa384b07
[16:15:08.103 D] Replaced hook [TreeStart] 8eaf549e-00b5-4c93-805d-4ba4fce71377
[16:15:08.103 D] Replaced hook [RepopCorpse] 8175d2f8-aea0-481f-bab4-7cf52b713afa
[16:15:08.171 N]  Using Guardian Vigilance by alltrueist rotation based on Character Spec 
[16:15:08.184 D] Replaced hook [TreeStart] 5e9a59f4-412d-4f3d-95f1-acc76385a960
[16:15:08.184 N] Rebuild Complete.
[16:15:08.201 D] Reloading AssemblyLoader<Buddy.Common.Plugins.IPlugin> - Initializing
[16:15:09.372 D] Initializing Auto-Equip
[16:15:09.673 D] Initializing The Luck
[16:15:09.674 D] There are 2 plugins.
[16:15:09.828 N] Current bot set to Combat Bot
[16:15:09.834 N] Loaded profile 
[16:15:09.839 N] Sell quality set to Premium.
[16:15:09.847 N] Buddy Wing: The Old Robot is ready!
[16:15:20.433 D] Start/Stop Button Clicked!
[16:15:20.433 D] Forcing profile reload. -- Temporary fix for behavior cache issues during start/stop.
[16:15:20.600 N] Current bot set to Combat Bot
[16:15:20.602 N] Loaded profile 
[16:15:20.602 D] Starting bot Combat Bot
[16:15:20.619 D] Added new hook [Pull] 9b35780a-f1c6-4091-ae8c-22a98b0cd0de
[16:15:20.619 D] Added new hook [RoutineCombat] 9b35780a-f1c6-4091-ae8c-22a98b0cd0de
[16:15:20.634 D] Added new hook [Combat_OOC] 6ee43535-5ece-471c-93f4-10f657a0d143
[16:15:20.634 D] Added new hook [Combat_Pull] 9b35780a-f1c6-4091-ae8c-22a98b0cd0de
[16:15:20.634 D] Added new hook [Combat_Combat] 9b35780a-f1c6-4091-ae8c-22a98b0cd0de
[16:15:20.634 D] Replaced hook [TreeStart] 7d112d98-d315-4a7b-90f6-d6715d430317
[16:15:20.636 D] Spooling up bot thread.
[16:15:20.636 D] Bot thread started.
[16:15:36.072 D] Start/Stop Button Clicked!
[16:15:36.073 N] Reason: 
[16:15:36.173 D] Sleeping while waiting on execution state to be available for BotMain.Stop()
[16:15:36.242 N] Bot Thread Ended. Was this requested?
[16:15:36.274 D] Sleeping while waiting on execution state to be available for BotMain.Stop()
[16:15:38.188 D] We slept way too long waiting for the bot thread to give control back. Aborting thread. Client may crash!
[16:15:38.190 V] [Poi.Clear] Reason: Bot Stopped

maybe problem is i am on flagship and ship is on rishi ?
 
Last edited:
I used 99 tokens and got these results:

13 scrap jawa junk (purple)
17 scrap assorted droid parts (blue)
12 scrap scavenged scrap (green)
2 cartel certificates
a ton of cartel rep items (I didn't keep track since I was using them as I got them, but enough to take me from outsider to friend)

This actually equates to more than 99 spins, because you get free tokens a lot.
 
Try This:

Code:
using System;
using System.Windows;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Buddy.BehaviorTree;
using Buddy.Swtor;
using Buddy.Common.Plugins;
using Buddy.Swtor.Objects;
using Action = System.Action;

namespace Buddywing.Plugins
{
    public class TheLuck : IPlugin
    {

        public string Author { get { return "Jon310 - Edited by CryoGenesis"; } }
        public Version Version { get { return new Version(0, 2); } }
        public string Name { get { return "The Luck"; } }
        public string Description { get { return "Gambles on the Smuggler's & Kingpin's Luck Machines and Contraband Slot Machine"; } }
        public Window DisplayWindow { get { return null; } }

        public void OnPulse()
        {
            var Luck = ObjectManager.GetObjects<TorObject>().OrderBy(t => t.Distance).FirstOrDefault(t => t.Name == "Smuggler's Luck");
            var Bounty = ObjectManager.GetObjects<TorObject>().OrderBy(t => t.Distance).FirstOrDefault(t => t.Name == "Kingpin's Bounty");
			var Contraband = ObjectManager.GetObjects<TorObject>().OrderBy(t => t.Distance).FirstOrDefault(t => t.Name == "Contraband Slot Machine");
            // Don't run in combat.
            if (BuddyTor.Me.InCombat)
                return;

            if (Luck != null && Luck.Distance < 5) Luck.Interact();
            if (Bounty != null && Bounty.Distance < 5) Bounty.Interact();
			if (Contraband != null && Contraband.Distance < 5) Contraband.Interact();
        }


        /// <summary> Executes the initialize action. This is called at initial bot startup. (When the bot itself is started, not when Start() is called) </summary>
        public void OnInitialize()
        {
        }

        /// <summary> Executes the shutdown action. This is called when the bot is shutting down. (Not when Stop() is called) </summary>
        public void OnShutdown()
        {
        }

        /// <summary> Executes the enabled action. This is called when the user has enabled this specific plugin via the GUI. </summary>
        public void OnEnabled()
        {
        }

        /// <summary> Executes the disabled action. This is called whent he user has disabled this specific plugin via the GUI. </summary>
        public void OnDisabled()
        {
        }

        public bool Equals(IPlugin other)
        {
            return other.Name == Name;
        }
    }
}
Save it or update TheLuck.cs inside the plugins.
Buy enough credits, set your toon besides the slot machine and have fun.


The correct name is "Contraband Cartel Slot Machine" but even after fixing that, the plugin didn't work :(
 
alltrueist where did you try ? i try only on flagship and didn't worked , i change name too Contraband Cartel Slot Machine
but i cant find anyone on Nar or Coruscant to try on this 2 planets
 
alltrueist where did you try ? i try only on flagship and didn't worked , i change name too Contraband Cartel Slot Machine
but i cant find anyone on Nar or Coruscant to try on this 2 planets

I used a friend's stronghold. I don't have the slot machine myself, so you have to find someone who has it in their stronghold.
 
yes i know but maybe flagship is buget for plugin thats why i am asking :) i cant find atm Nar or Coruscant to try
 
Try This:

Code:
using System;
using System.Windows;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Buddy.BehaviorTree;
using Buddy.Swtor;
using Buddy.Common.Plugins;
using Buddy.Swtor.Objects;
using Action = System.Action;

namespace Buddywing.Plugins
{
    public class TheLuck : IPlugin
    {

        public string Author { get { return "Jon310 - Edited by CryoGenesis"; } }
        public Version Version { get { return new Version(0, 2); } }
        public string Name { get { return "The Luck"; } }
        public string Description { get { return "Gambles on the Smuggler's & Kingpin's Luck Machines and Contraband Slot Machine"; } }
        public Window DisplayWindow { get { return null; } }

        public void OnPulse()
        {
            var Luck = ObjectManager.GetObjects<TorPlaceable>().OrderBy(t => t.Distance).FirstOrDefault(t => t.Name == "Smuggler's Luck");
            var Bounty = ObjectManager.GetObjects<TorPlaceable>().OrderBy(t => t.Distance).FirstOrDefault(t => t.Name == "Kingpin's Bounty");
			var Contraband = ObjectManager.GetObjects<TorPlaceable>().OrderBy(t => t.Distance).FirstOrDefault(t => t.Name == "Contraband Cartel Slot Machine");
            // Don't run in combat.
            if (BuddyTor.Me.InCombat)
                return;

            if (Luck != null && Luck.Distance < 5) Luck.Interact();
            if (Bounty != null && Bounty.Distance < 5) Bounty.Interact();
			if (Contraband != null && Contraband.Distance < 5) Contraband.Interact();
        }


        /// <summary> Executes the initialize action. This is called at initial bot startup. (When the bot itself is started, not when Start() is called) </summary>
        public void OnInitialize()
        {
        }

        /// <summary> Executes the shutdown action. This is called when the bot is shutting down. (Not when Stop() is called) </summary>
        public void OnShutdown()
        {
        }

        /// <summary> Executes the enabled action. This is called when the user has enabled this specific plugin via the GUI. </summary>
        public void OnEnabled()
        {
        }

        /// <summary> Executes the disabled action. This is called whent he user has disabled this specific plugin via the GUI. </summary>
        public void OnDisabled()
        {
        }

        public bool Equals(IPlugin other)
        {
            return other.Name == Name;
        }
    }
}

try this one...
i noticed some... hickups with torobject and torplaceable...
 
umm nope at least not working on flagship


Code:
Starting Buddy Wing v1.0.1137.552
Logging in...
T: 5247255605936845592 H: 2041797434
Login Success!
First CPU: Intel(R) Core(TM) i5 CPU         750  @ 2.67GHz
OS Version: Windows NT 6.1.7601 Service Pack 1
App Path: C:\_BW\Buddywing.exe
Current build number: 1002031
Loading client.gom..
Loaded client.gom!
Took 98ms to get the nodes list.
There are 14759 nodes.
DomList has 15196/49157
spnOracle handled.
ablOracle handled.
cnvOracle handled.
ctlOracle handled.
_InputHandler handled.
mapOracle handled.
scSpaceCombatOracle handled.
gmOracle handled.
Debug Draw Oracle added.
dbgDrawOracle handled.
guiApiGfx handled.
Adding input layer ctlInputCamera - 3BA879AF
sysInputLayer handled.
Adding input layer ctlInputMouse - 3BA879BC
sysInputLayer handled.
Adding input layer ctlInputMovement - 3BA879C0
sysInputLayer handled.
Adding input layer ctlInputVehicle - 3BA879D5
sysInputLayer handled.
Adding input layer ctlInputTargetting - 3BA879E4
sysInputLayer handled.
Adding input layer ctlInputGame - 3BA87A07
sysInputLayer handled.
Adding input layer ctlInputUI - 3BA87A66
sysInputLayer handled.
Adding input layer ctlInputConvo - 3BA87A99
sysInputLayer handled.
Adding input layer ctlInputCharacterSelection - 3BA87AAB
sysInputLayer handled.
Adding input layer ctlInputCreditsScreen - 3BA87AB1
sysInputLayer handled.
Adding input layer ctlInputUtility - 3BA87AB3
sysInputLayer handled.
Adding input layer ctlInputLoadingScreen - 3BA87ABE
sysInputLayer handled.
Adding input layer ctlInputMacroBinoculars - 3BA87AC0
sysInputLayer handled.
Adding input layer ctlInputSCFFVehicle - 3BA87ACC
sysInputLayer handled.
ablTrainerOracle handled.
prfOracle handled.
_BaseClient handled.
utlStaticDefinitions handled.
strOracle handled.
chrOracle handled.
qstOracle handled.
Took 228ms to process the node list
User is a BountyHunter
Advanced Class: Powertech / Discipline: ShieldTech
Routine Path: Routines
Reloading AssemblyLoader<Buddy.CommonBot.ICombat> - Initializing
Medpac  Created!
Reloading AssemblyLoader<Buddy.CommonBot.ICombat> - RoutineManager.Reload !THROTTLED!
Routines were reloaded. New routine list:
DefaultCombat v0.0.0.0
Pure Rotation v0.0.0.0
Unpure Rotation v0.0.0.0
[DefaultCombat] Level: 15
[DefaultCombat] Class: BountyHunter
[DefaultCombat] Advanced Class: Powertech
[DefaultCombat] Discipline: ShieldTech
[DefaultCombat] [Hot Key][F7] Toggle AOE
[DefaultCombat] [Hot Key][F8] Load UI
[DefaultCombat] [Hot Key][F12] Set Tank
[DefaultCombat] Rotation Selected : PowerTech Shieldtech
Chose DefaultCombat as your combat routine.
[DefaultCombat] Level: 15
[DefaultCombat] Class: BountyHunter
[DefaultCombat] Advanced Class: Powertech
[DefaultCombat] Discipline: ShieldTech
[DefaultCombat] [Hot Key][F7] Toggle AOE
[DefaultCombat] [Hot Key][F8] Load UI
[DefaultCombat] [Hot Key][F12] Set Tank
[DefaultCombat] Rotation Selected : PowerTech Shieldtech
Reloading AssemblyLoader<Buddy.Common.Plugins.IPlugin> - Initializing
Initializing The Luck
There are 1 plugins.
Current bot set to Combat Bot
Loaded profile 
Sell quality set to Premium.
Buddy Wing: The Old Robot is ready!
LazyRaider Disabling Loot Targeting
LazyRaider Disabling Mounting
LazyRaider Disabling Movement
LazyRaider Disabling Targeting
LazyRaider Disabling Repop
Replaced hook [RepopCorpse] f020cd8c-f6e3-44c2-8b26-3e2a404f9d37
[Hot Key][F7] Toggle AOE
[Hot Key][F8] Load UI
[Hot Key][F12] Set Tank
[Hot Key][F9] Toggle Pause
Initialize Behaviors
RebuildBehaviors called.
Replaced hook [RepopCorpse] 221ded94-84f1-40a8-8233-f85d408f9b86
Replaced hook [RepopCorpse] bf238754-ada8-42e5-b26c-82c7324aeb57
Medpac  Created!
 Using Shield Tech by Ama rotation based on Character Spec 
Replaced hook [TreeStart] fcae59cb-a898-477f-b436-f6536e52229c
Rebuild Complete.
Start/Stop Button Clicked!
Forcing profile reload. -- Temporary fix for behavior cache issues during start/stop.
Current bot set to Combat Bot
Loaded profile 
Starting bot Combat Bot
Added new hook [Pull] 69690fe9-334a-4413-8d8e-6c4598390bb0
Added new hook [RoutineCombat] 69690fe9-334a-4413-8d8e-6c4598390bb0
Added new hook [Combat_OOC] d0d1e61a-01a3-4835-b662-8102477ad9ea
Added new hook [Combat_Pull] 69690fe9-334a-4413-8d8e-6c4598390bb0
Added new hook [Combat_Combat] 69690fe9-334a-4413-8d8e-6c4598390bb0
Replaced hook [TreeStart] e8066ed1-a54a-4c42-b221-a6e5b490ce43
Spooling up bot thread.
Bot thread started.

tried different routines on, but nothing
 
hmmm, then i think the name is different under the hood, then tooltip shows us.
This addon ran fine with the summer edition.
Sadly i cannot check this... as im on holiday next week and dont have someone with that machine.
 
Anyone know a autoclicker that works with swtor? I tried so many but no one works i remember i had one that worked in the last nightlife event but forgot the name
 
Back
Top