using MM to pass information to addon?

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Message
Author
User avatar
silinky
Posts: 213
Joined: Mon Nov 23, 2009 5:07 am

Re: using MM to pass information to addon?

#21 Post by silinky » Tue Jul 31, 2012 2:58 pm

hello!

for testing i have modified the rbassist code until i learn the basics. it looks like this(this is instead of player:fight()):

Code: Select all


			if (player.Battling == true) or (attack == true) then
				if target.Address == player.Address then
					player:clearTarget()
				end
				if target.Alive and target.Attackable then
					sendMacro('myFightMacro()');
				end
				if target.HP == 0 then
					player:loot()
				end
			end
the problem:
when the char starts fighting, it blocks my manual moving of it. for ex i wanna run around the mob while the fight is on.
is this a bug? normal? can i circumvent it?

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: using MM to pass information to addon?

#22 Post by lisa » Tue Jul 31, 2012 4:58 pm

I haven't looked at the rbassist for a while but you should be able to move around manually, does your macro interfere with this in some way?
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

User avatar
silinky
Posts: 213
Joined: Mon Nov 23, 2009 5:07 am

Re: using MM to pass information to addon?

#23 Post by silinky » Tue Jul 31, 2012 6:15 pm

my macro does not, but when i press forward button, and bot does soething, i stop and have to let go and press forward button again to continue.

also,

Code: Select all

if target.Alive and target.Attackable then ...
does not return true when i duel (i suppose in arena either)
can you tell me how to check for enemy players? it returns true for mobs though

User avatar
silinky
Posts: 213
Joined: Mon Nov 23, 2009 5:07 am

Re: using MM to pass information to addon?

#24 Post by silinky » Wed Aug 01, 2012 8:56 am

i found this in pawn.lua:

ATTACKABLE_MASK_PLAYER = 0x10000;

i guess i should use this, but with which variable?
should it be target.Address?
or target.Aggressive?

i dug inside the code some more, but again as i am at work, i cannot test them.

thanx for any feedback. the movement problem i solved, i just used a condition there.

User avatar
silinky
Posts: 213
Joined: Mon Nov 23, 2009 5:07 am

Re: using MM to pass information to addon?

#25 Post by silinky » Wed Aug 01, 2012 6:45 pm

well, i checked it with RoMScript('UnitCanAttack("player","target");')
but i don't think this is the ideal solution though.

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: using MM to pass information to addon?

#26 Post by lisa » Wed Aug 01, 2012 6:50 pm

I posted this somewhere, can't remember where now.
seigedps.xml
(5.24 KiB) Downloaded 107 times
Had a look and seems like that file might be a work in progress, can't remember anymore. (apparently I have 213 WP files)

Also did you try with the PVP profile setting?

Code: Select all

<option name="PVP"			value="true" /> 
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

User avatar
silinky
Posts: 213
Joined: Mon Nov 23, 2009 5:07 am

Re: using MM to pass information to addon?

#27 Post by silinky » Thu Aug 02, 2012 1:24 am

ty lisa!

although i don't want to use bot/hack/cheat in sw, no fun, i want to use it in arena for some honor farming, mostly with alts auto registering and killing each other, and the bot simply didn't want to fight player chars.

although i wanted a function to do attacks also when i target manually, and to see if player:getTarget() is an aggressive player.
i guess i can do it like this:

Code: Select all

target = player:getTarget()
local inp = memoryReadRepeat("int", getProc(), target.Address + addresses.pawnAttackable_offset) or 0;
enemyplayer = bitAnd(inp,0x20000)

if enemyplayer then
    do something
end
do you think it would work?

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: using MM to pass information to addon?

#28 Post by lisa » Thu Aug 02, 2012 1:57 am

The code should still work in arena though, you just need to walk your chars to the middle then do it.
Arena is just 1 map with 2 spawn points isn't it?

You do just mean the 1 v 1 arena right?
So the only other real pawn will be your enemy?

walk the chars to middle and then do this at the middle spot.

Code: Select all

	local obj = nil;
	local objectList = CObjectList();
	objectList:update();
	for i = 0,objectList:size() do
		obj = objectList:getObject(i);
		if( obj ~= nil ) then
