Author Topic: Cexec broke  (Read 3076 times)

0 Members and 1 Guest are viewing this topic.

Offline iBurnPuppies

  • Newbie
  • *
  • Posts: 27
  • Karma: 2
Cexec broke
« on: August 12, 2009, 08:24:28 PM »
Garry seems to have broken !cexec. I tried to run it on some players on my server and it didn't work. I recall seeing a message that said something like "game.ConsoleCommand blocked" or something of the sort. Just thought I'd let team Ulysses know (if they didn't already).

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Cexec broke
« Reply #1 on: August 12, 2009, 08:28:38 PM »
Actually, I think it's been broken a while
Good to give a heads up again though. It's not been asked about.

Megiddo, how difficult would it be to work around?
We did it at one time using some fancy string conversions...anyway possible to do that now without using a server module?
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline iBurnPuppies

  • Newbie
  • *
  • Posts: 27
  • Karma: 2
Re: Cexec broke
« Reply #2 on: August 13, 2009, 12:54:13 AM »
Actually, I think it's been broken a while
Good to give a heads up again though. It's not been asked about.

Megiddo, how difficult would it be to work around?
We did it at one time using some fancy string conversions...anyway possible to do that now without using a server module?

Offline iBurnPuppies

  • Newbie
  • *
  • Posts: 27
  • Karma: 2
Re: Cexec broke
« Reply #3 on: August 13, 2009, 12:56:32 AM »
Oops, sorry. I'm on my phone and the mobile version of the page doesn't seem to have an edit button.

Well, it worked about a week ago for me. If you could fix it, that would be great, I love cexec.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Cexec broke
« Reply #4 on: August 13, 2009, 08:34:11 AM »
Works fine on my server. What are you trying to execute?
Experiencing God's grace one day at a time.

Offline iBurnPuppies

  • Newbie
  • *
  • Posts: 27
  • Karma: 2
Re: Cexec broke
« Reply #5 on: August 13, 2009, 12:27:56 PM »
Some say commands. Let me try getting the newest SVN and I'll see if it works.

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: Cexec broke
« Reply #6 on: August 13, 2009, 01:44:53 PM »
Try executing the command directly EX: ulx cexec player "ulx motd" instead of ulx cexec "say !motd"
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 JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Cexec broke
« Reply #7 on: August 13, 2009, 02:45:01 PM »
I, and I presume others, would be more interested in the commands such as 'quit', that are banned.
Not ULX commands.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline [WCA]AIDS

  • Jr. Member
  • **
  • Posts: 58
  • Karma: 7
    • PlanetWCA Forums
Re: Cexec broke
« Reply #8 on: August 13, 2009, 07:09:51 PM »
cexec say is blocked if you try and do it from rcon.

It will work if you are ingame and do it however.

Offline iBurnPuppies

  • Newbie
  • *
  • Posts: 27
  • Karma: 2
Re: Cexec broke
« Reply #9 on: August 13, 2009, 11:09:33 PM »
I discovered the source of the problem. Thanks for the help.