- Status Closed
- Percent Complete
- Task Type Feature Request
- Category Engine → GM System
- Assigned To No-one
- Operating System
- Severity Low
- Priority
- Reported Version
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#2514 - /updaterespawn (or similar) for players
Derivated from FS#1345
GMs and Settings wish for a command that can be used to update/change a player’s spawn point.
It should work like /updaterespawn for NPCs.
Ares suggested “/changespawn” as name for the command.
Closed by Venalan
12.11.2014 22:09
Reason for closing:
Additional comments about closing:
12.11.2014 22:09
Reason for closing:
Additional comments about closing:
requested command isn't needed
In other games this is typically called "binding" to a particular place. I would suggest making /bind a new GM2 or GM3 command to accomplish this.
1. Subscribe cmdadmin.cpp to "/bind", and send it to the server if received.
2. Modify the user command message class to consider "/bind" a valid command.
3. Add a handler for that "/bind" in src/server/adminmanager.cpp.
4. Add columns for bind_loc_x, bind_loc_y, bind_loc_z, bind_yrot, bind_sector_id in the characters table and use them in saving in step 5.
5. Handler should use "standard" validation for GM commands, and if passed should update the player's starting position in the database permanently.
Whis is the use case for this?
We already have "/teleport <char name> restore" to relocate a character for their next login, otherwise all characters use race_info position to determine where they start when skipping or exiting Tutorial, and when exiting DR.
Unless there's a good reason this might be needed, I'd say close.
Does anyone know why this would be needed given the /teleport.. restore command? If not we should just close it.
I see no use for this command.