Jump to content

Steenamaroo

Administrator
  • Posts

    3,389
  • Joined

  • Last visited

Everything posted by Steenamaroo

  1. Steenamaroo

    bradley targetting bots.

    No problem.
  2. Steenamaroo

    bradley targetting bots.

    The only thing I can really think of is that the APC is firing at vanilla npcs, not BotReSpawn, or that you have multiple BotReSpawn profiles in that area, so there are others you need to set AI_Weapons_Safe true for.
  3. Steenamaroo

    bradley targetting bots.

    Is it a vanilla APC or spawned/controlled by some plugin?
  4. Steenamaroo

    compilation error

    Oh sorry, you're quite right. It's still wrong in the public version. Noted and fixed for future updates.
  5. Steenamaroo

    bradley targetting bots.

    It's a true/false option in every profile. You'll see it under the 'Other' tab.
  6. Steenamaroo

    compilation error

    That file looks fine, as you thought. The error points to `Invalid character after parsing property name. Expected ':' but got: ,. Path 'clan', line 29, position 13.` That makes sense to me because line 29 it's right before 'losttitle' which, in older versions of PlayerRanks, had the variables backwards. "clan": "Clan", "tooktitle": "{0} has taken the title {1}.", "losttitle": "You have lost the title {0} to {1}.", 'losttitle', is the one that is wrong in most people's lang files, so perhaps someone tried to fix that at some point? Now that your file is working fine the fix for incorrect var placement would be to swap 0 + 1 in "losttitle" like this "clan": "Clan", "tooktitle": "{0} has taken the title {1}.", "losttitle": "You have lost the title {1} to {0}.", I have fixed this in PlayerRanks plugin but lang files don't automatically update changes for already existing entries, leaving users to fix it manually. Alternative, if your lang file is totally unmodified, you could just delete it then reload the plugin. PlayerRanks will create a brand new file with the correction already in it.
  7. Steenamaroo

    compilation error

    Do you still have it in your recycle bin or a backup? If so PM it to me. The error was definitely with reading the lang file so at some point it got modified or damaged.
  8. Steenamaroo

    compilation error

    ".Lang.GetMessageFile" Have you modified the PlayerRanks lang file recently? Delete it (back it up if you want) and reload the plugin.
  9. Can you be more specific with plugins names and the exact nature of the problem? If there's something 'better' I can do to address it, I will. BotReSpawn doesn't really do anything until OnServerInitialized which, during server boot, is a long long time after all plugins are loaded, so load order shouldn't really matter? If you want to DM or get me on discord instead, go for it.
  10. Yes, that's right. Replace the two lines there with {"tooktitle", "{0} has taken the title {1}." }, {"losttitle", "You have lost the title {1} to {0}." }, There shouldn't be a {2} in either of them.
  11. Have you customised your PlayerRanks lang file? if so please post it here, or DM it to me.
  12. Steenamaroo

    April 2025 update

    Update released. I guess you all use Loot Table & Stacksize GUI?
  13. Steenamaroo

    April 2025 update

    Thanks folks. I'll do an update in a few hours.
  14. Steenamaroo

    April 2025 update

    Thank you.
  15. Hi, The /perms data menu gives you options to save to local file or SQL, and to load from local file or SQL. If I recall it also separates it out into save/load groups and save/load permissions. If your goal is just to have a backup then just use the save buttons (groups and/or perms...whichever you want), then, to be sure, you can check the data file for contents or last modified date. If you want to load those groups/perms on a different server you'd need to move the data file over to that server, reload PermissionsManager, then use the same menu to load them. Let me know if that doesn't cover what you're asking. Note that you can make a backup or clone perms+groups by copying the relevant oxide data files from /data folder. The only real advantages of using PermissionsManager are a handy UI and the ability to clone between servers without shutting either of them down.
  16. Wrapping your kill in a nexttick would do but whatever works for you.
  17. I mean, you could even just return true in OnCollectiblePickup, do your thing, then destroy the CollectibleEntity a tick later. At least that way other plugins would have a chance to see what / where it was.
  18. RandomItemDispenser randomItemDispenser = PrefabAttribute.server.Find<RandomItemDispenser>(this.prefabID); Are you talking about this? You could set prefabID to 0 or something...?
  19. Sorry, you're quite right. I found an issue that would affect default profiles. It'll be addressed in the next update, which is overdue. If you want to self-patch, you can change var p = RS(Editing[arg.Player().userID]); to var p = RD(Editing[arg.Player().userID]); at approx line 5432
  20. Hi, There's no bug, although I'll suppress the error for misuse. From description : botrespawn showspawns - Added for binding convenience. botrespawn checknav - Added for binding convenience. * Note = addspawn and showspawns commands require the user to select "Edit with console commands" first, from a profile's spawnpoints menu.
  21. Yeah, I can't see why not. I'll take a look some time soon and get in touch.
  22. Yeah, I understand what you're doing but it doesn't seem like a great approach because it makes a hook cease to function for other developers. If you empty the vanilla itemList, do your own item distribution, and call OnCollectiblePickedup, if you want, you could achieve the same thing without impacting OnCollectiblePickup hook.
  23. I don't see how that's going to work. The hook you suggest happens later. I'm going to have the same problem. Would it not make more sense for you to just clear the itemList instead of prematurely destroying the entity? That way you get what you want, other plugins can use OnCollectiblePickup hook, and the vanilla pickup effects and destruction would still happen.
  24. I use OnCollectiblePickup for issuing gather rewards (RustRewards plugin) but, from what I'm told, it ceases to work when people use your plugin to modify gather amounts. I guess that means you're destroying the dispenser before I get to it?
  25. Hi, Yes, I think we're about ready for an update. I had a short list of other things to work on that I wanted well tested first.
1.8m

Downloads

Total number of downloads.

8.3k

Customers

Total customers served.

126.3k

Files Sold

Total number of files sold.

2.6m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.