Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: Aaron113 on May 04, 2010, 03:44:41 PM

Title: Problems with ULX
Post by: Aaron113 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)
Title: Re: Garrys update.... fails once again (not as bad)
Post by: Stickly Man! 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.
Title: Re: Garrys update.... fails once again (not as bad)
Post by: Aaron113 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.
Title: Re: Garrys update.... fails once again (not as bad)
Post by: Stickly Man! 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
Title: Re: Garrys update.... fails once again (not as bad)
Post by: Aaron113 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.
Title: Re: Problems with ULX
Post by: Megiddo 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.
Title: Re: Problems with ULX
Post by: Aaron113 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.
Title: Re: Problems with ULX
Post by: Stickly Man! 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?
Title: Re: Problems with ULX
Post by: Aaron113 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.
Title: Re: Problems with ULX
Post by: Aaron113 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.
Title: Re: Problems with ULX
Post by: Stickly Man! 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?
Title: Re: Problems with ULX
Post by: Aaron113 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"
}
Title: Re: Problems with ULX
Post by: dracotonisamond 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...
Title: Re: Problems with ULX
Post by: Stickly Man! 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.
Title: Re: Problems with ULX
Post by: Stickly Man! 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.
Title: Re: Problems with ULX
Post by: dracotonisamond on May 05, 2010, 07:21:36 PM
this is the only ban in my file

Code: [Select]
"STEAM_REDACTED"
{
"time" 1272942245
"unban" 1272945845
"admin" "[?o³³]SPiRALFACToR(STEAM_REDACTED)"
"name" ")FAP( *SHANKS*"
"reason" "` \"boo hoo cry some more\""
}
removed steamid's
although my reason was inputted as "boo hoo cry some more" last night.
Title: Re: Problems with ULX
Post by: Stickly Man! on May 05, 2010, 07:37:58 PM
That would be your problem.. remove both \" from your reason so it looks like this:
Code: [Select]
"reason"   "boo hoo cry some more"
May I ask how you banned this user? Was it in chat with '!ban'? or was it in the console using 'ulx ban' or 'ulx banid'?
Title: Re: Problems with ULX
Post by: dracotonisamond on May 05, 2010, 08:55:23 PM
ulx ban i beilieve. 
Title: Re: Problems with ULX
Post by: eordidotmigg on May 06, 2010, 08:53:07 AM
Since the update my ulx_logs have not been written.

I've tried the release and svn.

Is that another result of the update? Or should I be looking elsewhere for a reason?
Title: Re: Problems with ULX
Post by: Aaron113 on May 06, 2010, 01:39:15 PM
Since the update my ulx_logs have not been written.

I've tried the release and svn.

Is that another result of the update? Or should I be looking elsewhere for a reason?

I just noticed yesterday that my logs are to not working.
Title: Re: Problems with ULX
Post by: Aaron113 on May 07, 2010, 05:50:08 PM
Are you guys getting anywhere with this?  I can't even have votemaps or even check my logs.  It is getting annoying that everything is broke.

My banlist is fix but I'm still having problems with votemaps, logs, adverts, gimps, and my 'ulx menu' doesn't work still.
Title: Re: Problems with ULX
Post by: JamminR on May 07, 2010, 07:11:42 PM
Aaron, Meg's been in finals all this week. Stick's a gui man, and I've been busy with family responsibilities.
There are other team members that I'm not aware of thier projects right now, but know that ULib is a hobby, not a career.
So, no, not yet.
We're aware.
It's SVN...give us time.
Title: Re: Problems with ULX
Post by: Megiddo on May 07, 2010, 07:24:31 PM
I'm home now JamminR, just without internet (spent four hours talking with comcast... but still no internet)

