first of all, thx to you ptaczek for bringing us PtokaX, i have a little request/feature, while we are at the debug models...
i love all the new features, and especialy the new stack traceback in script editor, but can you maybe make a support for script bug logging for those bugs..
like you have made a logging for main chat ..
maybe use full i some matters when doing remote on servers its not allways all bugs i/we can see due to a script restart ..
maybe someone else are wanting this or can give some feedback on the subject..
greetz again..
from me :)
the trace back feature is great ,
tho i still can't see which line i'm at with my cursor
agree on that one Pur, i forgot to mention that... a inbuilt counter in script editor would be great instead of opening script in another editor just to get the counter at the bottom...
greetz
would be handy indeed, not that i use it. lol
i love titmouse but still would like 1 tiny change on the output of the errors.
start counting on the lines with 0 instead of 1, as tit does that 2.
not a real big problem tho. lol
plop
agree on titmouse but i have tryed that tit f*cked up in the script, so now i use Emeditor and the inbuilt in ptokax..
greetz
Well I have nice feature in my little brain.
Why not sending a message to Masters or Level can be choose when scripts gotten an error in PM to them.
That I would find very usefull and a log that can be opened in hubsoft to
with command, so you can see what the error was.
My thoughts...
run this..
nicktoreporterrorsto = "tezlo"
-- your nick comes here ^^
function Main()
omg()
end
report = _ERRORMESSAGE
_ERRORMESSAGE = function(str)
SendToNick(nicktoreporterrorsto, ">> error: "..str)
report(str)
end
then read the manual (http://www.lua.org/manual/4.0/manual.html#4.7) again :)
titmouse just looks weird.. and just about any decent editor lets you spec an external tool/compiler
yep me, i tried titmouse, was ok, but still not right for me, i stick to good old trusty notepad and inbuild maybe i will write my own ptokax script editor with some how-to's etc andythink it wud be any useful?
Well I use EditPlus2 with LUA extesion & syntax's
works great.
And Thx Tezlo for that piece of code and the manual again. :-P heh
hey Tezlo what is omg() doing ??? getting nil on this...
is it needed ?
eh its nil on purpose to trigger the error.. makes sense?
Yes understand...