Build Controller

Discussion in 'Plugin Support' started by SPooCK, Dec 25, 2014.

  1. SPooCK updated Build Controller with a new update entry:

    Again thoose Rocks...

     
  2. SPooCK updated Build Controller with a new update entry:

    -->! Code Optimization !<--

     
  3. this plugin freeze my server with a lot of error on rusty console

    server completely crash but keep resume working and saved every 1 min, when I notice the problem it was too late and I lost my change to rollback/recover to earlier save bc all old saves was already overwritten

    after plugin corrupt/crash your save files, server will freeze and you will try to restart server(even from old save files) which will not solve the problem(when you restart the server it seems working for 30sec then freezing with build control lau errors)

    I do not recommend to use this plugin until seriusly check/fix it

    Ps: problems started 3-4hrs after installing this plugin (i.e. when the some players start to build house and remove items server crashed) therefore, I can not explain exact reason of problem(i.e. when and how happen) but when the server crash there was only build control errors also when I try to restart server from each old save file I get same error as follows;

    2-3HRS AFTER INSTALLING;
    TimeWarning: BuildingBlock.RunQueue took 3.01 seconds
    TimeWarning: StabilityWorker Queue took 3.01 seconds
    TimeWarning: BuildingBlock.UpdateSurroundingBlocks took 2.42 seconds
    TimeWarning: BuildingBlock.RunQueue took 2.42 seconds
    TimeWarning: StabilityWorker Queue took 2.43 seconds
    TimeWarning: BuildingBlock.UpdateSurroundingBlocks took 1.48 seconds
    TimeWarning: BuildingBlock.UpdateGroundPath took 1.49 seconds
    TimeWarning: BuildingBlock.UpdateSurroundingBlocks took 0.73 seconds
    TimeWarning: BuildingBlock.RunQueue took 0.74 seconds
    TimeWarning: BuildingBlock.UpdateSurroundingBlocks took 0.85 seconds
    TimeWarning: BuildingBlock.RunQueue took 0.86 seconds
    SERVER FREEZE

    AFTER RESTART;
    TimeWarning: BuildingBlock.UpdateSurroundingBlocks took 1.23 seconds
    TimeWarning: BuildingBlock.RunQueue took 1.23 seconds
    TimeWarning: StabilityWorker Queue took 1.23 seconds
    TimeWarning: BuildingBlock.UpdateSurroundingBlocks took 1.19 seconds
    TimeWarning: BuildingBlock.UpdateSurroundingBlocks took 1.19 seconds
    TimeWarning: BuildingBlock.RunQueue took 1.19 seconds
    TimeWarning: BuildingBlock.RunQueue took 1.19 seconds
    TimeWarning: StabilityWorker Queue took 1.19 seconds
    TimeWarning: StabilityWorker Queue took 1.19 seconds
    SERVER FREEZE

    AFTER RESTART FROM ALL OLD SAVE FILES(ALL OF THEM AFTER INSTALLING THIS PLUGIN)
    TimeWarning: BuildingBlock.UpdateSurroundingBlocks took 0.58 seconds
    TimeWarning: BuildingBlock.UpdateSurroundingBlocks took 0.58 seconds
    TimeWarning: BuildingBlock.UpdateGroundPath took 0.58 seconds
    TimeWarning: BuildingBlock.UpdateGroundPath took 0.58 seconds
    TimeWarning: BuildingBlock.UpdateSurroundingBlocks took 0.60 seconds
    TimeWarning: BuildingBlock.UpdateSurroundingBlocks took 0.60 seconds
    TimeWarning: BuildingBlock.UpdateGroundPath took 0.60 seconds
    TimeWarning: BuildingBlock.UpdateGroundPath took 0.60 seconds
    TimeWarning: BuildingBlock.UpdateSurroundingBlocks took 0.60 seconds
    TimeWarning: BuildingBlock.UpdateSurroundingBlocks took 0.60 seconds
    TimeWarning: BuildingBlock.UpdateGroundPath took 0.60 seconds
    TimeWarning: BuildingBlock.UpdateGroundPath took 0.60 seconds
    TimeWarning: BuildingBlock.UpdateSurroundingBlocks took 0.61 seconds
    TimeWarning: BuildingBlock.UpdateSurroundingBlocks took 0.61 seconds
    TimeWarning: BuildingBlock.UpdateSurroundingBlocks took 0.51 seconds
    TimeWarning: BuildingBlock.UpdateSurroundingBlocks took 0.51 seconds
    TimeWarning: BuildingBlock.RunQueue took 0.51 seconds
    TimeWarning: BuildingBlock.RunQueue took 0.51 seconds
    TimeWarning: BuildingBlock.UpdateSurroundingBlocks took 4.57 seconds
    TimeWarning: BuildingBlock.UpdateSurroundingBlocks took 4.57 seconds
    TimeWarning: BuildingBlock.RunQueue took 4.57 seconds
    TimeWarning: BuildingBlock.RunQueue took 4.57 seconds
    TimeWarning: StabilityWorker Queue took 4.57 seconds
    TimeWarning: StabilityWorker Queue took 4.57 seconds
    TimeWarning: BuildingBlock.UpdateSurroundingBlocks took 3.01 seconds
    TimeWarning: BuildingBlock.UpdateSurroundingBlocks took 3.01 seconds
    TimeWarning: BuildingBlock.RunQueue took 3.01 seconds
    TimeWarning: BuildingBlock.RunQueue took 3.01 seconds
    TimeWarning: StabilityWorker Queue took 3.01 seconds
    TimeWarning: StabilityWorker Queue took 3.01 seconds
    TimeWarning: BuildingBlock.UpdateSurroundingBlocks took 0.68 seconds
    TimeWarning: BuildingBlock.UpdateSurroundingBlocks took 0.68 seconds
    TimeWarning: BuildingBlock.RunQueue took 0.69 seconds
    TimeWarning: BuildingBlock.RunQueue took 0.69 seconds
    TimeWarning: BuildingBlock.UpdateSurroundingBlocks took 1.17 seconds
    TimeWarning: BuildingBlock.UpdateSurroundingBlocks took 1.17 seconds
    TimeWarning: BuildingBlock.RunQueue took 1.18 seconds
    TimeWarning: BuildingBlock.RunQueue took 1.18 seconds
    TimeWarning: StabilityWorker Queue took 1.18 seconds
    TimeWarning: StabilityWorker Queue took 1.18 seconds
    TimeWarning: BuildingBlock.UpdateSurroundingBlocks took 1.21 seconds
    TimeWarning: BuildingBlock.UpdateSurroundingBlocks took 1.21 seconds
    TimeWarning: BuildingBlock.RunQueue took 1.21 seconds
    TimeWarning: BuildingBlock.RunQueue took 1.21 seconds
    TimeWarning: StabilityWorker Queue took 1.21 seconds
    TimeWarning: StabilityWorker Queue took 1.21 seconds

    EVERYTIME SERVER FREEZE

    BEFORE INSTALLING THIS PLUGIN SERVER WAS WORKING 16DAYS WITHOUT PROBLEM

    THERE WAS ACTIVE 22PLAYER WITH MAX HIT 91PLAYER

    IN ORDER TO SOLVE PROBLEM SERVER WIPED

    CURRENTLY SERVER WORKING STABLE WITH THIS PLUGIN

    BRGDS, CENK
     
  4. your error has nothing to do with this plugin.
    this plugin doesn't have any hook that could cause that.
    the problem you are experienting is probably due to big houses and stuff like that, and has nothing to do with this plugin.
    i'm 100% sure about it.
     
  5. I was about to say the same thing. Your problem have absolutely nothing to do with mine plugin. So next time when report stuffs you better make sure they are reported in the right place.

    P.S. If more people complains about the same issue well then I may start believing it have something to do with my plugin! :)
     
    Last edited by a moderator: Dec 28, 2014
  6. SPooCK updated Build Controller with a new update entry:

    Removing the timers

     
  7. SPooCK updated Build Controller with a new update entry:

    New Patch fix

     
  8. how to allow admins to build on rocks we have Auth lvl 1
     
  9. i have many of this Error in my Log !?!
    Code:
    6:18 PM [Error] BuildControl: [string "BuildControl.lua"]:62: attempt to index field 'WaterBuild' (a boolean value)
      at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
     
  10. In the config WaterBuild use only true or false for 1st line and numbers for 2nd.
     
  11. Just saw this error in my console:

    Code:
    7:31 AM [Error] BuildControl: [string "BuildControl.lua"]:20: attempt to call method 'MoveNext' (a string value)
      at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
    Hope you have any idea what this means :D
     
  12. @SPooCK, do you think that is possible to implement a function that prevents the players from building more than X foundations next to each other? Like force the player to build up to a max of 20 foundations.
    I'm currently using your plugin in my server and since players cant build high towers they are building laaaarrgeer bases that makes the game lag as soon as you try to move next to it.
     
  13. Yeap i think is possible. Will look into it later when i have time. :)
     
  14. SPooCK, TheRotAG's idea is very nice...I'd like to see that or other options allowing us to prevent players from building ugly monstrosity of a house. It either lags the server or crashes it with the stack overflow exception.

    Maybe an idea is make it something like this:

    The more foundations you have for your building next to each other or connected the less higher you can go up. if you have less foundations then you can go higher variably based on the number of connected foundation.
     
  15. Code:
    6:04 PM [Error] LuaScriptException while calling OnItemDeployed:
    File: BuildControl.lua Line: 9 attempt to index local 'player' (a nil value):
      at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
     
    Last edited by a moderator: Feb 20, 2015
  16. please, can you fix the plugin plz ? i really need it ! Thx :)
     
  17. Same error:
    Code:
    2/19/2015 6:41:51 PM] [Oxide] 6:41 PM [Error] LuaScriptException while calling OnItemDeployed:
    File: BuildControl.lua Line: 9 attempt to index local 'player' (a nil value):
      at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
     
    Last edited by a moderator: Mar 1, 2015
  18. Any update ? :)