BrawlBot icon indicating copy to clipboard operation
BrawlBot copied to clipboard

Its not working for me

Open bufdex opened this issue 4 years ago • 5 comments

it says: Traceback (most recent call last): File "C:\Users\Juliano\Desktop\BrawlBot-master\memorpy-master\play.py", line 341, in main() File "C:\Users\Juliano\Desktop\BrawlBot-master\memorpy-master\play.py", line 18, in main entity_pointers.remove(local_ptr) ValueError: list.remove(x): x not in list

Screenshot_2 what should i do?

bufdex avatar Aug 18 '20 19:08 bufdex

@bufdex If you've correctly found your local entity pointer and for some reason you're not seeing it in the entity list like above then you could just wrap it in a try except.

But this probably suggests either

  • Your entity list isn't finding all the entities - you should see the same number of entities as players in the game. If this is the case, you could try increasing the region to search.

or

  • The local entity pointer you're using is different to the one inside the entity list. Perhaps you could find the local entity pointer offsets that ends up at an address similar to the entities.

hrt avatar Aug 18 '20 23:08 hrt

do u have discord?

bufdex avatar Aug 19 '20 19:08 bufdex

Add me, I got it to work. Discord: Zayoe#0001

Hey, could you please contact me on discord n1ce0n3#7250, since it says your discord is wrong. Thanks in advance,.

n1ce0n3 avatar Sep 11 '20 12:09 n1ce0n3

Okay, I'm not really confident with the python, I'd say i'm still learning it. So at this point I've got the offsets mentioned by @Zayoe4 working and its all good, but there is one issue I've managed to get debugged, and can't seem to find a way of fixing it. At the main function when it goes to the check local and target entities - after you press DODGE (only happens with the dodge) ingame manually (not sure if it works if it gets executed by the script) - the local players "in_stun" variable always returns that: local.in_stun = {int} 150240. Actually I just figured by changing the control mode to the CPU in practice, if you dodge while playing the enemy - it returns a positive number constantly too. So I guess it's the "stun_offset" offset not being correct? I really suck at reversing, especially in adobe air stuff, so please, seeking some help to slove that issue. Thanks in advance. @Zayoe4 @hrt

n1ce0n3 avatar Sep 13 '20 17:09 n1ce0n3

@Zayoe4 please contact me discord : Thien1994#5618

taohabo avatar Feb 14 '21 00:02 taohabo