JakesFromBB / avesta74

Automatically exported from code.google.com/p/avesta74
0 stars 0 forks source link

ban system #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.ParseviolationWindow
2.Bytes
3.none

What is the expected output? What do you see instead?
The ban system doesnt work it doesnt kick the player and neither does ban the 
person.

What version of the product are you using? On what operating system?
avesta 0.6.5 protocol 772

Please provide any additional information below.
I will try to fix this

kind regards jeffry

Original issue reported on code.google.com by ojef...@gmail.com on 10 Jul 2012 at 8:17

GoogleCodeExporter commented 9 years ago
here is the fix handy for you ferrus to make the ban system work!

change in void ProtocolGame::parseViolationWindow(NetworkMessage &msg)

this :  #ifdef __PROTOCOL_77__
    std::string statement = msg.GetString();
        #endif // __PROTOCOL_77__

to this : #ifdef __PROTOCOL_77__
          std::string statement = msg.GetString();
          msg.GetU16();
          #endif // __PROTOCOL_77__

there's the fix 

kind regards jeffry

Original comment by ojef...@gmail.com on 10 Jul 2012 at 8:19

GoogleCodeExporter commented 9 years ago
Made the changes, it seems to be some kind of channelId, but I don't know 
what's the use for it.

Original comment by r...@ymail.com on 11 Jul 2012 at 2:26