ULX

Author Topic: ulx commands not working  (Read 5808 times)

0 Members and 1 Guest are viewing this topic.

Josyd

  • Guest
ulx commands not working
« on: December 19, 2006, 04:09:31 PM »
Are you running a dedicated server?   YES
What version of ULX and ULib do you have?   ULX:2.21   ULib:1.2


STATUS
hostname:  test123
version : 1.0.1.0/7 2949 secure
udp/ip  :  192.168.1.93:27015
map     :  gm_hugeflatmap_v4 at: 0 x, 0 y, 0 z
players :  2 (6 max)

# userid name uniqueid connected ping loss state
# 70 "[2CI] JosyƐ" STEAM_0:0:6286713 02:28 39 0 active
# 71 "[2CI] DraKoNaL" STEAM_0:1:1728130 02:11 39 0 active

lua tprint( ULib.mainUcl )
This command can only be used by server admins.




Josyd

  • Guest
wouldnt let me edit SRRY
« Reply #1 on: December 19, 2006, 04:26:04 PM »
when i type in any ulx command it says "Unknown command "ulx""

Josyd

  • Guest
Re: ulx commands not working
« Reply #2 on: December 19, 2006, 05:21:42 PM »
oh i made a mistake in the first part    i didnt see that it said to type the lua tprint in the server console     
Lua Error: Line 1: attempt to index global 'ULib' (a nil value)
   thats what it tells me in the server console

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ulx commands not working
« Reply #3 on: December 19, 2006, 05:28:02 PM »
Thanks for following the "lack of access" sticky!

However, not asked there, and probably should be added...
What version of Gmod?
The versions of Ulib/ULX you have are not written for versions of Garrys mod greater than 9.0.4 (so, the new Gmod won't work with the version you have.

Hard to tell for me though. My version of GM10 ded server looks like this from the status...
version : 1.0.0.0/7 2949 secure = what I have

Sooo, if you have GM10. Get the latest. ULX 2.9 from www.ulyssesmod.net
If not, dig deeper...
Any errors at server startup regarding ULib?
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Josyd

  • Guest
Re: ulx commands not working
« Reply #4 on: December 19, 2006, 05:31:28 PM »
9.0.4  i thought i typed that  :P  oh well 

and when i start the server  it doesnt say anything about ulib

Josyd

  • Guest
Re: ulx commands not working
« Reply #5 on: December 19, 2006, 05:40:27 PM »
sorry i keep 2x posting.. but i cant edit...
is there something im missing that im supposed to run or something im supposed to type in the console to start ulib?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ulx commands not working
« Reply #6 on: December 19, 2006, 05:45:35 PM »
Ok,
First
Does your ded server path look something like
steamapps/<username>/source dedicated server/gmod9/lua/init/ULib_init.lua <- key file #1
steamapps/<username>/source dedicated server/gmod9/lua/ULiib/modules/ULX_init.lua <- key file #2
steamapps/<username>/source dedicated server/gmod9/lua/ULib/blah.lua ...
steamapps/<username>/source dedicated server/gmod9/lua/ulx/blah.lua ...

EDIT:If you register with the forum, you can modify your posts. You keep posting as a guest, it has no way to know you are you
Ulib is automatic, if placed correctly
« Last Edit: December 19, 2006, 05:47:42 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Josyd

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: ulx commands not working
« Reply #7 on: December 19, 2006, 05:50:16 PM »
there  :P  registered 
steamapps/<username>/source dedicated server/gmod9/lua/ULiib/modules/ULX_init.lua <- key file #2


im missing this   can i copy it from the first one?

 do you have aim/yahoo/msn   that would make this a lil faster  lol
« Last Edit: December 19, 2006, 05:53:21 PM by Josyd »

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ulx commands not working
« Reply #8 on: December 19, 2006, 05:56:32 PM »
No.
Odd. Latest ULX v2.21 for 9.04, when extracted to your gmod9 folder correctly, should place folders/files properly.
If you don't extract it rght, it messes up stuff.
Tell us, do you have a gmod9/lua/materials and a gmod9/lua/lua folders?
If you do, you extracted ULX into gmod9/lua/, not /gmod9
Try just extracting it into /gmod9 ... everything should work from there.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Josyd

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: ulx commands not working
« Reply #9 on: December 19, 2006, 06:01:47 PM »
nope  they're in the right place

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ulx commands not working
« Reply #10 on: December 19, 2006, 06:03:17 PM »
After speaking with JosyD on Friends, discovered he had a very old version.
Found the correct version, copied it where needed. Now working, at least with bare access. He/She was working on user.ini when we ended conversation.
« Last Edit: December 19, 2006, 07:07:14 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming