Author Topic: Problems with ULX  (Read 10268 times)

0 Members and 1 Guest are viewing this topic.

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Problems with ULX
« on: May 04, 2010, 03:44:41 PM »
The menus for ULX seem not to be working because of Garry's update, I'm not 100% sure if it is true.

nvm I'm only having problems with "ulx menu" and "ulx banmenu"

Also Ragdoll does not work

I also hear reserved slots do not work (From one of my admins)
« Last Edit: May 04, 2010, 05:21:53 PM by Aaron113 »

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: Garrys update.... fails once again (not as bad)
« Reply #1 on: May 04, 2010, 04:46:04 PM »
Hmm, the old menus are working fine for me, are you getting any errors in console?

I got these errors in my server console-- they all seem to be related, but I don't know if it's a fault in Garry's code or not:

Code: [Select]
includes/extensions/string.lua:33: bad argument #1 to 'find' (string expected, got nil)

ERROR: Hook 'ULXDoCfg' Failed: includes/extensions/string.lua:33: bad argument #1 to 'find' (string expected, got nil)
Removing Hook 'ULXDoCfg'

ERROR: Hook 'ULXInitPlayer' Failed: includes/extensions/string.lua:33: bad argument #1 to 'find' (string expected, got nil)
Removing Hook 'ULXInitPlayer'
EDIT: Also, I get that first error right after ULib/ULX is done initializing, it seems.
« Last Edit: May 04, 2010, 04:48:38 PM by Stickly Man! »
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: Garrys update.... fails once again (not as bad)
« Reply #2 on: May 04, 2010, 04:51:27 PM »
Well it seemed to break after I added your menu and ran steam update on my server.

But I do get an error
Code: [Select]
[ULIB] Loading CLIENT module: ur_gui.lua
includes/extensions/string.lua:33: bad argument #1 to 'find' (string expected, got nil)

I'm going to try re-installing ULX and ULiB.
« Last Edit: May 04, 2010, 04:57:48 PM by Aaron113 »

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: Garrys update.... fails once again (not as bad)
« Reply #3 on: May 04, 2010, 04:57:55 PM »
Firstly, XGUI has absolutely nothing to do with the ULX menus, so, nothing should have broken.
Secondly, that last ur_gui.lua file is part of URestrict, but, that error always appears AFTER the last modules are loaded:

Code: [Select]
[ULX] Loading SHARED module: vote.lua
includes/extensions/string.lua:33: bad argument #1 to 'find' (string expected, got nil)

EDIT: Also just tested ragdoll.. it's working for me
« Last Edit: May 04, 2010, 04:59:33 PM by Stickly Man! »
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: Garrys update.... fails once again (not as bad)
« Reply #4 on: May 04, 2010, 05:21:22 PM »
I don't know what is wrong... a bunch of things are not working.

Edit:  I did re-install ULX and ULiB, but still not working.
« Last Edit: May 04, 2010, 05:26:26 PM by Aaron113 »

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: Problems with ULX
« Reply #5 on: May 04, 2010, 05:29:18 PM »
Garry's blocked us from reading our config files... Ouchie. That's going to take a while to update, and unfortunately I have 0 time between now and Friday (traveling home, leaving right after test in 30 mins). JamminR or Stickly Man!, would you like to try your hands at this? Garry's restricting file reading to txt, cfg, lua extensions (according to the changelog). I haven't tested to make sure this is the problem, but it seems like it ought to be. To fix it, people need to rename the config files to .txt and the appropriate code needs to change along with it.
Experiencing God's grace one day at a time.

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: Problems with ULX
« Reply #6 on: May 04, 2010, 05:36:31 PM »
My problem is the window for the menu is like the size of my post button but a little more height.

The banmenu gets stuck on loading but that is probably cuz this ....

Garry's blocked us from reading our config files... Ouchie. That's going to take a while to update, and unfortunately I have 0 time between now and Friday (traveling home, leaving right after test in 30 mins). JamminR or Stickly Man!, would you like to try your hands at this? Garry's restricting file reading to txt, cfg, lua extensions (according to the changelog). I haven't tested to make sure this is the problem, but it seems like it ought to be. To fix it, people need to rename the config files to .txt and the appropriate code needs to change along with it.


Also the jail command doesn't show the PrintMessage in players chats, but other then that and reserved slots everything seem to be fine.

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: Problems with ULX
« Reply #7 on: May 04, 2010, 05:51:20 PM »
<snip> stuff about .ini changes </snip>

This has already been corrected: http://twitter.com/FacepunchBot/status/13390632320
No idea when it will be pushed however.

