View previous topic :: View next topic |
Author |
Message |
samtrainers87 Newbie cheater
Reputation: 0
Joined: 11 Jan 2016 Posts: 11 Location: Germany
|
Posted: Mon Jan 11, 2016 8:37 am Post subject: CE 6.5 attempt to call a nil value (field 'mod') |
|
|
Hi,
I have encountered a error when i try to activate the hack
This is the exact error message:
Code: | Error:[string "function FormClose(sender)
..."]:16: attempt to call a nil value (field 'mod') |
Can someone help me with this?
maybe need to change something in the lua script?
Description: |
|
Filesize: |
31.09 KB |
Viewed: |
14260 Time(s) |

|
Description: |
|
Filesize: |
12.27 KB |
Viewed: |
14278 Time(s) |

|
|
|
Back to top |
|
 |
Redouane Master Cheater
Reputation: 3
Joined: 05 Sep 2013 Posts: 363 Location: Algeria
|
Posted: Mon Jan 11, 2016 10:05 am Post subject: Re: CE 6.5 attempt to call a nil value (field 'mod') |
|
|
samtrainers87 wrote: | Hi,
I have encountered a error when i try to activate the hack
This is the exact error message:
Code: | Error:[string "function FormClose(sender)
..."]:16: attempt to call a nil value (field 'mod') |
Can someone help me with this?
maybe need to change something in the lua script? |
Use the modulo operator '%',there is no math.mod in Lua.
|
|
Back to top |
|
 |
samtrainers87 Newbie cheater
Reputation: 0
Joined: 11 Jan 2016 Posts: 11 Location: Germany
|
Posted: Mon Jan 11, 2016 11:03 am Post subject: CE 6.5 attempt to call a nil value (field 'mod') |
|
|
hi,i tryed with modulo operator IN % B but im still getting the same error
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 468
Joined: 09 May 2003 Posts: 25715 Location: The netherlands
|
Posted: Mon Jan 11, 2016 11:21 am Post subject: |
|
|
try math.fmod
or replace function dec_hex with:
Code: |
function DEC_HEX(IN) return string.format("%X", IN) end
|
Quote: |
i tryed with modulo operator IN % B but im still getting the same error
|
At least the line number should be different, else you didn't edit the correct spot
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
 |
samtrainers87 Newbie cheater
Reputation: 0
Joined: 11 Jan 2016 Posts: 11 Location: Germany
|
Posted: Tue Jan 12, 2016 4:24 am Post subject: |
|
|
it works now!Thank you all
|
|
Back to top |
|
 |
TheChosenNoob69 How do I cheat?
Reputation: 0
Joined: 05 Jul 2016 Posts: 2 Location: Canada
|
|
Back to top |
|
 |
|