1. why during the shutdown the RAID can't butcher animals?
     
    Last edited by a moderator: Sep 12, 2016
  2. Hi all, i need help...
    http://puu.sh/rgzcS.jpg
    So the raid are activated between 3 pm and 10pm , and actually he is 15:37 pm (we are in France) and as you can see, we can't raid...
     
  3. Hello first its a very cool plugin thx :)
    But a little thinks not Function correct i think,
    if the raid are blocked
    - i cant remove any of my own placed Buildings (not so good if i placed something wrong i need too wait for raid time on ...)
    timeout to give players the chance to remove falsed placed things?
    - I cant harvest my own placed plants if raid time off (corn,...)
     
  4. I'm not sure what is going on, but all of a sudden with the plugin loaded, every time a player or myself goes to skin an animal, the resources are gathered from the animal (corpse), but the damage to the corpse does not take place. If I unload the plugin everything is back to normal.

    So for the time being I added the following to the code to test and see if this would put a band-aid on it:

    Code:
    void OnEntityTakeDamage(BaseCombatEntity entity, HitInfo info)
            {
                // zroc
                var tmp = (entity.name);
              
                if (tmp.Contains("_corpse")) {
                  return;
                }
                // end zroc
              
                if (!(entity is LootContainer) && !(entity is BaseHelicopter)
                    && !(entity is BaseNPC) && !(entity is BasePlayer))
                {
                    //PrintToChat("Entity, inf:" + entity + ", " + info);
                  
                    if (protectAllBuildingBlocks) {
                        info.damageTypes = new DamageTypeList();
                        info.DoHitEffects = false;
                        info.HitMaterial = 0;
                    }                if (info.damageTypes.Total() != 0f) return;                var player = info.Initiator as BasePlayer;
                    if (player && informPlayer && onlinePlayers[player].LastInformTime + informInterval < GetTimestamp())
                    {                
                      onlinePlayers[player].LastInformTime = GetTimestamp();
                      String startHour = protector.startRaid.Hour + "h " + protector.startRaid.Minute + "m " + protector.startRaid.Second + "s";
                      String endHour = protector.endRaid.Hour + "h " + protector.endRaid.Minute + "m " + protector.endRaid.Second + "s";
                      SendChatMessage(player, informMessage, startHour, endHour);
                    }
                }
            }
     
  5. Yeah. After testing on server and then looking through the code, the time and loop functions for this plugin are not quite right. The time hits and then notifies player that raiding is open, if enabled in the config, and then a few minutes later it's disabled and player begin getting raid blocked and/or no damage occurs to structures, etc.. Will look for another or write one myself.. Sure wish more testing went into these.
     
  6. Hi!

    Thanks for this plugin!

    I have two questions about animals and blocks. Already asked but is there anything to do?
    When i kill animals, i can farm it but the corpse stay on the ground with full life. Same thing when I want to destroy a box for example or my cupboard?

    Thanks a lot !
     
  7. Same with animals. I farm dead boady with few warnings in chat and on dead boady stay HP.
     
  8. BuildingProtector.cs(92,41): error CS1061: Type `string[]' does not contain a definition for `Contains' and no extension method `Contains' of type `string[]' could be found. Are you missing `System.Linq' or `Oxide.Core' or `UnityEngine' or `Facepunch.Extend' using directive?
     
  9. Hi, I recently got an issue with this plugin :
    Code:
    [Error] Error while compiling BuildingProtector.cs(92,41): error CS1061: Type `string[]' does not contain a definition for `Contains' and no extension method `Contains' of type `string[]' could be found. Are you missing `System.Linq' or `Oxide.Core' or `UnityEngine' or `Facepunch.Extend' using directive?
    Here you have the script corrected ;)
     
  10. thx dude. One question. Would it be possible in the plugin to put different schedules for the week end without changing the schedules of the week?
     
  11. Yes of course, the only limit is the imagination.
    We'll see if the plugin author will.

    Personally, I'm a little busy at the moment.
    But this is also what I wanted if it is not done, I will do it myself, and I will share it of course;)
     
  12. Yeah indeed it's very good idea !
     
  13. Can't cut animals.............
     
  14. Yes, can't cut animals and doors areas drop does not destroy...

    Can we count on an upcoming update ???

    Please respond promptly.
     
  15. This plugin is not longer updated.. A developper must take in charge it, but this plugin is actualy a wreck.. :/ Without bugs this plugin is awesome and perfect.
     
  16. Here you'all go.

    I done the modification of ZROcweb (Thanks bro) so you can now cuts animals. And i've added a tmp.Contains("barricade") for unprotect the town's barricades. You can farm in town when you are raidblocked. (Because sometimes it doesn't work).

    BTW you can destroy other player's barricade since it contain "barricade". But it's not a big deal. If anyone have the exact name you can edit the file line 241. Maybe can we just add Contain "Town" ?

    Anyway you can just copy this file, it work.

    ------------------
    (French ver).

    J'ai modifié la ligne comme l'a précisé ZROcweb (Merci a lui). Plus de bug avec les animaux et on peut détruire les barricades des villes (Ligne 241 tmp.Contains ("_barricade")) Cependant cette commande permet aussi de détruire les barricades métalliques des autres joueurs.

    Bon osef à la limite c'est pas ça qui va poser de graves problèmes communautaires (pour une barricade...). Si vous avez le nom exact du type de barricade utilisé dans les towns, vous pouvez remplacer "_barricade" par le vrai nom, ou peut être par "_Town" et faire des tests.

    Quoi qu'il en soit, vous avez juste a remplacer ca fonctionne c'est déjà ça.
     
  17. Wulf

    Wulf Community Admin

    Please do not post random versions of a plugin in its thread. If you are interested in taking over development for a plugin that is inactive, feel free to let me know, but otherwise we'd like to avoid unapproved public versions.
     
  18. Right. :)

    It was just a patch for people who doesn't know how to do (since this mod isn't updated anymore) :p But it's okay :)

    Sorry for that :)
     
  19. Thank you for your help about this plugin, do you have de project to take in charge it ?
     
  20. I'm not a dev. I just know how to read language because i've seen alot of progs (Mods, C, Java...) i can understand and change some lines but i'm unable to code something by myself.

    Because of that i'm not able to take the responsability of any plugins, and that's why i'm not a dev :) All i can do it's helping people if i can, it's just doing odd jobs.