• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Avesta Ban system

Erevius

It Was A Good Day
Joined
Feb 12, 2010
Messages
157
Reaction score
7
Location
Poland/Olsztyn
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 :D). 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:
If u translate everything to english and just talk english in this thread i would like to help you!

Jeśli przetłumaczysz wszystko na angielski i porozmawiamy po angielsku w tym temacie, chciałbym Ci pomóc!

//przetłumaczone przez Samme - Erevius, jak coś to napisz do niego na PW albo VM - nie usunąłem posta tylko dlatego, że może być Tobie pomocny.
 
Last edited by a moderator:
Can an moderator close this it's already has been solved by me

kind regards
 
Back
Top