Poll

is minecraft dead

yes
270 (61.6%)
no
168 (38.4%)

Total Members Voted: 437

Author Topic: Minecraft Megathread; yeah its update 1.12 big whoop what about it  (Read 6810553 times)

I'm guessing you haven't been playing the game for very long.
he's been here and there longer than you :I


i think he got it already!


obviously not if he made that post
he said he was done arguing and he just stated why he was frustrated

he's been here and there longer than you :I

Also key coming your way Science.



obviously not if he made that post

The post I made afterwards was in general, as I have stated this before and was restating it.
« Last Edit: September 27, 2012, 11:05:17 PM by MegaScientifical »

Sans mods I really do find Minecraft boring

Building stuff is fun I just have no motivation to actually go and play the game to get the resources, because it's boring as forget


My modlist as it stands now is basically all the stuff I posted a couple of pages back, sans RedPower because it's not updated for 1.3.2 yet unless that happened today

I've been developing an OS from the bios up based on the initial ComputerCraft stuff, but with more security and configuration
For instance, there's a utility library (util) with easy support to load/save a config table. From the new shell program:
Code: [Select]
-- Reads /.conf/shell.c (this is a convention so config files don't end up all over the place) into a config table
local config = util.readConfig("shell",{
["show-os"]=true,
["allow-disk-boot"]=true,
["user-dir"]="/user",
["max-login-attempts"]=3,
["welcome-message"]="",
["denied-message"]=""
})
Those are the default keys. Anything not on that list can't be added, and the type has to match in the config file.
The file that generates from looks like this:
Code: [Select]
show-os=true
allow-disk-boot=true
user-dir=/user
max-login-attempts=3
welcome-message=
denied-message=
There's simple support for a login system, that since it's integrated into the shell cannot be circumvented (terminating out of it will shut the system down) - just create a <user-dir>/.login/access file containing the password. You can also create a "login" program in this directory for a script that runs immediately after login.

For managing your config, you don't have to edit the config file manually - there's a sset program I've included, too. sset allow-disk-boot false is probably the thing you want to do most. It's true by default, for installing stuff off a disk, but setting it to false ignores startup scripts from disk drives.

Some other misc stuff:
On the shell prompt, if you're in your user-dir it shows as ~. shell.resolvePath and shell.resolveProgram both obey this, too, so you can actually use cd ~ to move to your user-dir.
If you attempt to delete (or rm whatever) a folder with files in it, will prompt you to press enter to confirm (any other key cancels)
If you attempt to move or copy a file when the destination exists, prompts for confirmation as above
Added non-lua error output to move, copy, delete, cd, list
I've added some useful string and table functions, including:
Code: [Select]
table.dump(tInput) -- Dumps tInput to the console
table.slice(tInput,nStart,nEnd) -- Returns a slice of tInput starting at nStart or 1 and ending at nEnd or the end of the table (ie, by default it returns a copy of the table)
toboolean(sInput) -- Returns true if sInput == "true", false if sInput == "false" and nil otherwise, for boolean proofing
string.sanitizePattern(sInput) -- Returns sInput with all pattern characters (%.()[]*+-?) escaped
string.split(sInput,sSeparators) -- Returns a table of all terms in sInput separated by any character in sSeparators. Only single characters supported - so string.split("hi, my name is tom. nice to meet you",",.") will return {"hi"," my name is tom"," nice to meet you"}
string.trim(sInput) -- Returns sInput with all whitespace removed from the left and right
string.ltrim(sInput) -- Returns sInput with all whitespace removed from the left
string.rtrim(sInput) -- Returns sInput with all whitespace removed from the right
All of this stuff should be part of the Lua standard libraries, but it isn't for whatever stupid reason (Lua's standard libraries suck)

Added the util API
Code: [Select]
util.readConfig(fnConfigFile,tDefaults) -- Reads in the given config file (/.conf/<fnConfigFile>.c), if tDefaults is a provided table, only replaces when the types match
util.writeConfig(tConfig,fnConfigFile) -- Writes the given config table to the given config file (same as readConfig - /.conf/<fnConfigFile>.c)
util.coerceValue(sInput) -- Takes a string and converts it to the closest matching lua type - boolean for "true" or "false", number for numbers, and strings like [a,b,c] will be converted to tables. String keyed tables aren't supported
util.formatValue(vInput) -- Reverse of util.coerceValue - takes something coerceValue might output and converts it to a string coerceValue can read. These are used by read/writeConfig for saving values

I'm working on integrating a routed rednet API into it, and network logon (ie ssh into your system) but that's a bit more complex and will actually take work.

If you're not scared of coding you can even have a copy. Just replace all the contents of mods/whatever your computercraft is/lua/ with this. Back the original one up, just in case. I don't know if I changed anything since last time I ran this so it might be bork.


THAT'S JUST HOW I PLAY MINECRAFT, MEGASCIENCE

DEAL WITH IT


brother you think jimmg can code this well

u crazy


M is Clockwork?

I think.

Not Jimmg.



stuff sorry

I get names mixed up :F

Clockturn*
feel free to confirm
you left out a bracket

ok, well, not anymore

Okay. I thought for some reason you were Jimmg.
Does he have an alt?

Anyway, amazing job, Clockturn!

Okay. I thought for some reason you were Jimmg.
Does he have an alt?

Anyway, amazing job, Clockturn!
Jimmg does have an alt, but I don't remember if he got banned or he still posts every now and then.