Drone and jd command

jetta_pt

New member
Hi guys

I lost my Drone and another player too but the jd  commands doesn't work anymore
How do I delete the drones?  It's a private server and I have admin powers

--

jd

[jetta - count(1)]

entityId: 60074, classId: entityJunkDrone, LastKnownPosition: none

--

Clearjd

Unknown command

--

jd 60074 clear

2024-08-06T19:25:07 658.040 INF Executing command ´jd 60074 clear´

next I try to put a new drone and it gives the message    MAX DEPLOYED DRONES REACHED

I don't know what else to do... can anyone help?

 
The command is simply "jd clear". The user having the issue would be the one to run the command.

If that still does not work, then shut down the server and delete the drone.dat and drones.dat.bak files. (Note that this will erase any deployed drones, so have players pick up their drones before you do this.)

Then after starting the server up, go in and use jd clear again.

 
The command is simply "jd clear". The user having the issue would be the one to run the command.

If that still does not work, then shut down the server and delete the drone.dat and drones.dat.bak files. (Note that this will erase any deployed drones, so have players pick up their drones before you do this.)

Then after starting the server up, go in and use jd clear again.


Hi mate

I did all this and nothing works

Captura de ecrã 2024-08-06 201919.png

 
Last edited by a moderator:
I am having this exact same issue. I still need to figure out where the drone files are and delete those, but this is quite frustrating.
 

 
The command is simply "jd clear". The user having the issue would be the one to run the command.

If that still does not work, then shut down the server and delete the drone.dat and drones.dat.bak files. (Note that this will erase any deployed drones, so have players pick up their drones before you do this.)

Then after starting the server up, go in and use jd clear again.
any extra help on how to fix this issue? Do the Devs know about this issue?

 
any extra help on how to fix this issue? Do the Devs know about this issue?
Do what SylenThunder said.  If jd clear doesn't work, delete the 2 drone files then load the game and use jd clear.  It will work if done correctly.  This works for servers and hosts.

Drone files are in your save folder.  Just open the save folder for the save you're having problems with.

 
Last edited by a moderator:
Do what SylenThunder said.  If jd clear doesn't work, delete the 2 drone files then load the game and use jd clear.  It will work if done correctly.  This works for servers and hosts.

Drone files are in your save folder.  Just open the save folder for the save you're having problems with.
I have done exactly what he said to do two times. If you look at the original post, I get the same error when I type dj clear. When I type poe, my JunkDrone has an entity ID but has no location. It's like the world thinks there is one out there but doesn't know the location because it was lost during a crash or DC or something of the sort. I am the host/admin of a nitrado server.

Do what SylenThunder said.  If jd clear doesn't work, delete the 2 drone files then load the game and use jd clear.  It will work if done correctly.  This works for servers and hosts.

Drone files are in your save folder.  Just open the save folder for the save you're having problems with.
I also deleted both files. Once while the server was off, then another time while it was running and then restarted it. Could it possibly be keeping the same drone files even after I delete them? I am doing this through the nitrado file browser.

 
I also deleted both files. Once while the server was off, then another time while it was running and then restarted it. Could it possibly be keeping the same drone files even after I delete them? I am doing this through the nitrado file browser.
Did you do jd clear after deleting the files?  I've given that same advice many times since we started having problems with it a year ago with A21 and it's always worked... or at least no one has returned to say it didn't.  So I'm not sure what the problem would be unless you're deleting the files in the wrong save or only deleting one of them or something.

 
Can you try "jd clear username" where username is the person you are trying to clear the drone from?

May need host to run it if it doesn't work as client. 

 
Looks like it finely sorted itself on its own without me having to do anything... fuggin weird ass bug. It was recognizing a drone out in the world with an entity ID but had no location and couldnt clear.

 
Hi,

For me it works. I'm on a dedicated server.

Issue : Drone disappear, not even present in listentity cmd.

Fix:

1- Adding my steam_id player to serveradmin.xml (permission_level="0")

2- Remove drone.dat and drone.dat.bak on the server

3- Restart server

4- Connect to the server in-game (not telnet) and active debugmode (dm) and creativemode (cm)

5- jd clear <id myplayer> (get ID player with 'le' or 'listplayer')

 
Last edited by a moderator:
So why are things like this not addressed yet? TFP's have had over a decade and still there are bugs from years ago.

There should be better commands and access to the server databases so when commands like "jd clear" refuse to work, it can be fixed. To tell us that we need to have all users pick up their drones to fix 1 user's problem is unacceptable.

 
The drone was fixed long ago.  I haven't seen any problems with it in a very long time and yours is the first I've seen anyone even comment on it probably since the post from 6 months ago that you replied to.  If you're having problems still, then are you on the current version of the game on that server?  Does the server have a lot of mods installed (they may be causing problems)?  Does the server have to reboot regularly (that may indicate some issues with the server that are causing problems)?  Does the server limit itself to 8 players, or does it allow more than that (if more than that, the game isn't designed for more players and you won't find official support for it, and that may also be the problem)?

Also, saying they've had over a decade is disingenuous considering the drone wasn't around a decade ago AFAIK.

 
The drone was fixed long ago.  I haven't seen any problems with it in a very long time and yours is the first I've seen anyone even comment on it probably since the post from 6 months ago that you replied to.  If you're having problems still, then are you on the current version of the game on that server?  Does the server have a lot of mods installed (they may be causing problems)?  Does the server have to reboot regularly (that may indicate some issues with the server that are causing problems)?  Does the server limit itself to 8 players, or does it allow more than that (if more than that, the game isn't designed for more players and you won't find official support for it, and that may also be the problem)?

Also, saying they've had over a decade is disingenuous considering the drone wasn't around a decade ago AFAIK.


Thanks for the reply, we are on 1.4 and have a small playerbase. Not many mods, and usually no issues really. I don't remember having a drone issue before, but I am surprised that there is not a way to clear a player's drone status when the situation I encountered arises. I do see it has happened numerous time in the past from the posts I've visited. The command jd in the dm mode shows a number for the drone, yet no location. Why we can't simply circumvent the issue by just deleting the flag that the player has a drone is beyond me. Especially considering how many posts I found that were seeing this issue. So far we may have had 8 players, but usually it is 2 to 6.

In the end, to arrive to the fact that there is only 1 solution, which is to delete the .dat files and force everyone to lose their drones is incomprehensible.

 
I think I only ever had to delete that file one time, back when there was a bug with drones that made them disappear frequently.  The jd clear command has worked for me every other time, back when this was happening.  I do agree that the jd clear command should be updated to allow clearing a drone without coordinates so it's not an issue.

Your best option is to create a bug report with the details and your log and suggest that they update it to allow clearing a drone that has no coordinates.  Maybe they'll do so.

 
Last edited by a moderator:
Back
Top