Search found 37 matches

by D1mAnn
Fri Nov 04, 2011 1:15 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: Rock5's Mail Mods
Replies: 766
Views: 241499

Re: Rock5's Mail Mods

is such that mail freezes for a few seconds and a letter is sent, it is a bug on the server side, after a while continue sending letters
how best to implement repeat with a given function?
by D1mAnn
Fri Nov 04, 2011 12:41 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: Rock5's Mail Mods
Replies: 766
Views: 241499

Re: Rock5's Mail Mods

is there any verification events sending a mail or not? for example what you need to replace "????" repeat player:target_NPCA("Почтовый ящик",1500); yrest(1000); until RoMScript("MailFrame:IsVisible()") counter = 0 for __, item in pairs(inventory.BagSlot) do if item.Nam...
by D1mAnn
Thu Nov 03, 2011 4:52 am
Forum: Runes of Magic
Topic: timer
Replies: 8
Views: 1776

Re: timer

tyvm :D
by D1mAnn
Thu Nov 03, 2011 3:41 am
Forum: Runes of Magic
Topic: timer
Replies: 8
Views: 1776

Re: timer

<waypoint x="-6780" z="-3584" tag="rep"> player:target_NPC("Смущенный искатель приключений"); yrest(100); if(player.free_counter1 == 0) then player.free_counter1 = os.time(); end; timer = os.difftime(os.time(), player.free_counter1); yrest(1000); if(timer > 3...
by D1mAnn
Thu Nov 03, 2011 3:03 am
Forum: Runes of Magic
Topic: timer
Replies: 8
Views: 1776

Re: timer

<waypoints type="TRAVEL"> <onLoad> repeat zoneid = RoMScript("GetZoneID()") until zoneid if zoneid == 13 then __WPL:setWaypointIndex(__WPL:findWaypointTag("day")) end player:update(); name = "name" Account = 1; Charcount = 1; pass = 0; pass2={"pass2"...
by D1mAnn
Thu Nov 03, 2011 1:34 am
Forum: Runes of Magic
Topic: timer
Replies: 8
Views: 1776

Re: timer

lisa wrote:what else happens?

Code: Select all

	
<waypoint x="-7542" z="-3854" tag="request">
	player.free_counter1 = 0;
</waypoint>
and etc.
if the bot can not find the NPC for 5 minutes, he removes the quest and go back to take
here and so have to struggle with game bug
by D1mAnn
Thu Nov 03, 2011 12:42 am
Forum: Runes of Magic
Topic: timer
Replies: 8
Views: 1776

timer

two points <waypoint x="-6901" z="-3986"> if(player.free_counter1 == 0) then player.free_counter1 = os.time(); end; timer = os.difftime(os.time(), player.free_counter1); yrest(1000); </waypoint> <waypoint x="-6780" z="-3584" tag="rep"> player:target_...
by D1mAnn
Wed Nov 02, 2011 9:57 am
Forum: Runes of Magic
Topic: Create log file for waypoint
Replies: 26
Views: 7214

Re: Create log file for waypoint

Administrator wrote:use system() instead of os.execute(), maybe?
You do not understand
I want to exit the micromacro, I do not know what command exit them
sorry for my terrible English, I use Google translator :lol:

Code: Select all

os.exit()
thx for all))
by D1mAnn
Wed Nov 02, 2011 8:49 am
Forum: Runes of Magic
Topic: Create log file for waypoint
Replies: 26
Views: 7214

Re: Create log file for waypoint

ok, see I run the Bat file it contains @echo off START micromacro.exe scripts/rom/mail.lua in mail.lua contains the string at the end of os.execute("START micromacro.exe scripts/rom/bot.lua update profile:DF_Pr path:mail.xml") how to make the first window closes after the micromacro input ...
by D1mAnn
Wed Nov 02, 2011 2:20 am
Forum: Runes of Magic
Topic: Create log file for waypoint
Replies: 26
Views: 7214

