bRO maintenance 02/29

Wrote new code? Fixed a bug? Want to discuss technical stuff? Feel free to post it here.

Moderator: Moderators

uPantcho
Human
Human
Posts: 42
Joined: 05 Nov 2009, 05:25
Noob?: Yes

bRO maintenance 02/29

#1 Post by uPantcho »

well, here is a fix that will make your bot work on bRO

http://upantcho.com/openkore0303.rar

just unzip inside the src folder (you should make a backup before)

doing so will replace:

functions.pl
network/receive/bRO.pm
network/send/bRO.pm

changes:
network/receive/bro.pm
little changes to avoid disconnection at login/teleport

functions.pl
changes on gameguard packet around line 724

network/send/bro.pm
completely redone.
only the packets and subs inside this file will work



i know this cant enter svn but since i was banned on the brazilian forum i cant post there

how it works:
sometimes the encryption stops on a specific key. these files use the move packets to a null location until the encrypt key stops changing. after that openkore is going to use the already encrypted packets instead of the original ones.

unfortunately, i know this will not work on all updates because sometimes (most of times) the packets never stop changing


if there is an update like that and someone give me the keys (who at the moment just a few people knows how) i would gladly calculate every single packet. i even made a little script to help on this

(it's using the old keys)
http://pastebin.com/GnFdLrf9
Last edited by uPantcho on 03 Mar 2012, 04:12, edited 1 time in total.
Fr3DBr
Developers
Developers
Posts: 60
Joined: 05 Oct 2011, 09:21
Noob?: No
Location: Brazil

Re: bRO maintenance 02/29

#2 Post by Fr3DBr »

Work yourself for the encryption keys.

Study RCE, proof you are able to do the things instead of just asking or pointing who does have it when you doesn't.

You seen to be a quite cool guy, trying to contribute with your best efforts, am i wrong ?
So you should spend a bit more of your time/efforts to research and find the solution yourself like i did :).

Btw: Nice approach on the encryption key weakness, altough as you said, at any update this can stop working.

And yes this will not be commited on SVN, as this is not the properly way to do this.

Good luck.
uPantcho
Human
Human
Posts: 42
Joined: 05 Nov 2009, 05:25
Noob?: Yes

Re: bRO maintenance 02/29

#3 Post by uPantcho »

Fr3DBr wrote:Work yourself for the encryption keys.

Study RCE, proof you are able to do the things instead of just asking or pointing who does have it when you doesn't.
yeah, i already did that and posted the solution on the first post

i know is not the best way of doing, but works


i talked about the keys because you said on the brazilian forum that you were "working hard to make it work and no one was acknowledging". i believe getting the keys is the first step (and probably the easier as the http://www.brozeny.com website is always online) and testing the packets (around 20~30 changes every maintenance?) should be the hard thing.


anyway, you could tell us how to get the keys (so you wouldnt be the only one working) or just ignore this.

but you get here and say "go study this and that..."

really? are you my dad or something?

the worst thing is that you must be waiting for the next update with stronger keys so i would not create a workaround solution again
Last edited by uPantcho on 03 Mar 2012, 04:06, edited 2 times in total.
Fr3DBr
Developers
Developers
Posts: 60
Joined: 05 Oct 2011, 09:21
Noob?: No
Location: Brazil

Re: bRO maintenance 02/29

#4 Post by Fr3DBr »

uPantcho wrote:
Fr3DBr wrote:Work yourself for the encryption keys.

Study RCE, proof you are able to do the things instead of just asking or pointing who does have it when you doesn't.
yeah, i already did that and posted the solution on the first post

i know is not the best way of doing, but works


i talked about the keys because you said on the brazilian forum that you were "working hard to make it work and no one was acknowledging". i believe getting the keys is the first step (and probably the easier as the http://www.brozeny.com website is always online) and testing the packets (around 20~30 changes every maintenance?) should be the hard thing.


anyway, you could tell us how to get the keys (so you wouldnt be the only one working) or just ignore this.

but you get here and say "go study this and that..."

really?

the worst thing is that you probably are hoping that in the next update the keys are stronger so i would not create a workaround solution again
You are right, i could share something, but i am not obligated to.

Yeah you must study :), and i do surelly hope the method changes, so you have to study more whoaaaa :D.

Anyways again you are just doing your showoff, and wanting again to find excuses in the way i act.

Try to first check how 'you' are acting since the begining, and once you do that, maybe you do have some credit/value.
uPantcho
Human
Human
Posts: 42
Joined: 05 Nov 2009, 05:25
Noob?: Yes

Re: bRO maintenance 02/29

#5 Post by uPantcho »

Fr3DBr wrote:You are right, i could share something, but i am not obligated to.

Yeah you must study :), and i do surelly hope the method changes, so you have to study more whoaaaa :D.

