Search found 9 matches

by acrata
Thu Jul 24, 2014 10:27 pm
Forum: Runes of Magic
Topic: Can't enter new instance with model enabled
Replies: 6
Views: 2823

Re: Can't enter new instance with model enabled

remove those files from your model folder:
-model\dungeon\hall_of_the_ancients\act_ward_wall.ros
-model\dungeon\hall_of_the_ancients\ward_wall.ros

that worked for me at least
by acrata
Thu Jul 25, 2013 10:23 pm
Forum: Runes of Magic
Topic: monitoring errors ?
Replies: 1
Views: 909

monitoring errors ?

Hi, i want to know if there is a way to monitoring ingame error messages for example "invalid target or target is too far".
by acrata
Fri May 17, 2013 6:59 pm
Forum: Runes of Magic
Topic: check if player is online?
Replies: 3
Views: 1335

Re: check if player is online?

<?xml version="1.0" encoding="utf-8"?><waypoints>
<!-- # 1 --><waypoint x="-10064" z="-7273" y="888"> </waypoint>
<!-- # 2 --><waypoint x="-9908" z="-7132" y="842"> </waypoint>
<!-- # 3 --><waypoint x="-9710" z="-7318" y="836"> </waypoint>
<!-- # 4 --><waypoint x="-9570" z="-7488" y="867 ...
by acrata
Fri May 17, 2013 1:50 am
Forum: Runes of Magic
Topic: check if player is online?
Replies: 3
Views: 1335

check if player is online?

hello, I want to know if there is a function or any way to check if bot is online, because when I am using bot and my connection fails player is disconnected to the main screen and bot doesn't give any error.
Please excuse my poor English.
by acrata
Tue Apr 30, 2013 5:19 am
Forum: Runes of Magic
Topic: userfunction to addon ?
Replies: 10
Views: 4083

Re: userfunction to addon ?

Your getting closer.
if resourcenames == text then compares a table with a text. You have to compare the text names within the table to "text". So something like
for k,v in pairs(resourcenames) do
if v == text then
Donate(i)
break -- item donated so break
end
end
It finally works !! :D ...
by acrata
Tue Apr 30, 2013 4:31 am
Forum: Runes of Magic
Topic: userfunction to addon ?
Replies: 10
Views: 4083

Re: userfunction to addon ?

I'm having troubles with the table.

When I use this code addon is not working.
function Donate(i)
PickupBagItem(i)
GCB_GetContributionItem(n)
if CursorHasItem() then
PickupBagItem(i)
else
GCB_OnOK()
end
end

function Donatemats()
local resourcenames = {TEXT("Sys206591_name"),TEXT ...
by acrata
Mon Apr 29, 2013 12:40 pm
Forum: Runes of Magic
Topic: userfunction to addon ?
Replies: 10
Views: 4083

Re: userfunction to addon ?

I almost done the addon, but i dont know how to donate only some items
addon.lua
function Donatemats()
if not CursorHasItem() then
local id
for i = 1, 240 do
id = Linkitem(GetBagItemLink(i))
PickupBagItem(i)
GCB_GetContributionItem(n)
if CursorHasItem() then
PickupBagItem(i)
else
GCB_OnOK ...
by acrata
Fri Apr 26, 2013 3:54 pm
Forum: Runes of Magic
Topic: userfunction to addon ?
Replies: 10
Views: 4083

Re: userfunction to addon ?

Thanks for the answers.

If you can help creating the addon i will be very grateful.
I'm just trying to make a function like GuildDonateItems userfunction.

function GuildDonateBagID(bagid) --this part should work good--
local i=bagid
PickupBagItem(i)
GCB_GetContributionItem(n)
if ...
by acrata
Fri Apr 26, 2013 3:21 am
Forum: Runes of Magic
Topic: userfunction to addon ?
Replies: 10
Views: 4083

userfunction to addon ?

hello
I want to convert this into an addon. I tried creating a folder and a .toc file, but when I run GuildDonateItems function in game got this error: [string "?"]:20: attempt to index global 'inventory' (a nil value)
Is possible convert that function? and if it is possible, what I should do ...