@Aaron, the banmenu probably gets stuck because of .. well, it could be a lot of reasons. Are you seeing any errors in your console from any mods? Perhaps the update broke something else, which is in turn breaking ULX?
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: Problems with ULX
« Reply #8 on: May 04, 2010, 06:47:59 PM »
This has already been corrected: http://twitter.com/FacepunchBot/status/13390632320
No idea when it will be pushed however.

@Aaron, the banmenu probably gets stuck because of .. well, it could be a lot of reasons. Are you seeing any errors in your console from any mods? Perhaps the update broke something else, which is in turn breaking ULX?
I am not seeing any errors, and I have no idea what could have broke it if anything did.

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: Problems with ULX
« Reply #9 on: May 05, 2010, 07:18:32 AM »
Could this be what your looking for?
Code: [Select]
///////////////////////////////
//      Ulysses Library      //
///////////////////////////////
// Loading...                //
//  shared/defines.lua       //
//  shared/misc.lua          //
//  shared/util.lua          //
//  server/upgrade.lua       //
//  shared/hook.lua          //
//  server/gamemode_hooks.lua//
//  shared/table.lua         //
//  shared/player.lua        //
//  server/player.lua        //
ULib/server/player.lua:332: attempt to index field 'bans' (a nil value)
//  shared/messages.lua      //
//  shared/commands.lua      //
//  server/concommand.lua    //
//  server/util.lua          //
//  shared/sh_ucl.lua        //
//  server/ucl.lua           //
//  server/phys.lua          //
//  server/player_ext.lua    //
//  server/entity_ext.lua    //
// Load Complete!            //
///////////////////////////////

EDIT:  I just recently discovered I am not the only one with the problem I am having.
« Last Edit: May 05, 2010, 08:13:02 AM by Aaron113 »

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: Problems with ULX
« Reply #10 on: May 05, 2010, 01:40:58 PM »
Hmm, I'm not getting that error at all-- are you using the SVN or release version of ULX/ULib?

