Jump to content

梦幻之旅

Member
  • Posts

    7
  • Joined

  • Last visited

Everything posted by 梦幻之旅

  1. Please add code in void OnServerInitialized(bool initial),because it will cause an error during.thanks if(initial == false) { foreach (var player in BasePlayer.activePlayerList) { _playerOptions.Add(player.userID, new PlayerOptions()); ServerMgr.Instance.StartCoroutine(CreateMainUI(player, false)); } } the initialization of the plugin.
  2. [ConsoleCommand("gq")] private void GiveQuarryCommandCmd(ConsoleSystem.Arg arg) => GiveQuarryCommand(arg.Player().IPlayer,"gq",arg.Args); private void GiveQuarryCommand(IPlayer iPlayer, string command, string[] args) { BasePlayer targetPlayer = null; if(iPlayer.IsServer || iPlayer.IsAdmin) { if(args.Length == 1) { ulong s64id = 0UL; ulong.TryParse(args[0],out s64id); if(s64id == 0UL) return; targetPlayer = BasePlayer.FindAwakeOrSleepingByID(s64id); if(targetPlayer == null) return; }else{ return; } }else{ var player = iPlayer?.Object as BasePlayer; if (player == null) return; if (!iPlayer.HasPermission("quarrycomputer.give")) { NotifyPlayer(iPlayer, "NoPermission", 1); return; } targetPlayer = player; if (args != null && args.Length > 0) { targetPlayer = BasePlayer.Find(args[0]); if (targetPlayer == null) { NotifyPlayer(iPlayer, "PlayerNotFound", 1); return; } } } if (GetPlayerQuarryCount(targetPlayer.userID) >= GetPlayerQuarryLimit(targetPlayer.IPlayer)) { NotifyPlayer(iPlayer, "QuarryLimitReached", 1); return; } if (GiveQuarryItem(targetPlayer, 1)) { NotifyPlayer(iPlayer, "QuarrySend", 0); NotifyPlayer(targetPlayer, "QuarryReceived", 0); } else { NotifyPlayer(iPlayer, "QuarrySend", 0); NotifyPlayer(targetPlayer, "QuarryReceived", 0); NotifyPlayer(targetPlayer, "QuarryDropped", 1); } } If you will add this code, that would be great,it's make Server ConsoleSystem to run it, for example Shop,Kit an so on.
  3. Please not use ttf font, as "Font = "DroidSansMono.ttf",",Because it will cause the Chinese to not work,and please add "ItemManager.CreateByName(BaseItemName, 1, QuarrySkinId); item.name = "工业油矿机"; " in config file.
  4. [14:14:34][1][RoadBradley警告] 在道路“0”的“(-345.47, 13.90, -1300.06)”处有一个障碍物“assets/bundled/prefabs/autospawn/decor/riversound/river -sound-emitter.prefab”。 [14:14:34][1][RoadBradley警告]在道路“0”的“(-856.89, 12.28, -1245.27)”处有一个障碍物“assets/bundled/prefabs/autospawn/monument/roadside/radtown_1.prefab”。 [14:14:34][1] [RoadBradley 警告] '(-1124.22, 24.78, 808.55)'处的'0'号公路上有一个障碍物 'assets/bundled/prefabs/autospawn/decor/riversound/river-sound-emitter.prefab'。 [14:14:34][1][RoadBradley 警告] '0'号公路上有一个障碍物 'assets/bundled /prefabs/autospawn/decor/riversound/river-sound-emitter.prefab'。 [14:14:34][1][RoadBradley警告]'19_Edited'路线太小,不适合布拉德利!其检查点不足5个。无法使用。 [14:14:34][1][RoadBradley警告]路线'38_Edited'太小,无法通过布拉德利!检查点不足5个。无法使用。 坦克到达红镇出口无法移动,如何解决? But the red town is located on the main road(Road_0), the tank will not be Spawn if set Remove Roads With Obstacles From Pool is ture, I found there are 3 or 4 CheckPoints under the obstacle,how to delete this points in Road_0 , or how to prevent CheckPoints spawn. The tank going to CheckPoints592 when it bypasses obstacles, tank was stick.
  5. [14:14:34][1][RoadBradley WARNING] There is an obstacle 'assets/bundled/prefabs/autospawn/decor/riversound/river-sound-emitter.prefab' on the road '0' at '(-345.47, 13.90, -1300.06)'. [14:14:34][1][RoadBradley WARNING] There is an obstacle 'assets/bundled/prefabs/autospawn/monument/roadside/radtown_1.prefab' on the road '0' at '(-856.89, 12.28, -1245.27)'. [14:14:34][1][RoadBradley WARNING] There is an obstacle 'assets/bundled/prefabs/autospawn/decor/riversound/river-sound-emitter.prefab' on the road '0' at '(-1124.22, 24.78, 808.55)'. [14:14:34][1][RoadBradley WARNING] There is an obstacle 'assets/bundled/prefabs/autospawn/decor/riversound/river-sound-emitter.prefab' on the road '0' at '(-1133.66, 24.71, 805.25)'. [14:14:34][1][RoadBradley WARNING] Route '19_Edited' is too small for a bradley! It have less than 5 checkpoints. Cannot be used. [14:14:34][1][RoadBradley WARNING] Route '38_Edited' is too small for a bradley! It have less than 5 checkpoints. Cannot be used. The tank cannot move when it arrive exit of red town,how to fix it ?
  6. How to damage Buildings at TurePVE?
1.7m

Downloads

Total number of downloads.

7.9k

Customers

Total customers served.

119.5k

Files Sold

Total number of files sold.

2.4m

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.