ServerRewards

Moved

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

5/5, 61 likes
  1. Says the one stalking a forum to reply to, Im actually at work right now on RCON messing with my server. :)
     
  2. what about making the world like how you want and sharing your results... I woulda answered but I havent even tried that on my server yet (and not entirely sure I want to)....
     
  3. Nevermind, I realised the plugin has changed and I have to use the long link and not the short like ive been using for ages.
     
  4. Hey,
    Is it possible to have multiple NPCs selling different things?

    I've looked at GUIShop but it doesn't seem to support RP, which is what I'm using across my server.
    Thanks.
     
  5. Server reqards much better the GUIshop in my opinion.. very similar
     
  6. Is it possible to have multiple NPCs selling different things?
     
  7. it was in the past, so I don't see why not now...
     
  8. Thanks for your help.
    I won't forget it.
     
  9. For some reason, when I try to add certain skinned items to the rewards page I get this error when trying to go to the last page (Page 5) and its blank in-game where the page of items should be. All I can do from there is close or press items to go back to the first page. I have unloaded ServerRewards completely and tried it with a fresh install. The only way to get the page to appear again, is to unload ServerRewards and remove the last item in the rewards data file. Anyways if anyone has any ideas I would be super appreciative. My /s has 102 items all different with some regular and skinned items. I had no issue getting the skinned weapon's in-game it only seems to give me problems with the skinned t-shirts and long-sleeve t's.

    Code:
    (15:58:21) | [Oxide] 17:59 [Error] Failed to call hook 'cmdChangeItemPage' on plugin 'ServerRewards v0.2.71' (KeyNotFoundException: The given key was not present in the dictionary.)(15:58:21) | [Oxide] 17:59 [Debug] at System.Collections.Generic.Dictionary`2[System.Int32,System.UInt32].get_Item (Int32 key) [0x00000] in <filename unknown>:0at Oxide.Plugins.ServerRewards.CreateItemEntry (Oxide.Game.Rust.Cui.CuiElementContainer& container, System.String panelName, System.String itemname, Int32 itemnumber, Int32 amount, Int32 number) [0x00000] in <filename unknown>:0at Oxide.Plugins.ServerRewards.ItemElement (.BasePlayer player, Int32 page) [0x00000] in <filename unknown>:0at Oxide.Plugins.ServerRewards.cmdChangeItemPage (.Arg arg) [0x00000] in <filename unknown>:0at Oxide.Plugins.ServerRewards.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
    Edit: Added my Rewards data file and the Rewards config file.
     

    Attached Files:

    Last edited by a moderator: Aug 23, 2016
  10. I set up my first NPC dealer out in the nowhere, to test it first. now after i typed /srnpc remove and removed the npc itself, the map still shows 'RewardsDealer 1' where i made this first one.
    How can i remove that?
    I cannot find it in the LustyMap data, where i expect it to be, since it is still shown on map, when ServerRewards is unloaded.
    Tnx in advance for help.
     
  11. Anyone got more than a vague memory?
    Thanks.
     
  12. That error means you item numbers are not in consecutive order, find the one that is out of place

    Its just calling the LustyMap hooks to remove the Icon. It would be in one of the LM data files, not sure which one though. Might pay to report it in its support thread

    Not possible with the current version and never has been :p Maybe in a future update but I have other things to do first
     
  13. Hey man,
    Thanks for the reply. That's cool. I totally understand. :)
     
  14. Thank you very much for the fast reply. i went through the LustyMap files backwards and forwards and i dont find that thing ^^ the only place where it could have been imo is the iconfolder, since most others are empty
    Its a awesome Plugin! And want to keep it for many reasons, i just dont like this nasty little detail, it ruins my perfect map :p
    Where can i find the support thread u mensioned?
     
  15. Test please
     

    Attached Files:

  16. Do the images work like that??
     
  17. Thank you so much @Resistance works perfect!
    [DOUBLEPOST=1472098969][/DOUBLEPOST]
    Yes they do. Just type loadimages into your server console after loading ServerRewards.
     
  18. The last image url in that file is the one I add I did do other fixes that where causing his problem
    Happy to help
     
  19. Ah. I didn't realise we could host images from anywhere
     
  20. I found using a personal account to host the image's, I can be sure the links are always up to date and not breaking.