Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Resource editor doesn't update already spawned resources on 'save' #1447

Open
1 task done
izakt opened this issue Sep 8, 2022 · 0 comments
Open
1 task done
Labels
bug Something isn't working verified Issue has been verified as valid/existing.

Comments

@izakt
Copy link

izakt commented Sep 8, 2022

Description

The Resource Editor doesn't update the existing/already spawned resources on the map after clicking 'save' in the resource editor. If you edit a resource, then log into the game, the edited resource will still have the old setting. In order to update the already spawned resources, you have to either restart the server or make a map edit (and save the map chunk).

I was asked to write a report about it as it doesn't follow how the NPC editor behaves. The NPC editor does update/refresh/respawn all of the existing/already spawned NPCs on the map after clicking the 'save' button in the NPC editor.

Steps to Reproduce

  1. Open Intersect Editor -> Open resource editor.
  2. Create a resource with 100 HP -> save resource editor.
  3. Put the resource on a map -> save map.
  4. Enter the game and go to the resource you just placed.
  5. Check the resource's HP by hitting. (it should have 100 hp)
  6. Exit the game.
  7. Go back into Intersect Editor -> Open resource editor.
  8. Change the resource's hp to 3 HP -> save the resource editor.
  9. Enter the game again and check the resource's HP.

Actual result: The resource has 100 hp still.
Expected result: The resource's hp should have updated to 3 hp (or the resource should have respawned) after clicking the 'save' button in the resource editor.

Version with bug

v0.7.0.126

Last version that worked well

n/a

Affected platforms

I was not able test on other platforms

Did you find any workaround?

You can manually refresh / respawn / update the resources by:

  1. restarting the server
  2. making a map edit and saving the map chunk

Relevant log output

No response

Duplicate Bug Check

  • This bug report is not a duplicate to the best of my knowledge.
@izakt izakt added bug Something isn't working needs verification Pending confirmation that the bug exists by another user. labels Sep 8, 2022
@Arufonsu Arufonsu added verified Issue has been verified as valid/existing. and removed needs verification Pending confirmation that the bug exists by another user. labels Sep 19, 2022
@lodicolo lodicolo changed the title bug: Resource editor doesn't update resources on 'save' bug: Resource editor doesn't update already spawned resources on 'save' Sep 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working verified Issue has been verified as valid/existing.
Projects
Status: Todo
Development

No branches or pull requests

2 participants