Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Program Announcements / DBP_NETLIB - Plugin for Dark Basic Pro - Official Thread

Author
Message
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 29th May 2004 00:55 Edited at: 2nd Jun 2004 19:59
Proudly announcing version 1.2 - Now with Variable Watcher!

We've added a real-time Variable Watcher to our plugin! Now, quickly and easily watch your real-time variable data as it changes, all with a few simple lines of code. No more printing data to your game environment, just initialize the Variable Watcher, send it data from anywhere in your code, then just kill it as you close out your dbp app. Easy!



Add a few well placed WAIT or WAIT KEY commands and you now have a Step Debugger!


also this release contains 2 new file functions:
fil_CopyFile - copies a file to any destination
fil_CopyDir - recursively copies any directory to any other location, keeping the entire directory structure intact.
(caution: read docs before using fil_copydir)

the entire library function list:


the DBP_NETLIB online documentation:
http://www.mod2software.com/dbp/dbp_netlib.htm

click the logo below to go to the dbp_netlib plugin page!

thanks
CattleRustler & Exeat


* DBP_NETLIB_v1.2 - NOW WITH VARIABLE WATCHER! * Click Logo
Kentaree
22
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 29th May 2004 01:07
That's excellent! It'll probably speed everything up a damn lot too, because of the slow text

Its not a bug, its a feature!
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 29th May 2004 01:22
Thanks Kentaree, yes it should help speed things up


* DBP_NETLIB_v1.1 - VB.NET PLUGIN FOR DBP * Click Logo
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 29th May 2004 02:46
Excellent news This will make debugging alot easier. Great job.
"objAngx1 = -1374" Looks like someone is not wrapping their angles

"People don't fail ..... they stop trying." Specs. P4 2.8GHz 800 FSB | 512MB DDR333
GeForce FX 5200 AGP 256MB | Windows XP Pro Full
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 29th May 2004 02:51
Thanks. Let us know what you think

Heh, no wrap is correct


* DBP_NETLIB_v1.2 - NOW WITH VARIABLE WATCHER! * Click Logo
Dave J
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 29th May 2004 03:14
We should make some other debugger commands now. Maybe so you can write to the immediate window like in VB, except that there is no immediate window o_O so we'd have to create it ourselves and somehow keep it alive after DBP has closed or maybe dump the whole window to a text file so it can be retrieved after closing the project. Just some ideas.


"Computers are useless they can only give you answers."
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 29th May 2004 04:35 Edited at: 29th May 2004 04:54
ok...
I'll roll that around in the soggy-noggin for a bit...



* DBP_NETLIB_v1.2 - NOW WITH VARIABLE WATCHER! * Click Logo
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 29th May 2004 05:03
No more new threads please. 3 is more than enough. Future ones will be deleted as soon as I see them.

... Have a nice day

*** Coming soon - Network Plug-in - Check my site for info ***
For free Plug-ins, source and the Interface library for Visual C++ 6, .NET and now for Dev-C++ http://www.matrix1.demon.co.uk
Dave J
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 29th May 2004 06:22
Yeah, I think you went a bit over the top CR lol.


"Computers are useless they can only give you answers."
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 29th May 2004 07:03
Ok so how about this becoming a STICKY so there is no need for a new thread every time we have a new announcement?

or is that only for the moderator plugin writers?


* DBP_NETLIB_v1.2 - NOW WITH VARIABLE WATCHER! * Click Logo
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 29th May 2004 14:23
Do you see any of mine or Nicks stickied up there? Robs was stickied because it is great plug-in that everyone wanted. Mine and Nicks plug-ins are useful, but don't really qualify as 'killer apps'

As soon as your plug-in contains something that hasn't already been done by someone else and becomes a 'must have', I'll sticky it.

No offense meant, because you *are* doing good work here

*** Coming soon - Network Plug-in - Check my site for info ***
For free Plug-ins, source and the Interface library for Visual C++ 6, .NET and now for Dev-C++ http://www.matrix1.demon.co.uk
Dave J
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 29th May 2004 14:27
Not to mention Nuclear Glory and Wolf have their's stickied and they're not mods. I don't think there's any favourism going on CR - As you've said yourself, most of what we've included is already available in other plugins anyway.


