1. [Oxide] 1:54 AM [Error] RotAG-Groups: [string "RotAG-Groups.lua"]:510: invalid arguments to method call
    The console was spamed all over with this lol :D You should a put a check for the ent because it's maybe trying to get the ID from an animal or something else lol :D
    Code:
    if (not hitinfo or not ent:ToPlayer()) then return end
    if (not hitinfo.Initiator or hitinfo.damageTypes:Total() <= 0 or ent == hitinfo.Initiator) then return end
    After i did this to Goober server error stoped :p
    Also you may want to put the @Mughisi method for nulling the damage because Majority Damage often get through because of the variety of different damage types:
    Replace
    Code:
    hitinfo.damageTypes:Set( hitinfo.damageTypes:GetMajorityDamageType(), 0 )
    With
    Code:
    hitinfo.damageTypes = new(Rust.DamageTypeList._type, nil)
    Just noticing no big deal :)
     
    Last edited by a moderator: Feb 14, 2015
  2. Ohh nice SPooCK. With the ent check the line 510 error was gone then?

    About the Mughisi method, did u tried it before? Cuz first time I tried about 1 week ago it wasnt working...
     
  3. In matter of fact yes it does work just tested it before a minute ago :D And yes checking the ent solve the 510 line error problem :p
     
    Last edited by a moderator: Feb 14, 2015
  4. hello,

    - when you create group, you can not make chat with group tag infront of your name
    - when you leave the group normally group should be deleted but from that time you can make chat with group tag even you are not in that group anymore
    also getting error with latest oxide b.319;
    Code:
    [Oxide] 9:49 AM [Error] RotAG-Groups: LuaScriptException while calling OnEntityAttacked:
    [Oxide] 9:49 AM [Error] RotAG-Groups: [string "RotAG-Groups.lua"]:510: invalid arguments to method call
      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
    Unsupported encoding: 'utf8'
     
    Last edited by a moderator: Feb 14, 2015
  5. TheRotAG updated RotAG-Groups with a new update entry:

    Fixed error on line 510

     
  6. Edited comment bc it's working perfect
     
    Last edited by a moderator: Feb 14, 2015
  7. Erase the groups in data and config in config folder! stop the server, load the plugin and start the server.
     
  8. Cenk... I don't know what is happening with your server, but I've wiped my test server and tested the plugin from scratch. I don't have a single issue...
    Also, the server admin xShArKx that gave me a help with the tests is using the plugin just fine in his server...

    From what I understood, you are trying to run this plugin with the Server already running... that isn't possible because all the player data is created when they connect, so if u try to use Groups with players connect, of course you will receive errors...

    If you had been reading all my update messages you should know that I said to deleted the old config files and data as well...
     
  9. dude

    old data, config file and plugin deleted
    server restarted
    there is any error
    loaded pluging without touch any settings in config
    no error
    but when the players dead/disconnect or connect getting errors
    also when I try to make a chat with gc getting error as well

    Idk may be there is some conflict with other plugins - If it's working in your server without error sorry about that but it's not working in my server neither name changer
     
  10. OK, so join TheRotAG test server - 201.93.118.170:28019 and help solving the problems :)
    [DOUBLEPOST=1423943631][/DOUBLEPOST]We are here testing the plugin right now :)
     
  11. cenk, connect to my test serve. I'm online with xShARkx right now.

    Tell me which plugins you use and I will load the same here in order to understand which one is conflicting.
     
  12. incoming
    [DOUBLEPOST=1423947452][/DOUBLEPOST]guys,

    I really appreciate for your full support as test your plugin in my server and prove me how perfect it's working
     
  13. I think more then one group can create the same name?.!
     
  14. Corrected the code, tnx bro' ;)
     
  15. Have an error
    /group list
     
  16. /group list throws the following error on my server:
    Code:
    [Oxide] 5:50 PM [Error] LuaScriptException while calling C_Group:
    File: RotAG-Groups.lua Line: 416 attempt to index local 'gL' (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>:
    the rest of functions works pefectly
     
  17. Hi, i find small bug for this plugin..if a player leaves the group, (not kicked leader), remains a on the list group, and can not be re-invite.. please fix it.. but nice plugin and nice work THX :)
     
  18. This happen when the Group leader is out of the game and is searching for the actual player to get his .displayName which is not existing if he is offline or something. So
    @TheRotAG you may want to store the group leader name into the data and update it every time that person reconnect so if he changed his name the group leader name will change too because if you use this method you can't index an offline player like this :) This should stop the error till the DeV decide where to store the name :)
     

    Attached Files: