ive got it allready
but the adresslist is only for the first 30 inventarslots
function CPlayer:ScanForItem(itemid)
local item;
local anzahl;
local slot;
local gesamt = 0;
for i=0, 29 do
slot = i + 1
item = memoryReadInt(getProc(), Inv[i]);
if(item == itemid) then
anzahl = memoryReadInt ...
Search found 5 matches
- Mon Aug 31, 2009 6:05 am
- Forum: Runes of Magic
- Topic: Item Check for Dailyquests
- Replies: 16
- Views: 7207
- Mon Aug 31, 2009 4:44 am
- Forum: Runes of Magic
- Topic: Item Check for Dailyquests
- Replies: 16
- Views: 7207
Re: Item Check for Dailyquests
okay i´ve got it. here is my Code
this is the advanced killingfunction
add this to the pawn.lua like this
CPawn = class(function (self, ptr)
self.Address = ptr;
self.Name = "<UNKNOWN>";
self.Id = 0;
self.Type = PT_NONE;
self.Guild = "<UNKNOWN>";
self.Level = 1;
self.Level2 = 1;
self.HP ...
this is the advanced killingfunction
add this to the pawn.lua like this
CPawn = class(function (self, ptr)
self.Address = ptr;
self.Name = "<UNKNOWN>";
self.Id = 0;
self.Type = PT_NONE;
self.Guild = "<UNKNOWN>";
self.Level = 1;
self.Level2 = 1;
self.HP ...
- Mon Aug 31, 2009 2:57 am
- Forum: Runes of Magic
- Topic: Item Check for Dailyquests
- Replies: 16
- Views: 7207
Re: Item Check for Dailyquests
okay i have writen a working ItemInventoryscan where u can search the inventory for a itemid.
Now is my question can i write an Fightvariable for each mob?
like
fights.fungi
fights.wolfs
...
it would be better to do it with each own Variable for the Dailyquests and itemscan.
TheRedVex
care to ...
Now is my question can i write an Fightvariable for each mob?
like
fights.fungi
fights.wolfs
...
it would be better to do it with each own Variable for the Dailyquests and itemscan.
TheRedVex
care to ...
- Mon Aug 31, 2009 2:22 am
- Forum: Runes of Magic
- Topic: Item Check for Dailyquests
- Replies: 16
- Views: 7207
Re: Item Check for Dailyquests
okay i have writen a working ItemInventoryscan where u can search the inventory for a itemid.
Now is my question can i write an Fightvariable for each mob?
like
it would be better to do it with each own Variable for the Dailyquests and itemscan.
TheRedVex
Now is my question can i write an Fightvariable for each mob?
like
Code: Select all
fights.fungi
fights.wolfs
...TheRedVex
- Wed Aug 19, 2009 1:42 am
- Forum: Runes of Magic
- Topic: Item Check for Dailyquests
- Replies: 16
- Views: 7207
Item Check for Dailyquests
Can the bot handle a itemcheck? Where i have to include it?
I want to write a Waypointfile for the Dailyquests and so i need the item check for the Fungi or whe Wolfs at the Pioneers.
Would be nice if you could help me.
I want to write a Waypointfile for the Dailyquests and so i need the item check for the Fungi or whe Wolfs at the Pioneers.
Would be nice if you could help me.