You are not logged in.
Pages: 1
already been given and two bans and not saved?
it seems that the database does not save!
Another detail is that we do not have an explanation how the commands (userlist) (Bangui) and how to tell if a player goes by another name? As demand for their guid?
example: I have problems with several players entering names, and I do not know if it's the same?
how to know if the player comes with several names?
Thanks N! TROX for your patience!
Last edited by Lenha (08-Apr-12 22:31:51)
Offline
COPY AND PASTE ANSWER FROM THIS FORUM:
BANGUID AND USERLIST:
[banguid] Function: Ban a player using his 8 last GUID characters (UserID). Syntax: !banguid [UserID]
[userlist] Function: List users. Syntax: !userlist [name|level] [argument] [page] OR !userlist [page]
BAN-SAVE:
N!tmod 2.2 comes with a whole new SQLite database system.
Starting from N!tmod 2.2, the usual "shrubbot.cfg" disappears! XPSave, Admins, Bans, Mutes, Mails (if enabled) and map records will now be saved into a SQLite database.
.
.
Absolute path to the SQLite database file for my server:
set n_SQLiteDBPath "/gsadmin/var/game_servers/IP-PORT/nitmod/nitmod.sqlite"
Database file will automaticly be created.
Admin System, XPSave, Mails and Map Records will be unavailable if this cvar is not or not correctly set or if something went wrong while opening the file.
Offline
COPY AND PASTE ANSWER FROM THIS FORUM:
BANGUID AND USERLIST:
[banguid] Function: Ban a player using his 8 last GUID characters (UserID). Syntax: !banguid [UserID][userlist] Function: List users. Syntax: !userlist [name|level] [argument] [page] OR !userlist [page]
BAN-SAVE:
N!tmod 2.2 comes with a whole new SQLite database system.
Starting from N!tmod 2.2, the usual "shrubbot.cfg" disappears! XPSave, Admins, Bans, Mutes, Mails (if enabled) and map records will now be saved into a SQLite database.
.
.
Absolute path to the SQLite database file for my server:
set n_SQLiteDBPath "/gsadmin/var/game_servers/IP-PORT/nitmod/nitmod.sqlite"
Database file will automaticly be created.
Admin System, XPSave, Mails and Map Records will be unavailable if this cvar is not or not correctly set or if something went wrong while opening the file.
put it this way:
set n_SQLiteDBPath "/home/mauricio/et/nitmod/nitmod_db.sqlite"
set n_SQLiteDBPath "/home/mauricio/et/186.202.71.101:27912/nitmod/nitmod.sqlite"
will it work?
I like that, and everything disappeared xp, Levels ..... I do not know what to do.
already added 2 bans more disappear .....???
Last edited by Lenha (11-Apr-12 01:29:14)
Offline
If your SQLite database was working, you do not need to change n_SQLiteDBPath.
This is why XP levels etc disappeared, your path was correct and you changed it, so it created a new database and ignored the valid one. Set it back to the correct value and everything will be back in order
About players changing their names, there is unfortunately not much we can do for the moment, however i think i will add an alias tracking feature in the next version.
I don't understand why bans disappear, nobody reported this kind of problem.
Maybe the bans were simply expired ?
N!tmod has an automatic database cleanup system which deletes invalid users and expired mutes/bans.
Offline
As I said in my first post,... and last N!trox: SQLite database holds, XPSave, Admins, Bans, Mutes, Mails - .....meaning, if your XPSave, Admins, Mutes and Mail works, your path is already correct.
How do you give the !ban to players ?
!help ban = online player
-------------------------
help: help for 'ban':
Function: ban a player by IP NGUID and MAC Address with an optional expiration time (seconds) and reason
Syntax: !ban [name|slot#] (time) (reason)
!help banguid =offline player
------------------------
help: help for 'banguid':
Function: Ban a player using his 8 last NGUID characters (UserID)
Syntax: !banguid [UserID]
Yesterday I tried this myself, and it works:
!banguid 12345678 30d = ban ofline player with NGUID 12345678 30 days.
Another option to keep a player of server, is to ban his IP in server.cfg:
set g_filterban "1"
addip 123.123.123.123 (players IP)
addip 456.456.456.456
addip ......
ofcouse, unless he knows how to get around that
Offline
Found some problems with bans in the code, gonna fix them today or tomorrow and release a new build soon!
Offline
As I said in my first post,... and last N!trox: SQLite database holds, XPSave, Admins, Bans, Mutes, Mails - .....meaning, if your XPSave, Admins, Mutes and Mail works, your path is already correct.
How do you give the !ban to players ?
!help ban = online player
-------------------------
help: help for 'ban':
Function: ban a player by IP NGUID and MAC Address with an optional expiration time (seconds) and reason
Syntax: !ban [name|slot#] (time) (reason)!help banguid =offline player
------------------------
help: help for 'banguid':
Function: Ban a player using his 8 last NGUID characters (UserID)
Syntax: !banguid [UserID]Yesterday I tried this myself, and it works:
!banguid 12345678 30d = ban ofline player with NGUID 12345678 30 days.Another option to keep a player of server, is to ban his IP in server.cfg:
set g_filterban "1"
addip 123.123.123.123 (players IP)
addip 456.456.456.456
addip ......
ofcouse, unless he knows how to get around that
Obrigado !
Lenha - Brazil
Offline
Offline
Hmm, there's a little problem in 2.2PR1.
N!tmod deletes expired bans on map start, or when a client connects and his ban has expired.
Bans must be reloaded after one has been deleted, but in some cases they were not reloaded
This could actually ignore all the bans that were more recent than the deleted one, for the current map. However they should be reloaded when the next map is loaded.
Is that your problem?
Offline
Hmm, there's a little problem in 2.2PR1.
N!tmod deletes expired bans on map start, or when a client connects and his ban has expired.
Bans must be reloaded after one has been deleted, but in some cases they were not reloaded
This could actually ignore all the bans that were more recent than the deleted one, for the current map. However they should be reloaded when the next map is loaded.
Is that your problem?
the problem is this same!
Ban the map when we loaded started, gone ......
Last edited by Lenha (13-Apr-12 23:39:55)
Offline
N!trox* wrote:Hmm, there's a little problem in 2.2PR1.
N!tmod deletes expired bans on map start, or when a client connects and his ban has expired.
Bans must be reloaded after one has been deleted, but in some cases they were not reloaded
This could actually ignore all the bans that were more recent than the deleted one, for the current map. However they should be reloaded when the next map is loaded.
Is that your problem?
the problem is this same!
Ban the map when we loaded started, gone ......
==================================================
It does not work, tried to ban by GUID (not)
Banning by IP (not)
I do not know how to do .....??
Saves ......... not when the map restart, banned player is gone, disappeared, vanish!
Next map, map or reload map = new starts .... Gone , disappeared, vanish??
Offline
Just saw your latest thread and deleted it because there's no need to create new threads to get our attention.
The table is created, it's just empty.
I can see you are using N!tmod 2.2b2, there was a problem in this version with bans/mutes not being saved correctly in the database...
Sorry for the late reply, i will send you a message with a link to the latest version (N!tmod 2.2 PR2)
Don't forget to check the forums regularly because we are finishing the work on N!tmod 2.2 final and we will release it.
P.S.: Can't connect to your server, can't even ping it, timeout, always
Offline
I used this version of the mod only for a few minutes cause everyone who entered the server automatically receives ban.
Last edited by Skyline (25-Apr-12 13:02:12)
Offline
I used this version of the mod only for a few minutes cause everyone who entered the server automatically receives ban.
2.2b2?
Offline
No. 2.2 PR 2
Offline
Oh yea i think i know what u're talking about, me and LSD WoL are investigating on a similar problem on his server.
I guess this happens after a player that was really banned tried to connect, then every players are banned until map restarts?
Offline
Im not sure about it. I start the server and I join game and waiting for players. Someone connects and gets banned and he isn't really banned. Any banned player connected before. Why I can join?
Offline
Any bans in database? Email me your sqlite db i will check it (admin@etmods.net)
Offline
In db everything looks good. Check mails.
Offline
Unban KoKsu and reban him using !banguid, should fix the problem
Offline
It works well. Thanks.
Offline
Pages: 1