• LuaCraft | Minecraft with a taste of Lua
    383 replies, posted
[h2]LuaCraft[/h2] [url=http://luacraft.com][img]http://luacraft.com/luacraft_logo.png[/img][/url] [b]An attempt at bringing everyone's favorite scripting language aka. Lua to Minecraft.[/b] [h2]Download[/h2] [b]Client: [url=http://luacraft.com/LuaCraft.exe]LuaCraft Launcher[/url][/b] [b]Server: [url=http://luacraft.com/Server_Updater.jar]Server Updater[/url][/b] [h2]What is LuaCraft?[/h2] LuaCraft is a project by a group of students who love Lua. Minecraft is overrun by people and we are aiming for a better modding experience! You can modify the game with Block, Entity, Player and other Objects that are controlled with Lua. Who is this ''group'' of people? • LuaStoned [url=http://steamcommunity.com/id/luastoned]Steam[/url], [url=http://twitter.com/LuaStoned]Twitter[/url] • BlackAwps [url=http://steamcommunity.com/id/BlackOps]Steam[/url] • iRzilla [url=http://steamcommunity.com/id/irzilla]Steam[/url], [url=http://twitter.com/iRzilla]Twitter[/url] • Somepotato [url=http://steamcommunity.com/id/someguynamedpie]Steam[/url] You can visit our [url=http://forum.luacraft.com]Forum[/url] or you can meet us at IRC if you have ideas or suggestions! IRC: [url=irc://irc.gamesurge.net/luacraft]irc.gamesurge.net/luacraft[/url] [h2]Media[/h2] LuaCraft: [img]http://img.luastoned.com/luacraft_v2.png[/img] Addons: [img]http://img.luastoned.com/luacraft_addons_v6.png[/img] ESP: [img]http://img.luastoned.com/luacraft_esp_v3.png[/img] [img]http://img.luastoned.com/luacraft_esp_v2.png[/img] Old Video 1: [url]http://www.youtube.com/watch?v=RiThS9WNw4Q[/url] Old Video 2: [url]http://www.youtube.com/watch?v=4J9XzrTLocQ[/url] [h2]Can I help?[/h2] Yes. If you want to help out just PM me on the forums or leave a post down there. [b]If you are not into coding but still want to support this project:[/b] [url=https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9HVER7PEYWZ5J][img]https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif[/img][/url] [h2]Download[/h2] [b]Client: [url=http://luacraft.com/LuaCraft.exe]LuaCraft Launcher[/url][/b] [b]Server: [url=http://luacraft.com/Server_Updater.jar]Server Updater[/url][/b] [h2]Addons[/h2] ESP: [url]http://addons.luacraft.com/luastoned.esp.zip[/url] Paste this into .luacraft/addons/ Old thread: [url=http://www.facepunch.com/threads/1119347-Lua-for-Minecraft]Lua for Minecraft[/url] [h2]I hope you enjoy it! :D[/h2]
I love it. Great job!
Coolio
Cool, I will try it out. Is there any documentation?
[url]http://wiki.luacraft.com[/url] [editline]2nd February 2012[/editline] ESP is broken. Apparently there's an ent without GetHealth/MaxHealth
[QUOTE=ZenX2;34518373]ESP is broken. Apparently there's an ent without GetHealth/MaxHealth[/QUOTE] Could you check it again? We fixed a small bug in the addon management code.
Congrats on the new release guys!
This is awesome. I think I might be having trouble with my addons, though. In the meantime, I'll just be dropping stuff in autorun. This whole thing has opened up a ton of possibilities.
[QUOTE=SomeFaggot;34522950]I think I might be having trouble with my addons, though.[/QUOTE] Mind explaining what's wrong?
[QUOTE=BlackAwps;34523035]Mind explaining what's wrong?[/QUOTE] I've been having the same issue, addons don't appear to be working for me. The only way they would work is if I dropped the script in lua/autorun, otherwise it wouldn't even load.
[QUOTE=BlackAwps;34523035]Mind explaining what's wrong?[/QUOTE] Well, It seems as though they either work for a short time, (in the case of esp) or don't work at all. Also, I'm not sure if toggling is working correctly for them, or it's reversed. (Darker means it's selected, right?) [editline]3rd February 2012[/editline] Another bug: Just to mess around, I set it to add velocity upwards upon dropping an item. It works up until the player dies, at which point I believe the hook stops functioning as it should. I tried with different blocks as well. Saving and loading allowed it to work again, but again only until I died from falling.
[QUOTE=SomeFaggot;34523087]Well, It seems as though they either work for a short time, (in the case of esp) or don't work at all. Also, I'm not sure if toggling is working correctly for them, or it's reversed. [B](Darker means it's selected, right?)[/B][/QUOTE] The selected dark border actually means it's turned off at the moment, which will be changed soon. Also, the way addons work is that lua/init.lua is the file that will get auto loaded by the system. Autorun doesn't work in addons currently. [QUOTE=SomeFaggot;34523087]Another bug: Just to mess around, I set it to add velocity upwards upon dropping an item. It works up until the player dies, at which point I believe the hook stops functioning as it should. I tried with different blocks as well. Saving and loading allowed it to work again, but again only until I died from falling.[/QUOTE] Which hook exactly are you referring to?
[QUOTE=BlackAwps;34523196]The selected dark border actually means it's turned off at the moment, which will be changed soon. Also, the way addons work is that lua/init.lua is the file that will get auto loaded by the system. Autorun doesn't work in addons currently. Which hook exactly are you referring to?[/QUOTE] [code]player.dropitem (Player:ply, Item:item)[/code] That one.
Is it possible to merge this with bukkit? I don't think people will use this as much if they can't use their old plugins as well. [editline]3rd February 2012[/editline] Great work though I love it! [editline]3rd February 2012[/editline] Here's a dump of _G for anyone interested [url]http://pastebin.com/dQBEAxGk[/url] [editline]3rd February 2012[/editline] Of the server that is.
[QUOTE=SomeFaggot;34523087]Well, It seems as though they either work for a short time, (in the case of esp) or don't work at all. Also, I'm not sure if toggling is working correctly for them, or it's reversed. (Darker means it's selected, right?)[/QUOTE] I made a small mistake in the ESP that caused it to crash when an Item occured (IsAlive != IsLiving) Addons are currently loaded / enabled if they are NOT selected, we will change this to green/red in the next update. Sorry for the confusion there. [QUOTE=SomeFaggot;34523223][code]player.dropitem (Player:ply, Item:item)[/code] That one.[/QUOTE] [lua] hook.Add("player.dropitem", "Player - Dropped Item", function(ply, itemStack) print("player.dropitem", itemStack) end) -- output: -- player.dropitem ItemStack [tile.sand][1][/lua] Seems fine to me?
Is there a way to reload an addon without restarting the server?
Use the /reloadlua command to restart the Lua instance.
I updated the wiki page about hooks. Added examples for everything! [url]http://wiki.luacraft.com/Hooks[/url] Plus I made a debug addon that hooks everything possible: [url]http://addons.luacraft.com/luastoned.debug.zip[/url]
[QUOTE=LuaStoned;34524547]I made a small mistake in the ESP that caused it to crash when an Item occured (IsAlive != IsLiving) Addons are currently loaded / enabled if they are NOT selected, we will change this to green/red in the next update. Sorry for the confusion there. [lua] hook.Add("player.dropitem", "Player - Dropped Item", function(ply, itemStack) print("player.dropitem", itemStack) end) -- output: -- player.dropitem ItemStack [tile.sand][1][/lua] Seems fine to me?[/QUOTE] It could have possibly been that the player it was referencing was no longer the player. The hook calls fine, but the arguments could be messed up. I will check this when I get home.
I cannot login, it just says "Login failed" and i cant play offline cause it has not loaded the game yet :/ [editline]lolasd[/editline] I seem to be able to login with my old password, since i recently got Cobalt so i had to migrate my account.
Hmmm, I can't get to the wiki, and I can't download the client.. Maybe it's a problem on my side..
[QUOTE=Diehard55;34527524]Hmmm, I can't get to the wiki, and I can't download the client.. Maybe it's a problem on my side..[/QUOTE] I might have the default apache settings enabled, who can recommend good ones? (restarted in the meantime)
[QUOTE=LuaStoned;34527726]I might have the default apache settings enabled, who can recommend good ones? (restarted in the meantime)[/QUOTE] It's working now, thank you. Also, I have a quick question, is there a way to like code in-game? For example, exploding a Sheep.. Not the best example, but it's all I can think of for now.. Edit: Never mind, iRzilla helped me.
Just how powerful is this? Would be able to coding that hat coding add more BlockIDs? Like the 4096 BlockID mod?
[QUOTE=Sodisna;34528715]Just how powerful is this? Would be able to coding that hat coding add more BlockIDs? Liie the 4096 BlockID mod?[/QUOTE] That's planned... Eventually. :rolleyes:
I can imagine this being huge. Great job so far, and good luck for the future.
[QUOTE=SomeFaggot;34526531]It could have possibly been that the player it was referencing was no longer the player. The hook calls fine, but the arguments could be messed up. I will check this when I get home.[/QUOTE] Okay, so it seems the player in the hook is no longer the player I spawn as.
[QUOTE=SomeFaggot;34530309]Okay, so it seems the player in the hook is no longer the player I spawn as.[/QUOTE] Sounds like the same problem the server was having awhile ago. I'll have to look into it.
Loving the look of this. Wanna write an addon or two soon.
ESP doesnt seem to work :/ Do i have to put the luastoned.esp.zip file as a zip file or normal file in the addons? I have it as zip now and have enabled it in the menu. [editline]lol[/editline] Also, could you make it possible to toggle off the better grass mod thingie? I dont like how the grass looks. [editline]ohh[/editline] Still yet, falling sand and gravel are transparent from the bottom.
Sorry, you need to Log In to post a reply to this thread.