Re: Create log file for waypoint

thank you, if you have to do so is another question, how to set the encoding of ANSI as UTF-8(utf82oem_russian)? by default it saves in ANSI
by D1mAnn
Tue Nov 01, 2011 10:07 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: Rock5's BuyFromItemShop userfunction
Replies: 123
Views: 36423

Re: Rock5's BuyFromItemShop userfunction

D1mAnn wrote:don't buy

Image

if delete this string says that is not enough space in your backpack, the backpack is free
because of this error
by D1mAnn
Tue Nov 01, 2011 9:59 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: Rock5's BuyFromItemShop userfunction
Replies: 123
Views: 36423

Re: Rock5's BuyFromItemShop userfunction

yeah this good work thx) function BuyFromItemShop(_itemGUID, _secondaryPassword, _number ) if _number == nil then _number = 1 end RoMScript("ItemMallFrame:Show()") yrest(1000) RoMScript("ItemMallFrame:Hide()") RoMScript("CheckPasswordState(); StaticPopup1EditBox:ClearFocus()...
by D1mAnn
Tue Nov 01, 2011 8:50 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: Rock5's BuyFromItemShop userfunction
Replies: 123
Views: 36423

Re: Rock5's BuyFromItemShop userfunction

need open itemshop and cut function)) function BuyFromItemShop(_itemGUID, _secondaryPassword, _number ) if _number == nil then _number = 1 end RoMScript("CheckPasswordState(); StaticPopup1EditBox:ClearFocus()") yrest(1000) if RoMScript("StaticPopup1:IsVisible()") then RoMScript(&...
by D1mAnn
Tue Nov 01, 2011 6:55 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: Rock5's BuyFromItemShop userfunction
Replies: 123
Views: 36423

Re: Rock5's BuyFromItemShop userfunction

don't buy

Image

if delete this string says that is not enough space in your backpack, the backpack is free
by D1mAnn
Tue Nov 01, 2011 5:31 am
Forum: Runes of Magic
Topic: Create log file for waypoint
Replies: 26
Views: 7214

Re: Create log file for waypoint

code from bot.lua keyboardBufferClear(); io.stdin:flush(); cprintf(cli.green, "\130\162\165\164\168\226\165 \173\174\172\165\224 \231\160\224\160 \173\160\231\168\173\160\239 \225 \170\174\226\174\224\174\163\174 \173\227\166\173\174 \174\226\175\224\160\162\171\239\226\236 \175\168\225\236\172...
by D1mAnn
Tue Nov 01, 2011 5:04 am
Forum: Runes of Magic
Topic: Create log file for waypoint
Replies: 26
Views: 7214

Re: Create log file for waypoint

I want to write the value for example on line 5 column 1 pos 1
by D1mAnn
Tue Nov 01, 2011 4:31 am
Forum: Runes of Magic
Topic: Create log file for waypoint
Replies: 26
Views: 7214

Re: Create log file for waypoint

how to specify a location in the file where you want to write it matter?
by D1mAnn
Mon Oct 31, 2011 11:21 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: Rock5's BuyFromItemShop userfunction
Replies: 123
Views: 36423

Re: Rock5's BuyFromItemShop userfunction

what is it?

Code: Select all

RoMScript("ItemMallFrame.lock=1") yrest(500)
by D1mAnn
Thu Oct 27, 2011 12:15 am
Forum: Runes of Magic
Topic: Search radius
Replies: 0
Views: 1374

Search radius

ok next question this script don't work help me, modify it is

Code: Select all

SlashCommand("if UnitName("target") == "Смущенный искатель приключений" then CastSpellByName("Атаковать") else TargetNearestFriend() end")
in the game it works
by D1mAnn
Sun Sep 25, 2011 5:10 am
Forum: Runes of Magic
Topic: Store
Replies: 5
Views: 1621

Re: Store

MiesterMan wrote:I'm pretty sure he meant the itemshop, hehe.
exactly