Author Topic: Need help ("this function is only available on sandbox gamemode") ???  (Read 5334 times)

0 Members and 1 Guest are viewing this topic.

Offline B-Phoenix

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
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

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Is spacebuild itself working?
Experiencing God's grace one day at a time.

Offline B-Phoenix

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
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
« Last Edit: June 05, 2009, 05:19:26 PM by B-Phoenix »

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
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.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline B-Phoenix

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
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

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
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.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline B-Phoenix

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
well at this point i'd appreciate any help you can offer

- B

Offline B-Phoenix

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
still no luck on spacebuild3 ?

Offline B-Phoenix

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Compatibility with Spacebuild3
« Reply #8 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

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Compatibility with Spacebuild3
« Reply #9 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'
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Need help ("this function is only available on sandbox gamemode") ???
« Reply #10 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.
Experiencing God's grace one day at a time.

Offline B-Phoenix

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Re: Need help ("this function is only available on sandbox gamemode") ???
« Reply #11 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

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Need help ("this function is only available on sandbox gamemode") ???
« Reply #12 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.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline B-Phoenix

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Re: Need help ("this function is only available on sandbox gamemode") ???
« Reply #13 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

Offline DiscoBiscuit

  • Full Member
  • ***
  • Posts: 112
  • Karma: 1
    • DiscoBuild
Re: Need help ("this function is only available on sandbox gamemode") ???
« Reply #14 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.