Party Bot (questions/answers)
Re: Party Bot (questions/answers)
Hmm. I've gone as far as to
-remove all addons except d303 and ingamfuntions
-destroy hidden Runes of Magic folder in my docs
-Default all game settings
-Install fresh d303
-remove Model folder
Tomorrow I will blow this system away, and start completely from the ground up. Hopefully somewhere in that the issue is resolved for me, though it
wouldn't leave much in the way of pin pointing the initial error or flaw.
-remove all addons except d303 and ingamfuntions
-destroy hidden Runes of Magic folder in my docs
-Default all game settings
-Install fresh d303
-remove Model folder
Tomorrow I will blow this system away, and start completely from the ground up. Hopefully somewhere in that the issue is resolved for me, though it
wouldn't leave much in the way of pin pointing the initial error or flaw.
Re: Party Bot (questions/answers)
Well thats what i get for not hitting refresh before i make a post
Rock5 you nailed it.
Rock5 you nailed it.
This returned my party leads name which is 16 characters long.At the commandline try
Code:
print(memoryReadStringPtr(getProc(), addresses.partyLeader_address,0))
Re: Party Bot (questions/answers)
I thought we added something to deal with names 16 characters, I guess we didn't do it for the partleadername function.
I do remember this being a pain in the butt a while ago and took ages to work out why some had issues.
I do remember this being a pain in the butt a while ago and took ages to work out why some had issues.
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: Party Bot (questions/answers)
also once the party leader has had a name of 16 characters it stays using the address even if current leader has 4 characters.
testing this atm.
testing this atm.
Code: Select all
function getPartyLeaderName()
local name
if memoryReadInt(getProc(), addresses.partyLeader_address + 4) == 0 then
name = memoryReadStringPtr(getProc(), addresses.partyLeader_address,0)
else
name = memoryReadString(getProc(), addresses.partyLeader_address)
end
if( bot.ClientLanguage == "RU" ) then
name = utf82oem_russian(name)
else
name = utf8ToAscii_umlauts(name)
end
return name
end
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: Party Bot (questions/answers)
Except how do you deal with names that are 4 characters long. Your code will assume it's an address.
Found, partyLeader_address + 0x14 changes from 0x0F to 0x1F if it has changed to an address.Although I don't know what 0x1F means so it possible it could have other values. Maybe it's a half byte value.
Found, partyLeader_address + 0x14 changes from 0x0F to 0x1F if it has changed to an address.
Code: Select all
if memoryReadInt(getProc(), addresses.partyLeader_address + 0x14) == 0x1F then
name = memoryReadStringPtr(getProc(), addresses.partyLeader_address,0)
else
name = memoryReadString(getProc(), addresses.partyLeader_address)
end
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: Party Bot (questions/answers)
you know this conversation is feeling like a serious deja vu, even down to the 0x1F and 0x0F.
We deffinately discussed this before.
was the same thing in partymembername function, we ended up using this
the 0x1C byte value. 31 is 0x1F
We deffinately discussed this before.
was the same thing in partymembername function, we ended up using this
Code: Select all
if memoryReadRepeat("byte", getProc(), memberAddress + 0x1C) == 31 then
memberAddress = memoryReadRepeat("uint", getProc(), memberAddress + 8 )
local name = memoryReadString(getProc(), memberAddress)
if( bot.ClientLanguage == "RU" ) then
name = utf82oem_russian(name);
else
name = utf8ToAscii_umlauts(name); -- only convert umlauts
end
return name
else
local name = memoryReadString(getProc(), memberAddress + 8)
if( bot.ClientLanguage == "RU" ) then
name = utf82oem_russian(name);
else
name = utf8ToAscii_umlauts(name); -- only convert umlauts
end
return name
end
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: Party Bot (questions/answers)
so looking like this
Code: Select all
function getPartyLeaderName()
local name
if memoryReadByte(getProc(), addresses.partyLeader_address + 0x14) == 0x1F then
name = memoryReadStringPtr(getProc(), addresses.partyLeader_address,0)
else
name = memoryReadString(getProc(), addresses.partyLeader_address)
end
if( bot.ClientLanguage == "RU" ) then
name = utf82oem_russian(name);
else
name = utf8ToAscii_umlauts(name); -- only convert umlauts
end
return name
end
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: Party Bot (questions/answers)
Ok, copied to my version.
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: Party Bot (questions/answers)
Updated to 748
-Tests pass and return long character name normally.
-Party members mount/dismount with Partylead
-Partylead setting target (1) raid Icon on mobs
-party members attack and heal as they are designated to.
I seen an addition for names with Umlauts, I've been trying to reach another player
who has them in their character name. They described similar issues as me, Though I've not
been able to reach them today to suggest the update.
Thank you both very much! Fantastic work
-Tests pass and return long character name normally.
-Party members mount/dismount with Partylead
-Partylead setting target (1) raid Icon on mobs
-party members attack and heal as they are designated to.
I seen an addition for names with Umlauts, I've been trying to reach another player
who has them in their character name. They described similar issues as me, Though I've not
been able to reach them today to suggest the update.
Thank you both very much! Fantastic work
Re: Party Bot (questions/answers)
I'm pretty sure I've seen the answer to this somewhere but I can't find it anymore so I'm asking here. I want to do dod with a healer and a dps but I can't use the partyhealer script as it would just get stuck all the time and not work the way it should.
How do I make the healer heal my dps even if it's running a normal waypoint?
How do I make the healer heal my dps even if it's running a normal waypoint?
Here is my gathering waypoints: http://solarstrike.net/phpBB3/viewtopic.php?f=27&t=3603
Re: Party Bot (questions/answers)
Normal bot won't heal party members, so you would need to run it with partyhealer or maybe Rock's RBassist, which do similar things.
what do you mean get's stuck all the time?
If you mean it doesn't enter portals then check the third post this topic for your answer.
http://www.solarstrike.net/phpBB3/viewt ... 579#p44579
what do you mean get's stuck all the time?
If you mean it doesn't enter portals then check the third post this topic for your answer.
http://www.solarstrike.net/phpBB3/viewt ... 579#p44579
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: Party Bot (questions/answers)
i have the same problem with the portal it targets the portal then mm window says that is didn't find a portal then errors everything esle works fine
is there a command for the bot not to loot? because if you use it to help you heal in a instance even tho its on no follow it will run up and loot and argo mobs and try to fight back lol. its funny when it happens but then it dies and i have to make it run back.. so i guess what i am asking is can you make it so if its on no follow it won't loot until you set it to follow again?
is there a command for the bot not to loot? because if you use it to help you heal in a instance even tho its on no follow it will run up and loot and argo mobs and try to fight back lol. its funny when it happens but then it dies and i have to make it run back.. so i guess what i am asking is can you make it so if its on no follow it won't loot until you set it to follow again?
Re: Party Bot (questions/answers)
it loots according to profile options, so you just need to change the profile options for it.abron1 wrote:i have the same problem with the portal it targets the portal then mm window says that is didn't find a portal then errors everything esle works fine
is there a command for the bot not to loot? because if you use it to help you heal in a instance even tho its on no follow it will run up and loot and argo mobs and try to fight back lol. its funny when it happens but then it dies and i have to make it run back.. so i guess what i am asking is can you make it so if its on no follow it won't loot until you set it to follow again?
Again post 3 of this topic
http://www.solarstrike.net/phpBB3/viewt ... 579#p44579
type this in party chat, then set it to true when you want it to loot again.
Code: Select all
code"changeProfileOption("LOOT", false)"
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: Party Bot (questions/answers)
Code: Select all
code"GoThroughPortal()"
next question: is there a way for the party bot to heal warden pets because for some reason mine won't heal the pet at all...
Re: Party Bot (questions/answers)
Have you got the latest version of rocks userfunction?abron1 wrote:but it errors and because it says it can't find the portal.
Little more complicated to add in, at the moment it doesn't go through all objects around you to find who is in the party, it knows the names of party members and uses that. In order to heal warden pet's we would need to go through all objects which would put a bit more strain on the bot.abron1 wrote:next question: is there a way for the party bot to heal warden pets because for some reason mine won't heal the pet at all...
Or do you mean for wardens to heal their own pet's? because that wouldn't be part of partyhealer obviously as wardens arn't healers.
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: Party Bot (questions/answers)
yeah i mean for the healer to target warden pet and heal it but its ok ill figure something out or just resummon. and i do have the latest version of rocks function but ill delete it and re download and see what happens
Re: Party Bot (questions/answers)
have you got the elven prayer skill in your wardens profile?
If you have it in your wardens profile it will use it anytime your pet's HP is below 70%.
If you have it in your wardens profile it will use it anytime your pet's HP is below 70%.
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: Party Bot (questions/answers)
ok there was a mistake in the party.lua, I used a ' when I shouldn't have.
Use this 1.
Use this 1.
- Attachments
-
- party.lua
- (15.67 KiB) Downloaded 118 times
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: Party Bot (questions/answers)
ok i got your new version to late to test need to sleep before babies wake up
Re: Party Bot (questions/answers)
Lisa you didn't mention there were other changes in this file that needed to be committed so it got committed without them. The difference between this file and the committed one in 750 is just this bit of code
Sorry.
Code: Select all
if mob.MaxHP > (player.MaxHP * settings.profile.options.AUTO_ELITE_FACTOR) then
-- check if preCodeOnElite event is used in profile
if( type(settings.profile.events.preCodeOnElite) == "function" ) then
releaseKeys();
_arg1 = mob
local status,err = pcall(settings.profile.events.preCodeOnElite);
if( status == false ) then
local msg = sprintf(language[188], err);
error(msg);
end
end
end
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Who is online
Users browsing this forum: Ahrefs [Bot] and 41 guests