Erevius
It Was A Good Day
PL:
Ban system w mojej avescie 7.7 nie działa poprawnie.
Gdy wybiorę GM'em karę (akcję) jaką gracz ma otrzymać (np. Name Report), to gracz nie zostaje wyrzucany z gry, może się wylogować, zalogować ponownie etc., a w bazie danych ustawia typ kary jako "4" - notation. W dodatku gdy uzbierze 3 notations to nie dostaje bana (w config.lua ustawiłem "NotationsToBan = 3"). I jeszcze jedno, z "comment" także jest coś nie tak. Gdy daje komentarz "Moj komentarz" to wpis w bazie danych wygląda następująco "Moj komentarzªR‚.ïSaú™rkamils4ØÏ´Xb˜´‡...". Próbowałem podmieniać ban.cpp/h i "violationwindow" z game.cpp z tfs 0.2.6 ale za dużo błędów :S
ENG:
The ban system in my avesta 7.7 doesn't work properly.
When I choose a punnishment (action) which the player should receive (eg. Name Report) then the server doesn't kick the selected player. He can log in/out again and again. Moreover, server sets the type of the punishment as "4" (=a notation). In addition, player doesn't get banned after he receive the third notation (I've set "NotationsToBan = 3" in config.lua). The last thing is, the comment in my database is strange.
It looks like "My commentªR‚.ïSaú™rkamils4ØÏ´Xb˜´‡..." (kamils is my password ). I've tried to replace ban.cpp/h and "violationwindow" from game.cpp from TFS 0.2.6 but I get too many errors :S I hope you know something about this bug :[
Pliki/Files:
ban.cpp
ban.h
game.cpp
Ban system w mojej avescie 7.7 nie działa poprawnie.
Gdy wybiorę GM'em karę (akcję) jaką gracz ma otrzymać (np. Name Report), to gracz nie zostaje wyrzucany z gry, może się wylogować, zalogować ponownie etc., a w bazie danych ustawia typ kary jako "4" - notation. W dodatku gdy uzbierze 3 notations to nie dostaje bana (w config.lua ustawiłem "NotationsToBan = 3"). I jeszcze jedno, z "comment" także jest coś nie tak. Gdy daje komentarz "Moj komentarz" to wpis w bazie danych wygląda następująco "Moj komentarzªR‚.ïSaú™rkamils4ØÏ´Xb˜´‡...". Próbowałem podmieniać ban.cpp/h i "violationwindow" z game.cpp z tfs 0.2.6 ale za dużo błędów :S
ENG:
The ban system in my avesta 7.7 doesn't work properly.
When I choose a punnishment (action) which the player should receive (eg. Name Report) then the server doesn't kick the selected player. He can log in/out again and again. Moreover, server sets the type of the punishment as "4" (=a notation). In addition, player doesn't get banned after he receive the third notation (I've set "NotationsToBan = 3" in config.lua). The last thing is, the comment in my database is strange.
It looks like "My commentªR‚.ïSaú™rkamils4ØÏ´Xb˜´‡..." (kamils is my password ). I've tried to replace ban.cpp/h and "violationwindow" from game.cpp from TFS 0.2.6 but I get too many errors :S I hope you know something about this bug :[
Pliki/Files:
ban.cpp
ban.h
game.cpp
Last edited: