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 / Goga's Free DBP Plugin 0.1

Author
Message
Sergey K
20
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 11th Feb 2006 17:07 Edited at: 18th Feb 2006 01:11
hey all, i finally finished the version of my Goga's Free DBP Plugin
its a plugin with lots of random stuff!

25 commands!

Command list:


Stuff that this dll can do:
Get your own IP
Download File from URL
Msg Box dialog with 15 different buttons and 5 different Icons
Save File Dialog
Open File Dialog
Color Picker
Font Picker
Clipboard works (Copy to clipboard and paste from clipboard strings only.)
check if the string convertable to integer function
getting a selected word from the string
replacing few digits in one string to another digits
coutning how many words you got in one string
WORD EXIST function.
added Browse For Folder dialog
added Input Dialog!
Now you can get Install path of DBP!
Added GetLocalIP() function
added a function that decreases the CPU Usage of your DBP Engines!

Download:
Version: 0.1
Date: 11/2/06
File(Rar): [href]http://www.freewebtown.com/gogetax/Plugins/GogasDll[v0.1].rar[/href]
File(Zip): [href]http://www.freewebtown.com/gogetax/Plugins/GogasDll[v0.1].zip[/href]

Version: 0.15
Date: 15/2/06
File(Rar): [href]http://www.freewebtown.com/gogetax/Plugins/GogasDll[v0.15].rar[/href]
File(Zip): [href]http://www.freewebtown.com/gogetax/Plugins/GogasDll[v0.15].zip[/href]

Version: 0.15b
Date: 18/2/06
File(Rar): [href]http://www.freewebtown.com/gogetax/Plugins/GogasDll[v0.15b].rar[/href]
File(Zip): [href]http://www.freewebtown.com/gogetax/Plugins/GogasDll[v0.15b].zip[/href]

enjoy.

Baggers
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Yonder over dem dere hills
Posted: 11th Feb 2006 19:50
Um...didnt you post this already..I remember write a positive review....or was that on WIP ?

Sergey K
20
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 11th Feb 2006 22:36
Quote: "Um...didnt you post this already..I remember write a positive review....or was that on WIP ?"

it was on WIP...

Baggers
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Yonder over dem dere hills
Posted: 11th Feb 2006 22:56
Ah ! ...In that case I'll repeat myself.
it was something like...

"Looks damn handy, would use it if I hadnt already got code for the bits I would use from it"

So yeah nice work

Chris Franklin
19
Years of Service
User Offline
Joined: 2nd Aug 2005
Location: UK
Posted: 11th Feb 2006 23:17
Nice

Theme park simulator 15% Currently making object selection
Freddy 007
19
Years of Service
User Offline
Joined: 30th Nov 2004
Location: Denmark
Posted: 12th Feb 2006 21:58 Edited at: 12th Feb 2006 21:59
This is really a nice dll, but every single time I compile with it in the plugins-user folder, I get this error:



Attachments

Login to view attachments
Chris Franklin
19
Years of Service
User Offline
Joined: 2nd Aug 2005
Location: UK
Posted: 12th Feb 2006 23:27
omg lol a bust dll

Theme park simulator 15% Currently making object selection
Sergey K
20
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 14th Feb 2006 23:09 Edited at: 14th Feb 2006 23:10
@klu 007: that means that u already got those commands(GetRed,GetBlue,GetGreen, ColorBox) duplicated in one of your included plugins.

mabye you have puted same DLL twice in the folder.

Sergey K
20
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 14th Feb 2006 23:26 Edited at: 14th Feb 2006 23:27
HOT!!!

new version: 1.5 (on top)
i added a command that decreases the CPU Usage of DBP Engine!


here is the CPU Usage of DBP Engine:
BEFORE the command used





AFTER the command used


RegenProZ
19
Years of Service
User Offline
Joined: 20th Aug 2005
Location:
Posted: 14th Feb 2006 23:59 Edited at: 20th Mar 2006 19:07
Hello GogetaX,

After hearing so much of your game, your ftp, I thought to myself, this sounds promising.

After that, you put a lot of effort into making this new DLL, which will become extremly usful for those who must save their CPU as much as they can.

I have not yet got dbpro installed at the moment, but I promise I will install and test out this DLL of yours.

As for the mods, could you possibl put this in the handy DLL area, because I know of may people that will want to use this to save CPU usuage.

That's for my outro, good work, you really have put time into this DLL, and you really have proven who knows best!

- Good Work

- Andrew

Sven B
19
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 15th Feb 2006 13:37 Edited at: 15th Feb 2006 13:40
[Command]
ToClipBoard
[Description]
this command will Copy a message to a clipboard.
and out the program, you can use CTRL + V to past the clipboard you copied in DBP
[Example]
ToClipBoard "Hello to Goga's Dll!"
wait key

Doesn't this command already exist in DBP?
write to clipboard string$


And

m$ = "hello world and hello there"
print "Oreginal Word: "+m$
print "'world' replaced to 'gogasdll': "+ReplaceStr(m$,"world","gogasdll")
wait key

doesn't seem to work here. the replaced string is the same as the original string...


Else than those things. I'll definately use this. I was a fan, and I still am.

It's the programmer's life:
Have a problem, solve the problem, and have a new problem to solve.
Sergey K
20
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 15th Feb 2006 15:31 Edited at: 15th Feb 2006 15:33
@Sven B: havent tryed the dbp's clipboard command yet

anyway, this is a random stuff dll. i made it only when i learned new stuff, so i puted them into here

Quote: "m$ = "hello world and hello there"
print "Oreginal Word: "+m$
print "'world' replaced to 'gogasdll': "+ReplaceStr(m$,"world","gogasdll")
wait key