"Computers are useless they can only give you answers."
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 29th May 2004 18:20
I digress.
I meant no offense.


* DBP_NETLIB_v1.2 - NOW WITH VARIABLE WATCHER! * Click Logo
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 30th May 2004 07:52 Edited at: 30th May 2004 09:24
Just started testing out the variable watcher. Why didn't you put it in the keywords .ini file? Commands are not blue. Back to testing

[edit just rebuilt keyword now they are blue but i get errors when using them. But i found out this is a problem with blue ide as twilight and the default editor doesn't give errors.

[edit 2] Blue IDE gives me a Runtime error '9': Subscript out of range error when I try to use the watcher commands.

[edit 3] Using twightlight editor now and everything works great with the variable watcher. Can you make it where we can move the location of the window?

"People don't fail ..... they stop trying." Specs. P4 2.8GHz 800 FSB | 512MB DDR333
GeForce FX 5200 AGP 256MB | Windows XP Pro Full
Dave J
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 30th May 2004 11:44
You should be able to move and resize the window freely, just grab the titlebar with your mouse. o_O

Btw, about the keywords, I've posted in the BlueIDE thread about why it's not working. I'll make a fixed copy of them ASAP.


"Computers are useless they can only give you answers."
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 30th May 2004 12:38 Edited at: 31st May 2004 11:43
Thx I will have to completely minumize my game screen to do that so I never thought of it. But it works great. And thx for the keywords info. Awaiting new file

[Edit] Never mind I fixed it Here is a link if anyone else wants it until you fix yours
THIS LINK HAS BEEN REMOVED

Because CR fixed his version

"People don't fail ..... they stop trying." Specs. P4 2.8GHz 800 FSB | 512MB DDR333
GeForce FX 5200 AGP 256MB | Windows XP Pro Full
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 30th May 2004 15:28 Edited at: 30th May 2004 15:29
I did include an updated ini file for the keywords...
are you sure you copied it in?

here it is if anyone needs it



* DBP_NETLIB_v1.2 - NOW WITH VARIABLE WATCHER! * Click Logo
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 31st May 2004 02:23
CR change all the "==" in the file to "=*none*=" so it will play nice with blue ide.

"People don't fail ..... they stop trying." Specs. P4 2.8GHz 800 FSB | 512MB DDR333
GeForce FX 5200 AGP 256MB | Windows XP Pro Full
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 31st May 2004 03:16
will that also play nice with the dbp stock editor? If not then blue ide users can edit themselves or I will include a second ini file for blue ide users in the next release

thanks for the info


* DBP_NETLIB_v1.2 - NOW WITH VARIABLE WATCHER! * Click Logo
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 31st May 2004 03:30
Just ran a quick test (didn't test all the commands but did the watcher ones) and =*none*= works with Blue IDE, Twilight IDE, and Deafult IDE.

"People don't fail ..... they stop trying." Specs. P4 2.8GHz 800 FSB | 512MB DDR333
GeForce FX 5200 AGP 256MB | Windows XP Pro Full
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 31st May 2004 03:32
cool. good to know.
I will fix the ini to be compatable with all of the ide's

thanks


how you liking the watcher?


* DBP_NETLIB_v1.2 - NOW WITH VARIABLE WATCHER! * Click Logo
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 31st May 2004 03:37 Edited at: 31st May 2004 03:39
Works great but it kinda stiff arms you program at first. It takes over and I have to alt tab back to my program. Any way to fix it so it doesn't steal focus on load? If not Its ok. It's not too much trouble to alt tab.

[edit] If your going to fix it like that I'll remove my link (to the fixed version) a few threads up when you get it fixed.

"People don't fail ..... they stop trying." Specs. P4 2.8GHz 800 FSB | 512MB DDR333
GeForce FX 5200 AGP 256MB | Windows XP Pro Full
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 31st May 2004 03:48
I fixed the ini but haven posted it yet.

the watcher steals the focus but if your app has a hide mouse command then just rem it when using watcher during debugging. That will allow you to click for focus and resize/move/adjust/minimize VW as you see fit


* DBP_NETLIB_v1.2 - NOW WITH VARIABLE WATCHER! * Click Logo
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 31st May 2004 04:04 Edited at: 31st May 2004 04:09
ah i'll test that now.

[edit] Works great without hide mouse but also need to warn people who reset the mosue position to the center of the screen each loop. To disable that when using it. Might want to include this info in the doc file.

"People don't fail ..... they stop trying." Specs. P4 2.8GHz 800 FSB | 512MB DDR333
GeForce FX 5200 AGP 256MB | Windows XP Pro Full
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 31st May 2004 04:16
I edited the ini/doc/htm and reposted on our download page - you got credited in the doc/htm files


* DBP_NETLIB_v1.2 - NOW WITH VARIABLE WATCHER! * Click Logo
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 31st May 2004 04:54 Edited at: 31st May 2004 04:54
Thank you. But there is no need in giving me credit. I got my information from Exeat to edit it.
http://darkbasicpro.thegamecreators.com/?m=forum_view&t=21465&b=8&p=15
I just made a new file because Exeat didn't have the time at the time when I found the problem. Plus your plugin has helped me far more than I have helped you Keep up the great work.

"People don't fail ..... they stop trying." Specs. P4 2.8GHz 800 FSB | 512MB DDR333
GeForce FX 5200 AGP 256MB | Windows XP Pro Full
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 31st May 2004 06:04


but youre using it and helping with stuff, therefore, you get credit too! Thanks for the encouragement.

rock on.


* DBP_NETLIB_v1.2 - NOW WITH VARIABLE WATCHER! * Click Logo
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 31st May 2004 10:17
Thx. Any plans on making a .htm version of the docs so you can tie the commands into the help system?

"People don't fail ..... they stop trying." Specs. P4 2.8GHz 800 FSB | 512MB DDR333
GeForce FX 5200 AGP 256MB | Windows XP Pro Full
Dave J
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 31st May 2004 10:38
CR, I can run a call to SetActiveWindow() that will place the focus back on DBP from C++ if you wish, I know it's possible for you to use the API from VB as well but I have access to the DBP window handle anyway and it would save you having to search for it with "FindWindow()" or "GetActiveWindow()".


"Computers are useless they can only give you answers."
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 31st May 2004 10:56
I would love to test that if its not too much trouble

"People don't fail ..... they stop trying." Specs. P4 2.8GHz 800 FSB | 512MB DDR333
GeForce FX 5200 AGP 256MB | Windows XP Pro Full
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 31st May 2004 19:07
Ex,
sure, go for it.


* DBP_NETLIB_v1.2 - NOW WITH VARIABLE WATCHER! * Click Logo
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 31st May 2004 23:08
Exeat,

I just figured out that I can get the VarWatcher to stop flickering.
Basically it's always updating the vVal regardless of the data, which causes the flickering currently, I will add in a test to see that if the new data coming in is different from what's already displayed, if it is different then it will update that row/col, if it's the same it will get discarded, hence no update, hence no flicker.

I'll see if I have some time a little later.
It wont require anything on your end, just a couple lines of code added in .net dll.


* DBP_NETLIB_v1.2 - NOW WITH VARIABLE WATCHER! * Click Logo
Dave J
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 1st Jun 2004 10:27 Edited at: 1st Jun 2004 11:05
Cool, also, I think there may be a DBP bug that prevents the VB .NET DLL from being called from within a function that has a UDT as one of its parameters. Basically the app will exit automatically when it's called, if you change the parameter to something else though, it runs fine. An odd bug I know so I'll have to confirm it by doing some more testing.

Looks like a similar bug to this:
http://www.thegamecreators.com/?m=forum_view&t=28673&b=15

I get the same symptoms so I'm guessing it's the same problem. Gah, it's annoying.


"Computers are useless they can only give you answers."
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 1st Jun 2004 16:27
That's why I don't use UDT's too many bugs.

"People don't fail ..... they stop trying." Specs. P4 2.8GHz 800 FSB | 512MB DDR333
GeForce FX 5200 AGP 256MB | Windows XP Pro Full
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 1st Jun 2004 20:20
I fixed the Variable Watcher to be flicker-free by implementing what I mentioned a few posts above. The zip file on the plugin page has this latest version of the DBP_NETLIB.DLL file.

now the data is compared before being written to the VW window, if it is the same it is discarded, greatly reducing flickering and useless redraws of that field in the listview.


* DBP_NETLIB_v1.2 - NOW WITH VARIABLE WATCHER! * Click Logo
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 2nd Jun 2004 00:39 Edited at: 2nd Jun 2004 06:40
Will check out as soon as I get home

[Tested] Very cool no flashing

"People don't fail ..... they stop trying." Specs. P4 2.8GHz 800 FSB | 512MB DDR333
GeForce FX 5200 AGP 256MB | Windows XP Pro Full
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 2nd Jun 2004 16:50



* DBP_NETLIB_v1.2 - NOW WITH VARIABLE WATCHER! * Click Logo
Rknight
21
Years of Service
User Offline
Joined: 25th Sep 2003
Location: NJ
Posted: 5th Jun 2004 10:40
Public Sub fil_CopyDir(ByVal DirSource As String, _
ByVal Destination As String)

-- For some reason I seem to be drawing a blank as to the proper syntax of the above despite the docs. A request please Can you show me an actual code example of this working?
Dave J
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 5th Jun 2004 12:28
fil_CopyDir "C:\Dir", "C:\Windows\Dir"

Basically that will copy 'Dir' to "C:\Windows", note, you could also use:

fil_CopyDir "C:\Dir", "C:\Windows\NewName"

And it would copy it to the same directory but rename 'Dir' to 'NewName'.


"Computers are useless they can only give you answers."
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 5th Jun 2004 15:28
yes those examples will work, but I'd stay away from root drives and windows directory just to be safe note all the red ink in the documentation regarding this command


* DBP_NETLIB_v1.2 - NOW WITH VARIABLE WATCHER! * Click Logo
Rknight
21
Years of Service
User Offline
Joined: 25th Sep 2003
Location: NJ
Posted: 5th Jun 2004 21:46
A-ha! Tested out and working fine thank you.

It's a nice plugin. Commands are swift. My only concern is .NET is a 23MB download, and there'll be plenty of endusers not having it/not wanting to download it.

Perhaps .NET will become standard as part of windows in the future though eh?
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 5th Jun 2004 21:48 Edited at: 5th Jun 2004 21:50
Thanks

.net 1.0 already is in XP. and the next OS is built entirely on .NET technology. But yes the big download was a conern but as things progress and as broadband become more prevalent things like that will hopefully not matter much.




* DBP_NETLIB_v1.2 - NOW WITH VARIABLE WATCHER! * Click Logo
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 12th Jun 2004 19:12 Edited at: 12th Jun 2004 19:13
NEW RELEASE: DBP_NETLIB_v1.3 - June 2004

Version 1.3 is posted. It contains four new, fully documented, functions:
gen_GetSysDir()
gen_GetTempDir()
gen_GetLogicalDrives()
gen_GetVolumeLabel()

Also we tweaked the Variable Watcher so it does not steal focus from the DBP exe when it starts.

Complete Function Listing:


post any comments or questions here.

Thanks,
CattleRustler & Exeat


* DBP_NETLIB_v1.2 - NOW WITH VARIABLE WATCHER! * Click Logo
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 12th Jun 2004 21:40
How about a bin$ type command that returns a string with all 64 bits of a double integer. I can only get DBP's command to return 32 bits. I have a work around but it would be alot easier and probably faster if just one command would do it. Great job.

[addition] I forgot to test the new variable watcher not stealing focus I'll test it when I get home.

CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 13th Jun 2004 20:48 Edited at: 13th Jun 2004 20:50
Version 1.3 of the DBP_NETLIB Plugin has been updated.

functions affected:
gen_msgbox(), gen_runapp(), gen_filedialog(), str_mid(), and str_split()

reason:
Each of these functions had one or more "Optional" arguments. Being that DBP cannot make use of these types of arguments - that is leaving an argument blank in code, they have been changed to be standard arguments. Each of the functions still behave as expected with some minor changes/improvements:

gen_FileDialog() - (1)if InitialDir is "" then "C:\" is assumed, (2)if FilterStr is "" then "*.*|*.*" is assumed

str_Mid() - (1)if the Length arg is less than or equal to zero, then the entire string is returned, starting from the start character. This exactly mimics vb behavior. Prior, passing in 0 returned a zero length string, and values less than zero resulted in an error.

str_Split() - (1)if "" is used for Delimiter arg then " " is forced. This mimics vb behavior

the keywords ini file, and both the Doc and Web based Doc files have been updated to reflect these changes. I apologize for making these changes separate and apart from yesterday's release of version 1.3 from version 1.2. The latest build of dbp_netlib.dll is 1.3.1625.19982. any other build version (1.3.####.#####) does not contain the updates described in this post. You can check your version by right clicking the file and selecting Properties, selecting the Version Tab, and then by clicking on Assembly Version.
The dbp_netlib_cpp.dll required no changes and has not been modified.

Thanks
CR


* DBP_NETLIB_v1.3 - NOW WITH VARIABLE WATCHER! * Click Logo
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 14th Jun 2004 07:18
Also would it be possible to add something in the plugin to report the amount of video memory available or used? And possibly the system memory? DBP's commands are all messed up. Or do you know how I could get these values? I really need this to tell how much my program uses for min system requirements. Thx

CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 15th Jun 2004 02:51 Edited at: 15th Jun 2004 03:12
LIT I will look into all of the stuff you mentioned, but I was just working on something mentioned a few weeks ago (I forget by whom) in another thread of ours - concerning the clipboard and image data. I just did some tests and I have the following:

a command that when called takes a screen shot to the clipboard
a command that takes clipboard image data and writes it to a file (bmp)
but this is just testing, and now that I can "deal" with the image data maybe you guys can repost whatever it was they were interested in regarding images and clipboard etc from that other thread?

also I am experimenting with DirectX itself, seeing what we could possibly do in our plugin that is a)not available to dbp users and b)possible for us to do - this is where my lack of dx experience slows me up. Maybe anyone reading this has some ideas?

