ServerRewards

Moved

Total Downloads: 14,031 - First Release: Mar 2, 2016 - Last Update: Jun 9, 2018

5/5, 61 likes
  1. k1lly0u updated ServerRewards with a new update entry:

    0.2.5

     
  2. OT: @k1lly0u That playtime on the picture - so awesome! (sorry for OT, delete if needed ;)
     
  3. What kind image must be? png jpg or? I set jpg or png but see only "?" on white background hm or problem in hosting
    (With pic in Items - all right)
     
  4. I think you can use both but I have never tried with jpg. Did you re-download the images with the console command? It works the same as item images do, using the same command to load the images to the server
     
  5. For me jpg did work, but the quality and down scaling was (sorry @k1lly0u ) total sh*t... but if you use simple *.png files, it works perfectly and the quality of downscaling is good :) Not sure if its still the same - I did this few versions back, from there I use only png images ;) Maybe it also depends on the host, I am using my server for images or imgur and imageshack (if its picture from 3rd party)
     
  6. all right, working yet
     
  7. @k1lly0u getting this error - not sure how long I seen it today for the 1st time.
    Code:
    (11:56:47) | [Oxide] 11:56 [Error] Failed to call hook 'TakePoints' on plugin 'ServerRewards v0.2.5' (NullReferenceException: Object reference not set to an instance of an object)
    (11:56:47) | [Oxide] 11:56 [Debug]   at Oxide.Plugins.ServerRewards.TakePoints (UInt64 ID, Int32 amount, System.String item) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerRewards.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
    Lore: happened when a player A killed player B while having a sleep. MAybe the problem is that I use Rewards and robbery plugins, by the "TakePoints" I assume there is a problem somewhere there, will post (edit) cfg/data later when back from work (I hate middle of the week - allways the same, too much work and less fun :(
     
  8. @Brko™ This should do the trick for now, when I add something worth while it will be in the next update
     

    Attached Files:

  9. Thanx alot mate! Will post feedback back later - still at work ;)


    EDIT: Works perfectly @k1lly0u - again you saved the day ;) Thanx alot mate!
     
    Last edited by a moderator: Jun 29, 2016
  10. Excellent plugin, thank you for the work on this.
    I had a question about the log. I thought it would show what and who was buying rewards, but the log only shows the addition of rewards points. Is there somewhere else this data is, or does it need to be turned on? Thanks!
     
  11. It logs both. Here is the entry I just tested it with
    Code:
    [06/30/2016 17:58:38] TAKE - 76561197987768959 - [God] k1lly0u has used 10x RP on: Assault Rifle
    Inventory Count's:
    Belt: 3
    Main: 18
    Wear: 0
    [06/30/2016 17:58:41] TAKE - 76561197987768959 - [God] k1lly0u has used 10x RP on: Longsword
    Inventory Count's:
    Belt: 3
    Main: 19
    Wear: 0
    [06/30/2016 17:58:42] TAKE - 76561197987768959 - [God] k1lly0u has used 10x RP on: Mace
    Inventory Count's:
    Belt: 3
    Main: 20
    Wear: 0 
    If the user is offline and points are deducted it will say offline, their ID and points taken (3rd party plugin use), else it will specify what the points were spent on, their name and ID, and the users inventory count (to catch people who say their inventory was full and didn't get the item when it wasn't)
     
  12. k1lly0u updated ServerRewards with a new update entry:

    0.2.52

     
  13. Question :) Is in this update also the fix that you posted for me day ago? :)
     
  14. Yep, I also fixed the glitchy popup message overlap that happens when users spam the buy button :p
     
  15. - - - - -
     
    Last edited by a moderator: Jun 30, 2016
  16. i can´t Exchange. in the config the rate ist 2500 but ingame its 0->0
     
  17. Did you update from a previous version (pre 0.2.4)? If so did you follow the update instructions in the patch notes regarding your config?
     
  18. i delete all and load the new file
     
  19. Post your config