• LuaCraft | Minecraft with a taste of Lua
    383 replies, posted
Is the Addon central supposed to show only ESP?
[QUOTE=MeltingData;35197656]Is the Addon central supposed to show only ESP?[/QUOTE] Pretty sure it's a work in progress
Yesss!! [code] hook.Add( 'entity.spawn', 'NoCreeper - Spawn', function(ent) if( ent:GetClass() == "Creeper" ) then ent:Remove() return false end end) [/code] No more dying all the fucking time because of random 'splosions from creepers! [QUOTE=MeltingData;35197656]Is the Addon central supposed to show only ESP?[/QUOTE] It's not working yet, and only shows addons installed.
[QUOTE=T3hGamerDK;35200832]Yesss!! [code] hook.Add( 'entity.spawn', 'NoCreeper - Spawn', function(ent) if( ent:GetClass() == "Creeper" ) then ent:Remove() return false end end) [/code] No more dying all the fucking time because of random 'splosions from creepers! It's not working yet, and only shows addons installed.[/QUOTE] Just posted something like that in another thread :v:. You don't need the ent:Remove() by the way, you can just return true to stop the entity from spawning
[QUOTE=T3hGamerDK;35200832]Yesss!! No more dying all the fucking time because of random 'splosions from creepers![/QUOTE] You could, instead of removing the creepers all together, just stop them from exploding. [lua]hook.Add( "entity.explosion", "Stop Creeper Explosions", function( ent, pos, size ) if ent:GetClass() == "Creeper" then return false end end[/lua]
[QUOTE=MeltingData;35197656]Is the Addon central supposed to show only ESP?[/QUOTE] It shows installed addons as of now, we are working on rolling out the proper addon central soon.
[QUOTE=LuaStoned;35204518]It shows installed addons as of now, we are working on rolling out the proper addon central soon.[/QUOTE] Oh sweet. Was a bit confused since it didn't say WIP or anything on the screen, and then "All" button said 1337. Guess that's a joke or reference that flew over my head.
[QUOTE=BlackAwps;35203417]You could, instead of removing the creepers all together, just stop them from exploding. [lua]hook.Add( "entity.explosion", "Stop Creeper Explosions", function( ent, pos, size ) if ent:GetClass() == "Creeper" then return false end end[/lua][/QUOTE] That was actually our first thought, but then we realized people would just put on some armor, make a dark cave and farm gunpowder :v:
Any expected date for 1.2.4 to be out?
The script I posted no longer works. Latest update, running Skyblock 2.1 as the map and creepers DO spawn and they DO explode as well (even though I added in Elspins script too, ALONG with my anti-spawn script)
[QUOTE=T3hGamerDK;35301069]The script I posted no longer works. Latest update, running Skyblock 2.1 as the map and creepers DO spawn and they DO explode as well (even though I added in Elspins script too, ALONG with my anti-spawn script)[/QUOTE] It's your script breaking something, sorry. My script is working without error on my server, and it's at the latest update.
Add math.Floor, math.Ceil, and math.Truncate.
[QUOTE=Aide;35308760]Add math.Floor, math.Ceil, and math.Truncate.[/QUOTE] [code]> lua print( math.ceil( 0.2 ) ) 1 > lua print( math.floor( 0.2 ) ) 0[/code] Math ceil/floor are in lua by default. And wouldn't flooring the number basically be truncating it? Unless you meant rounding to a specific decimal, which can also be done already. [code]> lua print( math.Round( 0.12345, 2 ) ) 0.12[/code]
I can't fathom scripting, could someone please code me a mod to remove hunger? or at least make the rate you get hungry at much smaller.
[QUOTE=hoodoo456;35312134]I can't fathom scripting, could someone please code me a mod to remove hunger? or at least make the rate you get hungry at much smaller.[/QUOTE] Just go look up tutorials. There are literally tons of them, and Lua is not hard. I'm learning it right now, there's no reason you can't too.
Can you add a function to push a block as if it had been pushed by a piston? To make invisible pistons basically.
I'd use this all the time if it was updated to the newest Minecraft version quicker.
If I were to, say, use hitbox detection so when a player points at something (using a normal minecraft client) and presses the E button, could he open up a menu, where the menu would have several options such as teleporting or giving out items? Would normal client be able to do this? Or would said player need to seperately come here, download the lua version, and then run it?
[QUOTE=jackool;35417584]I'd use this all the time if it was updated to the newest Minecraft version quicker.[/QUOTE] We skipped 1.2.4 and update directly to 1.2.5 today or tomorrow! (which is the official release date anyway)
[QUOTE=jackool;35417584]I'd use this all the time if it was updated to the newest Minecraft version quicker.[/QUOTE] The way we were doing updates was a pain and could take a good few hours of work to merge all of our changes. Stoned said he came up with a way which should hopefully decrease this time so we can get updates out faster.
[QUOTE=LuaStoned;35426253]We skipped 1.2.4 and update directly to 1.2.5 today or tomorrow! (which is the official release date anyway)[/QUOTE] It has just been released today. [QUOTE=BlackAwps;35428020]The way we were doing updates was a pain and could take a good few hours of work to merge all of our changes. Stoned said he came up with a way which should hopefully decrease this time so we can get updates out faster.[/QUOTE] Awesome.
Well, the Client has been on 1.2.5 for some days now and I finished the Server today. Plus I found a way to patch LuaCraft within an hour when the next update comes out, so no more waiting for days. I also added new hooks and functions: [code]fire.spread hook (vec) player.mouseclick hook (ply, vec / ent, button) input.keypress hook (key, state) input.mouseclick hook (button, state) input.IsMouseDown function (button)[/code]
I really love that the clientside version of this mod comes as a standard windows executable (lol what's cross platform compatibility) and the fact the iRzilla is on the team.
[img]http://puu.sh/pUg1[/img] What are you on about?
[thumb]http://dl.dropbox.com/u/26106039/areyoukiddingme.jpg[/thumb] also it's kind of obvious that you're hiding something when you force people to use your own modified launcher rather than just linking them to the files hth (which are located [url=http://luacraft.com/update/client/]here[/url] for anyone who cares)
The launcher isnt obfuscated, feel free to decompile it and view the source yourself.
[QUOTE=cbcobo;35593769]*useless screenshot* also it's kind of obvious that you're hiding something when you force people to use your own modified launcher rather than just linking them to the files hth (which are located [url=http://luacraft.com/update/client/]here[/url] for anyone who cares)[/QUOTE] +1 for your capabilities to make a screenshot of the OP I don't force people to use our launcher, if you asked howto install it manually we would have told you.
I'd like to add something to LuaCraft. Is the source open?
[QUOTE=Map in a box;35599285]I'd like to add something to LuaCraft. Is the source open?[/QUOTE] Not yet, but we are always looking for new coders! (aka message me)
[QUOTE=cbcobo;35593769]also it's kind of obvious that you're hiding something when you force people to use your own modified launcher rather than just linking them to the files hth (which are located [url=http://luacraft.com/update/client/]here[/url] for anyone who cares)[/QUOTE] Is this just some guy who's mad at one of the team members for proving him wrong about something in another thread? I've never seen someone reach for straws so hard
Sorry, you need to Log In to post a reply to this thread.