@TheRotAG thank you![]()
RotAG-Groups [Unmaintained]
Discussion in 'Plugin Support' started by TheRotAG, Jan 23, 2015.
-
[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 lolYou should a put a check for the ent because it's maybe trying to get the ID from an animal or something else lol
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
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:
ReplaceCode:hitinfo.damageTypes:Set( hitinfo.damageTypes:GetMajorityDamageType(), 0 )
Code:hitinfo.damageTypes = new(Rust.DamageTypeList._type, nil)
Last edited by a moderator: Feb 14, 2015 -
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... -
And yes checking the ent solve the 510 line error problem
Last edited by a moderator: Feb 14, 2015 -
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 -
TheRotAG updated RotAG-Groups with a new update entry:
Fixed error on line 510
-
Edited comment bc it's working perfect
Last edited by a moderator: Feb 14, 2015 -
Erase the groups in data and config in config folder! stop the server, load the plugin and start the server.
-
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... -
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 -
[DOUBLEPOST=1423943631][/DOUBLEPOST]We are here testing the plugin right now -
Tell me which plugins you use and I will load the same here in order to understand which one is conflicting. -
[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 -
I think more then one group can create the same name?.!
-
-
TheRotAG updated RotAG-Groups with a new update entry:
Fix: 2 groups with the same name cant exist anymore.
-
Have an error
/group list -
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>:
-
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
-
@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 thisThis should stop the error till the DeV decide where to store the name
Attached Files:
-