1. TheRotAG updated RotAG-Groups with a new update entry:

    realName bug prevention added

     
  2. anyone having errors come through console when the try use a command?
    Code:
    [Oxide] 4:26 PM [Error] LuaScriptException while calling C_Group:
    File: RotAG-Groups.lua Line: 234 bad argument #1 to 'concat' (table expected, got nil):
    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 23, 2015
  3. with latest update i been getting flooded with these error messages
    Code:
    LuaScriptException while calling C_Group:
    File: RotAG-Groups.lua Line: 226 attempt to index local 'pData' (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
    5:04 PM [Error] LuaScriptException while calling C_Group:
    File: RotAG-Groups.lua Line: 226 attempt to index local 'pData' (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
    5:05 PM [Error] LuaScriptException while calling C_Group:
    File: RotAG-Groups.lua Line: 310 attempt to index local 'pData' (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
    5:06 PM [Info] Unloaded plugin RotAG-Groups v1.7.3 by TheRotAG
     
  4. That 234 catch the Leaders Names from a group. If everything is fine in the data file, I don't see a reason to happen...
    You create a group, the plugin saves the data, the gorup is there, you are one of the leaders, so your name is there... no way it would got nil...

    Did you tested the "group" command or one of your players?


    pData is a var that stores the player data key in the data file, if its "nil", it really doesn't exist....

    I can't understand why me and other admins from other friendly servers can use the plugin without issues and you guys keeps receiving errors...

    As ever, what I can recommend is that you guys DELETE your old config and data files. Remember that it can't be done with the plugin running... better yet, the best option is to delete those files with the server offline and then start it normally.

    All basic structure from the data file is built when then server starts the plugin at the first time, after that when the players connects to have its first contact with the plugin (after its 'first' load), it creates the player basic data structure. I tried to record a video showing guys my tests with the plugin running, but unfortunatelly my software crashed... soon I will record it and post it here.
     
  5. Thanks for the hard work on the mod and sorting the issues out much appreciated.

    Regarding my post before i did say it was working ok once i did a reboot of the server as it had an issue with the data file before hand but once the reboot was done with the data file deleted it re-created a new data file and everything worked fine apart from that /group list command which i believe you have now fixed :)

    Using the mod and working great thanks.
     
  6. [Oxide] 6:58 PM [Error] LuaScriptException while calling C_Group:
    File: RotAG-Groups.lua Line: 397 bad argument #1 to 'concat' (table expected, got string):
    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
    why?
     
  7. Did you read the topic ? Did you download the last version, delete your data and config while the server is stopped and then start it again and see if it will pop any errors ? Or you just saw the error in your console came here and post it ? hehe i used to do that to :) now i always read the topic first, 70% of the time there's an answer there for my problem.
     
  8. ok, thanks sorry xD
     
  9. Code:
    3:59 PM [Info] [Logger] LuksGamer21 ran chat command: /group invite Maico
    3:59 PM [Info] GrpMsg - LuksGamer21: [PDO] Maico has been invited to join your group!
    3:59 PM [Error] LuaScriptException while calling C_Group:
    File: RotAG-Groups.lua Line: 555 attempt to index field '?' (a nil value):
    3:59 PM [Error] LuaScriptException while calling OnPlayerChat:
    File: RotAG-Groups.lua Line: 738 attempt to concatenate local 'realName' (a nil value):
      at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0
     
    Last edited by a moderator: Feb 27, 2015
  10. Again :)

    Did you read the topic ? Did you download the last version, delete your data and config while the server is stopped and then start it again and see if it will pop any errors ? Or you just saw the error in your console came here and post it ? hehe i used to do that to :) now i always read the topic first, 70% of the time there's an answer there for my problem.
     
  11. yup
    yup yup...
     
  12. been running the last version since yesterday in my server and i got a lot of groups but no errors in the console.
     
  13. the group is broken I can assure you..
     
  14. just test it myself and asked my players about the groups and everything works.
    [DOUBLEPOST=1424731957][/DOUBLEPOST]i can give you my entire oxide log and you see that there is no erros in the groups plugin!
     
  15. if you are not owner of group and try to leave group it seems that; you left the group(i.e. you can kill old group members) but even server restarted you will seems in group (in chat)

    You need to delete data from dat file manually

    Also when you type /group list you can not get list of groups in server
     
    Last edited by a moderator: Feb 26, 2015
  16. /gc "message" doest work why ?
     
  17. Is this plugin working for anyone? It seems like everywhere there is this call:

    Code:
      GroupData.PlayerData[pID].RealName
        or
      anything with .RealName
    
    It's failing, and it's all over the code.

    Here some example error messages:
    Code:
    [2/26/2015 8:43:43 PM] [Oxide] 8:43 PM [Error] LuaScriptException while calling C_Group:
    File: RotAG-Groups.lua Line: 413 attempt to concatenate field 'RealName' (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 [2/26/2015 8:38:34 PM] [Oxide] 8:38 PM [Error] LuaScriptException while calling C_Group:
    File: RotAG-Groups.lua Line: 424 attempt to index field '?' (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 File: RotAG-Groups.lua Line: 402 attempt to index field '?' (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 
    and so on...

    Yes I got the latest code 1.7.3 and just added it to my server today for the first time to replace Friends API & Friendly Fire as it's broken.

    Please HELP!
    [DOUBLEPOST=1425069649,1425002201][/DOUBLEPOST]Anyone???
     
  18. i am using this plugin without any error. All fetaures are working.

    You could delete all cfg,plugins,data files and try to install again.
     
  19. Guys I already explained that, but lets go.

    How the plugin works?

    - Server, started, plugin automatically loaded. OK (If you load the plugin with players already connected it surely will throw errors at you...)
    - Player Connects, the plugin stores his "RealName" (aka Steam Nick) to the Data File and Saves.
    - Player Spawns its checks if all basic data from the player was created (Lv, Skill etc.) and create what is needed. EVEN the RealName is created that way if it already doesn't exists.

    So, if all those steps happened, the player will surely have its player data created and no other function from the plugin will throw errors to the console.
    I don't pay a Host company. I own my own host computers and dedicated internet connection, so I can assure you that with all steps happening in the correct order, that's no way to let the plugin throw errors. What I can think about it is that you guys have a problem on your server, something that breaks the connection with the player or breaks the plugin at somepoint so you have issues with the code.

    Unfortunatelly I can't provide a 100% error safe plugin since it would cost much more from the performance of our servers...

    Other detail that let me intrigued is that since my first version of this plugin I NEVER had issues with it. Actually I don't use it, just have the SAME code for groups inside my RPG Plugin. And the groups NEVER gave me errors if not when the game updated and changed some hooks, like the OnPlayerAttacked...
     
  20. I have the plugin load with the server, before players are in and we are getting this spammed to our error file, possibly crashing the server every 30 mins or so....
    Code:
    [2/28/2015 8:05:47 PM] [Oxide] 8:05 PM [Error] LuaScriptException while calling OnEntityAttacked:
    File: Groups.lua Line: 662 attempt to call method 'Total' (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