doesn't seem to work here. the replaced string is the same as the original string..."


i really dont kno why, but its working like this:
m$ = "hello world and hello there"
print "Oreginal Word: "+m$
print "'world' replaced to 'gogasdll': "+ReplaceStr(m$,"world ","gogasdll ")
wait key

Sven B
19
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 15th Feb 2006 20:44
That's indeed very weird...
Tweakable?

It's the programmer's life:
Have a problem, solve the problem, and have a new problem to solve.
dj chainz
20
Years of Service
User Offline
Joined: 25th Sep 2004
Location: England
Posted: 17th Feb 2006 11:26
How exactly does the cooldowncpu work? (fiddling with windows?) I would like to know, because I won't use it unless I am sure what it is doing...

I am the lead programmer at red spark studios
http://www.redsparkstudios.co.uk
Sergey K
20
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 18th Feb 2006 01:04 Edited at: 18th Feb 2006 01:05
dbp always renders new frames and saves them in memory. it takes a lot of CPU. my command is freeing the CPU from all of those last renders.

Sergey K
20
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 18th Feb 2006 01:12 Edited at: 18th Feb 2006 01:13
version 1.5b available!
the CoolDownCPU command can be modified now. you can add Percents into it.
more percent will be added, then more effect it will do on the CPU Usage.
like:

do
CoolDownCPU 30


sync
loop


(the download is on top)

David R
21
Years of Service
User Offline
Joined: 9th Sep 2003
Location: 3.14
Posted: 18th Feb 2006 14:16 Edited at: 18th Feb 2006 14:18
Quote: "dbp always renders new frames and saves them in memory. it takes a lot of CPU. my command is freeing the CPU from all of those last renders."


Wait, your not talking about the buffer are you? If you are, clearing the buffer prematurely is an extremely silly thing to do

The buffer is there for a reason - to smoothen out the rendering process and prevent garbage from being displayed on screen (rendering directly to the screen usually results in this).

So I would highly recommend reviewing how this command works - DBP must be storing those extra frames for a reason, whether for the buffer or something else; so stopping or deleting the data is probably quite danagerous.

Quote: "freeing the CPU from all of those last renders."


By 'freeing the cpu' do you mean you just don't create those renders/delete them, or are you doing something else?

EDIT: Anyone who's trying to decrease CPU usage, have a look at this;
http://forum.thegamecreators.com/?m=forum_view&t=59357&b=1

Quote: "Let's think the unthinkable, let's do the undoable, let's prepare to grapple with the ineffable itself, and see if we may not eff it after all."
Sergey K
20
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 18th Feb 2006 16:38 Edited at: 18th Feb 2006 16:48
Quote: "EDIT: Anyone who's trying to decrease CPU usage, have a look at this;
http://forum.thegamecreators.com/?m=forum_view&t=59357&b=1"


well yeah, thats how im doing it this way or other way.

and its safe.


i did some research of that SleepEX and i understood that its freezing the game, and its also clearing some CPU in that way.

David R
21
Years of Service
User Offline
Joined: 9th Sep 2003
Location: 3.14
Posted: 19th Feb 2006 14:56
Quote: "
well yeah, thats how im doing it this way or other way."


Well yeah, SleepEx is safe, but has nothing to do with rendering the frames into the memory like you said.

It simply adds latency to the cpu so the DBP app will only perform calc's every 3 cycles for example, instead of 1 cycle.

Quote: "Let's think the unthinkable, let's do the undoable, let's prepare to grapple with the ineffable itself, and see if we may not eff it after all."
Sergey K
20
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 19th Feb 2006 19:19
Quote: "Well yeah, SleepEx is safe, but has nothing to do with rendering the frames into the memory like you said.
"

i really dont know how to explain it. but its just clears the CPU..

dark coder
22
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 1st Mar 2006 19:03
dude this plugin is awsome, its like everything ive ever wanted file boxes! some one line command to save cpu speed!! someone needs to give you an award or something

Halowed are the ori.
Chris Franklin
19
Years of Service
User Offline
Joined: 2nd Aug 2005
Location: UK
Posted: 1st Mar 2006 19:06
Just use sleepfx in kernl32.dll to cool the cpu

Cash Curtis II
19
Years of Service
User Offline
Joined: 8th Apr 2005
Location: Corpus Christi Texas
Posted: 4th Mar 2006 06:40
I actually think that the CoolDownCPU command would be useful in allowing programs to run on slower computers. Of course, I would include it as a program option. I do believe I'll include it in an upcoming project. Thanks!

Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 4th Mar 2006 07:06 Edited at: 4th Mar 2006 07:08
Quote: "It simply adds latency to the cpu"

No, Sleep/SleepEx suspends the thread for the time specified. This means during that time, the CPU doesn't execute that thread because it is in a 'sleep' state. If you tell it to suspend for a long time, it will freeze the application for that period of time.

Tempest - P2P UDP Multiplayer Plugin - 70%
Kerwando
18
Years of Service
User Offline
Joined: 27th Mar 2006
Location:
Posted: 28th Mar 2006 10:55
Hi, I'm french so my english may be bad..
I would like say to you that your job is very usefull and you should improve it adding new commands. For exemple, what about commands which return if user have made colours personnalised in your "ColorBox"? Moreover, programmer should be able to choose what colours is selected at the beginning when the dialog is called...

Thank you for your job!
Kerwando
18
Years of Service
User Offline
Joined: 27th Mar 2006
Location:
Posted: 29th Mar 2006 15:17
In the dialog "Colorbox", we also should be able to know if user have chosen "Cancel"...

Login to post a reply

Server time is: 2024-11-22 19:43:13
Your offset time is: 2024-11-22 19:43:13