Author Topic: Open cd/dvd rom.  (Read 4011 times)

0 Members and 1 Guest are viewing this topic.

Offline lyoko

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
Open cd/dvd rom.
« on: January 17, 2008, 07:17:00 AM »
i remember that in Counter-strike was a plugin for admin mod that allowed admins to open cd rom to players.
possible in gmod?

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Open cd/dvd rom.
« Reply #1 on: January 17, 2008, 07:18:11 AM »
you'd have to have a custom .dll file. But why would this be even remotely useful for ULX?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Open cd/dvd rom.
« Reply #2 on: January 17, 2008, 04:27:27 PM »
zakap, not only your question, but, why was it useful in CounterStrike?
"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: Open cd/dvd rom.
« Reply #3 on: January 17, 2008, 06:10:48 PM »
Sounds like an adminge tool to me... I LIKE IT. j/k

I'd be *peeeeed* if some yanky admin did this to me while I was playing on a server.

Offline Avien

  • Full Member
  • ***
  • Posts: 168
  • Karma: 4
Re: Open cd/dvd rom.
« Reply #4 on: January 18, 2008, 12:21:56 PM »
Your cd-rom drive can be used a cup holder.

Wouldn't VAC pick up on something like this though?  Allowing remote execution of windows?  Or would windows just BSOD?

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Open cd/dvd rom.
« Reply #5 on: January 18, 2008, 01:00:59 PM »
No, it would be possible. I've written api calls in VB to do this. It was for a less malevolent purpose I'm sure though. With a custom .dll file that gives lua the ability to make such calls, this would be very possible. I don't think VAC works that way also. VAC was designed to detect remote calls on the game or w/e I'm sure it cares less what the game tries to do to Windows =)

Offline spbogie

  • Ulysses Team Member
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: 41
Re: Open cd/dvd rom.
« Reply #6 on: January 18, 2008, 04:05:11 PM »
Such a dll would need to be installed on the CLIENT computer. Regardless of feasablility, Ulysses Team will NEVER make such a module.
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