You can probably use the AskPlayerInfo(player) Lua call to get the information you need.
-IY
Search found 4 matches
- Wed Feb 17, 2016 7:07 am
- Forum: Runes of Magic
- Topic: Code for Search for friends if they are online or not
- Replies: 1
- Views: 1358
- Wed Dec 09, 2015 12:24 pm
- Forum: Runes of Magic
- Topic: function playalarm(_adjust) add more sounds.
- Replies: 2
- Views: 1610
Re: function playalarm(_adjust) add more sounds.
To be compatible we just need to check for optional argument, something like the following.
-iyfgf
function playalarm(_adjust, _sound)
-- usage
-- playalarm() -- default volume
-- playalarm(10) -- a little louder then default
-- playalarm(-10) -- a little softer then default, max of -20 ...
-iyfgf
function playalarm(_adjust, _sound)
-- usage
-- playalarm() -- default volume
-- playalarm(10) -- a little louder then default
-- playalarm(-10) -- a little softer then default, max of -20 ...
- Sun Nov 29, 2015 3:13 am
- Forum: Userfunctions, waypoint scripts, etc.
- Topic: Wander waypoints
- Replies: 1
- Views: 2888
Wander waypoints
Usually the bot wander aimlessly (randomly) around when it' is going in wander mode, I have modified it to go for next mob within our wander radius if any.
Otherwise the functionality is as before.
Attached is a new version of classes/waypointlist_wander.lua
Best regard
Iyfgf
Update:
Turns out ...
Otherwise the functionality is as before.
Attached is a new version of classes/waypointlist_wander.lua
Best regard
Iyfgf
Update:
Turns out ...
- Sat Sep 12, 2015 8:03 am
- Forum: Userfunctions, waypoint scripts, etc.
- Topic: Memory decomposition of skills
- Replies: 0
- Views: 11897
Memory decomposition of skills
For those that are interested, attached is a script to read out skills from memory.
For testing try one of the following:
s = FindSkill(id)
PrintSkill(s)
-or-
s = FindSkill(id)
DumpTableEntry(s)
-or-
PrintMySkills()
Ex:
Command> s = FindSkill(491142)
Command> PrintSkill(s)
Skill name ...
For testing try one of the following:
s = FindSkill(id)
PrintSkill(s)
-or-
s = FindSkill(id)
DumpTableEntry(s)
-or-
PrintMySkills()
Ex:
Command> s = FindSkill(491142)
Command> PrintSkill(s)
Skill name ...