Looting bot idea.
Re: Looting bot idea.
And sorry im a lil newbie at the forum, i search Code form to post next time
Re: Looting bot idea.
Had a look into the code for GetPartyMemberAddress and it uses findnearesatnameorid which we deffinately don't want in this case, I just assumed it got it from memory. Since the other party member has zoned elsewhere then using findnearesatnameorid won't find them.
I'll look into it and get back to you all with a working solution.
I'll look into it and get back to you all with a working solution.
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: Looting bot idea.
Code: Select all
<onLoad>
while(true) do
repeat
player:update();
partyleader = GetPartyMemberAddress(1)
if partyleader ~= nil then partyleaderaddress = partyleader end
player:lootAll();
RoMScript("FollowUnit('party1');");
player:update();
until partyleader == nil
repeat
keyboardHold(settings.hotkeys.MOVE_FORWARD.key)
yrest(1000);
keyboardRelease(settings.hotkeys.MOVE_FORWARD.key)
waitForLoadingScreen(5)
until partyleaderaddress ~= nil
end
</onLoad>
I didn't test any looting though, since no one said loot didn't work I'll assume it does.
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: Looting bot idea.
As ive tested it works nicely...
Many many thx for help
Many many thx for help
Re: Looting bot idea.
Another lil problem
If i want to farm an instance, i need to break party, and reparty for instance reset...
It means that loosing leader addresses and coords...
And after the reparty (at the same new party) leaderinfo will be other...Then playeraddress will be nil again....and not changing...and assist char going to the whole world
Mybe i need to restart macro at every reparty, or can be easier solution ?
thy
If i want to farm an instance, i need to break party, and reparty for instance reset...
It means that loosing leader addresses and coords...
And after the reparty (at the same new party) leaderinfo will be other...Then playeraddress will be nil again....and not changing...and assist char going to the whole world
Mybe i need to restart macro at every reparty, or can be easier solution ?
thy
Re: Looting bot idea.
depends on how you do the party invites and accepts, also how you leave the instance. Do you exit via portal or do you leaveparty which teleports you outside to the resurection point?
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: Looting bot idea.
Autoaccept party via groupinvite addon , and ported out from instance's entrance via portal, not to the ressurrection point (Its too far)... and there leave party till now, but if possible any command to kick members would be better for not 1 assist char....Mybe 2,3
Re: Looting bot idea.
kicking party members isn't hard aslong as you are party leader.
If you are going to be using more then 2 followers then I suguest doing it properly using party bot and coding it accordingly. It would mean using icons as indicators for certain tasks like leaving instances and waiting for invites.
Couple of topics already about such things. I think kanta had the last topic but I don't think his issue was resolved, from memory it was the same issue you had here because of the function using the findnearestnameorid. since we know that now it can be easily fixed =)
Do a search and have a read.
Code: Select all
local partyNames={}
for i = 1, 5 do
if GetPartyMemberName(i) then
table.insert(partyNames,i + 1, GetPartyMemberName(i))
end
for k,v in pairs(partyNames) do
RoMScript('KickGroupMember("..v..")')
end
Couple of topics already about such things. I think kanta had the last topic but I don't think his issue was resolved, from memory it was the same issue you had here because of the function using the findnearestnameorid. since we know that now it can be easily fixed =)
Do a search and have a read.
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: Looting bot idea.
Ty for solving kick problem, its clear now to me.
I can do it i think with only 1 romscript in the leader's waypoint (kicking 1by1 by name), cause he has full static orders, nothing automatication...He has following orders step by step, he has an owersecured "screenplay"
But i never programmed "partybot" u speak about...i can handle only the following chars one by one macro. What U helped me, its working fine until the party breaking, cause then it lost the addresses and coords, and have a new one. Thats why i need to restart bot in a new party again, and then works fine...at actual round inm actual party.
So now the partyaccpeting solved (but im not sure that autoinvite addon is the best for more ppl) , cannot be another solution at the followers's waypoint file to waiting the leaders partyinvite ? and resetting the addresses and counters? Then could be the followers macro going continously (im not so competent, only an idea )
But this new party ideas are not clear to me...ive read many topics here about this things, but its not clear so much Im nub
If U have any closer idea or code to me about this problem, ill be happy
If U think, and it could help i can attach the main codes and the full folowers codes to U.
Many thx again
I can do it i think with only 1 romscript in the leader's waypoint (kicking 1by1 by name), cause he has full static orders, nothing automatication...He has following orders step by step, he has an owersecured "screenplay"
But i never programmed "partybot" u speak about...i can handle only the following chars one by one macro. What U helped me, its working fine until the party breaking, cause then it lost the addresses and coords, and have a new one. Thats why i need to restart bot in a new party again, and then works fine...at actual round inm actual party.
So now the partyaccpeting solved (but im not sure that autoinvite addon is the best for more ppl) , cannot be another solution at the followers's waypoint file to waiting the leaders partyinvite ? and resetting the addresses and counters? Then could be the followers macro going continously (im not so competent, only an idea )
But this new party ideas are not clear to me...ive read many topics here about this things, but its not clear so much Im nub
If U have any closer idea or code to me about this problem, ill be happy
If U think, and it could help i can attach the main codes and the full folowers codes to U.
Many thx again
Re: Looting bot idea.
Any news about my "following" problem ?
Re: Looting bot idea.
I'll do some more work on party botting next week, busy this weekend.
I'll try to set it up so it's easy to use and understand. When I added in party bot functionality into bot a while back it was just the foundation work so people could implement their own ideas and I hoped it would evolve from there. In the end I'll probably just end up doing it myself lol
I'll try to set it up so it's easy to use and understand. When I added in party bot functionality into bot a while back it was just the foundation work so people could implement their own ideas and I hoped it would evolve from there. In the end I'll probably just end up doing it myself lol
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: Looting bot idea.
Any success about partybot till last post ?
Or any other idea to this follow solution ?
Or any other idea to this follow solution ?
Re: Looting bot idea.
Sorry had lots on my plate, including fixinf an issue which basically made it imposible for me to test some code. I atleast sorted that out now.
Of course there was the patch that came out and lots of real life stuff, it is still on my to do list, amongst other things =)
Of course there was the patch that came out and lots of real life stuff, it is still on my to do list, amongst other things =)
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
Who is online
Users browsing this forum: Bing [Bot] and 2 guests