Jump to content
  • 0

Building objects deleted on restart


Fumler

Question

Hello.

 

Installed an epoch server with 0.2.5.2 and it worked just fine, but when we upgraded to 0.3.0.1 now, buildings we place (jammer, floors etc) are gone after restart. (You can't see them ingame). But I am using Zupas Redis-DBM, and I can see the buildings on the map there.

 

Anyone got any idea what the problem can be?

 

No mods, no scripts, basic epoch 3 on Chernarus. config files are standard except for extra vehicles added, but they all work fine. Inventory, player locations, vehicle locations etc are all correct.

 

Did a FLUSHALL on the redisdb after I installed 3.0

 

Thanks for any help.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

The IP, port etc all match between redis.conf and epochserver.ini. 


[EpochServer]
BattlEyePath = C:\BattlEye
InstanceID = NA123

[Redis]
IP = 127.0.0.1
Port = 6379
DB = 0
Password = x

[SteamAPI]
Logging = 0
Key =
VACBanned = 0
VACMinimumNumberOfBans = 0
VACMaximumDaysSinceLastBan = 0
PlayerAllowOlderThan = 0

I notice now the Key variable is not set, does this matter? Bit weird that everything works fine when it comes to the DB, except for building objects that players have placed.

Link to comment
Share on other sites

  • 0

Tested some more. I did FLUSHALL in redis and restarted the server. Then I placed a jammer and two foundations (which are visible ingame), gave myself 5000 crypto, ate an energy pack etc.

.

Redis:

$ keys *Build*
1) "Building:NA123:1"
2) "Building:NA123:0"
3) "Building:NA123:2"

Now I restart the server and log in, I still have my 5000 krypto, I still have my energy, I'm at the same location I was, and our group is still functioning. But the 3 building objects are now gone, aka not visible. And redis still show the objects.

$ keys *Build*
1) "Building:NA123:1"
2) "Building:NA123:0"
3) "Building:NA123:2"

Data in the keys (replaced steamid for this example, is 64bit steamid in real db):

127.0.0.1:6379> GET "Building:NA123:0"
"[\"PlotPole_EPOCH\",[[8136.13,9142.89,0.000222714],[0.246399,0.969149,-0.00622559],[-0.00460314,0.00759383,0.999961]],\"-1\",\"steamid is here in db\",0,0]"
127.0.0.1:6379> GET "Building:NA123:1"
"[\"Foundation_EPOCH\",[[8129.11,9146.05,0.00485979],[-0.839722,-0.543017,0],[0,0,1]],\"-1\",\"steamid is here in db\",0,0]"
127.0.0.1:6379> GET "Building:NA123:2"
"[\"Foundation_EPOCH\",[[8137.89,9151.73,0.011259],[-0.839722,-0.543017,0],[0,0,1]],\"-1\",\"steamid is here in db \",0,0]"

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...