r8744 - What is the meaning of that 'if' !?

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

Moderator: Moderators

Message
Author
Kaspy
Halfway to Eternity
Halfway to Eternity
Posts: 398
Joined: 08 Jun 2012, 15:42
Noob?: No
Location: Brazil

r8744 - What is the meaning of that 'if' !?

#1 Post by Kaspy »

Image

The package always sent, regardless of that "if".
So what would be the purpose of it? Or the first "$messageSender" what's wrong?
Image

iMikeLance
Moderators
Moderators
Posts: 208
Joined: 01 Feb 2010, 17:37
Noob?: No
Location: Brazil - MG
Contact:

Re: r8744 - What is the meaning of that 'if' !?

#2 Post by iMikeLance »

Download other official server than bRO, sniff all the sent packets after maplogin and if they are sent by all servers like bRO do you can remove those "if".

Kaspy
Halfway to Eternity
Halfway to Eternity
Posts: 398
Joined: 08 Jun 2012, 15:42
Noob?: No
Location: Brazil

Re: r8744 - What is the meaning of that 'if' !?

#3 Post by Kaspy »

Just letting you know that I can not perform these tests.
The home computer does not have the minimum requirentos to run the official clients.

If anyone wants to collaborate, make the result and post it here.



However, the current way the code is written, with 2x bRO will send the package. Not being bRO, send 1x.
Apparently, it's weird.
Image

iMikeLance
Moderators
Moderators
Posts: 208
Joined: 01 Feb 2010, 17:37
Noob?: No
Location: Brazil - MG
Contact:

Re: r8744 - What is the meaning of that 'if' !?

#4 Post by iMikeLance »

KeplerBR wrote:However, the current way the code is written, with 2x bRO will send the package. Not being bRO, send 1x.
Apparently, it's weird.
It's sending those packets just like bRO does. Testes it while I was fixing xkore2/poseidon.

Post Reply