if( obj.Type == PT_PLAYER and obj.Name ~= player.Name then
player:target(obj.Address)
player:fight()
end
end
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

User avatar
silinky
Posts: 213
Joined: Mon Nov 23, 2009 5:07 am

Re: using MM to pass information to addon?

#29 Post by silinky » Thu Aug 02, 2012 2:24 am

thx :)

User avatar
silinky
Posts: 213
Joined: Mon Nov 23, 2009 5:07 am

Re: using MM to pass information to addon?

#30 Post by silinky » Thu Aug 02, 2012 2:05 pm

btw a question:
how did you find out bitAnd(inp,0x20000)
i am searching for flags but i see this number nowhere.

can you give me some pointers on how to see the flags of an object?

User avatar
Administrator
Site Admin
Posts: 5307
Joined: Sat Jan 05, 2008 4:21 pm

Re: using MM to pass information to addon?

#31 Post by Administrator » Thu Aug 02, 2012 3:30 pm

silinky wrote:btw a question:
how did you find out bitAnd(inp,0x20000)
i am searching for flags but i see this number nowhere.

can you give me some pointers on how to see the flags of an object?
You don't see them anywhere. You just have to analyze the meaning of a 4-byte integer and figure out it is using a bitmask, then try to deduce which masks correspond to different flags.

User avatar
silinky
Posts: 213
Joined: Mon Nov 23, 2009 5:07 am

Re: using MM to pass information to addon?

#32 Post by silinky » Thu Aug 02, 2012 3:51 pm

WOW Administrator, thx for the answer lol
problem is that i am a nub and just recently started to learn cheatengine, so this all is chinese to me.
even in MM and rombot i am only a beginner, but trying to learn, so far from example scripts and reading about what does what exactly.

i give you 2 examples of processes that would help me understand these. maybe you (or smone else) could help.
is there a MM/rombot function for these?

1. can i somehow list the offsets of an address, and their values? like for this attackable one, that is 0x20000, but what is the offset of it?
2. how can i modify these values if needed?

thanks for the answers, and if i am saying smtg stupid, feel free to correct me :)

(i feel like i am thrown in a deep water now, being a php programmer, this memory-level hacking somehow is beyond my current capabilities.)

User avatar
Administrator
Site Admin
Posts: 5307
Joined: Sat Jan 05, 2008 4:21 pm

Re: using MM to pass information to addon?

#33 Post by Administrator » Thu Aug 02, 2012 4:49 pm

silinky wrote: 1. can i somehow list the offsets of an address, and their values? like for this attackable one, that is 0x20000, but what is the offset of it?
Without analyzing the code for the program, you cannot know that. You just find pointers and begin to see patterns. See the tutorials in the memory hacking software section of this forum.
2. how can i modify these values if needed?
There's a whole set of memoryWrite* functions in MicroMacro.

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: using MM to pass information to addon?

#34 Post by lisa » Thu Aug 02, 2012 6:50 pm

This is how I got the 0x20000

pawnAttackable_offset = 0x388,

0x388 is 904 in decimal.

I made a userfunction with this code.

Code: Select all

function pawnlog(_name,_comment)
	local found = false
	local objectList = CObjectList();
	objectList:update();
	local objSize = objectList:size()
	filename = getExecutionPath() .. "/logs/pawnlog.txt";
	file, err = io.open(filename, "a+");
	if( not file ) then
		error(err, 0);
	end
	--_offset = 752
	_offset = 904
	--repeat
	--_offset = _offset + 4
		for i = 0,objSize do 
			obj = objectList:getObject(i);
			if obj.Name == _name then -- edited out char name of course
				found = true
				local flags = memoryReadRepeat("int", proc, obj.Address + _offset) or 0;
				local bitnum=0x80000000
				local bitstring=""
				if bitAnd(flags,0x80000000) then
					file:write("Bits,1,")
				else
					file:write("Bits,0,")
				end
				
				repeat
					bitnum = bitnum / 2
					if bitAnd(flags,bitnum) then
						bitstring = bitstring .. "1,"
					else
						bitstring = bitstring .. "0,"
					end
				until bitnum == 1
				file:write(bitstring)
				if _comment ~= nil then 
					file:write(obj.Name..",".._comment.."\n")
				else
					file:write(obj.Name.." ".._offset.."\n\n")
				end
			end
		end
	--until _offset == 764
	file:close();
	if found ~= true then printf("\n no such pawn name \n") end
