Lord Ganja Posted December 27, 2012 Group: Members Topic Count: 141 Topics Per Day: 0.03 Content Count: 444 Reputation: 22 Joined: 06/18/12 Last Seen: August 11, 2018 Share Posted December 27, 2012 (edited) Hello, I just want to ask if the accessoryid.lub, accname.lub, jobname.lub, npcidentity.lub files should be placed inside the folder luafiles514/lua files/datainfo. I'm using 2012-04-10 client. Btw, the accessoryid.lub, accname.lub, jobname.lub, npcidentity.lub files contains my custom items and npcs. The problem is whenever I merged my lub files which contains the customs inside the folder luafiles514/lua files/datainfo, I always got an error whenever I run my client 2012-04-10, which says: buf: bad header in precompiled chunk Any ideas how to fix this? Thanks in advance! Edited December 27, 2012 by Lord Ganja Quote Link to comment Share on other sites More sharing options...
Mootie Posted December 27, 2012 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 815 Reputation: 86 Joined: 10/26/12 Last Seen: June 10, 2022 Share Posted December 27, 2012 yes you have to put luafiles514 > lua files > Quote Link to comment Share on other sites More sharing options...
Lord Ganja Posted December 27, 2012 Group: Members Topic Count: 141 Topics Per Day: 0.03 Content Count: 444 Reputation: 22 Joined: 06/18/12 Last Seen: August 11, 2018 Author Share Posted December 27, 2012 then why is it that I got that error? But when I put the lua files inside the folder data/lua files/datainfo, that error doesn't appear. The thing is, when I put it inside the data/lua files/datainfo, the korean language in skill name and skill descrptions appears. Quote Link to comment Share on other sites More sharing options...
Winz Posted December 27, 2012 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 1479 Reputation: 174 Joined: 12/14/11 Last Seen: November 21, 2016 Share Posted December 27, 2012 all of them belongs to luafiles514/lua files/datainfo/ Have a nice day! *PS: I use LUA files (even the client is 2012-04-10) and I don't bother with lub files. Therefore, I got no need to recompile the files and I got no problems~ Quote Link to comment Share on other sites More sharing options...
Lord Ganja Posted December 27, 2012 Group: Members Topic Count: 141 Topics Per Day: 0.03 Content Count: 444 Reputation: 22 Joined: 06/18/12 Last Seen: August 11, 2018 Author Share Posted December 27, 2012 Is there a program which can Compile the Lua files into Lub? Which is compatible for the luafiles514. Maybe my problem occurs because of the program I used to Compile lua into lub. I used the Compile Gui.exe and luac5.0.2. Is there a Compile Gui.exe compatible with luac.5.1.4? I tried using Notepad ++ and Sublime Text 2 but the files can't be saved as lub file. Quote Link to comment Share on other sites More sharing options...
Winz Posted December 27, 2012 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 1479 Reputation: 174 Joined: 12/14/11 Last Seen: November 21, 2016 Share Posted December 27, 2012 Heard that you can make it to lub files by simply naming your file to: filename.lub and save as: all types (*.*) Have a nice day! 1 Quote Link to comment Share on other sites More sharing options...
Lord Ganja Posted December 27, 2012 Group: Members Topic Count: 141 Topics Per Day: 0.03 Content Count: 444 Reputation: 22 Joined: 06/18/12 Last Seen: August 11, 2018 Author Share Posted December 27, 2012 O damn! So that's how it is. hahahaha Thanks for that Winz! Now it worked Quote Link to comment Share on other sites More sharing options...
lkoichirol Posted February 13, 2013 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 39 Reputation: 0 Joined: 02/09/13 Last Seen: September 11, 2019 Share Posted February 13, 2013 (edited) aerhhhmm... sir i got the same problem.. everytime i compile the lua to lub i always get the the header error (>.<) sir may i ask how did u do it? XD i mean how did u fix it? Edited February 13, 2013 by lkoichirol Quote Link to comment Share on other sites More sharing options...
Boogiepop Posted February 13, 2013 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 16 Reputation: 4 Joined: 04/05/12 Last Seen: March 6, 2024 Share Posted February 13, 2013 IkoichiroI: He changed the name of accname.lua and accessoryid.lua to accname.lub and accessoryid.lub Quote Link to comment Share on other sites More sharing options...
baro Posted February 22, 2013 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 10 Reputation: 0 Joined: 02/11/13 Last Seen: January 26, 2018 Share Posted February 22, 2013 aerhhhmm... sir i got the same problem.. everytime i compile the lua to lub i always get the the header error (>.<) sir may i ask how did u do it? XD i mean how did u fix it? wow!!!!!!!!! so why no use a simple txt? i'm developer and understant than if have a source to be compiled, is to any exec run with compiled file, no source file. Quote Link to comment Share on other sites More sharing options...
lkoichirol Posted February 23, 2013 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 39 Reputation: 0 Joined: 02/09/13 Last Seen: September 11, 2019 Share Posted February 23, 2013 tnx. Quote Link to comment Share on other sites More sharing options...
Question
Lord Ganja
Hello, I just want to ask if the accessoryid.lub, accname.lub, jobname.lub, npcidentity.lub files
should be placed inside the folder luafiles514/lua files/datainfo.
I'm using 2012-04-10 client.
Btw, the accessoryid.lub, accname.lub, jobname.lub, npcidentity.lub files contains my custom items and npcs.
The problem is whenever I merged my lub files which contains the customs inside the folder luafiles514/lua files/datainfo,
I always got an error whenever I run my client 2012-04-10, which says:
Any ideas how to fix this?
Thanks in advance!
Edited by Lord GanjaLink to comment
Share on other sites
10 answers to this question
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.