231 posts
Posted 06 May 2013 - 05:04 AM
Time of Chaos
A Multi-player adventure for ComputerCraft
by TorakTu
DescriptionSpoiler
Working on an adventure game. Its detailed, in the design. The server will generate a map. The player uses the client to log into the server. There will be a relay server as well for those who want to extend the distance between computers. The map will allow the player to walk around it and even enter buildings. This is a top down game, but with ASCII graphics. You will be trying to create your empire as you move around the planet. If you can get enough tech, you will then be able to lift off and head into space. This is no simple game. Lots of enemies around the corner.. even other players. :ph34r:/> Change LogSpoiler
[ May 6, 2013 ]
TOC Client - 0.1 Alpha- First Created
- Added ability to connect to TOC server 0.3 Alpha
TOC Server - 0.3 Alpha- Added events to accept multiple incoming client connections
TOC Server - 0.2 Alpha- – Added modem detection
- – Updated config file creation
- – Updated Messages
TOC Server - 0.1 Alpha Source CodeSpoiler
Server
Spoiler
Version : 0.3 Alpha
http://pastebin.com/qvZw2knp
Version : 0.2 Alpha
http://pastebin.com/Yc6gYEW7
Version : 0.1 Alpha
http://pastebin.com/saw1a1hj
Client
Spoiler
Version : 0.1 Alpha
http://pastebin.com/rpJRys4F
Relay Server
Coming Soon ! Screen shotsSpoiler
671 posts
Location
That place over there. Y'know. The one where I am.
Posted 06 May 2013 - 05:09 AM
I just am waiting on the 1.5.2 CC update before I can progress further. I'm stuck until then.
Use an emulator (CC-Emu or CCDesk)
Anyways, looks interesting, but useless until the client is out :P/>
7508 posts
Location
Australia
Posted 06 May 2013 - 05:14 AM
I will make sure to try this when the client is out.
I must ask, what is with the redefinition of the colours in the constants function. why don't you just use the
colors api?
231 posts
Posted 06 May 2013 - 05:18 AM
I just am waiting on the 1.5.2 CC update before I can progress further. I'm stuck until then.
Use an emulator (CC-Emu or CCDesk)
Anyways, looks interesting, but useless until the client is out :P/>
I am using CCDesk as you can tell from my pictures. CC-Emu doesn't work for me. And CCDesk doesn't have rednet support yet. At least, when I tried it didn't work. Using latest CCDesk 6.2
I will make sure to try this when the client is out.
I must ask, what is with the redefinition of the colours in the constants function. why don't you just use the
colors api?
At the time I was learning CC, I never took those out. lol And I wanted to MAKE SURE those worked. So I left them in there. Since I can't use the real CC do to lack of 1.5.2 support yet, I am forced to use CCDesk. But its still limited.
1688 posts
Location
'MURICA
Posted 06 May 2013 - 08:29 AM
You can use MultiMC to download older versions of Minecraft as separate "instances" and play them all separately.
7508 posts
Location
Australia
Posted 06 May 2013 - 08:35 AM
I am using CCDesk as you can tell from my pictures. And CCDesk doesn't have rednet support yet. At least, when I tried it didn't work. Using latest CCDesk 6.2
Works for me (
http://puu.sh/2NXEL.png) make sure that you are adding the modem to the computer… right-click computer border —> Peripheral Properties —> add a modem to a side…
231 posts
Posted 06 May 2013 - 08:55 AM
I am using CCDesk as you can tell from my pictures. And CCDesk doesn't have rednet support yet. At least, when I tried it didn't work. Using latest CCDesk 6.2
Works for me (
http://puu.sh/2NXEL.png) make sure that you are adding the modem to the computer… right-click computer border —> Peripheral Properties —> add a modem to a side…
Yes, I did that. It "sees" the modem is there, but it wont let me communicate from one advanced computer to the next. I had set ID 0 for the first computer and ID 1 for the second. The two just wont "see" each other.
You can use MultiMC to download older versions of Minecraft as separate "instances" and play them all separately.
I'll look at that. Thank you.
7508 posts
Location
Australia
Posted 06 May 2013 - 09:00 AM
Yes, I did that. It "sees" the modem is there, but it wont let me communicate from one advanced computer to the next. I had set ID 0 for the first computer and ID 1 for the second. The two just wont "see" each other.
Hmmm actually testing again the rednet api wont open the modem. Just wrap the modem and use the
modem.transmit function (which is what the rednet api does now)
231 posts
Posted 06 May 2013 - 09:07 AM
Yes, I did that. It "sees" the modem is there, but it wont let me communicate from one advanced computer to the next. I had set ID 0 for the first computer and ID 1 for the second. The two just wont "see" each other.
Hmmm actually testing again the rednet api wont open the modem. Just wrap the modem and use the
modem.transmit function (which is what the rednet api does now)
But last time I tried it wouldn't work in CCDesk. It works under CC though.
EDIT UPDATE : My appologies.. I got it backwards.. rednet.send() works for me in CC in game.. but nothing works when it comes to CCDesk. I am starting to think that the only peripheral that actually works is the advanced monitor. You can enable a modem .. but you can't actually do anything with it. That is all I am seeing so far.
You can use MultiMC to download older versions of Minecraft as separate "instances" and play them all separately.
That worked perfect. I'll finally get further on this. TY !!!
EDIT UPDATE 2 : @ theoriginalbit – I finally got the rednet to work in CCDesk. Apparently it doesn't like transmit at all. Nor does it like Modem commands. Rednet.send() is the only thing that it did recognize.
So now its finally working. Thanks for your help.. both of you. :D/>
Spoiler
8 posts
Posted 24 May 2013 - 01:18 AM
Looks cool! Haven't seen any thing else like it yet(Although I haven't really looked) keep up the good work!
7508 posts
Location
Australia
Posted 24 May 2013 - 02:48 AM
EDIT UPDATE 2 : @ theoriginalbit – I finally got the rednet to work in CCDesk. Apparently it doesn't like transmit at all. Nor does it like Modem commands. Rednet.send() is the only thing that it did recognize.
Hmmm that is odd, we are experiencing the exact opposite problems :P/>
231 posts
Posted 24 May 2013 - 09:36 AM
Hey guys, I had been called away to work for a couple week contract. So in about two weeks i'll be back and i'll try to have this game under way. I'll also be working to get my server back up and running as well. Timing is a pain.. grrrr