end
I start up with path:commandline and then do this at command prompt

pawnlog("charname","inparty")
pawnlog("charname","notparty")

Obviously with the first 1 the character was in my party, the second was after I removed the character from party.

Then you get this as a print.

Code: Select all

Bits,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,1,1,1,1,0,0,0,charname,inparty
Bits,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,1,1,1,1,0,0,0,charname,notparty
You compare the 2 prints and see that there is only 1 difference between them, the first value printed. Something to Note is that the bit values start at the right side and go to the left and count like this
1,2,4,8,10,20,40,80,100,200,400,800,1000,2000,4000,8000 and so on.
So the inparty bit is 0x80000000, in pawn.lua you will find this

Code: Select all

	--=== InParty indicator ===--
	if bitAnd(attackableFlag,0x80000000) then
		self.InParty = true
	else
		self.InParty = false
	end
So it checks the bit value and that tells the bot if a pawn is in party or not.

Now obviously this is after you work out that the "pawnAttackable_offset" is the byte you are after.

If I don't know which offset I am after I do a loop and print out all the bytes for a section of memory.
That is the part of code commented out, I set _offset to the start byte, 0x4 or what ever.

Code: Select all

--repeat
--_offset = _offset + 4



--until _offset == 764
and you end up with this.

Code: Select all


Bits,0,0,1,1,1,0,0,0,0,1,0,0,1,0,1,0,0,0,1,1,0,1,0,0,1,0,0,0,0,0,0,0,Brown wooden chest 4

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 8

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 12

Bits,0,0,1,1,0,1,0,1,0,1,1,1,0,0,0,1,1,1,0,0,0,1,1,1,1,0,0,0,0,0,0,0,Brown wooden chest 16

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,1,0,1,0,1,0,1,0,1,0,1,0,0,Brown wooden chest 20

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,Brown wooden chest 24

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,Brown wooden chest 28

Bits,0,0,0,0,0,0,0,1,0,1,0,1,1,1,1,1,0,0,0,0,0,1,0,1,0,1,0,0,0,1,1,1,Brown wooden chest 32

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 36

Bits,0,1,0,0,0,1,0,1,0,0,0,1,1,1,1,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 40

Bits,0,1,0,0,0,0,0,1,0,0,1,0,0,1,0,0,1,1,1,1,0,1,1,1,1,1,1,1,1,0,1,0,Brown wooden chest 44

Bits,0,1,0,0,0,1,0,1,0,0,1,1,0,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 48

Bits,1,0,1,1,1,1,1,0,1,0,1,0,1,1,1,1,0,0,0,1,1,1,0,1,0,1,0,0,0,1,1,1,Brown wooden chest 52

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 56

Bits,1,0,1,1,1,1,1,1,0,1,1,1,0,0,0,0,1,0,0,0,1,1,1,1,1,0,1,1,0,0,1,0,Brown wooden chest 60

Bits,0,1,0,0,0,0,1,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 64

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 68

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 72

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 76

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 80

Bits,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 84

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 88

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 92

Bits,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 96

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 100

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 104

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 108

Bits,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 112

Bits,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 116

Bits,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 120

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 124

Bits,0,0,1,1,1,0,0,1,1,0,1,1,0,1,1,1,0,1,1,1,1,1,1,0,0,0,1,1,0,1,0,0,Brown wooden chest 128

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 132

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 136

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 140

Bits,0,0,1,1,0,1,0,0,1,0,0,0,1,1,0,0,1,0,0,0,0,1,1,1,1,1,1,0,1,0,0,0,Brown wooden chest 144

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 148

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,Brown wooden chest 152

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 156

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 160

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 164

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 168

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 172

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 176

Bits,0,0,1,1,0,0,1,1,0,1,1,0,0,0,1,0,0,1,1,0,0,1,0,1,0,0,1,0,0,0,0,0,Brown wooden chest 180

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 184

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,Brown wooden chest 188

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 192

