Search found 45 matches

by master121
Mon Oct 19, 2009 12:28 pm
Forum: Runes of Magic
Topic: Bot restarter
Replies: 2
Views: 2215

Bot restarter

I made a little script in AutoIT which can :
- Restart RoM when disconnected
- Restart the bot if there is an error
-- Works only for single botting
If there are enough requests i will add:
- Multi botting
-individual sleeptimes

So you don´t have to worry about the bot when you are afk :)

Please ...
by master121
Sun Oct 11, 2009 7:49 am
Forum: Runes of Magic
Topic: convert_utf8_ascii error
Replies: 4
Views: 2326

Re: convert_utf8_ascii error

function convert_utf8_ascii_character( _str, _ascii ) and function convert_utf8_ascii( _str ) are in there.
I think d003232 gave me the functions.
by master121
Sun Oct 11, 2009 4:58 am
Forum: Runes of Magic
Topic: convert_utf8_ascii error
Replies: 4
Views: 2326

convert_utf8_ascii error


unction convert_utf8_ascii_character( _str, _ascii )
local found;
local tmp = database.utf8_ascii[_ascii];
_str, found = string.gsub(_str, string.char(tmp.utf8_1, tmp.utf8_2), string.char(tmp.ascii) );
return _str, found;
end
function convert_utf8_ascii( _str )
local found, found_all;
found ...
by master121
Fri Oct 02, 2009 7:41 am
Forum: Runes of Magic
Topic: Function doesn´t work
Replies: 6
Views: 3210

Re: Function doesn´t work

Hmm maybe an addon is blocking that function...

Now i use BrithRevive();
I use revision 316 that is the latest isn´t it ?
Thanks
by master121
Thu Oct 01, 2009 9:15 am
Forum: Runes of Magic
Topic: Function doesn´t work
Replies: 6
Views: 3210

Function doesn´t work

The function
/script AcceptResurrect()
doesnt work anymore ingame....
by master121
Thu Sep 17, 2009 7:02 am
Forum: Runes of Magic
Topic: Unsticking player
Replies: 7
Views: 3179

Unsticking player

Since the chapter 2 update is out i get this error with the bot:
Unsticking player......

But there are no obstacles or sth else...
The bot just stops and then comes the message.
by master121
Tue Sep 08, 2009 8:04 am
Forum: Runes of Magic
Topic: RoM bot
Replies: 2213
Views: 1819554

Re: RoM bot

Somehow the functions doesn´t work.

local acount = CInventory:getAmmunitionCount();

gets me this error:
inventory.lua:110 bad argument #1 to "pairs" (table expected , got nil)
by master121
Fri Sep 04, 2009 6:49 am
Forum: Runes of Magic
Topic: Check if is string
Replies: 1
Views: 1677

Check if is string

How can i check if a variable is a string or a number etc ?
by master121
Wed Sep 02, 2009 10:37 am
Forum: Runes of Magic
Topic: Useful macros
Replies: 17
Views: 9528

Re: Useful macros

This macro is for when your throwing weapons are low....

local count = RoMScript('GetInventoryItemCount("player",9)');
if( count > 20 ) then

else
load_paths("repair.xml");
end


This macro is for when your potions are low
itemName = "Regenerationsmixtur" // this is the name of your potion ...
by master121
Wed Sep 02, 2009 8:36 am
Forum: Runes of Magic
Topic: Umlauts
Replies: 8
Views: 3696

Re: Umlauts

I want to use this code :

Code: Select all

itemName = "Beutel mit verbesserten Wurf\132xten"
for k = 1, 60, 1 do
    local bagid, icon, name, itemCount = RoMScript("GetBagItemInfo("..k..");");
    if (itemName == name) then
       itemTotal = itemTotal + itemCount;
    end
end
by master121
Wed Sep 02, 2009 7:22 am
Forum: Runes of Magic
Topic: Umlauts
Replies: 8
Views: 3696

Umlauts

Is there a way to use umlauts ??
MicroMacro doesn´t like the ä in this code...

itemName = "Beutel mit verbesserten Wurfäxten"
by master121
Wed Sep 02, 2009 6:54 am
Forum: Runes of Magic
Topic: Item Check for Dailyquests
Replies: 16
Views: 6940

Re: Item Check for Dailyquests

It works with memoryReadUByte()
Thanks champ ;)
by master121
Tue Sep 01, 2009 10:15 am
Forum: Runes of Magic
Topic: Item Check for Dailyquests
Replies: 16
Views: 6940

Re: Item Check for Dailyquests


for k = 1, 60, 1 do
local bagid, icon, name, itemCount = RoMScript("GetBagItemInfo(" .. k .. ");");
end

With loop :
byte = plenty of numbers with a negative number at the end
Without loop
byte = plenty of numbers WITHOUT a negative number at the end

// So it has to do something with the ...
by master121
Tue Sep 01, 2009 9:54 am
Forum: Runes of Magic
Topic: Item Check for Dailyquests
Replies: 16
Views: 6940

Re: Item Check for Dailyquests

I get this error:
functions.lua:371 bad argument #1 to 'char' (invalid value)
by master121
Tue Sep 01, 2009 9:37 am
Forum: Runes of Magic
Topic: Error
Replies: 1
Views: 1490

Error

Im getting a new error with revision 200
settings.lua:177 invalid option '%:' to 'format'
by master121
Tue Sep 01, 2009 8:07 am
Forum: Runes of Magic
Topic: Item Check for Dailyquests
Replies: 16
Views: 6940

Re: Item Check for Dailyquests

ItemCount function doesn´t work
Tried this :

for k = 1, 60 , 1 do
local bagid, icon, name, itemCount = RoMScript("GetBagItemInfo(k);");
end

MicroMacro writes this into the RoM macro :: a={GetBagItemInfo(k);}
So the coders must find a way to write what the variable holds instead of writing the ...
by master121
Tue Sep 01, 2009 7:24 am
Forum: Runes of Magic
Topic: New Functions
Replies: 3
Views: 2253

Re: New Functions

Ahh okay atm i use this ....

local durability, durabilityMax = RoMScript("GetInventoryItemDurable('player', 15);");
a = durability/durabilityMax;
if( a < 0.99 ) then
printf("low")
end

but i get an error with this Oo
if( a < 0.99 )

okay got it :
Seems micromacro has a problem with "<" ...

if ...
by master121
Tue Sep 01, 2009 7:07 am
Forum: Runes of Magic
Topic: New Functions
Replies: 3
Views: 2253

New Functions

I would like to know how i can use the new functions in my waypoints.
Like Inventory:getMainHandDurability() but this doesn´t work.
And i recommend to make a threat in which the new functions are explained
by master121
Mon Aug 31, 2009 7:10 am
Forum: Runes of Magic
Topic: New function: RoMScript
Replies: 15
Views: 6212

Re: New function: RoMScript

droppen you are a god for me :D
The other coders did great work with improving this function , too ;)
by master121
Fri Aug 28, 2009 8:12 am
Forum: Runes of Magic
Topic: RoM bot
Replies: 2213
Views: 1819554

Re: RoM bot

When the bot targets an enemy and this enemy runs away the bot begins to chase it and when the bot gets aggro from other mobs it keeps chasing the enemy that runs away.
I think you should do an aggro check while chasing and if it has aggro the bot should stop chasing and begin to attack the mob that ...