TeamUlysses / ulib

ULib: A Lua library for more rapid development on Garry's Mod servers
http://ulyssesmod.net
Other
105 stars 55 forks source link

lua error when editing a ban #17

Closed ghost closed 8 years ago

ghost commented 8 years ago

Steps to reproduce

1.ban someone 2.go to ban in GUI 3.then edit the ban

Expected behavior

Tell us what should happen Should change the ban without making luas

Actual behavior

Tell us what happens instead Made luas

Error(s) in server console, if any

[ERROR] addons/ulib/lua/ulib/server/player.lua:167: attempt to call method 'Kick' (a nil value)

  1. kick - addons/ulib/lua/ulib/server/player.lua:167
  2. banfunc - addons/ulib/lua/ulib/server/player.lua:275
  3. addBan - addons/ulx/lua/ulx/xgui/server/sv_bans.lua:244
  4. unknown - addons/ulx/lua/ulx/xgui/server/sv_bans.lua:84
  5. unknown - addons/ulx/lua/ulx/modules/xgui_server.lua:65
  6. unknown - lua/includes/modules/concommand.lua:54

    Error(s) in player's console, if any

Nope

Version

Run "ulx version" in console and paste the result I will get you that asap (on phone)

Nayruden commented 8 years ago

18 -- user fixed, conflict with other addons.

ghost commented 8 years ago

this is still a error

ghost commented 8 years ago

can we reopen plz

60percentCaffeine commented 8 years ago

@Gamerpro2266 "made luas" lol'd

Please, use "Lua-errors" instead of "luas".

Nayruden commented 8 years ago

The error you are getting indicates that your server is completely messed up. Recommend fresh reinstall and install addons carefully, one by one, to ensure you don't install one that destroys the Lua environment.

ghost commented 8 years ago

Is there no other way

ghost commented 8 years ago

Can I just reinstall the lua part

60percentCaffeine commented 8 years ago

@Gamerpro2266 Yes, you can just do "app_update 4020 validate", copy your addons folder somewhere else and make a new folder, and then install addons one by one to find who is a bad boy.