Bits,0,0,1,1,1,0,0,1,1,0,1,1,0,1,1,1,0,1,1,1,0,1,1,0,0,0,0,0,0,0,0,1,Brown wooden chest 196

Bits,0,0,1,1,1,0,0,1,1,0,1,1,0,1,1,1,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,1,Brown wooden chest 200

Bits,0,0,1,1,1,0,0,1,1,0,1,1,0,1,1,1,0,1,1,1,0,1,1,1,1,1,1,0,1,1,0,0,Brown wooden chest 204

Bits,0,0,1,1,1,0,0,1,1,0,1,1,0,1,1,1,0,1,1,1,0,0,0,0,0,1,0,1,0,1,0,0,Brown wooden chest 208

Bits,0,0,1,1,0,0,1,1,0,1,1,0,0,0,1,0,0,0,0,1,1,0,1,0,0,1,0,0,0,0,0,0,Brown wooden chest 212

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 216

Bits,0,0,1,1,1,0,0,1,1,0,1,1,0,1,1,1,0,1,1,1,0,0,0,1,0,0,0,0,0,0,0,0,Brown wooden chest 220

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 224

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 228

Bits,0,0,1,1,1,0,0,1,1,1,0,0,0,0,1,0,1,1,0,0,0,0,1,1,0,0,0,0,0,0,0,0,Brown wooden chest 232

Bits,0,0,0,1,1,0,0,0,1,1,0,0,0,1,1,0,0,0,1,0,1,1,1,1,0,0,0,0,0,0,0,0,Brown wooden chest 236

Bits,0,0,1,1,1,0,0,0,0,1,1,0,0,1,1,0,0,0,0,0,1,1,0,0,1,0,0,0,0,0,0,0,Brown wooden chest 240

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 244

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 248

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 252

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 256

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 260

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 264

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 268

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 272

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 276

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 280

Bits,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,Brown wooden chest 284

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 288

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 292

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 296

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 300

Bits,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,Brown wooden chest 304

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 308

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 312

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 316

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 320

Bits,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,Brown wooden chest 324

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 328

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 332

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 336

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 340

Bits,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,Brown wooden chest 344

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 348

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 352

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 356

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 360

Bits,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,Brown wooden chest 364

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 368

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 372

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 376

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 380

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 384

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 388

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 392

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 396

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 400

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 404

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 408

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 412

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 416

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 420

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 424

Bits,0,0,1,1,1,0,0,1,1,0,1,1,0,1,1,1,0,1,1,1,0,1,0,1,0,1,0,0,0,0,0,0,Brown wooden chest 428

Bits,0,0,1,1,1,0,0,1,1,0,1,1,0,1,1,1,0,1,1,1,0,0,0,1,0,0,1,0,0,0,0,0,Brown wooden chest 432

Bits,0,0,1,1,1,0,0,1,1,0,1,1,0,1,1,1,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 436

Bits,0,0,1,1,1,0,0,1,1,0,1,1,0,1,1,1,0,1,1,1,0,0,0,1,0,0,1,0,1,1,0,0,Brown wooden chest 440

Bits,0,0,1,1,1,0,0,1,1,0,1,1,0,1,1,1,0,1,1,1,0,0,1,1,0,0,0,0,1,1,0,0,Brown wooden chest 444

Bits,0,0,1,1,1,0,0,1,1,0,1,1,0,1,1,1,0,1,1,1,0,1,0,0,1,0,0,1,1,0,0,0,Brown wooden chest 448

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 452

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,Brown wooden chest 456

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,Brown wooden chest 460

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 464

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 468

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 472

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 476

Bits,0,1,0,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 480

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 484

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 488

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 492

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 496

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 500

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 504

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 508

Bits,0,1,0,0,0,1,0,1,0,0,0,1,1,1,1,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 512

Bits,0,1,0,0,0,0,0,1,0,0,0,1,0,0,1,0,1,1,0,0,1,1,0,0,0,0,0,0,0,0,1,0,Brown wooden chest 516

Bits,0,1,0,0,0,1,0,1,0,0,1,1,0,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 520

Bits,0,1,0,0,0,1,0,1,0,0,0,1,1,1,1,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 524

Bits,0,1,0,0,0,0,0,1,0,0,0,1,0,0,1,0,1,1,0,0,1,1,0,0,0,0,0,0,0,0,1,0,Brown wooden chest 528

