Register for your free account! | Forgot your password?

Go Back   elitepvpers > Other Online Games > Browsergames > Seafight
You last visited: Today at 13:31

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[HOW-TO] Update BoxyBot

Discussion on [HOW-TO] Update BoxyBot within the Seafight forum part of the Browsergames category.

Reply
 
Old 07/24/2017, 18:25   #31
 
elite*gold: 0
Join Date: Oct 2010
Posts: 790
Received Thanks: 128
Quote:
Originally Posted by detego' View Post
some help:
Thank you for sharing the update


boxybot is a chat bot built on the Hubot framework. It was initially generated by generator-hubot, and configured to be deployed on Heroku to get you up and running as quick as possible.

This README is intended to help get you started. Definitely update and improve to talk about your own instance, how to use and deploy, what functionality is available, etc!
How stupid you can be, spambot^^
jonmikeltxu is offline  
Old 07/25/2017, 04:16   #32
 
elite*gold: 0
Join Date: Jun 2012
Posts: 23
Received Thanks: 8
Can anyone provide an update to Seafight.Messages?
danilotop is offline  
Old 07/26/2017, 17:33   #33
 
elite*gold: 0
Join Date: May 2012
Posts: 14
Received Thanks: 3
Hello I need help. I also decompile and I get out only 6 files class_X.as and some other files including the "flashx" and "mx" folders. why?
seafighter85 is offline  
Old 07/30/2017, 10:48   #34
 
elite*gold: 0
Join Date: Jan 2017
Posts: 55
Received Thanks: 0
please ı dont understand anything pleesa share video raynmond or snlyu2 please
66mustafa38 is offline  
Old 07/31/2017, 13:34   #35
 
elite*gold: 0
Join Date: Mar 2015
Posts: 11
Received Thanks: 2
public class LogoutMessage : Message //7.119 < some of them are not package and class. I couldn't find where are those message folders can you help?
scanel102 is offline  
Thanks
1 User
Old 08/02/2017, 00:50   #36
 
elite*gold: 0
Join Date: Mar 2013
Posts: 101
Received Thanks: 25
So, when i find the right class, i have to fix the read and write functions, am i wrong??

So for example in BoardUserMessage, i'll have to fix it like that:



to something like this (obv with vars names changed):


No??, and same with write. Please let me know if i have to do this with every message
Jaimefdez7 is offline  
Old 08/10/2017, 10:06   #37
 
deaddino's Avatar
 
elite*gold: 0
Join Date: Jun 2011
Posts: 167
Received Thanks: 23
Quote:
Originally Posted by mfsaoke View Post
I need help too i have the same problem . . .
try this


obviusly you must change the directory^
deaddino is offline  
Old 08/10/2017, 13:14   #38
 
elite*gold: 0
Join Date: Dec 2012
Posts: 34
Received Thanks: 1
Sorry for my stupidity, but after I update the messages "this part I got", how do I update boxy so he understands that he is updated and do not transfer me to epvp asking for update?
Pirataofthekid is offline  
Old 08/24/2017, 03:00   #39


 
Maurice's Avatar
 
elite*gold: 98
Join Date: Nov 2011
Posts: 1,267
Received Thanks: 1,019
Quote:
Originally Posted by Jaimefdez7 View Post
So, when i find the right class, i have to fix the read and write functions, am i wrong??

So for example in BoardUserMessage, i'll have to fix it like that:



to something like this (obv with vars names changed):


No??, and same with write. Please let me know if i have to do this with every message
I am sure u figured that the order of the vars that are being set or get change every update, or atleast they intend to anyways..

Quote:
Originally Posted by Pirataofthekid View Post
Sorry for my stupidity, but after I update the messages "this part I got", how do I update boxy so he understands that he is updated and do not transfer me to epvp asking for update?
I am sure the BoxyBot source contains a compiled time check, u need to use either fiddler or press F1 ingame, it will popout a little black textbox with the compile time.
Maurice is offline  
Old 08/27/2017, 20:06   #40
 
elite*gold: 0
Join Date: Dec 2012
Posts: 34
Received Thanks: 1
He tries to check the license there when he logs it, he's still talking login first, do you know what it can be?
Pirataofthekid is offline  
Old 10/16/2017, 14:21   #41
 
levlevliva's Avatar
 
elite*gold: 328
Join Date: Dec 2010
Posts: 1,069
Received Thanks: 479
Quote:
Originally Posted by Pirataofthekid View Post
He tries to check the license there when he logs it, he's still talking login first, do you know what it can be?
Delete license check from the main.
If it writes login first, that means some packets are not correct.
levlevliva is offline  
Old 07/11/2018, 20:06   #42
 
elite*gold: 0
Join Date: Aug 2017
Posts: 6
Received Thanks: 0
Quote:
Originally Posted by Maupinator View Post
Hello,

As the source got out, and theres people making points of some sort, might aswell just force BP to patch this shit as it will create a immense amount of bots for basically free, meaning once it's patched I dont have to worry about botters in my map anymore, win-win right?


U'll need
  1. A brain.
  2. Download the most recent SeafightMain.swf ()
  3. And with that a little .bat script;
Code:
cd C:\Program Files (x86)\FFDec\
java -jar ffdec.jar -config autoDeobfuscate=1,parallelSpeedUp=1,autoRenameIdentifiers=1 -export script H:\Misc\SFPROTO\src H:\Misc\SFPROTO\SeafightMain.swf

pause
Run this script as administrator to avoid errors.

