1. These forums are being retired. Please ask all questions and help threads and any other type of discussions on GitHub. During this time, new threads and user registrations have been disabled.

SEconomy - Server-sided economy, currency and ranking - Update 16 1.0.23

Server-sided currency, ranking and economy system

  1. Onsen

    Onsen Level 8

    Joined:
    Dec 8, 2015
    Messages:
    282
    • Agree Agree x 1
  2. Kojiro_S

    Kojiro_S Level 11

    Joined:
    Feb 16, 2014
    Messages:
    659
    I don't know about that, but the changes you last did are working pretty well, so thanks a lot for your trouble.
    Haven't had a single crash.
     
  3. Onsen

    Onsen Level 8

    Joined:
    Dec 8, 2015
    Messages:
    282
    That's not a solution but a workaround because I think these changes I did weren't things the plugin author intended, but I'm really glad to hear that :)

    (I still don't understand why TShockAPI.DB.User returns null since API 1.26 at certain situations ... Is it due to using asynchronous tasks? hmm)
     
  4. Onsen

    Onsen Level 8

    Joined:
    Dec 8, 2015
    Messages:
    282
    Update: Added what I'd been wanting to do since long before.

    Fix: Death penalty doesn't work
    - Show amounts as negative(-) value when player loses money
    - Add transaction text for pay/give/take command

    New: Add ability not to earn money from mobs spawned by statue
    - Add config option `IgnoreSpawnedFromStatue` (default: true)
    - Change `OverridenMoneyPerDamagePoint` for sample banned mobs from 0.0 to 1.0 in default config file
    (1.0 means "not to override, same as normal". I left these entries for compatibility, but you can remove them)

    New: Show amounts you gained above character's head
    - Add config option `ShowKillGainsOverhead` (default: true)
    - Add config option `OverheadColor` (default: 255, 255, 0)
    (notice: this feature depends on `AnnounceNPCKillGains` and `AnnounceBossKillGains` settings)
    [​IMG]

    If you have your own SEconomy.WorldConfig.json file already, add options the above manually, and remove old mob entries or change its value from 0.0 to 1.0 at "Overrides" section. That section can still be used for other mobs you want to ban.

    DLLs / source / differences from old SEconomy.WorldConfig.json
     
    • Winner Winner x 5
    • Useful Useful x 2
    • Like Like x 1
    • Friendly Friendly x 1
    #244 Onsen, Dec 27, 2016
    Last edited: Dec 27, 2016
  5. Onsen

    Onsen Level 8

    Joined:
    Dec 8, 2015
    Messages:
    282
    p.s.
    That wasn't a bug. To those who don't have 'bank.viewothers' permission, the <name> parameter is simply ignored.
     
    • Like Like x 1
    • Informative Informative x 1
  6. Onsen

    Onsen Level 8

    Joined:
    Dec 8, 2015
    Messages:
    282
    Additional small update: You can hide the original detailed transaction information of the right ends of the screen.

    - Add config option `ShowKillGainsDetailed` (default: true)

    I've updated the download link in the above post.
     
    • Winner Winner x 2
    • Like Like x 1
  7. Kojiro_S

    Kojiro_S Level 11

    Joined:
    Feb 16, 2014
    Messages:
    659
    I caught an error message i've never seen before.
    Code:
    JavaScript error:
     at line 11897 column 1
    
       at Jint.Native.Function.ScriptFunctionInstance.Call(JsValue thisArg, JsValue[
    ] arguments)
       at Jint.Native.JsValue.Invoke(JsValue thisObj, JsValue[] arguments)
       at Wolfje.Plugins.Jist.JistEngine.CallFunction(JsValue function, Object thisO
    bject, Object[] args)
    
    I don't see anything wrong in-game.
    Using the latest version posted right above this post.
     
  8. Onsen

    Onsen Level 8

    Joined:
    Dec 8, 2015
    Messages:
    282
    Me either. lol

    What script are you using?
    And, is there any suspicious action that may have triggered the error in your log file?
     
  9. Kojiro_S

    Kojiro_S Level 11

    Joined:
    Feb 16, 2014
    Messages:
    659
    Right before that popped up someone ranked up with that script. I have others, but are short and admin-only.
     
  10. Onsen

    Onsen Level 8

    Joined:
    Dec 8, 2015
    Messages:
    282
    It looks like SEconomy plugin also works on the latest release of TShock Mintaka.

    (Don't forget to execute "/group addperm <group> seconomy.world.mobgains" if you have refreshed your server!)
     
  11. -xXx-MLG-xXx-

    -xXx-MLG-xXx- Level 1

    Joined:
    Aug 24, 2016
    Messages:
    20
    When it gets updated?... even will it get updated? I don't understand what's happened...
     
  12. -xXx-MLG-xXx-

    -xXx-MLG-xXx- Level 1

    Joined:
    Aug 24, 2016
    Messages:
    20
    Mostly defaults must have it?
     
  13. Enerdy

    Enerdy Satellite Admin
    TShock Mod Plugin Developer Zero Day Plugin Author

    Joined:
    Nov 14, 2012
    Messages:
    507
    • Like Like x 2
  14. Onsen

    Onsen Level 8

    Joined:
    Dec 8, 2015
    Messages:
    282
  15. Exrex

    Exrex Level 4

    Joined:
    Jul 26, 2015
    Messages:
    94
    Update version to Api 2.0 please)
     
  16. Onsen

    Onsen Level 8

    Joined:
    Dec 8, 2015
    Messages:
    282
    See the above post.
     
  17. Kurosen

    Kurosen Level 1

    Joined:
    Jul 4, 2016
    Messages:
    19
    I'm not seeing the download link or maybe I'm blind ><
     
  18. Onsen

    Onsen Level 8

    Joined:
    Dec 8, 2015
    Messages:
    282
    Please click the link marked as "DLLs" in this post.
     
  19. Kojiro_S

    Kojiro_S Level 11

    Joined:
    Feb 16, 2014
    Messages:
    659
    A friend set up SEconomy using MySQL, and he constantly gets spammed with "seconomy mysql: transfer took xx ms" on console. Is there a way to deactivate these messages?
     
  20. Onsen

    Onsen Level 8

    Joined:
    Dec 8, 2015
    Messages:
    282
    Set "EnableProfiler" false in SEconomy.config.json.
    This seems to be used only for measuring (and showing) the elapsed time of transactions, and it's turned off by default.
     
    • Useful Useful x 1