News: Welcome back to Bullworth! If you haven't already, you will need to reset your password..


Author Topic: I can not compile anything luascript.lua:5: unexpected symbol near 'T'  (Read 10863 times)

0 Members and 5 Guests are viewing this topic.

Offline Ky

  • Full Member
  • ***
  • Posts: 329
  • Gender: Male
  • <3
    • View Profile
Re: I can not compile anything luascript.lua:5: unexpected symbol near 'T'
« Reply #15 on: February 19, 2015, 02:02:11 PM »
already uninstalled and installed again and nothing, the same error occurs

Offline Mick3Mouse

  • Obam3mouse
  • Bullworth Junkie
  • ****
  • Posts: 4,343
  • Gender: Male
  • Major Mick3Mouse Algie Hunter
    • View Profile
    • My youtube
Re: I can not compile anything luascript.lua:5: unexpected symbol near 'T'
« Reply #16 on: February 19, 2015, 02:05:43 PM »
The same error is happening, no code works :(

Mine compiled it. 

Offline Ky

  • Full Member
  • ***
  • Posts: 329
  • Gender: Male
  • <3
    • View Profile
Re: I can not compile anything luascript.lua:5: unexpected symbol near 'T'
« Reply #17 on: February 19, 2015, 02:08:06 PM »
it was like  DABoss said something wrong is going on, what will be be?

Offline Ky

  • Full Member
  • ***
  • Posts: 329
  • Gender: Male
  • <3
    • View Profile
Re: I can not compile anything luascript.lua:5: unexpected symbol near 'T'
« Reply #18 on: February 19, 2015, 02:11:41 PM »
I guess I'll never learn modding Bully :(

deadpoolXYZ

  • Guest
Re: I can not compile anything luascript.lua:5: unexpected symbol near 'T'
« Reply #19 on: February 19, 2015, 02:36:04 PM »
You can try compiling in a different directory or create a new .lua file, copy and paste all the code from your original script, and then name it something different. This might help you since the script itself is not the problem.

Offline DaBOSS54320

  • Hero Member
  • ****
  • Posts: 3,398
  • Gender: Female
    • View Profile
Re: I can not compile anything luascript.lua:5: unexpected symbol near 'T'
« Reply #20 on: February 19, 2015, 03:14:10 PM »
You're compiling THIS script right? Not another one that contains the error?

Give us the line you put in command prompt, or screenshot it also with the folder the script file is in open so we can see that you gave LuaC proper arguments and the file is in a good place.

Offline Ky

  • Full Member
  • ***
  • Posts: 329
  • Gender: Male
  • <3
    • View Profile
Re: I can not compile anything luascript.lua:5: unexpected symbol near 'T'
« Reply #21 on: February 19, 2015, 04:16:04 PM »
here goes a print

Offline Ky

  • Full Member
  • ***
  • Posts: 329
  • Gender: Male
  • <3
    • View Profile
Re: I can not compile anything luascript.lua:5: unexpected symbol near 'T'
« Reply #22 on: February 19, 2015, 04:17:45 PM »
You can try compiling in a different directory or create a new .lua file, copy and paste all the code from your original script, and then name it something different. This might help you since the script itself is not the problem.
How can I do this?

Offline Toni C.

  • Jr. Member
  • **
  • Posts: 19
    • View Profile
Re: I can not compile anything luascript.lua:5: unexpected symbol near 'T'
« Reply #23 on: February 19, 2015, 04:46:34 PM »
^^ man you dont've a copy of ArcRace1.lur in your LUA folder. check it out
« Last Edit: February 19, 2015, 04:54:48 PM by Toni C. »

Offline Ky

  • Full Member
  • ***
  • Posts: 329
  • Gender: Male
  • <3
    • View Profile
Re: I can not compile anything luascript.lua:5: unexpected symbol near 'T'
« Reply #24 on: February 19, 2015, 04:48:44 PM »
^^ man you dont've copy of ArcRace1.lur in your LUA folder. check it out
yes

Offline DaBOSS54320

  • Hero Member
  • ****
  • Posts: 3,398
  • Gender: Female
    • View Profile
Re: I can not compile anything luascript.lua:5: unexpected symbol near 'T'
« Reply #25 on: February 19, 2015, 05:02:18 PM »
LuaC makes a new ArcRace1.lur when it successfully compiles.

Offline Ky

  • Full Member
  • ***
  • Posts: 329
  • Gender: Male
  • <3
    • View Profile
Re: I can not compile anything luascript.lua:5: unexpected symbol near 'T'
« Reply #26 on: February 19, 2015, 05:03:04 PM »
:(

Offline DaBOSS54320

  • Hero Member
  • ****
  • Posts: 3,398
  • Gender: Female
    • View Profile
Re: I can not compile anything luascript.lua:5: unexpected symbol near 'T'
« Reply #27 on: February 19, 2015, 05:03:47 PM »
Try to download this file, drag over your C:/LUA, and replace the old luascript.lua. http://www.filedropper.com/luascript

If this doesn't work, I really have no idea what to do.

Offline Ky

  • Full Member
  • ***
  • Posts: 329
  • Gender: Male
  • <3
    • View Profile
Re: I can not compile anything luascript.lua:5: unexpected symbol near 'T'
« Reply #28 on: February 19, 2015, 05:07:57 PM »
Try to download this file, drag over your C:/LUA, and replace the old luascript.lua. http://www.filedropper.com/luascript

If this doesn't work, I really have no idea what to do.
It worked :) thank you, tell me what the problem was?

Offline DaBOSS54320

  • Hero Member
  • ****
  • Posts: 3,398
  • Gender: Female
    • View Profile
Re: I can not compile anything luascript.lua:5: unexpected symbol near 'T'
« Reply #29 on: February 19, 2015, 05:39:12 PM »
The code I gave you there is the exact same as the code I gave before in a code box in a previous post. I just put it in a lua file and saved it. Something is wrong with your LUA editor (Notepad++, and if that's not what you used to make the code, that may be the problem)