sketchyphoenix Posted December 12, 2011 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 112 Reputation: 89 Joined: 11/12/11 Last Seen: April 5 Share Posted December 12, 2011 Oct 18, 2013 - Moved to http://hercules.ws/board/blog/13/entry-41-get-ready-get-hype-the-road-to-lua-with-hpm/ ------------------Continued from the same thread on the eA site.This is a development branch that replaces the rAthena script engine with a Lua script engine. The commands have been written, the NPCs have not, and some functionality must be completed.This project is based off the old eAthena project found here: http://eathena-proje...l/DracoRPG/lua/I just happened across this one day and decided I would make an attempt at finishing it, and props to everybody who worked on it. 10 Quote Link to comment Share on other sites More sharing options...
sketchyphoenix Posted February 10, 2012 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 112 Reputation: 89 Joined: 11/12/11 Last Seen: April 5 Author Share Posted February 10, 2012 Got a big update in the works. About 3/4ths done merging this into rAthena Done and I'll continue my work on variable storage/autobonus/finish converting scripts/other stuff I can't think of yet but I'll post it when I remember but those 3 are the biggest issues Quote Link to comment Share on other sites More sharing options...
sketchyphoenix Posted March 12, 2012 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 112 Reputation: 89 Joined: 11/12/11 Last Seen: April 5 Author Share Posted March 12, 2012 Variable storage is almost done. I just need to write the queries. Quote Link to comment Share on other sites More sharing options...
CalciumKid Posted March 16, 2012 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 257 Reputation: 253 Joined: 11/29/11 Last Seen: February 21, 2014 Share Posted March 16, 2012 How will you be going about the conversion of scripts? Quote Link to comment Share on other sites More sharing options...
sketchyphoenix Posted March 16, 2012 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 112 Reputation: 89 Joined: 11/12/11 Last Seen: April 5 Author Share Posted March 16, 2012 A conversion script is the most feasible idea. The problem is it wouldn't be very well written by Lua standards. In other news, I got rid of LuaSQL today. I was writing the db queries to handle variable storage and found that the bindings weren't able to prepare statements, which had me looking for one that could - and that was LuaDBI. 2 Quote Link to comment Share on other sites More sharing options...
CalciumKid Posted March 18, 2012 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 257 Reputation: 253 Joined: 11/29/11 Last Seen: February 21, 2014 Share Posted March 18, 2012 Fair enough. I've always wanted to get rid of eAscript, tis so limited. You can't even explode strings. Quote Link to comment Share on other sites More sharing options...
sketchyphoenix Posted March 19, 2012 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 112 Reputation: 89 Joined: 11/12/11 Last Seen: April 5 Author Share Posted March 19, 2012 What I plan on doing with this there's a lot more going on than Lua's string library! 2 Quote Link to comment Share on other sites More sharing options...
sketchyphoenix Posted April 6, 2012 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 112 Reputation: 89 Joined: 11/12/11 Last Seen: April 5 Author Share Posted April 6, 2012 Still alive, but having to plan out the rest of my short term work so I don't get bogged down by too much. I'm taking notes on what I need to remove to get the old script engine out, since technically it's still in but disabled since I decided at the time that trying to remove it and fixing whatever that depended on it in the source took more time than I would've liked to put in it. Also I plan on having an update next week. 1 Quote Link to comment Share on other sites More sharing options...
xazax Posted April 23, 2012 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 427 Reputation: 123 Joined: 11/17/11 Last Seen: December 31, 2022 Share Posted April 23, 2012 Woooot. Quote Link to comment Share on other sites More sharing options...
sketchyphoenix Posted April 24, 2012 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 112 Reputation: 89 Joined: 11/12/11 Last Seen: April 5 Author Share Posted April 24, 2012 So what's been holding me up for so long was 1) i got a new job and 2) I was torn on how to finish off variable storage. It came down to this. I needed to send registries from map to char or login for saving, but I had 2 ways to do it. I could either do it with Lua or do it using rA's inter-server stuff. Tried the latter first. Then I realized that doing it with inter-server functions is really hacky (take variables from Lua -> conver to struct -> send to char/login -> char/login reconstructs the table, send it back to Lua then save it. So I decided to just have char/login server have its own Lua server just to handle that since I was already giving char/login their own lua states for sqlite support. Now I'm in the process of writing that. Quote Link to comment Share on other sites More sharing options...
sketchyphoenix Posted April 28, 2012 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 112 Reputation: 89 Joined: 11/12/11 Last Seen: April 5 Author Share Posted April 28, 2012 LChar-Server can now save registries to a sqlite or mysql database. It also has user authorization. Just need to plug this into rA so I can use the hashing functions for the inter-server user/pw. LLogin-Server being worked on. 1 Quote Link to comment Share on other sites More sharing options...
sketchyphoenix Posted May 8, 2012 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 112 Reputation: 89 Joined: 11/12/11 Last Seen: April 5 Author Share Posted May 8, 2012 Update coming tomorrow, only 1 major bug I need to fix tonight/tomorrow. 1 Quote Link to comment Share on other sites More sharing options...
Matheus Posted May 9, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 63 Reputation: 6 Joined: 11/15/11 Last Seen: December 13, 2013 Share Posted May 9, 2012 Good job, i love LUA . Quote Link to comment Share on other sites More sharing options...
sketchyphoenix Posted May 16, 2012 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 112 Reputation: 89 Joined: 11/12/11 Last Seen: April 5 Author Share Posted May 16, 2012 When I first started this, I didn't take out all of the old script engine code since I didn't want to break anything. Now I'm tired of looking at it since I'm closer to being done. Next few updates will probably be centered around taking that engine out and cleaning up what's left. Quote Link to comment Share on other sites More sharing options...
sketchyphoenix Posted May 24, 2012 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 112 Reputation: 89 Joined: 11/12/11 Last Seen: April 5 Author Share Posted May 24, 2012 Another update today. Also the OP now has an update queue so you can see what's being worked on and what's going in the next update. r16140 2 Quote Link to comment Share on other sites More sharing options...
sketchyphoenix Posted August 15, 2012 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 112 Reputation: 89 Joined: 11/12/11 Last Seen: April 5 Author Share Posted August 15, 2012 Sometime this week should be another update when I finish merges and that update should include some code to make item scripts work. 1 Quote Link to comment Share on other sites More sharing options...
Spre Posted September 30, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 103 Reputation: 28 Joined: 09/20/12 Last Seen: January 14, 2019 Share Posted September 30, 2012 Sketchy I love you Lots of serious gay in that ohyea LOTSOFGAY. Ok joking, But where did you end up on this. also NECRO POST! Quote Link to comment Share on other sites More sharing options...
Brian Posted September 30, 2012 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 2223 Reputation: 593 Joined: 10/26/11 Last Seen: June 2, 2018 Share Posted September 30, 2012 I wonder if a Lua server could read certain client lua files (copied as-is with no format modifications), for things like the const.txt database and other IDs? Quote Link to comment Share on other sites More sharing options...
Spre Posted September 30, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 103 Reputation: 28 Joined: 09/20/12 Last Seen: January 14, 2019 Share Posted September 30, 2012 I don't see why not. I'd almost make sure a all the scripts are lua ready if i knew sketchy was more then 60% complete Quote Link to comment Share on other sites More sharing options...
Vach Posted October 11, 2012 Group: Members Topic Count: 21 Topics Per Day: 0.00 Content Count: 326 Reputation: 19 Joined: 09/27/12 Last Seen: February 27, 2021 Share Posted October 11, 2012 Will this allow you to store strings and arrays on characters and accounts? Because that would pretty much be the most bad ass thing ever. Quote Link to comment Share on other sites More sharing options...
sketchyphoenix Posted November 8, 2012 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 112 Reputation: 89 Joined: 11/12/11 Last Seen: April 5 Author Share Posted November 8, 2012 I wonder if a Lua server could read certain client lua files (copied as-is with no format modifications), for things like the const.txt database and other IDs? It can. If you loaded it plain they would all be defined as globals. I don't see why not. I'd almost make sure a all the scripts are lua ready if i knew sketchy was more then 60% complete Most of the commands work. The only ones I haven't worked on were item scripts. Will this allow you to store strings and arrays on characters and accounts? Because that would pretty much be the most bad ass thing ever. Considering the variable handling is being done entirely* in lua, all it takes is for one to write a script to do it. *still using athena's inter-server functions for sending the right variables to the right server for saving, but the db operations for it will be done in lua so anybody can use their own (supported by luadbi anyway) engine if they wanted. 1 Quote Link to comment Share on other sites More sharing options...
Spre Posted November 18, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 103 Reputation: 28 Joined: 09/20/12 Last Seen: January 14, 2019 Share Posted November 18, 2012 I wonder if a Lua server could read certain client lua files (copied as-is with no format modifications), for things like the const.txt database and other IDs? It can. If you loaded it plain they would all be defined as globals. I don't see why not. I'd almost make sure a all the scripts are lua ready if i knew sketchy was more then 60% complete Most of the commands work. The only ones I haven't worked on were item scripts. Will this allow you to store strings and arrays on characters and accounts? Because that would pretty much be the most bad ass thing ever. Considering the variable handling is being done entirely* in lua, all it takes is for one to write a script to do it. *still using athena's inter-server functions for sending the right variables to the right server for saving, but the db operations for it will be done in lua so anybody can use their own (supported by luadbi anyway) engine if they wanted. -drool- of course you come back and reply when I am really busy! work sucks mmhmmm 1 Quote Link to comment Share on other sites More sharing options...
sketchyphoenix Posted April 8, 2013 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 112 Reputation: 89 Joined: 11/12/11 Last Seen: April 5 Author Share Posted April 8, 2013 (edited) Just posting to inform everyone that I've been fixing bugs the past day or so.Ill need to put this on another repo since I don't have svn here and ill update the links when I do done Edited April 9, 2013 by sketchyphoenix Quote Link to comment Share on other sites More sharing options...
sketchyphoenix Posted April 10, 2013 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 112 Reputation: 89 Joined: 11/12/11 Last Seen: April 5 Author Share Posted April 10, 2013 Unfortunately, this project is no longer using svn. We git now. Both out of date. Will post a link when I finish my big change. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.