Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: Tommo1590 on December 22, 2009, 09:07:39 AM

Title: UTeam and Sui scoreboard...
Post by: Tommo1590 on December 22, 2009, 09:07:39 AM
Hey i added serverowner to groups and to UTeam but it has made the scoreboard show everyone as unassigned

Heres the UTeam.txt
Code: [Select]
"Out"
{
"teams"
{
"1"
{
"name" "ServerOwner"
"group" "serverowner"
"armor" "1000"
"hp" "1000"
"color"
{
"a" "255"
"B" "0"
"g" "0"
"r" "196"
}
"plytable"
{
"1" "SprintSpeed:1000"
"2" "WalkSpeed:500"
}
}
"2"
{
"name" "SuperAdmins"
"group" "superadmin"
"armor" "500"
"hp" "500"
"color"
{
"a" "255"
"B" "85"
"g" "200"
"r" "0"
}
}
"3"
{
"name" "Admins"
"group" "admin"
"armor" "100"
"hp" "100"
"color"
{
"a" "255"
"B" "50"
"g" "50"
"r" "255"
}
}
"4"
{
"name" "Operators"
"group" "operator"
"armor" "200"
"hp" "200"
"color"
{
"a" "255"
"B" "0"
"g" "200"
"r" "255"
}
}
"5"
{
"name" "Respected Member"
"group" "respected"
"armor" "100"
"hp" "100"
"color"
{
"a" "255"
"B" "196"
"g" "129
"r" "0"
}
}
"6"
{
"name" "Regular Member"
"group" "regular"
"color"
{
"a" "255"
"B" "0"
"g" "228"
"r" "188"
}
}
"7"
{
"name" "Visitor"
"group" "user"
"color"
{
"a" "255"
"B" "255"
"g" "100"
"r" "0"
}
}
}
"gamemodes"
{
"1" "Sandbox"
"2" "SpaceBuild"
}
}

I cant find anything wrong  :-\
Please Help!

Thanks
Title: Re: UTeam and Sui scoreboard...
Post by: DiscoBiscuit on December 22, 2009, 09:46:59 AM
I can't find anything wrong with it either.
Is the gamemode on sandbox? Did you put UTeam.lua in lua/autorun?
Title: Re: UTeam and Sui scoreboard...
Post by: JamminR on December 22, 2009, 09:12:33 PM
Tommo, does your serverowner inherit superadmin in your groups?
How did you add the serverowner group?
If using ULX, does a "ulx who" show all the groups people are in (with exception of 'user', user has no title)
Title: Re: UTeam and Sui scoreboard...
Post by: ibab on December 23, 2009, 02:15:16 AM
I don't know if its about this. I downloaded this scoreboard:
http://www.garrysmod.org/downloads/?a=view&id=47078

And right away it worked. I didn't add there Server Owner though, I kept it as Super Admin.
Title: Re: UTeam and Sui scoreboard...
Post by: Tommo1590 on December 23, 2009, 11:37:54 AM
Hey thanks for all your help,

I can't find anything wrong with it either.
Is the gamemode on sandbox? Did you put UTeam.lua in lua/autorun?

We are running sandbox and i have put UTeam.lua in that folder. 

Tommo, does your serverowner inherit superadmin in your groups?
How did you add the serverowner group?
If using ULX, does a "ulx who" show all the groups people are in (with exception of 'user', user has no title)


serverowner inherits the superadmin in groups shown here:
Code: [Select]
"serverowner"
{
"allow"
{
}
"inherit_from" "superadmin"
}

also when running the ulx who it does give everyone the correct groups so the groups.txt are fine, it looks like just a problem with the UTeam.txt...  :-\
and ibab that fix is just for the buttons not anything else.

Thanks for the help all.
Title: Re: UTeam and Sui scoreboard...
Post by: JamminR on December 23, 2009, 02:30:01 PM
From server console or rcon, please run ulx debuginfo
That will create a file called debuginfo.txt (or something like that) in your server's data/ulx folder.
Attach it here using the 'additional options' link at the base of the reply text message box.
For good measure, attach your server's /data/ULib/groups.txt also.
Title: Re: UTeam and Sui scoreboard...
Post by: Tommo1590 on December 24, 2009, 05:29:50 AM
Things you asked for :)
Title: Re: UTeam and Sui scoreboard...
Post by: JamminR on December 24, 2009, 09:22:36 AM
I can't figure out if this is a UTeam issue, or a scoreboard issue.
From what I can tell, everything should just work.

When you join your server, does UTeam give serverowner group the chat colors, hp and armor you specify?
If not, then it's UTeam.
If so, that leads me to believe it's SUI, and i'm not even beginning to look at that old mess right now.
Title: Re: UTeam and Sui scoreboard...
Post by: Tommo1590 on December 24, 2009, 02:57:04 PM
It dont give you anything that i specified in the UTeam.txt it just makes you have the same health as a normal user and the same chat colour as everyone else... its odd :S
Title: Re: UTeam and Sui scoreboard...
Post by: JamminR on December 24, 2009, 03:14:52 PM
Some ideas/questions...
1) What are you using to edit your Uteam.txt?
2) Where are you storing your Uteam.txt?

