I just check the permission and I guess it was setup weird so everything is working. Thanks for everything.
Beiträge von Gilly
-
-
it should be something like this: mysql:host=192.168.137.1;port=5432;dbname=anydb
#0 /home/gilly/GSM01/daemon/libraries/database/database.php(168): PDO->__construct('mysql:host=66.7...', 'gs', 'Hn', Array)
#1 /home/gilly/GSM01/daemon/libraries/database/database.php(134): GSM\Daemon\Libraries\Database\Database->connect('mysql:host=66.7...', 'gs', 'Hn')
#2 /home/gilly/GSM01/daemon/core/daemon.php(241): GSM\Daemon\Libraries\Database\Database->__construct('mysql:host=66.7...', 'gs', 'Hn')
This is all I get. The IP is not cropped out.
-
well the error says that you cannot connect to the database server. so it is most likely a connection problem or a misconfigured connection string.
can you check if that host=... string looks correct?
#1 /home/gilly/GSM01/daemon/libraries/database/database.php(134): GSM\Daemon\Libraries\Database\Database->connect('mysql:host=66.7...', 'gs', 'H')
this is what i am getting. I am not sure if the IP is suppose to output just that or not.
-
this doesnt look right. this should most likely be localhost or an ip
I did put an IP but I just wanted to protect myself.
-
This is what I get after I put mysql
[21.03.18 22:56:34] Error: Database Class: exception 'PDOException' with message 'SQLSTATE[HY000] [2002] Connection refused' in /home/XXX/GS/daemon/libraries/database/database.php:168
Stack trace:
#0 /home/XXX/GS/daemon/libraries/database/database.php(168): PDO->__construct('mysql:host=66.7...', 'gs', 'H', Array)
#1 /home/XXX/GS/daemon/libraries/database/database.php(134): GSM\Daemon\Libraries\Database\Database->connect('mysql:host=66.7...', 'gs', 'Hn')
#2 /home/XXX/GS/daemon/core/daemon.php(241): GSM\Daemon\Libraries\Database\Database->__construct('mysql:host=66.7...', 'gs', 'Hn')
#3 /home/XXX/GS/daemon/core/daemon.php(78): GSM\Daemon\Core\Daemon->setStorage()
#4 /home/XXX/GS/gsm.php(44): GSM\Daemon\Core\Daemon->init()
#5 {main}
-
I did download the latest one here as of 3/20/2018.
Here is basic.json configuration the mysql is on another server with ports being open
"database": {
"databasetype": "mysqli",
"mysqldatabase": "gs",
"mysqlhost": "66.7",
"mysqlpassword": "n",
"mysqluser": "gs",
"prefix": ""
}
/daemon/libraries/database/database.php:281 => PDO::prepare(): SQLSTATE[HY000]: General error: 1 near "SHOW": syntax error
Fatal error: Call to a member function execute() on boolean in /home/XXX/GS/daemon/libraries/database/database.php on line 287
[21.03.18 21:59:08] Error: Error in home/XXXX/GS/daemon/libraries/database/database.php:287 => Call to a member function execute() on boolean
-
Will GSManager ever have a web administration center like Echelon?
I know few clan such as:- C4S (Made by Avocado)
- Vistic Clan, SFS (Made by Shelly from SFS Clan)
- and 3xP (Mirko911 Creator of Stats page)
All seem to run either Manu Admin Mod or GSManager I can't seem not be able to distinguish which is which.
-
It won't show a picture of the gun but it will say what he was killed by for an example "mafia drewed first blood with M40A3" <== that is all you will see.
-
What does "+" and "*" that mean?
-
Hello,
I have been trying to add a custom command in GSM for an example I put !FPS then when someone executes that command it says Permission.error i do not remember but i remember it is due to permission error.
This file is from config\plugins\customcommands.json
Code{ "customcommands": { "enabled": true, "commands": { "execute": "exec <ARG>", "kickall": "kick all", "fps": "cmd fps:<PLAYER:PID>",
this is from config\groups.jsonCode
Alles anzeigen{ "ops": { "displayname": "Operator", "inheritance": [], "permissions": [ "*" ], "shownasadmin": true, "needstologin": false }, "admins": { "displayname": "Administrator", "inheritance": [ "mods" ], "permissions": [ "daemon.map.change.*", "daemon.map.dev", "daemon.map.reset", "daemon.map.restart", "daemon.map.rotate", "daemon.map.set.*", "daemon.pb.banlist", "daemon.pb.restart", "daemon.pb.unban", "daemon.pb.update", "daemon.round.*", "daemon.set.*", "daemon.fs", "daemon.forcespec", "daemon.master", "punishment.immunity.ban", "punishment.immunity.kick", "punishment.immunity.kill", "punishment.immunity.tempban", "punishment.immunity.warn", "punishments.punish.ban.*", "punishments.score.remove.*", "punishments.unban", "votings.vote.cancel", "votings.vote.pass" ], "shownasadmin": true, "needstologin": false }, "mods": { "displayname": "Moderator", "inheritance": [ "vips" ], "permissions": [ "daemon.info.*", "daemon.move.*", "daemon.say", "daemon.scream", "daemon.whisper", "daemon.yell", "nameprotection.immunity.identicname", "nameprotection.immunity.namechanges", "nameprotection.immunity.reservedname", "nuke.*", "pingchecker.pingkick.*", "punishment.punish.kick.*", "punishment.punish.kill.*", "punishment.score.get.*", "punishment.score.list.*", "punkbuster.pb.getss", "statistics.stats.reset.*", "twofactorauth.secret" ], "shownasadmin": true, "needstologin": false }, "vips": { "displayname": "Very Important Player", "inheritance": [ "default" ], "permissions": [ "-daemon.get.password", "antiteamkill.immunity", "balancer.balance", "censor.immunity.badname", "censor.immunity.badword", "censor.immunity.uppercasename", "censor.immunity.uppercaseword", "daemon.aliases.*", "daemon.get.*", "daemon.pb.version", "daemon.players", "daemon.status", "geoip.location.*", "nuke.immunity", "permissions.group.get.*", "pingchecker.immunity.maxping", "pingchecker.immunity.minping", "pingchecker.immunity.pingkick", "punishments.punish.tempban.*", "statistics.stats.reset", "statistics.stats.server", "statistics.stats.show.*", "votings.immunity.ban", "votings.immunity.kick", "votings.immunity.tempban", "weaponrestrictions.immunity" ], "shownasadmin": false, "needstologin": false }, "default": { "displayname": "Player", "permissions": [ "antiteamkill.forgive", "antiteamkill.tki", "daemon.about", "daemon.admins", "daemon.aliases", "daemon.cointoss", "daemon.commands", "daemon.gametype.get", "daemon.gametype.list", "daemon.help", "daemon.info", "daemon.map.get", "daemon.map.list", "daemon.time", "+daemon.fps.*", "+daemon.fov.*", "funmessages.fun.*", "geoip.location", "permissions.group.get", "permissions.token.use", "punishments.score.get", "punishments.score.list", "reports.report", "rules.rules", "statistics.stats.session", "statistics.stats.show", "votings.vote.choice", "votings.vote.no", "votings.vote.skip", "votings.vote.start.*", "votings.vote.yes" ], "shownasadmin": false, "needstologin": false } }
-
looks like sth is wrong with the database
My server specs are Windows Server 2012 R2 Datacenter Edition. Using IIS with MySQL.
-
Code
Alles anzeigen[19.12.15 22:26:58] Info: Automatic Message was sent: ^5The next Map is: ^4Crash ^5(^4Free for All^5){{br}}^5Die nächste Karte ist: ^4Crash ^5(^4Free for All^5) [19.12.15 22:28:54] Info: Player 'oG|Gilly' executed command: 'commands ', PID: 0, GUID: fc85XXXXXXXXXXXXXXXXX133cb38045 [19.12.15 22:28:58] Info: Automatic Message was sent: ^5This Server is running ^4GSManager 1.1.0^5, visit our Website at: ^4www.GSManager.de [19.12.15 22:29:23] Info: Player 'oG|Gilly' executed command: 'get ', PID: 0, GUID: fc854XXXXXXXXXXXXXXXXd1f5108133cb38045 [19.12.15 22:30:58] Info: Automatic Message was sent: ^5The next Map is: ^4Crash ^5(^4Free for All^5){{br}}^5Die nächste Karte ist: ^4Crash ^5(^4Free for All^5) [19.12.15 22:31:05] Info: Player "NHCJ'XXXXXX" (GUID: 00000000XXXXXXXXXX615d802da1XXXXX, IP: XX.139.XX.XXX, PID: 2) joined. [19.12.15 22:31:11] Info: Next map / map restart [19.12.15 22:31:11] Info: RCON connection established (127.0.0.1:28975) [19.12.15 22:31:11] Info: Current map: mp_crash (war) [19.12.15 22:31:13] Info: RCON command executed: 'pb_sv_guidrelax 0' [19.12.15 22:32:15] Info: Player 'oG|Gilly' executed command: 'punish (ban) alter', PID: 0, GUID: XXXXXXXXXXXXXXXXXXXXXXXXX3cb38045 [19.12.15 22:32:15] Info: RCON command executed: 'pb_sv_ban 3 Kicked by Admin^7' [19.12.15 22:32:15] Warning: Error kicking player 'NHCJ'XXXXXXXX' with pb_sv_kick, using clientkick, PID: 2, GUID:000000009adXXXXXXXXXXXXXXXXb55d [19.12.15 22:32:15] Info: RCON command executed: 'banClient 2' [19.12.15 22:32:15] Info: Player 'NHCJ'XXXXXXXX' got banned (by: oG|Gilly), reason: Kicked by Admin, PID: 2, GUID: 0000000XXXXXXXXXXXXXXXX15d802da1b55d [19.12.15 22:32:15] Warning: Warning in :\Users\Gilly\Desktop\mam\mam beta 28975\daemon\libraries\database\database.php:393 => PDOStatement::execute(): SQLSTATE[HY000]: General error: 1364 Field 'banDate' doesn't have a default value [19.12.15 22:32:15] Warning: BanHelper: Can 't create ban for user 353 [19.12.15 22:32:15] Info: Player 'NHCJ'XXXXXXXXX' quit, PID: 2, GUID: 000000009aXXXXXXXXXXXXXXX802da1b55d [19.12.15 22:32:22] Info: Player 'oG|Gilly' executed command: 'unban ', PID: 0, GUID: fc854bed8XXXXXXXXXXXXXXXXXXXXXXX3cb38045 [19.12.15 22:32:22] Notice: Notice in :\Users\Gilly\Desktop\mam\mam beta 28975\daemon\libraries\punishment\commands.php:415 => Undefined offset: 0 [19.12.15 22:32:22] Warning: Warning in :\Users\Gilly\Desktop\mam\mam beta 28975\daemon\libraries\database\database.php:287 => PDOStatement::execute(): SQLSTATE[42S22]: Column not found: 1054 Unknown column 'name' in 'where clause' [19.12.15 22:32:31] Info: Player 'oG|Gilly' executed command: 'unban ', PID: 0, GUID: fc854bXXXXXXXXXXXXXXXXXXXXXXX08133cb38045 [19.12.15 22:32:31] Notice: Notice in :\Users\Gilly\Desktop\mam\mam beta 28975\daemon\libraries\punishment\commands.php:415 => Undefined offset: 0 [19.12.15 22:32:31] Warning: Warning in :\Users\Gilly\Desktop\mam\mam beta 28975\daemon\libraries\database\database.php:287 => PDOStatement::execute(): SQLSTATE[42S22]: Column not found: 1054 Unknown column 'name' in 'where clause' [19.12.15 22:32:34] Info: Player 'oG|Gilly' executed command: 'unban alter', PID: 0, GUID: fc854XXXXXXXXXXXXXXXXXXXXXb38045 [19.12.15 22:32:34] Warning: Warning in :\Users\Gilly\Desktop\mam\mam beta 28975\daemon\libraries\database\database.php:287 => PDOStatement::execute(): SQLSTATE[42S22]: Column not found: 1054 Unknown column 'name' in 'where clause' [19.12.15 22:32:58] Info: Automatic Message was sent: ^5This Server is running ^4GSManager 1.1.0^5, visit our Website at: ^4www.GSManager.de [19.12.15 22:33:08] Info: Next map / map restart
To protect the person IP and the person name I have replace it with XXXXXX
-
Nevermind, it is now working. However, it did not save this to MySQL DB. When I did !unban said it could not find player.
-
"twofactorauth": {
"enabled": false,
"secretlength": 16
}like this? If so I am still unable to permban a player. Even when I am Operator.
-
How do you disable it?
-
I need help with !login everytime I use it in my stock server it keeps on popping up hiddenCMD. I have IceOps 1.7a on Windows. Also, is there a way to disable incase I do not need it?
-
ok. Also, how do you make it stop doing fast_restart after restarting GSM?
-
what the title says. !cmdlist doesn't work says invalid command.
-
Yes please. If you could do that
-
Can anyone share the "Chatlogger" plugin ? Also, is there is a similar xlrstats? I have seen 3xP clan and C4S clan having a xlrstats looking like with ManuAdminMod.