Aaron, is anyone else having the same problems?
Title: Re: Problems with ULX
Post by: JamminR on May 07, 2010, 08:50:34 PM
I've seen several, including Stickly I think, report the logs issue.
menu's hit or miss. Not seen a pattern.
I'm currently not on my dev box. More story behind that later in off topic maybe.
(It's not bad like an hd crash or anything...just geeky goodness obsession)
Title: Re: Problems with ULX
Post by: Aaron113 on May 07, 2010, 09:00:55 PM
I'm home now JamminR, just without internet (spent four hours talking with comcast... but still no internet)

Aaron, is anyone else having the same problems?
I'm not sure if everyone is, but I did join a server that had ULX and ULiB SVN and the owner said he was also having problems with the menu not working.


Aaron, Meg's been in finals all this week. Stick's a gui man, and I've been busy with family responsibilities.
There are other team members that I'm not aware of thier projects right now, but know that ULib is a hobby, not a career.
So, no, not yet.
We're aware.
It's SVN...give us time.

I understand just you guys usually are so quick :P


EDIT:  I just joined a different server from the one above and theirs seems to be working fine.(Not sure if it was SVN)
EDIT:  He says he tweaked ULX and ULiB.
Title: Re: Problems with ULX
Post by: DiscoBiscuit on May 09, 2010, 06:45:19 PM
Since the update my ulx_logs have not been written.

I've tried the release and svn.

Is that another result of the update? Or should I be looking elsewhere for a reason?

Yay I'm not going crazy
Title: Re: Problems with ULX
Post by: JamminR on May 09, 2010, 06:57:41 PM
See if you can get an error for us.
Shut down server.
Remove (I recommend backup/move to another non gmod location) your gmod/data/ulx_logs folder.
Restart server.
Watch server console for start up errors involving either ULib or ULX.
Watch server console for errors when player joins/spawns/leaves/any other item that would normally cause log entry.

Title: Re: Problems with ULX
Post by: Aaron113 on May 10, 2010, 02:38:58 PM
Ok this is without updating ULX ULiB or removing data folders.
Code: [Select]
-
-
<SNIPPED --- UNNEEDED>
-
-
Lua initialized (Lua 5.1)
======== Installing Table (De)Serialiser Module | ver: 1.4 ========
==========================================================
Simple Prop Protection Version 1.51 by Spacetech has loaded
==========================================================
///////////////////////////////
//      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        //
//  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!            //
///////////////////////////////
[ULIB] Loading SHARED module: ulx_init.lua
///////////////////////////////
//       ULX Admin Mod       //
///////////////////////////////
// Loading...                //
//  sh_defines.lua           //
//  lib.lua                  //
//  base.lua                 //
//  sh_base.lua              //
//  log.lua                  //
//  MODULE: AutoPromote.lua  //
//  MODULE: slots.lua        //
//  MODULE: votemap.lua      //
//  MODULE: chat.lua         //
//  MODULE: fun.lua          //
//  MODULE: menus.lua        //
//  MODULE: rcon.lua         //
//  MODULE: teleport.lua     //
//  MODULE: user.lua         //
//  MODULE: userhelp.lua     //
//  MODULE: util.lua         //
//  MODULE: vote.lua         //
//  end.lua                  //
// Load Complete!            //
///////////////////////////////
[ULIB] Loading SHARED module: URestrict.lua
///////////////////////////////
//         URestrict         //
///////////////////////////////
//Loading...                 //
//  MODULE: init.lua         //
//  MODULE: canTool.lua      //
//  MODULE: give.lua         //
//  MODULE: giveSwep.lua     //
//  MODULE: pickup.lua       //
//  MODULE: props.lua        //
//  MODULE: spawn.lua        //
//Done!                      //
///////////////////////////////
[ULIB] Loading SERVER module: ASpam.lua
[ULIB] Loading CLIENT module: cl_ASpaminit.lua
[ULIB] Loading CLIENT module: URestrict_cl.lua
[ULIB] Loading CLIENT module: ur_gui.lua
includes/extensions/string.lua:33: bad argument #1 to 'find' (string expected, got nil)
======== Beam NetVars Lib v0.71 Installed ========
EGP Lib Loading:
EGP v2 Beta Installed & Loading
Adding USM Layouts:
EGP Lib Loaded!
ERROR! Module 'zlib_b64' not found!
==== Advanced Duplicator v.1.72 shared module installed! ====
Added EntCheckHook: AdvDupe_NoItems
Added EntCheckHook: AdvDupe_DisallowedClasses
Added EntCheckHook: AdvDupe_ModelCheck
==== Advanced Duplicator v.1.85 server module installed! ====
Registering gamemode 'sandbox' derived from 'base'
ScriptEnforce is disabled
Loading Wire Tools
entities\mario_sent_atomic_bomb/shared.lua:6: unfinished string near '"RayFanMan(RayFan9876)'
-- Error PARSING CLIENTSIDE file -------------------------
- File: entities\mario_sent_atomic_bomb/shared.lua
----------------------------------------------------------
entities\mario_sent_atomic_bomb\shared.lua:6: unfinished string near '"RayFanMan(RayFan9876)'
-
-
-
-<SNIPPED>
-
-
-
Couldn't register Scripted Entity mario_sent_atomic_bomb - the Type field is empty!
Skipping E2 extension 'propcore'.
adding materials/waterizer/shader.vmt
ERROR: Hook 'ULXDoCfg' Failed: ulx\modules/sh/util.lua:214: attempt to index a nil value
Removing Hook 'ULXDoCfg'
Executing dedicated server config file
Cannot change maxplayers while the server is running
Adding master server -------------------------------
Adding master server -------------------------------
Connection to Steam servers successful.
   VAC secure mode is activated.
Client "[EN] Aaron113 {USGd1}" connected (--------------------------------).
Writing cfg/banned_user.cfg.
game.ConsoleCommand blocked!
=================================================
Simple Prop Protection: 48 props belong to world
=================================================
Player [1][[EN] Aaron113 {USGd1}] authed
repopulating clients
ERROR: Hook 'ULXInitPlayer' Failed: includes/extensions/string.lua:33: bad argument #1 to 'find' (string expected, got nil)
Removing Hook 'ULXInitPlayer'
ERROR: Hook 'ULXWelcome' Failed: includes/extensions/string.lua:33: bad argument #1 to 'find' (string expected, got nil)
Removing Hook 'ULXWelcome'
populating client Player [1][[EN] Aaron113 {USGd1}]
Writing cfg/banned_user.cfg.
[EN] Aaron113 {USGd1} ragdolled themself
[EN] Aaron113 {USGd1} unragdolled themself
[EN] Aaron113 {USGd1} jailed themself for 30 seconds
[EN] Aaron113 {USGd1} unjailed themself
repopulating clients
Dropped [EN] Aaron113 {USGd1} from server (Disconnect by user.)
Pay attention to these last few lines, they should show the reason.



EDIT:  I forgot to try the votemap and gimp, but hopefully I tried enough for you to figure out.

UPDATE:  I just removed ULX and ULiB and re-SVNed it, but kept data files (not ones in ULX folder), and it seems to be fixed.

UPDATE:  I just added the files back and it all seems to be working after I SVNed it, even the logs are back.
EDIT:  You can't look at list of maps anymore like you used to be able to.  I also cannot gimp, have adverts, and the downloads.  I'll try re-creating them.

Title: Re: Problems with ULX
Post by: JamminR on May 10, 2010, 03:15:58 PM
Sounds like a file permission and or corruption issue.
DoCfg was breaking, and it's the part that reads all of the configs, bans, etc.
Since a few other people are reporting that logs are broken, it's possible the Gmod update changed permissions some how in a bad way.
That's just a theory anyway.
Title: Re: Problems with ULX
Post by: Aaron113 on May 10, 2010, 03:30:48 PM
Yea, I just re-created the adverts and all and they seem to be working fine now.