3) Though it shouldn't matter since the debuginfo shows you as serverowner in ULib's authenticated users, try changing your /settings/users.txt to have you as 'serverowner' instead of 'superadmin'

I've got family coming for the next few hours, so this may be my last post for the next few hours.
Merry Christmas.
Title: Re: UTeam and Sui scoreboard...
Post by: Tommo1590 on December 24, 2009, 07:11:55 PM
Some ideas/questions...
1) What are you using to edit your Uteam.txt?
2) Where are you storing your Uteam.txt?
3) Though it shouldn't matter since the debuginfo shows you as serverowner in ULib's authenticated users, try changing your /settings/users.txt to have you as 'serverowner' instead of 'superadmin'

1) im using notepad++
2) Uteam.txt is in /data/
3) its showing all the teams as unassigned not just me ...

And Merry Christmas to all!   ;D
Title: Re: UTeam and Sui scoreboard...
Post by: JamminR on December 24, 2009, 08:48:11 PM
Find a way to watch server startup console... any errors regarding ULib/ULX/UTeam.txt as server starts up?
Title: Re: UTeam and Sui scoreboard...
Post by: Tommo1590 on December 25, 2009, 12:23:55 PM
Isnt any :S

only a motd one
Code: [Select]
Warning: Unhandled usermessage 'ULXMotdStart'
Warning: Unhandled usermessage 'ULXMotdText'
Warning: Unhandled usermessage 'ULXMotdEnd'
Warning: Unhandled usermessage 'SendMotdMenu'
Title: Re: UTeam and Sui scoreboard...
Post by: Megiddo on December 26, 2009, 08:18:39 AM
Isnt any :S

only a motd one
Code: [Select]
Warning: Unhandled usermessage 'ULXMotdStart'
Warning: Unhandled usermessage 'ULXMotdText'
Warning: Unhandled usermessage 'ULXMotdEnd'
Warning: Unhandled usermessage 'SendMotdMenu'


Using download url?
Title: Re: UTeam and Sui scoreboard...
Post by: Tommo1590 on December 27, 2009, 10:30:42 AM
Whats that....?
we are just using the normal ulx motd.
Title: Re: UTeam and Sui scoreboard...
Post by: JamminR on December 27, 2009, 01:00:16 PM
sv_download url... aka Fast download... are you using it?
Do you host your files on an http server that players download from instead of downloading files from your Source server?
Title: Re: UTeam and Sui scoreboard...
Post by: Megiddo on December 27, 2009, 02:31:51 PM
Whats that....?
we are just using the normal ulx motd.

Type 'sv_downloadurl' in server console without the quotes and paste the result here.
Title: Re: UTeam and Sui scoreboard...
Post by: Tommo1590 on December 28, 2009, 08:40:52 AM
Yea sorry we do use a sv_download url and it says this when i put that in console -

Code: [Select]
"sv_downloadurl" = "http://www.zip.uk.com/redirect/89.238.160.10:27021/orangebox/garrysmod/" ( def. "" )
 replicated
 - Location from which clients can download missing files
Title: Re: UTeam and Sui scoreboard...
Post by: Megiddo on December 28, 2009, 09:00:57 AM
You must add the lua cache to the download url, see here: http://wiki.garrysmod.com/?title=Setting_up_sv_downloadurl#The_Cache
Title: Re: UTeam and Sui scoreboard...
Post by: Tommo1590 on December 28, 2009, 09:59:26 AM
Can someone explain how to do this that link didnt really help me much :S

Thanks
Title: Re: UTeam and Sui scoreboard...
Post by: JamminR on December 28, 2009, 03:08:25 PM
Translation, make sure to copy the server's cache folder to the http folders, just like you do your maps, materials, anything else you store on the http server for your clients.
Update/re-upload the cache folder every time you make changes to your server's lua or addons folder.

Also, that sv_downloadurl seems to not be working but I'm not directly aware of how it secures it's redirection
Title: Re: UTeam and Sui scoreboard...
Post by: Megiddo on December 28, 2009, 08:51:52 PM
Translation, make sure to copy the server's cache folder to the http folders, just like you do your maps, materials, anything else you store on the http server for your clients.
Update/re-upload the cache folder every time you make changes to your server's lua or addons folder.

Also, that sv_downloadurl seems to not be working but I'm not directly aware of how it secures it's redirection

Also as a side note, only upload the cache from the server after a map change (when the cache is regenerated).
Title: Re: UTeam and Sui scoreboard...
Post by: JamminR on December 28, 2009, 09:04:31 PM
Oops. Meant to include that tip as part of my 'after every change bit'
Title: Re: UTeam and Sui scoreboard...
Post by: Tommo1590 on December 29, 2009, 08:10:43 AM
My host says the link for the fast download should be a 404 error, the way they have set it up blocks you from accessing it in a browser.
Also they said everything which is requested by the client on connect is auto uploaded from the server addons folder to the fast download auto.

...still got a problem with the teams though...  :(