Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: hello123 on October 02, 2008, 04:43:47 PM

Title: Unable to use commands
Post by: hello123 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?
Title: Re: Unable to use commands
Post by: JamminR 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?
Title: Re: Unable to use commands
Post by: hello123 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.
Title: Re: Unable to use commands
Post by: jay209015 on October 03, 2008, 11:58:05 AM
Can you post a list of addons, so we can better help you with the problem?
Title: Re: Unable to use commands
Post by: hello123 on October 03, 2008, 12:05:52 PM
I just took a screenshot of it so it's easier to see, hope it helps:

(http://img367.imageshack.us/img367/9457/addonslistyr1.png) (http://imageshack.us)
Title: Re: Unable to use commands
Post by: JamminR 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.
Title: Re: Unable to use commands
Post by: hello123 on October 03, 2008, 03:47:43 PM
Here is the attachment. There is no results for that playersay thing.
Title: Re: Unable to use commands
Post by: JamminR 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.
Title: Re: Unable to use commands
Post by: hello123 on October 03, 2008, 07:39:17 PM
This is what I have and nothing is ever found. Windows XP by the way.

(http://img390.imageshack.us/img390/1823/whatnextow6.png) (http://imageshack.us)
Title: Re: Unable to use commands
Post by: JamminR on October 03, 2008, 07:40:39 PM
Odd. thats correct.
Try removing the quotes? Just PlayerSay
Title: Re: Unable to use commands
Post by: hello123 on October 03, 2008, 07:48:15 PM
Same thing happened. Nothing found. Am I missing a file?
Title: Re: Unable to use commands
Post by: JamminR 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.
Title: Re: Unable to use commands
Post by: hello123 on October 03, 2008, 08:49:27 PM
No problem, I can wait. Anyway I did what you said and got this, no results:

(http://img399.imageshack.us/img399/6971/whatnextuv7.png) (http://imageshack.us)
Title: Re: Unable to use commands
Post by: JamminR 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.
Title: Re: Unable to use commands
Post by: hello123 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.
Title: Re: Unable to use commands
Post by: JamminR on October 04, 2008, 07:07:10 PM
Have you edited any ULX code?
Do you have any lua files in non-addon format in gmod/lua/autorun or autorun/server?
I'm really at a loss.
If there were really an issue with ULX, there should be an error in console on server load, or at the least when you attempt to run the chat command.

I've tested latest SVN and have no issues with it in single player (other than my server.ini commands not running; mentioned in another thread.)

Title: Re: Unable to use commands
Post by: hello123 on October 04, 2008, 08:49:53 PM
I'm sure I didn't edit it, I can retry downloading it. I am using the addon format one. I could never edit anything since I don't know how to code anything. I'll try the SVN now and see if it works.
Title: Re: Unable to use commands
Post by: hello123 on October 05, 2008, 11:15:53 AM
The SVN works perfectly so far, commands working in chat all the time now. Thanks alot for all your help. Great mod by the way.