What could this mean?
In /storage/emulated/0/TheoTown/plugins/Quest/meteor.json:
java.lang.ClassCastException: info.flowersoft.theotown.theotown.draft.UpgradeDraft cannot be cast to info.flowersoft.theotown.theotown.draft.BuildingDraft
Error
Moderator: Plugin Moderators
- JustAnyone
- Developer
- Reactions:
- Posts: 3480
- Joined: 23 Jul 2017, 12:45
- Location: Easter Island
- Plugins: Showcase Store
-
Platform
Re: Error
Code: Select all
[{"id":"dsahq","height":4,"width":4,"type":"decoration","influence pollution":15,"frames":[{"bmp":"meteor.png"}],"upgrades":[{"id":"dsahq","price":50000,"monthly price":10,"frames":[{"bmp":"meteor.png"}],"title":"DSA Headquarters","text":"Upgrade the hardware to spy fellow theotown players.","influence pollution":-30,"influence park":13,"height":4,"width":4,"requirement":{"requirements":[{"type":"RANK","data":{"id":"$rnk_city_big"},"author":"former member"}]}}],"price":10000,"spawn":{"p":0.008,"height":800,"radius":100},"max count":1,"author":"JustAnyone","title":"DSA Headquarters","text":"DSA headquarters are already here! Use it to fight villians and evil people. You can upgrade it to get an abillity to gather intelligence.","requirement":{"requirements":[{"type":"RANK","data":{"id":"$rnk_city_small"},"author":"JustAnyone"}]}}]
- JustAnyone
- Developer
- Reactions:
- Posts: 3480
- Joined: 23 Jul 2017, 12:45
- Location: Easter Island
- Plugins: Showcase Store
-
Platform
Re: Error
Thank you! Works like a charm!former member wrote: ↑23 Jul 2017, 18:40You used the same id twice (building and upgrade)JustAnyone wrote: ↑23 Jul 2017, 18:37[{"id":"dsahq","height":4,"width":4,"type":"decoration","influence pollution":15,"frames":[{"bmp":"meteor.png"}],"upgrades":[{"id":"dsahq","price":50000,"monthly price":10,"frames":[{"bmp":"meteor.png"}],"title":"DSA Headquarters","text":"Upgrade the hardware to spy fellow theotown players.","influence pollution":-30,"influence park":13,"height":4,"width":4,"requirement":{"requirements":[{"type":"RANK","data":{"id":"$rnk_city_big"},"author":"former member"}]}}],"price":10000,"spawn":{"p":0.008,"height":800,"radius":100},"max count":1,"author":"JustAnyone","title":"DSA Headquarters","text":"DSA headquarters are already here! Use it to fight villians and evil people. You can upgrade it to get an abillity to gather intelligence.","requirement":{"requirements":[{"type":"RANK","data":{"id":"$rnk_city_small"},"author":"JustAnyone"}]}}]
Change one of them, it may work