Anyways again you are just doing your showoff, and wanting again to find excuses in the way i act.

Try to first check how 'you' are acting since the begining, and once you do that, maybe you do have some credit/value.
i really dont get what you are saying


just let it go, the (temporary) solution is here already
Fr3DBr
Developers
Developers
Posts: 60
Joined: 05 Oct 2011, 09:21
Noob?: No
Location: Brazil

Re: bRO maintenance 02/29

#6 Post by Fr3DBr »

uPantcho wrote:
Fr3DBr wrote:You are right, i could share something, but i am not obligated to.

Yeah you must study :), and i do surelly hope the method changes, so you have to study more whoaaaa :D.

Anyways again you are just doing your showoff, and wanting again to find excuses in the way i act.

Try to first check how 'you' are acting since the begining, and once you do that, maybe you do have some credit/value.
i really dont get what you are saying


just let it go, the (temporary) solution is here already
I am letting it go, i just expect you unglue off me :).

Because everything you do, you have to mention someone already did better than you, and you are the victim that doesn't have it yet.

So next time you post something, at the first step, do not directly or indirectly remember of my name, then i'll forgot this.

And about what you made here, as said, its indeed a nice approach, good initative there.
uPantcho
Human
Human
Posts: 42
Joined: 05 Nov 2009, 05:25
Noob?: Yes

Re: bRO maintenance 02/29

#7 Post by uPantcho »

ok man, i edited the first post and took your name out

be happy
Last edited by uPantcho on 07 Mar 2012, 11:18, edited 2 times in total.
vuuh
Noob
Noob
Posts: 3
Joined: 23 Jan 2012, 17:07
Noob?: No

Re: bRO maintenance 02/29

#8 Post by vuuh »

uPantcho wrote:well, here is a fix that will make your bot work on bRO

http://upantcho.com/openkore0303.rar

just unzip inside the src folder (you should make a backup before)

doing so will replace:

functions.pl
network/receive/bRO.pm
network/send/bRO.pm

changes:
network/receive/bro.pm
little changes to avoid disconnection at login/teleport

functions.pl
changes on gameguard packet around line 724

network/send/bro.pm
completely redone.
only the packets and subs inside this file will work



i know this cant enter svn but since i was banned on the brazilian forum i cant post there

how it works:
sometimes the encryption stops on a specific key. these files use the move packets to a null location until the encrypt key stops changing. after that openkore is going to use the already encrypted packets instead of the original ones.

unfortunately, i know this will not work on all updates because sometimes (most of times) the packets never stop changing


if there is an update like that and someone give me the keys (who at the moment just a few people knows how) i would gladly calculate every single packet. i even made a little script to help on this

(it's using the old keys)
http://pastebin.com/GnFdLrf9
Very cool! He was studying how to find out:

$ enc_val1 = Math :: BigInt-> new ('?');
$ enc_val2 = Math :: BigInt-> new ('?');
$ enc_val3 = Math :: BigInt-> new ('?');

At the moment only knows fr3dbr

I really enjoyed your solution and hope you can continue to help the Brazilian community in bringing another alternative to not only depend on the fred.

UPantcho Thanks and good luck with the studies
daggerblade
Plain Yogurt
Plain Yogurt
Posts: 59
Joined: 06 Jun 2010, 22:08
Noob?: No

Re: bRO maintenance 02/29

#9 Post by daggerblade »

Hey uPatcho, great work, its nice to see some people are really putting their efforts to bring a real solution, not a temporary crap. Keep the excellent work my friend.