Page 6 of 10

Re: Official new patch topic 4.0.1

Posted: Wed Jul 27, 2011 4:36 pm
by botje
btw, lisa implemented use of phirius potions, but they dont get used O.o

another strange thing, i use a pet, just a simple egg thingy, but when he gets in a fight, bot starts acting very strange, tries to get to waypoints out of reach etcetera.

Botje

Re: Official new patch topic 4.0.1

Posted: Wed Jul 27, 2011 5:46 pm
by kanta
Never mind this post. It was fixed while I was at work.

Re: Official new patch topic 4.0.1

Posted: Wed Jul 27, 2011 8:16 pm
by rock5
Blackt3ars wrote:Updated to Rev 628 got Player.Lua Error

On Line 3482

'=' expected near '=='
Oops, sorry. :oops:

Re: Official new patch topic 4.0.1

Posted: Wed Jul 27, 2011 8:28 pm
by Bojer
Ok after this latest revision I have an issue with Party.lua .... when I load up partyhealer option for a waypoint "No information can be found for any party member" now.

Re: Official new patch topic 4.0.1

Posted: Wed Jul 27, 2011 8:55 pm
by rock5
nokirk wrote:has anybody already found the new addresses of

Code: Select all

craftingCountPtr
and

Code: Select all

craftingCount_offset
? They are used in craftitem userfunction and don't work atm.
I've updated the address in the userfunction.
http://www.solarstrike.net/phpBB3/viewt ... 272#p20272

You can download it or just change the address to 0xA1E730.

Re: Official new patch topic 4.0.1

Posted: Wed Jul 27, 2011 9:24 pm
by lisa
Bojer wrote:Ok after this latest revision I have an issue with Party.lua .... when I load up partyhealer option for a waypoint "No information can be found for any party member" now.

Code: Select all

partyMemberList_address = 0x9E6F38
hasn't been updated with a new address, it still has address from 4.0.0 seems it got missed.

Re: Official new patch topic 4.0.1

Posted: Wed Jul 27, 2011 9:28 pm
by Bojer
lisa wrote:
Bojer wrote:Ok after this latest revision I have an issue with Party.lua .... when I load up partyhealer option for a waypoint "No information can be found for any party member" now.

Code: Select all

partyMemberList_address = 0x9E6F38
hasn't been updated with a new address, it still has address from 4.0.0 seems it got missed.
I figured it was something like that.

Re: Official new patch topic 4.0.1

Posted: Wed Jul 27, 2011 9:31 pm
by ricardito
Hi, hows all.- I updated the bot and get this error on player.lua

Line 2579: Invalid Addres.... ideas?

Re: Official new patch topic 4.0.1

Posted: Wed Jul 27, 2011 10:24 pm
by rock5
lisa wrote:

Code: Select all

partyMemberList_address = 0x9E6F38
hasn't been updated with a new address, it still has address from 4.0.0 seems it got missed.
Forgot about that one. I couldn't find it for some reason. Maybe I'll give it another go.

Re: Official new patch topic 4.0.1

Posted: Wed Jul 27, 2011 10:30 pm
by lisa
yeah I always struggled on finding this address, not sure why. I can't find the instructions I wrote out for it last patch either =(

Re: Official new patch topic 4.0.1

Posted: Wed Jul 27, 2011 11:55 pm
by rock5
I think I've found it but it's completely changed
Base 9E6CFC
offset 0,14
size 1C

I'll see if I can get the bot working with these values.

Re: Official new patch topic 4.0.1

Posted: Thu Jul 28, 2011 1:28 am
by rock5
Looks like I've been confusing myself. I've been looking for the party guids because that's the comment on my CE pointer but it's supposed to yeild their name.

Starting again.

Re: Official new patch topic 4.0.1

Posted: Thu Jul 28, 2011 3:13 am
by rock5
Ok partyMemberList_address = 0x9E8F90. I'll just look around to see if there is anything else I can quickly fix before committing.

Edit: Committed in rev 630.

Re: Official new patch topic 4.0.1

Posted: Thu Jul 28, 2011 3:53 am
by SpiralV
I wrote a romscript-version not very long ago

Code: Select all

function GetPartyMemberName(_number)
	local function updatePM()
		PMTable = {}
		local numPM = RoMScript("GetNumPartyMembers()")
		if numPM > 0 then
			for i=1,numPM do
				local name = RoMScript("GetPartyMember("..i..")")
				table.insert(PMTable,i, name);
			end	
		end
		updatetimerPM = os.time()
	end
	--refresh partymembersTable every 30 seconds
	if not PMTable or (os.difftime(os.time(), updatetimerPM ) > 30) then updatePM() end
	return PMTable[_number]
end

function GetPartyMemberAddress(_number)
	return player:findNearestNameOrId(GetPartyMemberName(_number))
end
and yes there are 2 globals ^^
edit: name is local

Re: Official new patch topic 4.0.1

Posted: Thu Jul 28, 2011 4:24 am
by lisa
I've always thought it was funny we use the name to get the address but for everything else we use the address to give us the name(+ anything else)

Re: Official new patch topic 4.0.1

Posted: Thu Jul 28, 2011 4:32 am
by whome
nassekova wrote:Same problem still remains even with the newest millersranch.xml . Manually i can take as many of those feedbags and they work but when bot tries it errors every now and then and it ruins the whole macro.

EDIT: Seems that the version with optimized and speedhack works fine so i will be using it instead. Thanks anyways :)
Is there anyway to turn off the speed hack?

Cancel!, took time to read the actual xml file and saw I can change speed.... soz :oops:

Re: Official new patch topic 4.0.1

Posted: Thu Jul 28, 2011 5:21 am
by lisa
botje wrote:btw, lisa implemented use of phirius potions, but they dont get used O.o
Botje
Fixed in 631

Code: Select all

MACRO: Using HP potion 8667/25790 (33%): Phirius Potion - Type B (qty 25)

Re: Official new patch topic 4.0.1

Posted: Thu Jul 28, 2011 6:10 am
by Mushroomstamp
lisa wrote:adding swimhack here with updated addresses.
This crashed my client... old one seems to work fine.

Re: Official new patch topic 4.0.1

Posted: Thu Jul 28, 2011 6:27 am
by lisa
Hmm all I did was update the addresses.
The swimhack before patch shouldn't work at all. addresses have changed.

Make sure you move or delete the old addon_ or it will conflict with the new userfunction_

userfunction_gmmonitor.lua:47: attempt to call field 'contai

Posted: Thu Jul 28, 2011 8:41 am
by Edamh
I wasn't sure if this should be posted here or the GMdetect thread since GMdetect seemed to work fine until 4.0.1. But I ran a bot overnight, and I woke up to a dead char. Sometime during the night, the bot encountered the following error, and exited to shell:

Code: Select all

...scripts/rom/userfunctions/userfunction_gmmonitor.lua:47: attempt to call fiel
d 'contains' (a nil value)
I've been updating so many things (v628, v629, userfunctions, etc.) that I'm not sure exactly where am I in terms of revisions of which files. Anyone else see this?