Re: Andor Training Range again (help request)
Posted: Thu Sep 05, 2013 8:45 am
Ah, didn't use the 1.03 Beta.. I will try it out with a character later. =) Thank you!
Best regards
Best regards
MicroMacro home
https://www.solarstrike.net/phpBB3/
Did you install #d303Fix?top1 wrote:my local language is german, the Go message is stil: "Go!!!"
But the bot isnt reacting to that do I need a special plugin?
when I use the timed start its "off" way to many times and does nothing than
Code: Select all
local args = RoMScript("getglobal('ExtraActionBarButton2'):IsVisible()")
local args2 = RoMScript("getglobal('ExtraActionBarButton3'):IsVisible()")
if(args == true)then
local textbutton2 = RoMScript("getglobal('ExtraActionBarButton2'):GetText()")
print(" Button2 :"..textbutton2.."");
end
if(args2 == true)then
local textbutton3 = RoMScript("getglobal('ExtraActionBarButton3'):GetText()")
print(" Button3 :"..textbutton3.."");
end
buffed2 = player:getBuff(622646)
if(buffed2 and buffed.Level > 0)then
......
Code: Select all
icon = GetExtraActionInfo(i);
Those two files were the reason I found this site in the first place. I was trying to extract the FDB files to get at the MP3 music files inside. Unfortunately for me, the extracted files ended up being useless garbage. I think Lisa posted a screenshot at the end of that thread showing what it looked like. I never could get the files to extract and be usable at all. But on the bright side, I discovered the fun of the RoM Bot.rock5 wrote:You need these 2 tools.
http://www.solarstrike.net/phpBB3/viewt ... 258#p22258
There are instructions there on how to use them to get the language files.
Thanks, this version (2.2) will let me play or extract any of the music files perfectly.BlubBlab wrote:You can try https://bitbucket.org/TellTod/fdb_extractor2/downloads ^^
which is newer but I must say if you browse the source code I liked the 1.X much more not only because it was written in c# instead of c++ but mainly because c++ is really hard to read if the programmer use too much syntax tricks e.g. here using the string namespace.
For file and directory comparisons I use Winmergehttp://winmerge.org which integrated in tortoisesvn and git
Code: Select all
if(whichgame == 2)then
player:updateBuffs()
local icon;
local found
local AoeBuff = player:getBuff(622646,1);
local button = 1;
repeat
icon = RoMScript("GetExtraActionInfo("..button..")");
if(icon and string.find(icon,"skill_boss_skill_42.dds") and AoeBuff)then
found = true;
break;
end
button = button + 1;
until icon == nil
if(found)then
repeat
two(button)
player:updateBuffs()
until (not player:findNearestNameOrId({106881,106882,106883,106884,106885}) or (not player:getBuff(622646,1)))
else
repeat
one(106882)
one(106882)
one(106881)
one(106883)
one(106884)
until not player:findNearestNameOrId({106881,106882,106883,106884,106885})
end
else
Code: Select all
local function two(NumExtraButton)
local turtleobj = player:findNearestNameOrId({106881,106882,106883,106884});
if(turtleobj ~= nil)then
local turtlepawn = CPawn(turtleobj.Address)
local mobcount, x, z = turtlepawn:findBestClickPoint(50, 250, false)
if(mobcount >= 3)then
RoMScript("UseExtraAction("..NumExtraButton..")")
player:aimAt({X=x, Z=z, Y=turtlepawn.Y})
player.LastSkill.AimedAt = {X=x, Z=z, Y=turtlepawn.Y}
player:clickToCast()
else
repeat
one(106882)
one(106882)
one(106881)
one(106883)
one(106884)
until not player:findNearestNameOrId({106881,106882,106883,106884,106885})
end
else
one(106885)
end
end
Code: Select all
if(inventory:itemTotalCount(241648) >= inventory:itemTotalCount(241647) or autobalance == false)then
whichgame = 1
else
whichgame = 2
requiredscore = requiredscore2;
settings.profile.options.FORCE_BETTER_AOE_TARGETING = true;
end
Code: Select all
local function two(NumExtraButton)
local turtleobj = player:findNearestNameOrId({106881,106882,106883,106884},nil, checkclicked);
Code: Select all
table: 04513510
HP: 142
Casting: false
MP: 1
Direction: -0.0028735552421709
MaxHP: 142
InParty: false
MaxRage: 0
Mounted: false
Aggressive: false
Focus: 0
Race: 4
TargetPtr: 0
Id: 106881
Alive: true
Buffs: table: 045133D0
MaxMana: 0
GUID: 23593951
Name: Schildkröte
Y: 916.70550537109
X: -61.418018341064
Z: 495.98684692383
Mana: 0
Speed: 58
Address: 1293369600
Harvesting: false
Type: 2
Level: 1
Class1: 0
LastDamage: 0
MaxMP: 1
Guild: <UNKNOWN>
DirectionY: 0
IsPet: false
Swimming: false
TargetIcon: false
MP2: 1
Lootable: false
Energy: 0
Class2: -1
MaxMP2: 1
Attackable: false
MaxFocus: 0
Rage: 0
MaxEnergy: 0
Level2: 0