To clarify this script needs adjustments for where u wanna store the scripts of the swf change "H:\Misc\SFPROTO\" to anything on ur pc.. And place the SeafightMain.swf in the same directory as the .bat script.
Now what this does is decompile, deobfuscate & export the SeafightMain.swf to a directory called "src", once the script is done, and u open that directory u'll see stuff like "package_89" etc.

Now open the BoxyBot solution and go to Seafight => Messages, click on a random .cs file, and u'll see for example in UserInitMessage.cs:
Code:
    public class UserInitMessage : Message //package_7.class_15
    {
See the commented out part? open the directory of "package_7" then open the "class_15.as" file, scroll down until u see "method_16()", the packet ID is always the return of "method_16()".
Code:
      public function method_16() : int
      {
         return -5067;
      }
Now u'll notice some scripts aren't in the right package dirs, e.g. CannonAttackMessage.cs says "package_89.class_783" but it actually is "package_90.class_779", why I hear u think? Because Bigpoint.. It is no rocket science how to find the "new" class that has the desired packet ID, just compare the read functions of that with the one in the .cs file. Usually it just shoves up/down 1 package, and 783 turned into 779, they're always close to one another. Now one with OCD will realise some shorts and doubles may seem out of order, that is very true, ur job is to figure out what vars were shifted, and place them in the right order to have a proper functioning bot..

There is proper parsers that poop out .cs files for every message individual incl. the correct write/read order's, I'll not publish these, as they're not mine, and I respect my fellow comrad @

Have fun as this will be dead real soon.

Some chill music while ur trying to wrap ur brain around all this:


Good evening, could you make us a video step by step how do you do. Please.
diasea is offline  
Old 07/14/2018, 00:22   #43
 
elite*gold: 0
Join Date: Aug 2017
Posts: 6
Received Thanks: 0
hi, The boxybot after update, work?? please
diasea is offline  
Old 07/28/2018, 19:55   #44
 
elite*gold: 0
Join Date: Apr 2017
Posts: 14
Received Thanks: 1
When i try to extract swf file it gives me error : Input SWF file does not exist! even though the sfw has correct name.
any help?
shawn28sanwakid is offline  
Old 09/02/2018, 17:26   #45
 
galaxus123's Avatar
 
elite*gold: 0
Join Date: May 2017
Posts: 118
Received Thanks: 22
Quote:
Originally Posted by Maupinator View Post
Hello,

As the source got out, and theres people making points of some sort, might aswell just force BP to patch this shit as it will create a immense amount of bots for basically free, meaning once it's patched I dont have to worry about botters in my map anymore, win-win right?


U'll need
  1. A brain.
  2. Download the most recent SeafightMain.swf ()
  3. And with that a little .bat script;
Code:
cd C:\Program Files (x86)\FFDec\
java -jar ffdec.jar -config autoDeobfuscate=1,parallelSpeedUp=1,autoRenameIdentifiers=1 -export script H:\Misc\SFPROTO\src H:\Misc\SFPROTO\SeafightMain.swf

pause
Run this script as administrator to avoid errors.

To clarify this script needs adjustments for where u wanna store the scripts of the swf change "H:\Misc\SFPROTO\" to anything on ur pc.. And place the SeafightMain.swf in the same directory as the .bat script.
Now what this does is decompile, deobfuscate & export the SeafightMain.swf to a directory called "src", once the script is done, and u open that directory u'll see stuff like "package_89" etc.

Now open the BoxyBot solution and go to Seafight => Messages, click on a random .cs file, and u'll see for example in UserInitMessage.cs:
Code:
    public class UserInitMessage : Message //package_7.class_15
    {
See the commented out part? open the directory of "package_7" then open the "class_15.as" file, scroll down until u see "method_16()", the packet ID is always the return of "method_16()".
Code:
      public function method_16() : int
      {
         return -5067;
      }
Now u'll notice some scripts aren't in the right package dirs, e.g. CannonAttackMessage.cs says "package_89.class_783" but it actually is "package_90.class_779", why I hear u think? Because Bigpoint.. It is no rocket science how to find the "new" class that has the desired packet ID, just compare the read functions of that with the one in the .cs file. Usually it just shoves up/down 1 package, and 783 turned into 779, they're always close to one another. Now one with OCD will realise some shorts and doubles may seem out of order, that is very true, ur job is to figure out what vars were shifted, and place them in the right order to have a proper functioning bot..

There is proper parsers that poop out .cs files for every message individual incl. the correct write/read order's, I'll not publish these, as they're not mine, and I respect my fellow comrad @

Have fun as this will be dead real soon.

Some chill music while ur trying to wrap ur brain around all this:


As a total noob in updating and working on bots.
(That`s why i buy them)
But i want to give it a try on updating boxybot.
Q 1:So the first part with .bat script do i need a special program to save the .bat script as .bat?
Q 2: As 1 of the epvp member wrote that you need a visual studio 2015+ is that really needed?
I hope that my questions would be answered.
NOTE: I`m not gonna use boxybot but i want to learn something about bots!
galaxus123 is offline  
Reply


Similar Threads Similar Threads
[Boxybot GG]Boxybot can buy ammo?
10/19/2012 - DarkOrbit - 11 Replies
Can boxybot buy ammo when you have 0 laser of x1?Can buy automatic? If can please say my how do this:)
boxybot and boxybot extreme
08/16/2012 - DarkOrbit - 0 Replies
sets and between these 2



All times are GMT +1. The time now is 13:31.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.