Guad / GTACoop

An online co-op modification for GTA5
GNU General Public License v3.0
81 stars 71 forks source link

Setting Permissions doesn't work. #72

Closed Bluscream closed 7 years ago

Bluscream commented 7 years ago

Hey, so i have recently tried to create my own Coop server but as it seems, i cannot set myself as owner as it results in my account beeing recreated.

Steps to reproduce:

  1. Use my configs.
  2. Start and connect to the server at localhost.
  3. Register yourself.
  4. Close the server.
  5. Edit permission to "Owner" or "Admin" in the Accounts.xml
  6. Start the server.
  7. It will ask you to reregister. 7.1 If you reregister your account will be twice in the database. 7.2 If you reconnect the one with perms "User" will be used.
Bluscream commented 7 years ago

Settings.xml

<?xml version="1.0"?>
<ServerSettings xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Name>[EU/GER] Bluscream's World</Name>
  <MaxPlayers>1337</MaxPlayers>
  <Port>4499</Port>
  <PasswordProtected>false</PasswordProtected>
  <Password></Password>
  <Announce>true</Announce>
  <MasterServer>http://46.101.1.92/</MasterServer>
  <AllowDisplayNames>true</AllowDisplayNames>
  <Gamemode>freeroam</Gamemode>
  <Filterscripts>
    <string>AdminTools</string>
  </Filterscripts>
</ServerSettings>
Bluscream commented 7 years ago

Accounts.xml

<?xml version="1.0"?>
<UserList xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Accounts>
    <Account>
      <Name>BluscreamLP</Name>
      <Password></Password>
      <Level>Owner</Level>
    </Account>
  </Accounts>
</UserList>
Bluscream commented 7 years ago

Banlist.xml

<?xml version="1.0"?>
<Banlist xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <BannedIps />
</Banlist>
Bluscream commented 7 years ago

Command Line Output

Name: [EU/GER] Bluscream's World
Port: 4499
Player Limit: 1337
Starting...
Announcing to master server...
Loading filterscripts..
Accounts have been loaded.
Starting filterscript Server Administration Tools...
Started! Waiting for connections.
New incoming connection: RLD! (intel_core_i5_4670!)
New player connected: RLD! (intel_core_i5_4670!)
Received unhandled library message Ping from 127.0.0.1:5000
Player disconnected: RLD! (intel_core_i5_4670!)
New incoming connection: RLD! (UCGEN)
New player connected: RLD! (UCGEN)
Received unhandled library message Ping from 127.0.0.1:5000
New incoming connection: RLD! (UCGEN (1))
New player connected: RLD! (UCGEN (1))
Received unhandled library message Ping from 127.0.0.1:5000
New incoming connection: BluscreamLP (Bluscream)
New player connected: BluscreamLP (Bluscream)
Player disconnected: BluscreamLP (Bluscream)
New incoming connection: RLD! (SuperSuicide)
New player connected: RLD! (SuperSuicide)
UCGEN (1): urtle
New incoming connection: BluscreamLP (Bluscream)
New player connected: BluscreamLP (Bluscream)
UCGEN (1): urtle
New incoming connection: RLD! (Andreas)
New player connected: RLD! (Andreas)
UCGEN (1): urtle
New incoming connection: RLD! (RLD!)
New player connected: RLD! (RLD!)
UCGEN (1): urtle
UCGEN (1): urtle
UCGEN (1): urtle
Connection received unhandled library message: Discovery
Player disconnected: RLD! (SuperSuicide)
Player disconnected: RLD! (Andreas)
Connection received unhandled library message: Discovery
Player disconnected: RLD! (RLD!)
New incoming connection: RLD! (RLD!)
New player connected: RLD! (RLD!)
New incoming connection: RLD! (SuperSuicide)
New player connected: RLD! (SuperSuicide)
UCGEN (1): urtle
New incoming connection: RLD! (SeFeR)
New incoming connection: RLD! (RLD! (1))
New player connected: RLD! (SeFeR)
New player connected: RLD! (RLD! (1))
New incoming connection: RLD! (RLD! (2))
New player connected: RLD! (RLD! (2))
Bluscream commented 7 years ago

Okay, i compiled the server binary / admintools myself which solved the problem, however if i compile the client, it wont load up in the game.