CR

also, since I was on the topic of the clipboard I added Put/Get String commands to the plugin - what the hay


* DBP_NETLIB_v1.3 - NOW WITH VARIABLE WATCHER! * Click Logo
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 15th Jun 2004 07:11 Edited at: 15th Jun 2004 17:32
Yay. I'll test that out when you get it going. I was one of the ones who mentioned the screenshot from clipboard. Basically we just wanted to be able to do exactly what you said. A command that takes a screen shot to clipboard and one to turn that into a .bmp. As when you hit print screen and paste it into MSPaint it captures sprites and DBP's get image command doesn't.
http://darkbasicpro.thegamecreators.com/?m=forum_view&t=30887&b=5&p=1

CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 17th Jun 2004 20:19 Edited at: 17th Jun 2004 20:22
DBP_NETLIB 1.4 RELEASED (Additions and Revisions)

TEXT CONSOLE WINDOW (New!)
This new version sees the addition of a fully customizable Text Console Window. From code you Open,Close,Position,Size the console window as well as determine if min/max/X buttons are displayed and of course send text data to the window via NewMessage() and AppendMessage() methods - all of which are fully documented in the zip package and on the download page

GENERAL FUNCTIONS (New!)
Version 1.4 now includes a gen_GetNETVer() function which returns the currently installed .NET Framework Version (x.x.xxxx.xxxxx)

VARIABLE WATCHER (Revision)
The vw_StartWatcher() method now includes PosX/PosY arguments which allow you to specify where on the screen the window will be displayed.

OTHER REVISIONS
Both the Var Watcher and the Console window have been tweaked so that each may be started and stopped as many times as you like throughout your code. Also condition tests now have been added to better bullet-proof these objects and methods from programmatic errors such as calling vw_SendStr() without a VW session running for example, now objects are fully validated before subsequent methods are executed, eliminating the possibility of invalid calls crashing the dbp_netlib dll, and thusly, your dbp app. But as always if you find any errors please don't hesitate to post about it here!

CLIPBOARD FUNCTIONS
Sadly, due to some last minute bug discoveries the release of the four new clipboard functions has been delayed until further notice. The functions are sort of "half-working" so we decided not to release them in this condition. Sorry

Click the logo below to download version 1.4 and to view the docs

Full Function Listing



* DBP_NETLIB_v1.4 - w/VARIABLE WATCHER & CONSOLE! * Click Logo
Rknight
21
Years of Service
User Offline
Joined: 25th Sep 2003
Location: NJ
Posted: 23rd Jun 2004 03:22
Ah. I like the console. Very nice.

Login to post a reply

Server time is: 2024-11-24 15:09:44
Your offset time is: 2024-11-24 15:09:44