-
Posts
31 -
Joined
-
Last visited
Content Type
Profiles
Warranty Claims
Downloads
Forums
Store
Services
Downloads Plus Support
DOWNLOADS EXTRA
Reels
Everything posted by MoonDoggy
-
Having problems with a lot of hook floods Like.. 1.12 million in 32 minutes. I've been tracking down the problem for 5 days now. Seems to be originating (although probably not exclusively) with Bradley Drops. This seems to be idle-cost issues. Might I suggest: Replace OnEntitySpawned(BaseNetworkable) with OnEntitySpawned(FireBall) or a short-prefab check before NextTick? Perhaps don't subscribe OnEntityTakeDamage(BaseCombatEntity) globally; only handle drop-skinned initiators, or use a Harmony prefix on drop APCs only? Unsubscribe CanAcceptItem, CanStackItem, CanCombineDroppedItem, OnItemAddedToContainer unless stacking is enabled (partially done — stacking only). Harmony DoWeapons/DoWeaponAiming should return immediately if bradley.skinID is not in BradleyProfileCache without GetComponent? Default debug should be false. GetCallingTeam() iterates all BasePlayer.activePlayerList every 10s. Fine for 1 APC; bad if anything leaks components. (At least I think it was every 10s) I'm not going to pretend am absolutely familiar with your code, so take it with a grain of salt.
- 316 comments
-
- #bradley
- #bradleyapc
- (and 14 more)
-
We are building an event driven server. As such, we have created a event scheduler. Is there a way to spawn the Road Bradley from the console/chat without purchase, so we can plug that in to our event scheduler? I know there is timed somewhere in the config file, but I would llike to see something like "spawnbradley" without any parameters to spawn randomly somewhere on the map. Thank you.
-
OMG sorry. Yes! Works perfectly. I had only modified it in one area. Happy camper!
-
Ok, I modified your working file to add "littlebird": { "Sound on purchase": true, "Order": 20, "Show": true, "Name": "littlebird", "Prefab": "assets/custom/littlebird.prefab", "Image link": "https://i.postimg.cc/gJCY3HcY/Littlebird1.jpg", "Spawn distance": 5.0, "Fuel": 100, "Currency: 0 - item, 1 - Economics, 2 - Server Rewards": 0, "If vehicle selling for item type him shortname": "scrap", "Price": 1500, "Skin": 3304630260, "Command": "littlebird.add", "DeployableItemId": 833533164, "Need add engine parts if it possible?": false, "Engine parts": null, "Pickup type (0 - command, 1 - hammer)": 0, "Can pickup?": true, "Can recall?": true, "Recall price": 0, "Recall cost need?": false, "Pickup price": 0, "Enable decay?": false, "Permission (still empty if not need) ex. vehiclebuy.YOURPERMISSIONNAME": null, "Maximum number of purchases of one vehicle by one player": 0 } It shows up in the list, and I can buy one, but when I place the "box", it just remains a box. Minicopter works fine as a comparison. Any ideas?
-
Says to edit a line at the top of the file for Karuza vehicles. But the listed line is not there. Instead of // #Requires KaruzaVehiclesCommon,, the first line is // #define TEST. I added // Requires: KaruzaVehiclesCommon and loaded it to the server. Now I get an compiler error about " VehicleBuy plugin requires missing dependencies: KaruzaVehiclesCommon" Karuza doesn't appear to use KaruzaVehiclesCommon now. There is a "KaruzaEntitiesCommon" file. If I modify the plugin to reflect that, it goes through the complie just fine, but no Karuza vehicles appear. During the compiling of VehicleBuy.cs, I see an error about no data in .sav files, but that seems to be a karuza problem at this point?
-
Thank you. And thank you for all your work!
-
We get the error: SmartWorkbench - Failed to compile: 'BasePlayer' does not contain a definition for 'ClientRPCPlayer' and no accessible extension method 'ClientRPCPlayer' accepting a first argument of type 'BasePlayer' could be found (are you missing a using directive or an assembly reference?) | Line: 425, Pos: 21 Any ideas on what we should do?
-
Excellent. No hurry.
-
I think this was my latest attempt. Sorry for the hassle. UltimateLocker.json
-
No matter how I edtt the config file, or enable permissions, I always get that door closer is not enabled. I have the permission ultimatelocker.autoclosing.enabled set for admin and user level. But whenever I try to use /closer or whatev it says "You don't have permission to use the command." Also, the following permisions are granted: use admin buypass.force buypass.dlc_skin_required, buypass.lock_deploy_vehicle_check, autolock.enabled, autolocknolockrequired, and autoclosing.enabled. /ac works, but shows "Autocloser Enbled" as "NO". WHen I try to click on it, it says either I don't have permission to use the command. Where am I going wrong?
-
LOL Oh. Yeah. I have one and forgot. Thanks!!!! That solved that problem. Love your work, BTW.
-
I only found 1 permission so far. But I think I know what you mean. I'll dig into it more. TY
-
Works great, UNTIL you get to "Desk - Blue" choice. After that, all of them are "MIssing Permission". Previous ones work fine. Any hints? EDIT: Quick response, great help!!