2.1 Diemob Regions 1.0.2

Kills and/or modifies NPCs in given regions.

  1. Zaicon

    Zaicon Spam Cleaner 9000
    TShock Mod Plugin Developer

    Joined:
    Feb 15, 2014
    Messages:
    811
    Zaicon submitted a new resource:

    Diemob Regions - Kills and/or modifies NPCs in given regions.

    Read more about this resource...
     
    • Like Like x 1
    • Useful Useful x 1
    #1 Zaicon, Mar 13, 2015
    Last edited: Jul 11, 2015
  2. jokekid

    jokekid Level 1

    Joined:
    Feb 24, 2014
    Messages:
    5
    hi, i have a little doubt wether this plugin will do what i want it to or not...

    does the function of replacing monsters work per region?

    so, i could have a vanilla corruption on one place, and on another one have a corruption with custom mob spawns?

    thank you.
     
  3. Zaicon

    Zaicon Spam Cleaner 9000
    TShock Mod Plugin Developer

    Joined:
    Feb 15, 2014
    Messages:
    811
    That is correct. Each region can be independently controlled at your desire.
     
  4. jokekid

    jokekid Level 1

    Joined:
    Feb 24, 2014
    Messages:
    5
    this must be the best plugin ever in that case, one last question, is it possible to replace forest critters as well?
     
  5. XGhozt

    Plugin Developer

    Joined:
    May 12, 2012
    Messages:
    171
    I would love to see any update to this! :)
     
  6. Zaicon

    Zaicon Spam Cleaner 9000
    TShock Mod Plugin Developer

    Joined:
    Feb 15, 2014
    Messages:
    811
    I just got my laptop in today, so I'll start updating my plugins tomorrow after work.
     
    • Like Like x 1
    • Friendly Friendly x 1
  7. Zaicon

    Zaicon Spam Cleaner 9000
    TShock Mod Plugin Developer

    Joined:
    Feb 15, 2014
    Messages:
    811
  8. Sector_RWS

    Sector_RWS Level 4

    Joined:
    Nov 24, 2014
    Messages:
    51
    I have a little problem with this plugin
     

    Attached Files:

  9. Sector_RWS

    Sector_RWS Level 4

    Joined:
    Nov 24, 2014
    Messages:
    51
    I have a little problem with this plugin
    2015-07-11_7-32-12.png
     
  10. Zaicon

    Zaicon Spam Cleaner 9000
    TShock Mod Plugin Developer

    Joined:
    Feb 15, 2014
    Messages:
    811
    You must have Newtonsoft.Json in both your main tShock directory and the ServerPlugins folder.
     
  11. Sector_RWS

    Sector_RWS Level 4

    Joined:
    Nov 24, 2014
    Messages:
    51
    –°an I just copy the file Newtonsoft.Json.dll from folder Terraria to folder ServerPlugin
     
    • Agree Agree x 1
  12. Sector_RWS

    Sector_RWS Level 4

    Joined:
    Nov 24, 2014
    Messages:
    51
    It worked thank you
     
  13. DarkunderdoG

    Plugin Developer

    Joined:
    Jul 21, 2011
    Messages:
    239
    Any idea what is causing this?

    Code:
    2015-07-11 16:29:35 - Utils: INFO: Server executed: /diemob.
    2015-07-11 16:29:35 - Command: ERROR: System.FormatException: Input string was not in a correct format.
       at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args)
       at System.String.Format(IFormatProvider provider, String format, Object[] args)
       at System.String.Format(String format, Object[] args)
       at DieMob.DieMobMain.DieMobCommand(CommandArgs args)
       at TShockAPI.Command.Run(String msg, Boolean silent, TSPlayer ply, List`1 parms)
    2015-07-11 16:29:42 - Utils: INFO: Disalign executed: /spawnrate 10000000000.
     
  14. Zaicon

    Zaicon Spam Cleaner 9000
    TShock Mod Plugin Developer

    Joined:
    Feb 15, 2014
    Messages:
    811
    Oh bleep, I ran into that myself, had to stop for the night, and forgot about it when I came back. I'll take another look at it tomorrow.
     
    • Like Like x 1
  15. Zaicon

    Zaicon Spam Cleaner 9000
    TShock Mod Plugin Developer

    Joined:
    Feb 15, 2014
    Messages:
    811
  16. DarkunderdoG

    Plugin Developer

    Joined:
    Jul 21, 2011
    Messages:
    239
    Thanks! Also Martian Walkers can enter Diemob zones
     
  17. Zaicon

    Zaicon Spam Cleaner 9000
    TShock Mod Plugin Developer

    Joined:
    Feb 15, 2014
    Messages:
    811
    Ah, right. Add

    384,
    387,
    405,
    406,
    407,
    409,
    410,
    411,
    414,
    415,
    416,
    417,
    418,
    419,
    420,
    421,
    422,
    423,
    424,
    425,
    426,
    427,
    428,
    429,
    440,
    453,
    507,
    516,
    518,
    519,
    520,
    521,
    522,
    523,
    534

    to the config file under "MobsWith0ValueButNotStatueSpawn".
     
  18. SmallSansSerif

    SmallSansSerif Level 1

    Joined:
    May 18, 2015
    Messages:
    13
  19. Zaicon

    Zaicon Spam Cleaner 9000
    TShock Mod Plugin Developer

    Joined:
    Feb 15, 2014
    Messages:
    811
    @SmallSansSerif
    The public release of this plugin is supported for the latest release of tShock, not bleeding-edge dev builds that change often and could break things at any moment. I'm not entirely sure why you would think a plugin would automatically work with things that didn't exist at the time (i.e., new dev builds).

    Anyway, here is a dev version of this plugin that should work with Build 501, made for someone else that also had this issue...

    (P.S. Forgive my tone, I've been awake too long.)
     
  20. SmallSansSerif

    SmallSansSerif Level 1

    Joined:
    May 18, 2015
    Messages:
    13
    Sorry no worries and thanks for version bump. I wanted to make sure you knew about the message so you would be aware. Get some sleep :)