Bits,0,1,0,0,0,1,0,1,0,0,1,1,0,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 532

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 536

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 540

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 544

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 548

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 552

Bits,0,0,1,1,1,0,0,1,1,0,1,1,0,1,1,1,0,1,1,1,0,1,1,0,0,0,1,1,0,0,0,0,Brown wooden chest 556

Bits,0,0,1,1,0,0,1,1,0,1,1,0,0,0,1,0,0,1,0,0,1,0,0,1,1,1,1,0,0,0,0,0,Brown wooden chest 560

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 564

Bits,0,0,1,1,1,0,0,1,1,0,1,1,0,1,1,1,0,1,1,1,1,0,1,0,0,1,0,0,0,1,0,0,Brown wooden chest 568

Bits,0,0,1,0,1,0,1,1,1,1,0,0,1,1,0,0,1,1,1,1,0,0,1,0,0,1,0,0,0,0,0,0,Brown wooden chest 572

Bits,0,0,1,0,1,0,1,1,1,1,0,0,1,1,0,0,1,1,1,1,0,0,1,0,0,1,0,0,0,0,0,0,Brown wooden chest 576

Bits,0,0,1,0,1,0,1,1,1,1,0,0,1,1,0,0,1,1,1,1,0,0,1,0,0,1,0,0,1,1,0,0,Brown wooden chest 580

Bits,0,0,1,1,1,0,0,1,1,0,1,1,0,1,1,1,0,1,1,1,1,0,0,0,0,0,0,1,1,1,0,0,Brown wooden chest 584

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 588

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 592

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 596

Bits,0,0,1,1,1,0,0,1,1,0,1,1,0,1,1,1,0,1,1,1,0,0,0,0,0,0,1,1,1,1,0,0,Brown wooden chest 600

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 604

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 608

Bits,0,0,1,1,1,0,0,1,1,0,1,1,0,1,1,1,0,1,1,1,1,1,0,1,1,1,1,0,1,1,0,0,Brown wooden chest 612

Bits,0,0,1,1,1,0,0,1,1,0,1,1,0,1,1,1,0,1,1,1,1,1,0,0,0,1,0,1,0,1,0,0,Brown wooden chest 616

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 620

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 624

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 628

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 632

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 636

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 640

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 644

Bits,0,0,1,1,1,0,0,1,1,0,1,1,0,1,1,1,0,1,1,1,1,0,0,1,1,1,1,1,0,0,0,0,Brown wooden chest 648

Bits,0,0,1,0,0,1,0,1,1,0,1,0,1,0,1,1,1,0,0,1,1,1,0,1,0,1,1,0,0,0,0,0,Brown wooden chest 652

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 656

Bits,0,0,1,0,0,1,0,1,1,0,1,0,1,0,1,1,1,1,1,0,1,1,1,0,1,1,1,0,0,0,0,0,Brown wooden chest 660

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 664

Bits,0,0,1,1,0,0,1,1,0,1,1,0,1,1,1,1,0,1,1,0,1,0,0,0,1,1,1,0,0,0,0,0,Brown wooden chest 668

Bits,0,0,1,1,1,0,0,1,1,0,1,1,0,1,1,1,0,1,1,1,0,1,1,0,1,0,1,1,0,1,0,0,Brown wooden chest 672

Bits,0,0,1,1,1,0,0,1,1,0,1,1,0,1,1,1,0,1,1,1,0,0,1,1,0,0,0,0,0,0,0,0,Brown wooden chest 676

Bits,0,0,1,1,1,0,0,1,1,0,1,1,0,1,1,1,0,1,1,1,0,0,0,0,1,0,0,0,0,1,0,0,Brown wooden chest 680

Bits,0,0,1,1,1,0,0,1,1,0,1,1,0,1,1,1,0,1,1,1,0,1,0,0,0,1,0,1,0,0,0,0,Brown wooden chest 684

Bits,0,0,1,1,1,0,0,1,1,0,1,1,0,1,1,1,0,1,1,1,0,1,0,1,1,1,0,1,0,0,0,0,Brown wooden chest 688

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 692

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,Brown wooden chest 696

