Bug Report - backslash in the comment
Posted: 2007-12-09 18:55:19
Hi, I found a bug (maybe a strange feature). If You write '\' anywhere into the comment, the next row of code is automatically taken as comment too. See the exploit:
This doesn't work, because the row under comment is taken as comment to.
#This works, because I haven't used any backslash.
I found it when I was using uo.playwav("C:\...") and I tried to put rows like this into comment.
I use ver. 505.18.
This doesn't work, because the row under comment is taken as comment to.
Code: Select all
sub exploit()
#Comment with \ backslash
uo.print('Hello')
end sub
#This works, because I haven't used any backslash.
Code: Select all
sub hello()
#Comment with no backslash
uo.print('Hello')
end sub
I found it when I was using uo.playwav("C:\...") and I tried to put rows like this into comment.
I use ver. 505.18.