Jump to content
  • 0

Bad header in precompiled chunk


Eirel

Question


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  18
  • Reputation:   0
  • Joined:  08/17/12
  • Last Seen:  

Hi guys.

Here's my problem:

I've modified some files in my grf, jobname.lua and npcidentity.lua. I've compiled it and recompiled in a new grf that I put in my directory. But when I start the client, I've got this error:

buf: bad header in precompiled chunk.

Looking on the net, I found that it's apparently a problem with plateform used to compile/read the lub files, which explain that another client, reading lua before lub, works well.

Is there a way to correct that? I've compiled the lub file in both win 7 64 and vista 32 bits, but none seems to work...

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  174
  • Reputation:   6
  • Joined:  07/01/12
  • Last Seen:  

Use GRF Tools to save as .lua and rename it to .lub and done!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  8
  • Reputation:   0
  • Joined:  05/06/12
  • Last Seen:  

im having the same exact problem but im editing Accname.lua and accessoryid.lua and im not sure whats going on but if i find out ill give you a heads up.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  127
  • Reputation:   36
  • Joined:  01/21/13
  • Last Seen:  

Try simply making a copy of your .LUAs and changing the extensions to .LUB - you shouldn't have to compile.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...