1. The forums are scheduled for deletion on or after December 31, 2024 (JST). Please back up or archive any data you find important to you. If you do not have an account, you cannot login or create an account.

2.1 TSWVote 2.3

Allows in-game voting using the tserverweb.com platform.

  1. XGhozt

    Plugin Developer

    Joined:
    May 12, 2012
    Messages:
    171
  2. Rhapso

    Rhapso Level 4

    Joined:
    Aug 30, 2014
    Messages:
    59
    any chance this is going to be updated at all? or has the greatest dev of all time left us :p -ignoreversion wont work for me
     
  3. XGhozt

    Plugin Developer

    Joined:
    May 12, 2012
    Messages:
    171
    Can you please post the error you're getting? I just booted up a test server and it worked fine for me with the ignorversion option.
     
  4. Rhapso

    Rhapso Level 4

    Joined:
    Aug 30, 2014
    Messages:
    59
    Code:
    C:\Users\Rhapso\Desktop\Terraria Server> TerrariaServer.exe -ignoreversion
    TerrariaAPI Version: 1.21.0.0 (Protocol v1.3.0.8 (156))
    SendQ edition
    [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.
    [Server API] Error Startup aborted due to an exception in the Server API initialization:
    System.InvalidOperationException: Failed to load assembly "TSWVote.dll". ---> System.InvalidOperationException: Could not create an instance of plugin class "TSWVote.TSWVote". ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileLoadException: Could not load file or assembly 'Newtonsoft.Json, Version=4.0.2.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
       at TSWVote.Config.Read()
       at TSWVote.TSWVote..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, StackCrawlMark& stackMark)
       at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
       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)
    
    Code:
    and this is a server start using -ignoreversion without the vote plugin
    TerrariaAPI Version: 1.21.0.0 (Protocol v1.3.0.8 (156))
    SendQ edition
    [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.
    [Server API] Info Plugin cClass v1.2 (by Teddy) initiated.
    [Server API] Info Plugin InvSee v1.0.6.0 (by Enerdy) initiated.
    You're using the new more secure REST permission model which can lead to compatibility problems with existing REST services. If compatibility problems occur, you can switch back to the unsecure permission model by changing the config setting "RestUseNewPermissionModel" to false, which is not recommended.
    TShock 4.3.9.0 (Yoraiz0r R0cks) now running.
    AutoSave Enabled
    Backups Disabled
    Welcome to TShock for Terraria. Initialization complete.
    [Server API] Info Plugin TShock v4.3.9.0 (by The TShock Team) initiated.
    [Server API] Info Plugin AutoBroadcast v1.5.9.0 (by Scavenger) initiated.
    [Server API] Info Plugin CRITICAL HIT! v1.1 (by White) initiated.
    [Server API] Info Plugin DieMob Regions v0.35 (by Zaicon) initiated.
    [Server API] Info Plugin EssentialsPlus v1.1.1.0 (by WhiteX et al.) initiated.
    [Server API] Info Plugin Forcefield v3.0.1.0 (by White, IcyPhoenix, AmoKa) initiated.
    [Server API] Info Plugin Region Vision v1.2.5.0 (by Andrio Celos) initiated.
    [Server API] Info Plugin Statistics v5.0.2.21 (by Grandpa-G) initiated.
    Terraria Server v1.3.0.8
    
    1   EXPURTMDOE            norm, corr, exp   Last used: 9/23/2015 5:28 PM
    2   Saints Live World     hard, crim, norm  Last used: 9/24/2015 10:44 PM
    3   Saints Live World     norm, corr, exp   Last used: 9/23/2015 9:11 PM
    4   Saints Live World     hard, corr, exp   Last used: 9/25/2015 11:24 AM
    
    n               New World
    d   <number>    Delete World
    
    Choose World:
    nice and successful :(
    
     
  5. shaitan1977

    shaitan1977 Level 4

    Joined:
    Jul 6, 2014
    Messages:
    61
    Did you try copying the Newtonsoft.Json.dll so you have one in the TerrariaServer.exe folder and one in the ServerPlugins folder? I had to do that to get a few plugins to work awhile back.

    From your log:
    Could not load file or assembly 'Newtonsoft.Json, Version=4.0.2.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

    After testing just now, I get the same error you did.
     
    • Useful Useful x 1
  6. Rhapso

    Rhapso Level 4

    Joined:
    Aug 30, 2014
    Messages:
    59
    same dll? let me give it a try
     
  7. Rhapso

    Rhapso Level 4

    Joined:
    Aug 30, 2014
    Messages:
    59
    okay it seems to be working now that i did that but im still having trouble with the tserver webpage. the commands appear to work in the console but do not give players the items its supposed to.
    Sorry it wouldnt let me edit that post for some reason


    Edit : fixed nevermind my own mistake
     
    #167 Rhapso, Sep 27, 2015
    Last edited: Sep 27, 2015
  8. shaitan1977

    shaitan1977 Level 4

    Joined:
    Jul 6, 2014
    Messages:
    61
    I've noticed alot of times the ingame messaging will not show them they get the $, but if you were to do a /bank bal before and after, you'll see it does actually give them the $.
     
  9. XxZenqxX

    XxZenqxX Level 4

    Joined:
    Aug 11, 2015
    Messages:
    53
  10. XGhozt

    Plugin Developer

    Joined:
    May 12, 2012
    Messages:
    171
  11. XGhozt

    Plugin Developer

    Joined:
    May 12, 2012
    Messages:
    171
  12. XGhozt

    Plugin Developer

    Joined:
    May 12, 2012
    Messages:
    171
  13. Kojiro_S

    Kojiro_S Level 11

    Joined:
    Feb 16, 2014
    Messages:
    659
    Is this plugin eventually going to be recompiled for Mintaka? *puppy eyes*
     
  14. Newy

    Plugin Developer

    Joined:
    Oct 12, 2016
    Messages:
    17
    • Useful Useful x 1