0
traceback is show code.
debug is table address.
debug table address shows a number/alphabet like random address.
Like this:
https://ibb.co/SrRHbhw
debug.traceback function address shows a number/alphabet.
Like this:
https://ibb.co/z4G7fPv
traceback doesn't show address it says "nil".
debug.traceback() traceback code shows a code.
Like this:
https://ibb.co/wW8zCJ3
Do you know:
How to make fake traceback with trace()
trace is shows a message through inside TIC-80 command line.
1. sample API
trace("text here",color)
2. add red color
trace("text here",6)
6 - red (DB16 palette)
3. add debug.traceback()
trace(debug.traceback(),6)
4. add exit()
trace(debug.traceback(),6)
exit()
5. run a cartridge
type "run" (TIC-80 command line)
Boom!, see wrong code looks like real.
(Code editor required function TIC() & end)
Easy to prank
Sample:
print(debug.traceback()) - show code
print(debug) - show table address
print(debug.traceback) - show function address
YouTube channel:
https://www.youtube.com/channel/UCbuRr6UtILGwVvPjEMwsKXQ
(C) 2019 Master nama
masternama
|
Please comment & love
|