NotThorny / Raids

Spawn raid bosses in your world!
4 stars 0 forks source link

Which file should the reward entry be placed in? #2

Open Chuwhyangle opened 7 months ago

Chuwhyangle commented 7 months ago

Is it because there is no reward so that the flowers cannot be interacted with? Sometimes monsters don't spawn right now, and other than that everything works fine, but I don't know how to set up rewards .

NotThorny commented 7 months ago

Grasscutter\Resources\ExcelBinOutput which is the same place you got the file from originally. You just edit it and place it back in there. If your resources are in a zip file such as Resources-4.0.zip then you just place the file back into the zip and accept any prompts to overwrite the file, it should automatically re-zip and update the file.

If a flower cannot be interacted with then yes, it does not have reward data.

Chuwhyangle commented 7 months ago

The first picture I found in raids/config.json about the information about the boss spawning, and the second picture I wrote the reward against the information in the first picture, but it still can't bloom, and there is an error in the console, as shown in Figure 3. QQ截图20240422181510 QQ截图20240422181455 GCCHBN@~31IPBW` JF4DRY

Chuwhyangle commented 7 months ago

The second graph file path is Grasscutter-1.7.4resourcesExcelBinOutputRewardPreviewExcelConfigData.json, and I set the reward in this file.

NotThorny commented 7 months ago

Make sure that Grasscutter is restarted after you make changes to the resources. It is best to make changes to the file while Grasscutter is closed. Once you've made the changes you want, then start Grasscutter again. The resources are only read once when Grasscutter is starting up, so changes made to the file after that won't apply until it is stopped and started again.

NotThorny commented 7 months ago

I gave it a try with your reward entry just to be sure: GenshinImpact_vofXsucddW

It looks to be working correctly to me, so just make sure your server has been restarted and it should be good to go.

The lines that look like this can be ignored: 01:39:46 <WARN:GadgetChest> Can not solve chest drop: chest_drop_id = 0 , drop_tag = null.Fallback to legacy drop system.

The "could not find reward of boss monster" part should be fixed by the above.