ULX

Author Topic: Unable to use commands  (Read 6696 times)

0 Members and 1 Guest are viewing this topic.

Offline hello123

  • Newbie
  • *
  • Posts: 18
  • Karma: 0
Unable to use commands
« on: October 02, 2008, 04:43:47 PM »
Hello

I've been trying to use ULX commands and none have been working. Commands such as !hp (name) (number) do nothing anymore. I have changed and saved the users.txt to have my information in it yet nothing happens. Can anyone help me?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Unable to use commands
« Reply #1 on: October 02, 2008, 05:15:04 PM »
Have you tried the commands from your game console? "ulx health (name) (number)"
If they work from console but not from chat, it's likely you have a chat mod of some sort overtaking ULX chat commands access.
If not working from console, then what error or message do you get?
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline hello123

  • Newbie
  • *
  • Posts: 18
  • Karma: 0
Re: Unable to use commands
« Reply #2 on: October 02, 2008, 05:48:36 PM »
The console command works, I do not have any type of chat mod though. Can you think of anything that conflicts with this mod? I did remove my older folder of Garry's mod (When it did work) and start new again.

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: Unable to use commands
« Reply #3 on: October 03, 2008, 11:58:05 AM »
Can you post a list of addons, so we can better help you with the problem?
An error only becomes a mistake when you refuse to correct it. --JFK

"And thus the downfall of the great ULX dynasty was wrought not by another dynasty, but the slow and steady deterioration of the leaders themselves, followed by the deprecation of the great knowledge they possessed." -Gmod, Chapter 28, verse 34 -- Stickly

Offline hello123

  • Newbie
  • *
  • Posts: 18
  • Karma: 0
Re: Unable to use commands
« Reply #4 on: October 03, 2008, 12:05:52 PM »
I just took a screenshot of it so it's easier to see, hope it helps:


Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Unable to use commands
« Reply #5 on: October 03, 2008, 03:04:43 PM »
Try this instead. From your server console, run "ulx debuginfo"
It will create a file, and tell you where it went.
Attach the file to your next post by clicking "Additional Options" below the text post window when replying.

Also, since I don't recognize many of those addons, try this.
Go to your gmod folder. Instead of actually going into the addons folder, right click "addons", choose search from the menu that appears.
A search window should open.
Depending on what version, and how you have Windows set up, you should find an option to search for actual text in a file, not just a filename.
This option may be under "advanced" or "more options"
Use the 'text in file' option to search for "PlayerSay" - use the quotes.
Tell us what of those addon folders it finds that in.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline hello123

  • Newbie
  • *
  • Posts: 18
  • Karma: 0
Re: Unable to use commands
« Reply #6 on: October 03, 2008, 03:47:43 PM »
Here is the attachment. There is no results for that playersay thing.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Unable to use commands
« Reply #7 on: October 03, 2008, 06:45:32 PM »
There is no results for that playersay thing.

There would have to be if done correctly. ULX contains the text "playersay" within its files. It's a Gmod Lua hook that we use to watch for people saying the commands.
Make sure you're not typing playersay in the fileNAME search.
If you're positive you're searching the text within the files and not the actual filenames, then something is wrong with your Windows.

I'm hoping if you can find another addon using the playersay hook besides ULX/ULib, you'll have found the conflict.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline hello123

  • Newbie
  • *
  • Posts: 18
  • Karma: 0
Re: Unable to use commands
« Reply #8 on: October 03, 2008, 07:39:17 PM »
This is what I have and nothing is ever found. Windows XP by the way.


Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Unable to use commands
« Reply #9 on: October 03, 2008, 07:40:39 PM »
Odd. thats correct.
Try removing the quotes? Just PlayerSay
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline hello123

  • Newbie
  • *
  • Posts: 18
  • Karma: 0
Re: Unable to use commands
« Reply #10 on: October 03, 2008, 07:48:15 PM »
Same thing happened. Nothing found. Am I missing a file?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Unable to use commands
« Reply #11 on: October 03, 2008, 08:40:14 PM »
Don't think so.
My last idea for tonight (sorry, I'm exhausted, long work week)

Try in file name *.lua , then playersay, no quotes, in the "word or phrase in text"
I found 5 total in mine. 2 of them non ULX related.
Meaning, you should at the LEAST find 3 due to ULX and ULib.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline hello123

  • Newbie
  • *
  • Posts: 18
  • Karma: 0
Re: Unable to use commands
« Reply #12 on: October 03, 2008, 08:49:27 PM »
No problem, I can wait. Anyway I did what you said and got this, no results:


Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Unable to use commands
« Reply #13 on: October 04, 2008, 08:02:55 AM »
I'm at a loss of explanation.
Even if no other mod in that addons folder has playersay in the lines, you should find 3 from ULib or ULX.
I'm suspecting a conflict with one of the other mods. If not done properly, a hook using playersay will prevent all other scripts from seeing what is said.

Your search isn't returning results. They should be.
Since it's not working, the only other way I'd know to test for conflicts would be to remove all mods except for Ulx/Ulib, add them all back in one at a time and test each time.
Time consuming. Or, find out why your search isn't working.
That would really quickly narrow it down.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline hello123

  • Newbie
  • *
  • Posts: 18
  • Karma: 0
Re: Unable to use commands
« Reply #14 on: October 04, 2008, 09:43:19 AM »
Now this is really strange, I removed all addons except Ulx, Ulib, and the day of defeat and derma which shows up when I removed those, and it still doesn't work with normal commands in chat, only console works.