Search found 283 matches
- Sun Oct 23, 2016 8:58 am
- Forum: Runes of Magic
- Topic: [SOLVED] Checking Party Members health without targething them.
- Replies: 4
- Views: 3720
Re: Checking Party Members health without targething them.
No, player:findNearestNameOrId returns a table if it finds something and returns nil if it finds nothing. The problem is that I forgot that the table it returns is not a complete pawn table and does not include the HP. And that's why member.HP was always nil with the previous code. So we'll have to ...
- Sat Oct 22, 2016 10:00 am
- Forum: Userfunctions, waypoint scripts, etc.
- Topic: Arcanium Spam Waypoint
- Replies: 19
- Views: 31552
Re: Arcanium Spam Waypoint
Sounds like the same problem I just posted a solution to. Read 2 posts above your latest post and see if it solves your problem.thewatcher wrote:Hello, i have a new problem
Once I get into the arena, I have the message that the address of the player change, and the script stops
- Sat Oct 22, 2016 9:19 am
- Forum: Runes of Magic
- Topic: MAX_UNSTICK_TRIALS
- Replies: 1
- Views: 2319
Re: MAX_UNSTICK_TRIALS
You should be able to set it using the profile files. But I don't think it's there by default. Just checked my profiles and I don't see the option there. If you don't see this in your profile option, then just change it in your settings.lua file.
- Sat Oct 22, 2016 8:58 am
- Forum: Runes of Magic
- Topic: [SOLVED] Start RoMBot with specific waypoint via batch file
- Replies: 6
- Views: 5560
Re: Start RoMBot with specific waypoint via batch file
Yea, tested it just now. MM prints a different character for ß. It's probably using a different char code set, I don't know. You might have to ask MM dev to solve this. A workaround I can think of though is to edit the selectGame function in functions.lua. If this is the only char you have with umla...
- Sat Oct 22, 2016 8:32 am
- Forum: Runes of Magic
- Topic: [SOLVED] Optimisation Problem in Code
- Replies: 3
- Views: 3893
Re: Optimisation Problem in Code
Can't tell with the code you posted. Post your checkChat() code too since it can be the source of the problem.
- Sat Oct 22, 2016 8:27 am
- Forum: Runes of Magic
- Topic: [SOLVED] Checking Party Members health without targething them.
- Replies: 4
- Views: 3720
Re: Checking Party Members health without targething them.
Hmm, as far as I know, bot needs to target something before using a spell, unless of course the spell is AoE type that naturally allows casting without a target. As for your main question, functions.lua has the GetPartyMemberAddress() function. If you tweak it a bit, then you'll be able to get your ...
- Fri Oct 07, 2016 11:10 am
- Forum: Userfunctions, waypoint scripts, etc.
- Topic: Function for item details?
- Replies: 1
- Views: 2428
Re: Function for item details?
I don't think someone has written a function for this but you can easily get it with something like this:
It should print all the stats of the item in the bag slot you specified.
Code: Select all
local item = inventory.BagSlot[bagslotnumber] -- just provide the bag slot
item:update()
table.print(item.Stats)
- Fri Oct 07, 2016 11:05 am
- Forum: Runes of Magic
- Topic: has anyone figured way to change mirror buffs in waypoint?
- Replies: 3
- Views: 3456
Re: has anyone figured way to change mirror buffs in waypoint?
Hmm, you mean equipping Cenedrils? There should be a way. I might take a crack at it later when I have more free time. I'm thinking of playing the game (of course play means bot heh) for a bit anyway. Until Christmas when there's usually some great game events from the other games. Wanna be fresh an...
- Fri Oct 07, 2016 10:54 am
- Forum: Runes of Magic
- Topic: [SOLVED] Start RoMBot with specific waypoint via batch file
- Replies: 6
- Views: 5560
Re: Start RoMBot with specific waypoint via batch file
You can use "startbot.bat", it is included in ROM folder: @echo off START ../../micromacro.exe "%~dp0/bot.lua" And you need to specify the waypoint in you profile file: <option name="WAYPOINTS" value="rbassist" /> <!-- leave empty to show a list --> executing...
- Fri Oct 07, 2016 10:42 am
- Forum: Runes of Magic
- Topic: [SOLVED] Checking Target' Target
- Replies: 1
- Views: 2205
Re: Checking Target' Target
Easy way I can think of is:
targetstarget.Name would be "<UNKNOWN>" and targetstarget.Id would be 0 I think if your target has no target.
Code: Select all
player:update()
local targetstarget = player:getTarget():getTarget()
- Fri Oct 07, 2016 10:39 am
- Forum: Runes of Magic
- Topic: Use Warlock/mage on same party than main
- Replies: 2
- Views: 2676
Re: Use Warlock/mage on same party than main
Not entirely sure what you want to do. If you just want to use the skills. Then you just have to put it in your profile.
If you want to cast it during boss fights. Best to do it in the onPreSkillCast or onSkillCast, or preCodeOnElite (this is for buffing before fight I think).
If you want to cast it during boss fights. Best to do it in the onPreSkillCast or onSkillCast, or preCodeOnElite (this is for buffing before fight I think).
- Fri Oct 07, 2016 10:30 am
- Forum: Runes of Magic
- Topic: problem with druid antidote
- Replies: 4
- Views: 3649
Re: problem with druid antidote
Nah, the problem is with your code. Not with countplayers. if (player.Class1 or player.Class2 == CLASS_DRUID) and (not player:hasBuff("Corrosion")) then Every class combo or even without a combo will fulfill your condition since all of them have player.Class1. It should be written like thi...
- Fri Oct 07, 2016 10:26 am
- Forum: Runes of Magic
- Topic: [SOLVED] Monitor Party Chat Twice
- Replies: 4
- Views: 4095
Re: [REQUEST] Monitor Party Chat Twice
Just checked and there's no checkeventparty function, at least in my bot folders. Is it something you wrote? If it is, you'll have to post it here as it might be the reason for the error. party.lua has checkEventParty, notice the uppercases.
- Thu Sep 08, 2016 11:01 am
- Forum: Userfunctions, waypoint scripts, etc.
- Topic: arcanium
- Replies: 1
- Views: 2487
Re: arcanium
Solution posted here.
- Thu Sep 08, 2016 10:57 am
- Forum: Userfunctions, waypoint scripts, etc.
- Topic: Arcanium Spam Waypoint
- Replies: 19
- Views: 31552
Re: Arcanium Spam Waypoint
Ok, so I tried running AA, and although I wasn't sure it will hang for me as well, it did. So I investigated the cause by putting prints on player:update(), and I think I found out what's causing the hang. It's indeed caused by player:update() and not the wp's or userfunction's codes. Function playe...
- Thu Sep 08, 2016 10:27 am
- Forum: Runes of Magic
- Topic: rom bot Runes of magic
- Replies: 31
- Views: 14864
Re: rom bot Runes of magic
Actually, you can download older versions from github, the links are just not obvious. Anyway, @Lastochka, I suggest you just install TortoiseSVN . It's much faster if you end up having to try a lot of versions. If you are running a version without an item shop bank, then according to the logs I rea...
- Thu Sep 08, 2016 9:01 am
- Forum: Runes of Magic
- Topic: [RoM] Transmutor, bag gifts, looting problems
- Replies: 3
- Views: 2884
Re: [RoM] Transmutor, bag gifts, looting problems
I think you have to use the profile l1-10 to make the bot auto-open and level up skills.
Never bothered with low level areas though besides the elf starting area so I'm not really sure.
Never bothered with low level areas though besides the elf starting area so I'm not really sure.
- Thu Sep 08, 2016 8:57 am
- Forum: Runes of Magic
- Topic: Arcanium arena
- Replies: 8
- Views: 6570
Re: Arcanium arena
I was going to lead you to a post I made earlier about possible solutions to hanging problems thinking it's probably an isolated case, but when I was looking for that post in the userfunctions section, there's also a post there about hanging after a new patch. So I went to US forums to check out the...
- Mon Aug 08, 2016 5:42 am
- Forum: Userfunctions, waypoint scripts, etc.
- Topic: Cenedril
- Replies: 3
- Views: 4567
Re: Cenedril
It should be pretty easy to convert the Element_Fuser wp found here into a Cenedril_Fuser wp. You just have to change the table and edit a couple numbers. I'm not keen on getting and organizing all the IDs, because according to this wiki page , there's a ton of them so I'll just leave it to the inte...
- Mon Aug 08, 2016 4:54 am
- Forum: Userfunctions, waypoint scripts, etc.
- Topic: Mirror wp samples. ver 5
- Replies: 20
- Views: 32036
Re: Mirror wp samples. ver 5
Easiest way I can think of is to just use a timed function to constantly check if you're on the loading screen or you're in Varanas. IIRC, when I checked out the Mirrorworld instances before, I remember relogging forced you to teleport back to the shards exchange NPC in Varanas. So, anyway, you can ...