[Solved]Rstring Exception

Plugin specific problems will be solved here.

Moderator: Plugin Moderators

User avatar
CommanderABab
AB
Reactions:
Posts: 11086
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

[Solved]Rstring Exception

#1

Post by CommanderABab »

Image

This is an offer to build the alien power plant which requires a poor population of 100,000 inhabitants. I had just met the population requirement.

This is the requirement section of the plugin:

Code: Select all

"requirement":{ 
        "requirements":[ 
          { 
            "type":"HABITANT_COUNT", 
            "data":{ 
              "count":100000, 
              "factor0":1, 
              "factor1":0, 
              "factor2":0
            } 
          } 
        ] 
      }
Is there a string that I should include somewhere that would make the message much, much clearer?

User avatar
Mayor Jeffrey IX
TheoTown Cartographer
Reactions:
Posts: 988
Joined: 05 Apr 2017, 16:48
Location: Right here
Plugins: Showcase Store

Platform

#2

Post by Mayor Jeffrey IX »

I get the same thing with a school I made. The requirement is 40,000 habitants, I get the same message (but shorter).

User avatar
Lobby
Developer
Reactions:
Posts: 3705
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

#3

Post by Lobby »

Oh, my mistake, thank you for finding it :P

It doesn't look into the plugin for a title and therefore doesn't find one.

User avatar
Mayor Jeffrey IX
TheoTown Cartographer
Reactions:
Posts: 988
Joined: 05 Apr 2017, 16:48
Location: Right here
Plugins: Showcase Store

Platform

#4

Post by Mayor Jeffrey IX »

Could you add a title string?

User avatar
CommanderABab
AB
Reactions:
Posts: 11086
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

#5

Post by CommanderABab »

He said it isn't looking for one.

User avatar
Mayor Jeffrey IX
TheoTown Cartographer
Reactions:
Posts: 988
Joined: 05 Apr 2017, 16:48
Location: Right here
Plugins: Showcase Store

Platform

#6

Post by Mayor Jeffrey IX »

Oh I see. He just needs to put in something that will look for a title.

User avatar
CommanderABab
AB
Reactions:
Posts: 11086
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

#7

Post by CommanderABab »

Yes

Post Reply Previous topicNext topic

Return to “Problems”