Removing MP button from modifications

Report any bugs here or ask questions here!

Removing MP button from modifications

Postby broforce1 » 9 January 2021, 07:56

hello, i have moded PB2 swf files, i put my skins on it, and i dont know, i keep getting IP ban i and i believe that the moded swf cause that, Eric told me that connection does start at the very beginning of Multiplayer screen being open.

and he also told me that it's really better to remove the MP button so i would not press it by mistake or something, I do really know I would get a ban appeal by entering MP in a modified game but, how would i remove the button of entering PB2 MP tho? so plz any person who understands flash modding who would find a solution for this problem can help me in this so, idk if eric would come and respond here because he just messaged me from mins ago, i guess
[[hmmmmhmAYYUHhhhwassauupp] [/broo] [/ur a [gayr]
User avatar
broforce1
Proxy [700]
 
Posts: 730
Joined: 2 September 2019, 10:47
Location: Everywhere.

Re: Removing MP button from modifications

Postby Eric Gurt » 10 January 2021, 22:51

It might disable itself automatically in new versions if .swf file name is different than one used in launcher. Try that ^
Work it harder
Make it better
Do it faster
Makes us stronger
More than ever hour
After our work is never over.
User avatar
Eric Gurt
PB2 Developer
 
Posts: 409
Joined: 14 July 2013, 16:46
Location: dn.ua

Re: Removing MP button from modifications

Postby yi en » 11 January 2021, 04:37

It's easy to disable the multiplayer button by modding.

Step 1, using jpexs and navigate the maintimeframe

Step 2, use ctrl + F and search "this.menu_buttons["btn" + 3].txt.text " then proceed to pcode

Step 3,
https://image.prntscr.com/image/u-I30gc8TwCYOkTCOw4IfA.png

Step 4, Scroll up until you find something like this:
https://image.prntscr.com/image/jZZQUDm7SQSZ_K-G1jY8jw.png
then find if(m=4) thingy, that's the logic of multiplayer section.

Step 5, look at pcode, and remove them like image below:


Voila! your multiplayer buttons has been removed. Enjoy!

P.S. I haven't test it, so just in case if there's some bug, consider keep the pushbyte in step 3.
User avatar
yi en
Civil Security Boss [500]
 
Posts: 556
Joined: 20 August 2013, 09:10
Location: What do you need, then?

Re: Removing MP button from modifications

Postby broforce1 » 11 January 2021, 16:09

Thanks for the responders

though i guess there is another way which is from my suggestion that i could use an older version of the game which doesn't allow me to enter the MP Afterall, but sure i will try everything
[[hmmmmhmAYYUHhhhwassauupp] [/broo] [/ur a [gayr]
User avatar
broforce1
Proxy [700]
 
Posts: 730
Joined: 2 September 2019, 10:47
Location: Everywhere.


Return to Bug Reporting, Help & Support

Who is online

Users browsing this forum: No registered users