Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: B-Phoenix on June 05, 2009, 07:06:15 AM

Title: Need help ("this function is only available on sandbox gamemode") ???
Post by: B-Phoenix on June 05, 2009, 07:06:15 AM
Hey guys

I currently am running ulx and ulib SVN (which i got the links from this site) and its running nicely the motd and everything is working also gave myself the correct access too, but whenever i type "!adminmenu" in the chat box i get the message that "this function is only available in the sandbox gamemode" can anybody tell me how to make it work with Spacebuild3 i would very much appreciate it

- B
Title: Re: Need help ("this function is only available on sandbox gamemode") ???
Post by: Megiddo on June 05, 2009, 03:15:01 PM
Is spacebuild itself working?
Title: Re: Need help ("this function is only available on sandbox gamemode") ???
Post by: B-Phoenix on June 05, 2009, 04:24:57 PM
yes Spacebuild3 and everything is set up correctly, i am having no errors in that department

i am also assigned correctly to admin as when i type !menu that list comes up correctly !clientmenu works !adminmenu does not

i am also having problems with Uteam all of my players are showing up as "unassigned" and no matter how i code it does not fix it

here is the Uteam.txt file

Code: [Select]
"Out"
{
   "teams"
   {
                      }          
      "1"
      {
         "name"      "Server Owner"
         "group"      "superadmin"
         "armor"      "1000"
         "hp"      "1000"
         "color"
         {
            "a"      "255"
            "B"      "85"
            "g"      "200"
            "r"      "0"
         }
         "plytable"
         {
            "1"      "SprintSpeed:1000"
            "2"      "WalkSpeed:500"
         }
       "2"
      {
         "name"      "Administrator"
         "group"      "Admin"
         "armor"      "500"
         "hp"      "500"
         "color"
         {
            "a"      "255"
            "B"      "50"
            "g"      "50"
            "r"      "255"
         }
      }
      "3"
      {
         "name"      "Respected"
         "group"      "Respected"
         "armor"      "200"
         "hp"      "200"
         "color"
         {
            "a"      "255"
            "B"      "0"
            "g"      "200"
            "r"      "255"
         }
      }
      "4"
      {
         "name"      "Players"
         "group"      "user"
         "color"
         {
            "a"      "255"
            "B"      "255"
            "g"      "100"
            "r"      "0"
         }
         "model"      "male1"
      }
   }
   "gamemodes"
   {
      "1"      "Sandbox"
"2" "Spacebuild3"
   }
}

so if you could help with the Uteam issue too i would be very greatful, i have also had a long look around your forum and cannot find an answer to my problem

but as i've said my ULX and ULIB is SVN version from this site.

-B
Title: Re: Need help ("this function is only available on sandbox gamemode") ???
Post by: JamminR on June 05, 2009, 06:34:28 PM
Your UTeams file brackets are really messed up.
You have a closing bracket after teams, before any teams are specified.
Once you've corrected that, one or two other of your teams will need to be corrected.
Please find a text editor such as Notepad++, Context + it's lua language editor, or any application made for text editing of programs. The two I mentioned I know include visual clues for editing code with brackets.
Title: Re: Need help ("this function is only available on sandbox gamemode") ???
Post by: B-Phoenix on June 05, 2009, 07:17:30 PM
thanks for the reply about uteams JamminR

i will take a look at those programs, however it still doesnt solve the main problem that i cannot use the "!adminmenu" in-game

- B
Title: Re: Need help ("this function is only available on sandbox gamemode") ???
Post by: JamminR on June 05, 2009, 09:27:32 PM
I've looked at the code check for gamemode. It uses a variable I'm not familiar with and can't find much documentation on at the Gmod wiki. I might take another look at it later.
I thought Spacebuild3 was built on sandbox, but I guess SB3 has changed how it's reported to scripts, or, just as likely, Garry has changed how Gmod reports its gamemode variables to scripts.
Title: Re: Need help ("this function is only available on sandbox gamemode") ???
Post by: B-Phoenix on June 06, 2009, 09:01:26 AM
well at this point i'd appreciate any help you can offer

- B
Title: Re: Need help ("this function is only available on sandbox gamemode") ???
Post by: B-Phoenix on June 09, 2009, 03:00:56 AM
still no luck on spacebuild3 ?
Title: Compatibility with Spacebuild3
Post by: B-Phoenix on June 09, 2009, 03:09:43 AM
Well as the title says i dont need to say more

but please make this admin mod compatible with Spacebuild3 as this is the best admin mod around and i'd like to see it functional with spacebuild3

- B
Title: Re: Compatibility with Spacebuild3
Post by: JamminR on June 09, 2009, 02:45:28 PM
Technically, ULX is compatible with Spacebuild3 in all command functions. The GUI menu you're wanting just doesn't work.
Not exactly 'not compatible'
Title: Re: Need help ("this function is only available on sandbox gamemode") ???
Post by: Megiddo on June 09, 2009, 04:10:06 PM
If it's not based off Sandbox anymore, it means we'll need to add an exception for it. We don't like adding exceptions for other mods, but I might do it in this case.
Title: Re: Need help ("this function is only available on sandbox gamemode") ???
Post by: B-Phoenix on June 09, 2009, 07:15:49 PM
if you could do it in this case Megiddo i would be very very happy, and i am sure a lot of other spacebuild /ULX fans will be too
Title: Re: Need help ("this function is only available on sandbox gamemode") ???
Post by: JamminR on June 09, 2009, 08:30:40 PM
What really gets me is that, Spacebuild3 has been out for a long time... yet, this is the first we've heard of it not working with ULX.
Title: Re: Need help ("this function is only available on sandbox gamemode") ???
Post by: B-Phoenix on June 10, 2009, 03:41:57 AM
i guess the other people use new admin or assmod with spacebuild3 however i dont really like those admin mods
Title: Re: Need help ("this function is only available on sandbox gamemode") ???
Post by: DiscoBiscuit on June 12, 2009, 11:18:53 AM
I had this problem to and found the solution :D
Make sure instead of Spacebuild3 it's set for "Spacebuild 3: The New Age (Beta)"
That worked for me.
Title: Re: Need help ("this function is only available on sandbox gamemode") ???
Post by: JamminR on June 12, 2009, 06:36:09 PM
Disco, 'what' is set for that title? The game mode? Does it have some configuration I'm not aware of?
Title: Re: Need help ("this function is only available on sandbox gamemode") ???
Post by: DiscoBiscuit on June 13, 2009, 05:32:42 PM
It was for his uteam issue.
Title: Re: Need help ("this function is only available on sandbox gamemode") ???
Post by: B-Phoenix on June 27, 2009, 08:15:09 PM
thanks, that worked

sorry for long reply but my internet has been down for a long time

- B

however the adminmenu is still bugged