View unanswered posts | View active topics It is currently Wed Dec 25, 2024 6:02 pm



Reply to topic  [ 113 posts ]  Go to page 1, 2, 3, 4, 5 ... 8  Next
 Lord Tim's "IRC Scene" 
Author Message
User avatar

Joined: Fri Apr 27, 2007 4:55 pm
Posts: 1178
Location: America!
Reply with quote
Post Lord Tim's "IRC Scene"
So, uh, Lua is pretty neato guys. I mean really spot on. This is good stuff.

Seriously.

I present:
The Cortex Command Internet Relay Chat Scene


Internetting graciously provided by LuaSocket.

The current default channel for IRC Scene is: irc://cortex.datarealms.com/#CortexIRC
Feel free to join and mess with people. Spam limits will be strictly enforced for obvious reasons.

To actually connect to the IRC, you must start this Scene from the Campaign screen. If you load it from Skirmish, the lua file will not be run.

Console commands: (You can type these into the console (~))
All arguments, providing they are required, are to be entered in string format. I.E. use double quotes: IRC:Say("Hello.")

  • IRC:Help() --Prints out this list
  • IRC:Say(words) --sends text to the IRC channel
  • IRC:Join(newroom) --joins a different channel (!functions will no longer work) (default #CortexIRC)
  • IRC:Nick(newnick) --changes your nickname (default CCLUA####)
  • IRC:Identify(pass) --sends your password to nickserv (you must be already registered)
  • IRC:Quit() --leaves the IRC server (does not end the scene)
  • IRC:Verbose() --toggles printing raw irc to console (default off)
  • IRC:UserList() --prints the user list of the current channel to console (requires verbose to be on)

IRC-side stuff you can do:
This will probably be added to in the future. (Updates can be made to your own version of the .lua file, and will work automatically)
These effect everyone who is connected to the channel from IRC Scene, so if you join the channel, and type !crab, everyone who is connected from CC will get a crab spawned on them.

  • !crab --spawns a crab on the player
  • !holyrays --shiny lights, and adds 25 health to the player
  • !spawndropship --spawns a dropship loaded with randomized enemies
  • !givemoney X --gives the player X money. If you use this from IRC:Say(), it takes this money from your player.

To install this scene you MUST have LuaSocket. (Included in the download)

IRC Scene is located here:
Image

Check it out, yo:
Image

Consoley awesome:
Image

Also, as an excuse for the actual terrain being so boring, I made these:
Image


Have fun; don't break ♥♥♥♥.

P.S. This really works.

P.P.S. When you get banned in the Matrix Cortex Command you get banned in the real IRC, too.


How to install scene:

If you just extract the .rar to your Cortex Command folder, it'll work, but if you're the kind of person who breaks things:

Place the "IRCScene.rte" folder in your Cortex Command folder like you usually would.
Place the "lua" folder in your Cortex Command folder. Not in "Base.rte". Not in "IRCScene.rte".
Place the "socket" folder in your Cortex Command folder. Not in "Base.rte". Not in "IRCScene.rte".
Place the "Lua5.1.dll in your Cortex Command folder. Not in "Base.rte". Not in "IRCScene.rte".

After that, your Cortex Command folder should look something like this: (Plus any other mods you might have)
Image

Downloads:
Attachment:
IRC Scene.rar [105.3 KiB]
Downloaded 2715 times


P.P.P.S. Please PM or post here any errors you get as soon as you can. That way I can fix them as soon as I can.


Last edited by Lord Tim on Thu May 21, 2009 5:56 am, edited 1 time in total.



Mon Aug 25, 2008 10:07 am
Profile
User avatar

Joined: Sat Jan 27, 2007 9:38 am
Posts: 170
Location: St. Louis, MO
Reply with quote
Post Re: Lord Tim's "IRC Scene"
Say what now? :-?

Excuse me while I load up Cortex Command.


Mon Aug 25, 2008 10:47 am
Profile WWW

Joined: Sat Jan 13, 2007 11:04 pm
Posts: 2932
Reply with quote
Post Re: Lord Tim's "IRC Scene"
No way, you have got to be joking me. :-?


Mon Aug 25, 2008 10:56 am
Profile
User avatar

Joined: Sat Mar 03, 2007 11:20 pm
Posts: 789
Location: Location: Location
Reply with quote
Post Re: Lord Tim's "IRC Scene"
lol yeah, it acually works

We have seen this in the phase of testing.
It works :P


Mon Aug 25, 2008 11:01 am
Profile
User avatar

Joined: Sat Jan 27, 2007 9:38 am
Posts: 170
Location: St. Louis, MO
Reply with quote
Post Re: Lord Tim's "IRC Scene"
WOAH. WOAH.

SLOW DOWN.


It's been what, a day?! Jesus. You've been planning this, haven't you?

Holy crap this is awesome om nom nom nom...


Mon Aug 25, 2008 11:01 am
Profile WWW
User avatar

Joined: Thu May 24, 2007 4:42 am
Posts: 308
Location: The Peaceful Town of Hamlet
Reply with quote
Post Re: Lord Tim's "IRC Scene"
Glad to see this finally released Tim, been looking forward to it.


Mon Aug 25, 2008 11:03 am
Profile
User avatar

Joined: Tue Aug 14, 2007 2:53 pm
Posts: 296
Location: Black Mesa Research Facility
Reply with quote
Post Re: Lord Tim's "IRC Scene"
Christ, Tim, you own. You own real good.


Mon Aug 25, 2008 11:29 am
Profile
User avatar

Joined: Sat Jan 27, 2007 9:38 am
Posts: 170
Location: St. Louis, MO
Reply with quote
Post Re: Lord Tim's "IRC Scene"
Well that's definitely a good sign for the possibilities of Lua. Dear god I hope there's going to be a number of display and interface functions so we can make sexy GUIs.

Now I'm all hot for documentation so we can know what all this stuff does. And if you thought I was excited for THIS build... oh boy. I'm drooling thinking about the next one.


Mon Aug 25, 2008 11:42 am
Profile WWW
Reply with quote
Post Re: Lord Tim's "IRC Scene"
Holy crap, It's out!


Mon Aug 25, 2008 12:26 pm
User avatar

Joined: Fri Aug 31, 2007 2:24 am
Posts: 13
Reply with quote
Post Re: Lord Tim's "IRC Scene"
Sweet Jesus... :shock:


Mon Aug 25, 2008 12:56 pm
Profile
User avatar

Joined: Wed Jul 16, 2008 9:14 pm
Posts: 108
Reply with quote
Post Re: Lord Tim's "IRC Scene"
Now is Multiplayer a Possiblity?


Mon Aug 25, 2008 2:03 pm
Profile
User avatar

Joined: Sun May 18, 2008 8:30 am
Posts: 732
Reply with quote
Post Re: Lord Tim's "IRC Scene"
Jackzon47 wrote:
Now is Multiplayer a Possiblity?

Yes, but it will be incredibly laggy if you play online.


Mon Aug 25, 2008 2:44 pm
Profile
User avatar

Joined: Mon Feb 11, 2008 3:42 pm
Posts: 259
Reply with quote
Post Re: Lord Tim's "IRC Scene"
3 empty wrote:
Lua, create internet


Mon Aug 25, 2008 2:46 pm
Profile
User avatar

Joined: Thu Jan 18, 2007 5:16 am
Posts: 397
Location: Back at DRL for a while?
Reply with quote
Post Re: Lord Tim's "IRC Scene"
LordTim, once again: You are a god of modding. Trying this ASAP.

Also, technically, LordTim has created (or is currently in the process of making, I can't tell) Internet play. Total strangers can interact with your game now (ie: Crabs, money, etc.). In theory, one could act as the CPU brain from an IRC chatroom once he/anyone else implements more complex commands. Clone cannon vs. Player ftw.


Mon Aug 25, 2008 3:25 pm
Profile

Joined: Sat Feb 03, 2007 7:11 pm
Posts: 1496
Reply with quote
Post Re: Lord Tim's "IRC Scene"
This is really swell Mister!

But you'd think there'd be more scenes with portals in them by now...
I'll get to work on that on the Plane Flight back to home, unless I get beaten to it by posting this idea up here...
Eh, I'll do it anyway for practice.

Anyway Tim, you've finally solved my problem so my love of FullScreen and IRC can finally co-exist.

Internet play will be "The Cool" if implemented properly.


Mon Aug 25, 2008 3:26 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 113 posts ]  Go to page 1, 2, 3, 4, 5 ... 8  Next

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.114s | 14 Queries | GZIP : Off ]