Blacklock / gtautofarmer

Open multiple instances of Growtopia at the same time. (PS: This project is unfinished & has been abandoned).
MIT License
25 stars 30 forks source link

im gonna try to fix this (if i can) #9

Open bacontsu opened 4 years ago

bacontsu commented 4 years ago

i hope i can fix the multiboxing bug, now i was learning about c#.

Blacklock commented 4 years ago

You should probably look into bots that use ENet instead, they have a lot more potential.

DefaultO commented 4 years ago

i hope i can fix the multiboxing bug, now i was learning about c#.

It's not really a bug @bacontsu . He just hooks your input weird which makes it only work on Growtopia. By changing how he has done that you can fix it quite easily.

And, @Blacklock . Yes, you're right. But I assume no one of you can reverse the packets Growtopia needs. So actually you two making such a Bot is impossible. Don't suggest that. You two are only here because that are facts.

bacontsu commented 4 years ago

i hope i can fix the multiboxing bug, now i was learning about c#.

It's not really a bug @bacontsu . He just hooks your input weird which makes it only work on Growtopia. By changing how he has done that you can fix it quite easily.

And, @Blacklock . Yes, you're right. But I assume no one of you can reverse the packets Growtopia needs. So actually you two making such a Bot is impossible. Don't suggest that. You two are only here because that are facts.

ah yeah i was confused when trying to do it lol, and now i found out an new bugs when the program trying to clone growtopia. i should looks into that too

bacontsu commented 4 years ago

You should probably look into bots that use ENet instead, they have a lot more potential.

probably ill stick with this, i starting to lost my interesting and my track here. afterall i was a newbie here.

Blacklock commented 4 years ago

@DefaultO Ahem, this project was just me trying out C# for the first time, I probably started working on it before ENet proxies were even a thing, and I never even got multiboxing to work before moving onto something else.

DefaultO commented 4 years ago

@Blacklock, wasn't meant bad or so. Just suggesting him to overwork that part, since once you are using Multiboxing, you are stuck, since you can't use your mouse and keyboard anymore outside of GT. The Project itself is nice, just the Multiboxing needs adjustments. Which you also suggested in the code.

bacontsu commented 3 years ago

New Update : Because of school and stuff, I cant work on this full time and I can't rewrite the whole MouseHook and KeyboardHook, so I created a pretty simple fix. So I disabled KeyboardHook since I just need the multibox function, as well as deleting the Autofarm function. I can turn off the Multibox by keyboard (adding hotkeys soon, idk when). And I encountered a bug where I cant hook the Mouse again after disabling it, so I use the Application.Restart(); function to make it works again. I've seen so many people talking about performance down with this Low-level-hook but I still pretty much have a great performance from my 2c 2t Pentium processor. And people also talking about High CPU usage = save.dat stealer, I dunno about that thou.

Rixoan commented 3 years ago

i try build it out without any change on the code but i found when i open multibox to on mode the keyboard and mouse get hook only to work for GT and i can't click out side of gt anymore, i try to figure out how to turn off the multibox by keyboard but i really confused

bacontsu commented 3 years ago

i try build it out without any change on the code but i found when i open multibox to on mode the keyboard and mouse get hook only to work for GT and i can't click out side of gt anymore, i try to figure out how to turn off the multibox by keyboard but i really confused

you had to understand how the hooks works. its a global keyboard hook so it will lock your keyboard only for growtopia until you turned it off. i dont know how to fix it yet, so i just removed the keyboardhook by adding // on the keyboard hook, since i only need the multiboxing part. also sometimes the hook wont turn on again after you deactivate it, i only fixed it using Application.Restart() so it will works again (basically turning the app on and off again). if you wanna my compiled i can give you, not the source code thou since theres alot stealer rn. if my edited source ever get into somebody's hand they will put a save.dat stealer within my edited source code. just hmu if you wanna my compiled multibox/autofarmer (yes i make it to 2 different app, i made a hotkey function and dont wanna make it too messy to use)

bacontsu commented 3 years ago

i try build it out without any change on the code but i found when i open multibox to on mode the keyboard and mouse get hook only to work for GT and i can't click out side of gt anymore, i try to figure out how to turn off the multibox by keyboard but i really confused

i also got confused real hard, about 6 months i abandon this until i read some documents on low-level-global-hook github and stackoverflow. then now it works just fine, i was used to use multibox cuz it can make a onehit effect, but i realized autofarmer mode is much efficient and not draining much cpu power. i only got about 2,5dl / week cuz im too lazy lol, only about 50k chands. i leave it when i sleep so when i wake up i just take the gems

Rixoan commented 3 years ago

i try build it out without any change on the code but i found when i open multibox to on mode the keyboard and mouse get hook only to work for GT and i can't click out side of gt anymore, i try to figure out how to turn off the multibox by keyboard but i really confused

i also got confused real hard, about 6 months i abandon this until i read some documents on low-level-global-hook github and stackoverflow. then now it works just fine, i was used to use multibox cuz it can make a onehit effect, but i realized autofarmer mode is much efficient and not draining much cpu power. i only got about 2,5dl / week cuz im too lazy lol, only about 50k chands. i leave it when i sleep so when i wake up i just take the gems

about the auto farm i already make another application with python i just need the multibox with working hook where i can turn on and off without turning off the growtopia :), also can i have your compiled version ?, i really confused about the hook work

bacontsu commented 3 years ago

i try build it out without any change on the code but i found when i open multibox to on mode the keyboard and mouse get hook only to work for GT and i can't click out side of gt anymore, i try to figure out how to turn off the multibox by keyboard but i really confused

i also got confused real hard, about 6 months i abandon this until i read some documents on low-level-global-hook github and stackoverflow. then now it works just fine, i was used to use multibox cuz it can make a onehit effect, but i realized autofarmer mode is much efficient and not draining much cpu power. i only got about 2,5dl / week cuz im too lazy lol, only about 50k chands. i leave it when i sleep so when i wake up i just take the gems

about the auto farm i already make another application with python i just need the multibox with working hook where i can turn on and off without turning off the growtopia :), also can i have your compiled version ?, i really confused about the hook work

sorry, I've been logged off on github for a very long time and didn't get your notification. you can download my compiled version on my repo : https://github.com/bacontsu/multibox it is almost as unstable as this base, althou i alr added a quick 'fix', use alt+tab to navigate through windows. if you wanna turn off the multibox, alt+tab to the multibox program and press "Turn off Multibox" or just press Ctrl + K.