Character Reset 1.1

Reset players' character or your own character without any hassle

  1. bippity

    Plugin Developer

    Joined:
    Jan 14, 2012
    Messages:
    298
    Added "/resetplayer" which lets you reset a certain player by username (Doesn't matter if the player is online/offline)
     
    • Like Like x 3
  2. dark22

    dark22 Level 4

    Joined:
    May 17, 2014
    Messages:
    97
    Thank you for additions made to your plugin. ;)
     
  3. bippity

    Plugin Developer

    Joined:
    Jan 14, 2012
    Messages:
    298
    bippity submitted a new resource:

    Character Reset [SSC] - Reset players' character or your own character without any hassle

    Read more about this resource...
     
  4. nicatronTg

    nicatronTg Shank / hakusaro
    TShock Founder TShock Admin

    Joined:
    Jul 21, 2011
    Messages:
    716
    @bippity your original thread has been merged with its resource manager counterpart.
     
    • Like Like x 1
  5. bippity

    Plugin Developer

    Joined:
    Jan 14, 2012
    Messages:
    298
  6. Paillan

    Paillan Level 0

    Joined:
    Mar 22, 2015
    Messages:
    2
    Is it worth to make this plugin be able to be bind to furniture?
    Like a player steps in a preasurre plate and that will reset it's inventory?
    That way admins can make auto-reseting points
     
  7. bippity

    Plugin Developer

    Joined:
    Jan 14, 2012
    Messages:
    298
    I believe what you're saying should belong to a separate plugin.
    You should be able to achieve what you want by finding a working version of CoderCow's "Advanced Circuits" and have it work with SignCommands.
     
  8. Paillan

    Paillan Level 0

    Joined:
    Mar 22, 2015
    Messages:
    2
    okey thanks for the information.
     
  9. SmallSansSerif

    SmallSansSerif Level 1

    Joined:
    May 18, 2015
    Messages:
    13
    Can this be updated for latest API please? :)
     
  10. Lugia_101

    Lugia_101 Level 4

    Joined:
    Mar 13, 2015
    Messages:
    51
    Can someone update this resource would be nice :)
     
  11. bippity

    Plugin Developer

    Joined:
    Jan 14, 2012
    Messages:
    298
    There's a functional version in the github repository.
     
  12. Lugia_101

    Lugia_101 Level 4

    Joined:
    Mar 13, 2015
    Messages:
    51
  13. Lugia_101

    Lugia_101 Level 4

    Joined:
    Mar 13, 2015
    Messages:
    51
    Sry if I disturb again :(

    I've got an error coming up someone knows how to fix it ?

    [03:12:16 18:36:40] [Server API] Verbose: TerrariaApi - Server v1.22.0.0 started.
    [03:12:16 18:36:40] [Server API] Verbose: Command line: "C: \ Users \ chst1 \ Documents \ Terraria Stuff \ tshock_4.3.12 \ TerrariaServer.exe" -ignoreversion
    [03:12:16 18:36:40] [Server API] Verbose: OS: Microsoft Windows NT 6.2.9200.0 (64bit: True)
    [03:12:16 18:36:40] [Server API] Verbose: Mono: False
    [03:12:16 18:36:40] [Server API] Warning: Plugin versions are no longer being Regarded, you are on your own! If problems arise, TSHOCK developers will not help you with issues Regarding this.
    [03:12:16 18:36:40] [Server API] Error: Startup aborted due to exception to in the Server API initialization:
    System.InvalidOperationException: Failed to load assembly "CharacterReset.dll". ---> System.InvalidOperationException: Could not create instance of at pluginClass "CharacterReset.CharacterReset". ---> System.Reflection.TargetInvocationException: A call destination has generated an exception. ---> System.TypeLoadException: The type "TShockAPI.NetItem" in the assembly "Character reset, Version = 0.0.0.0, Culture = neutral, PublicKeyToken = null" Could not load because of a value type conflict.
    at CharacterReset.CharacterReset..ctor (Main game)
    --- End of inner exception stack trace ---
    at System.RuntimeMethodHandle.InvokeMethod (Object target, Object [] arguments, Signature sig, Boolean constructor)
    at System.Reflection.RuntimeConstructorInfo.Invoke (BindingFlags invokeAttr, Binder binder, Object [] parameters, CultureInfo culture)
    at System.RuntimeType.CreateInstanceImpl (BindingFlags bindingAttr, Binder binder, Object [] args, CultureInfo culture, Object [] activationAttributes, Stack Crawl Mark & stack mark)
    (Type Type, BindingFlags bindingAttr, Binder binder, Object [] args, CultureInfo culture, Object [] activationAttributes) at System.Activator.CreateInstance
    at System.Activator.CreateInstance (Type type, Object [] args)
    at TerrariaApi.Server.ServerApi.LoadPlugins ()
    --- End of inner exception stack trace ---
    at TerrariaApi.Server.ServerApi.LoadPlugins ()
    --- End of inner exception stack trace ---
    at TerrariaApi.Server.ServerApi.LoadPlugins ()
    at TerrariaApi.Server.ServerApi.Initialize (String [] commandLineArgs, Main game)
    at Terraria.ProgramServer.InnerStart (String [] args)
     
  14. bippity

    Plugin Developer

    Joined:
    Jan 14, 2012
    Messages:
    298
    You're using the outdated version of the plugin. '-ignoreversion' only works for API ticks, not actual code changes.
    I'm assuming you downloaded from the master branch, the updated/functional version is in the GM branch.
    Psst: Paste the error log into a code block next time pls.
     
  15. Lugia_101

    Lugia_101 Level 4

    Joined:
    Mar 13, 2015
    Messages:
    51
    Ah okay thanks again :)
     
  16. bippity

    Plugin Developer

    Joined:
    Jan 14, 2012
    Messages:
    298