Lua Extension: Console Debug window for Ptokax
 

Lua Extension: Console Debug window for Ptokax

Started by bluebear, 15 October, 2005, 22:40:27

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bluebear

hey again peeps...

I coded a console window for ptokax.
So you can output string data to the console,
this is very usefull when debuging scripts.

Screenshot + download + info here: http://www.thewildplace.dk/lua/pxdbgc/

Enjoy,
bluebear
Sincerely,
bluebear
--
http://www.thewildplace.dk/ is is closed - Use the following mirrors instead
http://bluebear.psycho-chihuahua.net
http://pxextension.piratez.dk/
[Lua extensions - Chat stats - YnHub PMSpy - DC Source code - and more]

Markitos

#1
I didn't understand this part
print("Counting from 0 to 90000...\n")
    i = 0
    while i <= 90000 do
        print("\b\b\b\b\b", i)
        i = i + 1
    end
    print("\n")

Why does it have to count to 90000 and in this time the hub says connection refused by target machine?


Respectfully

bluebear

QuoteOriginally posted by Markitos
I didn't understand this part
print("Counting from 0 to 90000...\n")
    i = 0
    while i <= 90000 do
        print("\b\b\b\b\b", i)
        i = i + 1
    end
    print("\n")

Why does it have to count to 90000 and in this time the hub says connection refused by target machine?


Respectfully

Ahh, it has no purpose at all, other then showing how
do a count in console.

debugconsole.lua is only a test script that shows how to use the PxDbgC.dll.

If you'r a scripter, and need debug output when writeing you'r scripts. You can use the debugconsole.lua too see how you can implement it into a debug phase of your script.

//Bluebear
Sincerely,
bluebear
--
http://www.thewildplace.dk/ is is closed - Use the following mirrors instead
http://bluebear.psycho-chihuahua.net
http://pxextension.piratez.dk/
[Lua extensions - Chat stats - YnHub PMSpy - DC Source code - and more]

bluebear

btw. PxDbgC.dll should only be used for developing. And should not be used in released scripts.
Sincerely,
bluebear
--
http://www.thewildplace.dk/ is is closed - Use the following mirrors instead
http://bluebear.psycho-chihuahua.net
http://pxextension.piratez.dk/
[Lua extensions - Chat stats - YnHub PMSpy - DC Source code - and more]

bastya_elvtars

This should be compiled into PxLUA.dll. ;)
Everything could have been anything else and it would have just as much meaning.

plop

the way it should be used.
if tSql._Debug then
	libinit = loadlib("libs\\PxDbgC.dll", "_libinit")
	libinit()
end

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

Markitos

QuoteOriginally posted by bluebear
QuoteOriginally posted by Markitos
I didn't understand this part
print("Counting from 0 to 90000...\n")
    i = 0
    while i <= 90000 do
        print("\b\b\b\b\b", i)
        i = i + 1
    end
    print("\n")

Why does it have to count to 90000 and in this time the hub says connection refused by target machine?


Respectfully

Ahh, it has no purpose at all, other then showing how
do a count in console.

debugconsole.lua is only a test script that shows how to use the PxDbgC.dll.

If you'r a scripter, and need debug output when writeing you'r scripts. You can use the debugconsole.lua too see how you can implement it into a debug phase of your script.

//Bluebear
Oh now i understand it...

bluebear

Next version is ready.

Added:
Option to make console always on top.
Output to both console and a file.
messagebox.
some extra print*()

Download/screenshot/info: http://www.thewildplace.dk/lua/pxdbgc/

Enjoy,
bluebear
Sincerely,
bluebear
--
http://www.thewildplace.dk/ is is closed - Use the following mirrors instead
http://bluebear.psycho-chihuahua.net
http://pxextension.piratez.dk/
[Lua extensions - Chat stats - YnHub PMSpy - DC Source code - and more]

SMF spam blocked by CleanTalk