ULX

Author Topic: cexec  (Read 4067 times)

0 Members and 1 Guest are viewing this topic.

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
cexec
« on: August 22, 2007, 10:03:42 PM »
I can't run any commands on people. Like when someone asks a question I usaully run ulx cexec name "say !motd" but it returns an error.

ulx cexec tony "say !motd"
game.ConsoleCommand blocked!

Any ideas? I'm running the svn revsion 40 or 41 idk the newest one.

Also for the sake of not opening a new post. Is there a way that someone could make or tell me how to make uclip work with "Simple Prop Protection, By:spacetech"?
« Last Edit: August 22, 2007, 10:07:54 PM by jay209015 »
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 atomicspark

  • Full Member
  • ***
  • Posts: 196
  • Karma: 12
Re: cexec
« Reply #1 on: August 23, 2007, 09:07:31 AM »
It was blocked by Garry.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: cexec
« Reply #2 on: August 23, 2007, 04:46:45 PM »
Garry's last update, as atomicspark said, blocked the way we do commands.
Unfortunately for the public who use ULX or other smaller projects (like UClip), these changes have all happened at a bad time for the same public.

We have a work-around, but, we're pretty busy with other life challenges.

Be patient. We'll pick back up. I think. Might be a while.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: cexec
« Reply #3 on: August 31, 2007, 01:45:23 PM »
sorry for bumping an old thread, but I do think it is worth mentioning.

Where ulx cexec <name> <command> is blocked...

!cexec <name> <command> in chat is not blocked. You could do !cexec Tony "ulx motd" and it would open the MOTD on his screen.

<I prefer ulx motd when running it on others because "say !motd" makes them say it and 'ulx motd' silently opens it on their screen>

edit... downfall of this.. obviously... is that you cant do this from a DediConsole.. you have to be in game.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: cexec
« Reply #4 on: August 31, 2007, 03:41:23 PM »
No problem on the bump zakap. You're bringing fresh reasonable discussion to the post.
We don't like bumps from folks that just feel (or actually are) they're being ignored. :)

edit... downfall of this.. obviously... is that you cant do this from a DediConsole.. you have to be in game.

Actually, I think you can do that from DediConsole.
Tried
Code: [Select]
say !cexec Tony "ulx motd" from a Ded console?
It's how I talk to users while in console if needed.
« Last Edit: August 31, 2007, 03:44:43 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline spbogie

  • Ulysses Team Member
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: 41
Re: cexec
« Reply #5 on: August 31, 2007, 03:48:52 PM »
Yes Jam, you can use say as console, however the PlayerSay hook does not get called, so the command isn't recognized.
I have not failed. I've just found 10,000 ways that won't work. - Thomas A. Edison
I reject your reality and substitute my own. - Adam Savage

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: cexec
« Reply #6 on: August 31, 2007, 03:53:03 PM »
Ah thanks spbogie. Knew you could use say, wasn't sure about the hook.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming