Jump to content

imthenewguy

Creator
  • Posts

    3,842
  • Joined

  • Last visited

Everything posted by imthenewguy

  1. imthenewguy

    Real PvE

    Yeah I don't remember speaking about it. I am sure we did, but I don't remember it lol. If I understand correctly from the documentation, you want me to do a CallHook for every player that has joined the event, and again when they leave? That's wildly inefficient. Are the methods registered as HookMethods by chance, or do you have a HookMethod I can call instead? That uses a lot less resource. I have to reference your plugin anyway, so might as well use a HookMethod rather than CallHook.
  2. imthenewguy

    Skill Tree

    You would use the command o.usergroup add {userid} vip (or whatever your vip group is called). Keep in mind the plugin won't remove them from this group until their data is wiped.
  3. imthenewguy

    start concole

    The json file needs to contain part of the map name in order to be considered. So if the map is called derby-oasis-proceduralmap.4250.111671107197.264_49aa9250decc9a2bd2bb45d102b4b1d2.json, and you load a rust map called oasis-proceduralmap.123456123561, the 2 map names are not the same, and the map name specified. Here is an example of how to make tracks work across multiple maps that have the same layout. The following 3 map files have the same terrain layouts, MyZombieMap_v1, MyZombieMap_v2, MyZombieMap_v3. Let's say I create a new race course on MyZombieMap_v1 called Derby, the json file would be called Derby-MyZombieMap_v1.json. I wipe the server, and load up MyZombieMap_v2. MotorbikeRacing loads up, checks for files that "contain" the map portion of the json file's name, in this case it would be MyZombieMap_v1. Since MyZombieMap_v1 is not found in the map name MyZombieMap_v2, it would fail to load. To fix this, I would rename the json file to Derby-MyZombieMap.json. This would fix the issue as the text "MyZombieMap" is found in all 3 map files, so it would be loaded.
  4. imthenewguy

    Skill Tree

    Yeah you would need to do this for each level that you want it to trigger, keeping the same fields under each level as I showed above, and ensuring the syntax doesn't get messed up.
  5. No idea, I don't use ZoneManager. I just know that it sends a string, so whatever the string value (which I assume is the name) is.
  6. imthenewguy

    Barrel Smasher

    Changed Status from Pending to Closed
  7. imthenewguy

    start concole

    Whats the name of the map in data? It creates a json file under oxide/data/MotorbikeRacing/ The prefix of the name should be the map name, and the suffix is the name that you gave it when creating the track.
  8. imthenewguy

    Barrel Smasher

    Weird.
  9. imthenewguy

    realPVE

    Ive posted on his plugin page with what needs to be done.
  10. imthenewguy

    Real PvE

    Hey mate can you add a hook call to allow plugins to prevent your plugin from stopping damage? The standard is calling CanEntityTakeDamage to determine if your plugin should handle it. object CanEntityTakeDamage(BasePlayer victim, HitInfo info)
  11. This plugin subscribes to CanEntityTakeDamage, which is what most PVE plugins use to determine if they should allow damage or not from other plugins. I would advise you tell the dev to add support for it so it works with most arena pvp plugins. object CanEntityTakeDamage(BasePlayer victim, HitInfo info)
  12. imthenewguy

    Skill Tree

    The reward settings that ships with the default config has this exact example. "List of rewards the player receives based on level": { "100": { "List of commands and chat messages that the player receives when reaching the specified level [Left = command. Right = Private message to player]. {id} = steam ID. {name} == name.": { "say <color=#ffae00>{name}</color> reached level <color=#4cff03>100</color>!": "You have reached a milestone level!" }, "List of commands that are fired off when the player data is reset": [ "say Test data reset." ] } },
  13. I have a potential fix for this that I am going to trial on my discord server. Will push the update if it's successful.
  14. imthenewguy

    Armor Buffs Not Applying

    Changed Status from Pending to Closed
  15. imthenewguy

    Armor Buffs Not Applying

    Sounds like you don't have permissions set for the plugin. Ensure you have itemperks.use allocated to the relevant group.
  16. imthenewguy

    Barrel Smasher

    Have you tried unloading all other plugins to see if the issue persists? It works fine on other servers.
  17. Changed Status from Pending to Closed
  18. "t1" in config should be "tier1"
  19. disable repairing to max.
  20. It returns NA if the player isn't found in data or if vip_levels doesnt contain the specified tier from data. if (!pcdData.pentiy.ContainsKey(player.userID)) return "NA"; var playerData = pcdData.pentiy[player.userID]; if (!playerData.vip_levels.ContainsKey(tier)) return "NA"; if (playerData.vip_levels[tier].end_date.Date == DateTime.Now.Date) { var enddate = playerData.vip_levels[tier].end_date; return $"{enddate.Hour}:{enddate.Minute}:{enddate.Second}"; } What does your data file look like? Is t1 in there?
  21. Isn't much I can do about that unfortunately.
  22. Once wipe has happened, that option will no longer trigger. You could manually reward a player with 5 skill points using the givesp command, but the plugin won't tell you who it was.
  23. imthenewguy

    language

    You do not edit language directly in the .cs file. You edit it via lang. https://docs.oxidemod.com/guides/owners/localization
  24. What config option are you referring to?
  25. imthenewguy

    Better weapons

    You could the desired items to the whitelist, so the specified perks will only ever spawn on the selected items. For example: "BradleyDamage": { "enabled": true, "min_mod": 0.03, "max_mod": 0.05, "perkWeight": 100, "whitelist": [ "rocket.launcher.dragon", "rocket.launcher" ], "blacklist": null, "Perk modifier cap": 0.0 }, "HeliDamage": { "enabled": true, "min_mod": 0.03, "max_mod": 0.05, "perkWeight": 100, "whitelist": [ "lmg.m249" ], "blacklist": null, "Perk modifier cap": 0.0 } Any buffs that you do not want to appear on equipment, set enabled to false.
1.8m

Downloads

Total number of downloads.

8.4k

Customers

Total customers served.

126.6k

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.