Bits,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,Brown wooden chest 700

Bits,0,0,0,0,0,0,0,0,0,1,1,1,1,0,1,1,1,0,1,0,1,0,1,1,0,0,1,1,0,1,0,1,Brown wooden chest 704

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 708

Bits,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,Brown wooden chest 712

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,0,0,Brown wooden chest 716

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 720

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,0,0,Brown wooden chest 724

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,0,0,0,Brown wooden chest 728

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,0,0,0,Brown wooden chest 732

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 736

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 740

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 744

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 748

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 752

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 756

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,Brown wooden chest 760

Bits,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Brown wooden chest 764

Which is how I found the bit that indicated if a tile has been opened or not in survival minigame.

Code: Select all

function clicktile(address)
	local tmp = memoryReadRepeat("int", getProc(), address + addresses.pawnAttackable_offset) or 0;
	if bitAnd(tmp,0x8) then
		return true
	else
		return false
	end
end

Long explanation but I hope it helps.
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

User avatar
silinky
Posts: 213
Joined: Mon Nov 23, 2009 5:07 am

Re: using MM to pass information to addon?

#35 Post by silinky » Fri Aug 03, 2012 1:48 am

lisa, you just made me rise to a new level.
thx :)

BillDoorNZ
Posts: 446
Joined: Wed Aug 03, 2011 7:37 pm

Re: using MM to pass information to addon?

#36 Post by BillDoorNZ » Fri Aug 03, 2012 2:12 am

lisa wrote:This is how I got the 0x20000
Obviously with the first 1 the character was in my party, the second was after I removed the character from party.

Then you get this as a print.

Code: Select all

Bits,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,1,1,1,1,0,0,0,charname,inparty
Bits,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,1,1,1,1,0,0,0,charname,notparty
You compare the 2 prints and see that there is only 1 difference between them, the first value printed. Something to Note is that the bit values start at the right side and go to the left and count like this
1,2,4,8,10,20,40,80,100,200,400,800,1000,2000,4000,8000 and so on.

Long explanation but I hope it helps.
erm...are you suer of those numbers? normally bit values start at 2^0 (2 to the power of 0) and the exponent is increased each time. i.e.

2^0, 2^1, 2^2, 2^3, 2^4, 2^4, 2^5...

which equate to:

1,2,4,8,16,32,64,128,256,512,1024....

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: using MM to pass information to addon?

#37 Post by rock5 » Fri Aug 03, 2012 2:24 am

Lisa wrote:1,2,4,8,10,20,40,80,100,200,400,800,1000,2000,4000,8000 and so on
Is in hex. It's easier, as you can see, because there is a pattern.

This remind be of a t-shirt I saw once.

There are 10 types of people in the
world, those that can count in
binary and those that can't.
  • 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

BillDoorNZ
Posts: 446
Joined: Wed Aug 03, 2011 7:37 pm

Re: using MM to pass information to addon?

#38 Post by BillDoorNZ » Fri Aug 03, 2012 2:39 am

lol...didn't think of it being in hex!! nice... :)

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: using MM to pass information to addon?

#39 Post by lisa » Fri Aug 03, 2012 3:03 am

yeah what rock said, I prob should have done 0x10 0x20 0x40 but way to much effort.
lisa wrote:This is how I got the 0x20000
lisa wrote:So the inparty bit is 0x80000000
I did put the 0x when I mentioned specific ones though ;)
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

User avatar
silinky
Posts: 213
Joined: Mon Nov 23, 2009 5:07 am

Re: using MM to pass information to addon?

#40 Post by silinky » Fri Aug 03, 2012 3:03 am

one more question though :)

Code: Select all

Bits,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,1,1,1,1,0,0,0,charname,inparty
Bits,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,1,1,1,1,0,0,0,charname,notparty
for example i wanna change 0x80000000 position back to 1:
1. how to i find the offset to modify it with the memoryWrite* functions? or if this is not the way, how can i modify it back to 1 client sided?
2. if i modify it back to 1, my client will think it is in party? or is it more complicated than that? of not too complicated, could you explain?

also in the meantime i go do some tutorials, so i can understand this stuff better. i can see now why you guys love this. i feel like a detective :D

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 40 guests