Looking at the code, I can only think of two things that might be causing that problem:
1) Something is up with your bans.txt file, or
2) Your ULib/ULX SVN (if you're using it) is not up to date.

If you know for sure the SVNs are updated, perhaps you could send me your bans.txt so I could take a look?
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: Problems with ULX
« Reply #11 on: May 05, 2010, 05:10:52 PM »
Well here is my Bans.txt
I did not update ULX or ULiB but I will try soon. (SVN)
Code: [Select]
"STEAM_0:1:9802135"
{
"name" "Sketchy"
"unban" "0"
"admin" "DDTS|ILIKEKAB00MS31(STEAM_0:0:23996884)"
"time" "1271531596"
"reason" "being the worst admin known to man and telling aaron to suck "
}
"STEAM_0:1:22394730"
{
"unban" "0"
"admin" "(Console)"
"time" "1271623908"
"reason" "Believed to have been DDoSing my server"
}
"STEAM_0:0:14922925"
{
"time" "1271296765"
"unban" "0"
"admin" "[EN] Aaron113 {USGd1}(STEAM_0:0:25464234)"
"name" "[GTS]DUN101Jr"
"reason" "Spammer of doors"
}
"STEAM_0:0:21269128"
{
"unban" "0"
"admin" "DDTS|ILIKEKAB00MS31(STEAM_0:0:23996884)"
"time" "1272760798"
"reason" "spamming"
}
"STEAM_0:0:16716042"
{
"name" "Death Jr."
"unban" "0"
"time" "1271717177"
"admin" "[EN] Aaron113 {USGd1}(STEAM_0:0:25464234)"
"reason" "Spawned a model that can crash server... On purpose.   Death Jr. Perma ban"
}
"STEAM_0:1:13823622"
{
"unban" "0"
"admin" "8|?|ANDY|?|8(STEAM_0:1:26848616)"
"time" "1271802673"
"reason" "light spamm"
}
"STEAM_0:1:20152378"
{
"time" "1271297967"
"unban" "0"
"admin" "[EN] Aaron113 {USGd1}(STEAM_0:0:25464234)"
"name" "[TZ] ..Cheesecaek.."
"reason" "Det Cords"
}
"STEAM_0:0:2228127"
{
"name" "{BG}Blaster"
"unban" "0"
"time" "1272142669"
"admin" "(Console)"
"reason" "colored people props, and just a general minge.  Perma Ban :  {BG}Blaster"
}
"STEAM_0:1:26059069"
{
"unban" "1273429935"
"time" "1272829935"
"admin" "[EN] Aaron113 {USGd1}(STEAM_0:0:25464234)"
"reason" "Turret spam and prop push, week ban.  [Tav] Nasacho"
}
"STEAM_0:0:16838153"
{
"time" 1272945085
"unban" 0
"admin" "<<-{RAPTOR}->>Kitten(STEAM_0:1:15537435)"
"name" "Professional Pothead"
"reason" "\"Reason \" spamming Thrusters"
}
"STEAM_0:1:24661425"
{
"unban" "0"
"admin" "[EN] Aaron113 {USGd1}(STEAM_0:0:25464234)"
"time" "1270177714"
"reason" "Spamming minge with no life"
}
"STEAM_0:0:22076130"
{
"admin" "{Ø??) GigiIdy GOo(STEAM_0:1:22596416)"
"unban" "0"
"time" "1270907649"
"name" "c man"
"reason" ""
}
"STEAM_0:0:10946389"
{
"name" "Hoodieni"
"unban" "0"
"admin" "<<-{RAPTOR}->>Kitten(STEAM_0:1:15537435)"
"time" "1272928666"
"reason" "Spamming"
}
"STEAM_0:0:26708350"
{
"unban" "0"
"time" "1270685170"
"admin" "[EN] Aaron113 {USGd1}(STEAM_0:0:25464234)"
"reason" ""
}
"STEAM_0:1:12215803"
{
"unban" "0"
"time" "1272164309"
"admin" "(Console)"
"reason" "No good spammer"
}
"STEAM_0:1:17858117"
{
"unban" "0"
"time" "1271211574"
"admin" "DDTS|ILIKEKAB00MS31(STEAM_0:0:23996884)"
"reason" "spamming/hacking"
}
"STEAM_0:1:25214533"
{
"time" "1272761110"
"unban" "0"
"admin" "DDTS|ILIKEKAB00MS31(STEAM_0:0:23996884)"
"name" "FAILTOLAWL"
"reason" "spamming"
}
"STEAM_0:0:25931505"
{
"admin" "[EN] Aaron113 {USGd1}(STEAM_0:0:25464234)"
"unban" "0"
"time" "1270951253"
"name" "TOMSKOW194"
"reason" "Spamming, perma ban"
}
"STEAM_0:0:20005298"
{
"unban" "0"
"admin" "[EN] Aaron113 {USGd1}(STEAM_0:0:25464234)"
"time" "1270177557"
"reason" "Wookie Spamming minge with no life"
}
"STEAM_0:0:9871417"
{
"unban" "0"
"admin" "(Console)"
"time" "1271117871"
"reason" "Crashed server"
}
"STEAM_0:1:21144565"
{
"unban" "0"
"time" "1270846949"
"admin" "[EN] Aaron113 {USGd1}(STEAM_0:0:25464234)"
"reason" " Gucci:  Crashed Server, Perma ban."
}
"STEAM_0:1:16173257"
{
"unban" "0"
"admin" "[EN] Aaron113 {USGd1}(STEAM_0:0:25464234)"
"time" "1270177692"
"reason" "Spamming minge with no life"
}
"STEAM_0:1:23313680"
{
"unban" "0"
"time" "1271200237"
"admin" "DDTS|ILIKEKAB00MS31(STEAM_0:0:23996884)"
"reason" "spamming and crashing server"
}
"STEAM_0:0:29196010"
{
"unban" "0"
"time" "1271512346"
"admin" "[EN] Aaron113 {USGd1}(STEAM_0:0:25464234)"
"reason" "You fail at gmod, perma ban"
}

Offline dracotonisamond

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Re: Problems with ULX
« Reply #12 on: May 05, 2010, 05:53:02 PM »
im also having issues with ragdoll and now banid.  banid doesnt seem to be banning properly, but chat banning is working fine.
i also cant provide any errors because i have no access to my console on my gsp...

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: Problems with ULX
« Reply #13 on: May 05, 2010, 06:17:25 PM »
@Aaron113 WOW, I was right! Something in that bans file is causing problems-- I'm going to take a closer look in a bit. Coincidentally, I too can't use ragdoll or ulx banmenu (regular menu is working fine though).

@dracotonisamond Your problem is probably the same as Aaron's, Lemme try and figure out what's exactly causing it, then I can help you out.
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: Problems with ULX
« Reply #14 on: May 05, 2010, 06:27:00 PM »
@Aaron113: Hmm, not sure how it happened, but the reason on this ban is causing problems:
Code: [Select]
"STEAM_0:0:16838153"   
{
   "time"   1272945085
   "unban"   0
   "admin"   "<<-{RAPTOR}->>Kitten(STEAM_0:1:15537435)"
   "name"   "Professional Pothead"
   "reason"   "\"Reason \" spamming Thrusters"
}
Change it to something like this to fix it:
Code: [Select]
"reason"   "Spamming Thrusters"
@dracotonisamond Check your garrysmod/data/ULib/bans.txt file for errors similar to this, or send me your banlist and I can take a look for you.
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6