Hi,
thanx a lot, this now works. Another question came up though - how do I set a count for an item with a german Umlaut?
if ( inventory:itemTotalCount("Scharfe Bärenklaue") > 4 ) then
loadPaths("baerenabgeben.xml");
I tried with \132; instead of the ä but it didn't seem to have the ...
Search found 5 matches
- Mon Nov 23, 2009 1:48 pm
- Forum: Runes of Magic
- Topic: Simple Item count problem
- Replies: 6
- Views: 1983
- Fri Nov 20, 2009 4:56 am
- Forum: Runes of Magic
- Topic: Simple Item count problem
- Replies: 6
- Views: 1983
Re: Simple Item count problem
Hi again,
hm, I still get the same failure message with
<waypoints>
<!-- # 1 --><waypoint x="-547" z="-5968">
inventory:update();
if ( inventory:itemTotalCount("Phiriusmarke") < 90 ) then
load_paths("dailypfad.xml");
else
load_paths("arkanholen.xml");
end
</waypoint>
</waypoints ...
hm, I still get the same failure message with
<waypoints>
<!-- # 1 --><waypoint x="-547" z="-5968">
inventory:update();
if ( inventory:itemTotalCount("Phiriusmarke") < 90 ) then
load_paths("dailypfad.xml");
else
load_paths("arkanholen.xml");
end
</waypoint>
</waypoints ...
- Thu Nov 19, 2009 11:41 am
- Forum: Runes of Magic
- Topic: Today's patch 19/11
- Replies: 10
- Views: 3887
Re: Today's patch 19/11
Ramenuk is right. I opened the adresses.lua and changed the following entries:
staticbase_char = 0x8FFC10,
staticbase_macro = 0x94DF08,
as dicribed above. Now it's working again. Thx for the hint...
Tarsi
staticbase_char = 0x8FFC10,
staticbase_macro = 0x94DF08,
as dicribed above. Now it's working again. Thx for the hint...
Tarsi
- Wed Nov 18, 2009 6:24 pm
- Forum: Runes of Magic
- Topic: Simple Item count problem
- Replies: 6
- Views: 1983
Re: Simple Item count problem
Ok, thanx, I will try that wicked sign of yours 
By the way, I think somebody should have a look at the Wiki if this turns out to be the problem as I copied the string from teh tutorial examples
Will report effect tomorrow...
Thanx
tarsi
By the way, I think somebody should have a look at the Wiki if this turns out to be the problem as I copied the string from teh tutorial examples
Will report effect tomorrow...
Thanx
tarsi
- Wed Nov 18, 2009 11:41 am
- Forum: Runes of Magic
- Topic: Simple Item count problem
- Replies: 6
- Views: 1983
Simple Item count problem
Hi,
I'm trying to call a waypoint file based on an item count. Here my code:
<waypoints>
<!-- # 1 --><waypoint x="-547" z="-5968">
inventory:update();
if ( inventory:itemTotalCount("Phiriusmarke") < 90 ) then
load_paths("dailypfad.xml");
else
load_paths("arkanholen.xml");
end ...
I'm trying to call a waypoint file based on an item count. Here my code:
<waypoints>
<!-- # 1 --><waypoint x="-547" z="-5968">
inventory:update();
if ( inventory:itemTotalCount("Phiriusmarke") < 90 ) then
load_paths("dailypfad.xml");
else
load_paths("arkanholen.xml");
end ...