WIP / Goga's URL Downloader and HTTP Server Plugins! |
| Author | Message | ||
|
Sergey K
User ![]() Joined: Sun Jan 4th 2004 Location: Cyberspace |
hey all! i've been working latly on 2 plugins: Goga's URL Downloader: - allows you to download files from any http via darkbasic pro WITHOUGHT FREEZING up the game-play! - you also can see the file size, download speed, how much you downloade (in bytes) and download procentage. the Goga's HTTP Server: - this plugin will open an http server on your local pc! so people will be able to enter any of your home-made websites by inputing the ip of yours (E.g http://127.0.0.1) - with this plugin you will be able to control any sending/resiving data from your pc to the user! if you still didnt understood whats http server, here is a simple example: do you know the website http://darkbasicpro.com ? imagine that people will enter to your own website hosted by your own computer! both of the plugins you can find here: http://goge.byethost13.com/viewtopic.php?f=5&t=2 by the way! the plugins are not free but once ill releace the next version, or ill release an update of any of my plugins, just email me that you want the update. attach the payment of the old plugin version info and the plugin will be sent you for free in 24 hours! Get DBP stuff here! - (plugins/models/scripts and more!) |
||
| Back to top |
|||
|
Three Score
User ![]() Joined: Fri Jun 18th 2004 Location: behind you |
This seems pretty neat. I don't completely understand your command list though..it's a little bit too brief in some spots.. also, does this support MIME types? or http headers?(like you being able to send them yourself?) Open86 --My Emulator (now with it's first super alpha release I'm addicted to placebo's...I would quit but it wouldn't mean anything! lol |
||
| Back to top |
|||
|
Bmad6
User Joined: Thu Aug 25th 2005 Location: Virginia, United States |
Yea, the command list gives me a pretty good idea of how it works, but it would be nice if we could see some source code, even if only the code for that simple .exe demo or something. |
||
| Back to top |
|||
|
Sergey K
User ![]() Joined: Sun Jan 4th 2004 Location: Cyberspace |
here is the demo code of the http server plugin: + Code Snippet its really simple. btw, maybe the http server wont be able to read php or asp. but with power of DBP over http server, you will be able to make it even metter than any php |
||
| Back to top |
|||
|
Silvester
User Joined: Wed Dec 7th 2005 Location: Netherlands |
Sergey,remember that some people are able to rip out plugins from .exe's,and there are allways a few unfair persons on the forums.So its not the best idea to post up a command list. |
||
| Back to top |
|||
|
Sergey K
User ![]() Joined: Sun Jan 4th 2004 Location: Cyberspace |
dont ennoy me with the securety of my plugins.. thanks. |
||
| Back to top |
|||
|
Silvester
User Joined: Wed Dec 7th 2005 Location: Netherlands |
Alright,was just telling you a little fact |
||
| Back to top |
|||
|
Sergey K
User ![]() Joined: Sun Jan 4th 2004 Location: Cyberspace |
here is another http server feature: lets say u typing at the addressbar something like this: http://127.0.0.1/Hello World then in dbp, u can do: if AddressBar()="Hello World" then <Send Image/Text/IP/Get Time$()> or any other dbp commands! |
||
| Back to top |
|||
|
Digital Awakening
User ![]() Joined: Tue Aug 27th 2002 Location: Sweden |
|
||
| Back to top |
|||
|
Sergey K
User ![]() Joined: Sun Jan 4th 2004 Location: Cyberspace |
the price is 5$ wich is really small price.. |
||
| Back to top |
|||
|
Digital Awakening
User ![]() Joined: Tue Aug 27th 2002 Location: Sweden |
|
||
| Back to top |
|||
|
Three Score
User ![]() Joined: Fri Jun 18th 2004 Location: behind you |
meh...there is a very big gap between free and low price.. most kids don't have a credit card to buy anything, so they wouldn't be able to buy it... probably from $5-$20 (usd) wouldn't matter much for price, aside from that gap with free.. |
||
| Back to top |
|||
|
FXTC
User Joined: Sat Jul 3rd 2004 Location: CzechRepublic |
works good AMD X2 3800+ dual core 1024MB RAM,2x200GB hdd,GforceFX5700GT128MB,IBM21" ![]() |
||
| Back to top |
|||
|
Sergey K
User ![]() Joined: Sun Jan 4th 2004 Location: Cyberspace |
Quote: "works good nice plugin"
wich one you mean? the the downloader or the http server? i mean, i know that both works good, but wich one you meant this time? |
||
| Back to top |
|||
|
Sergey K
User ![]() Joined: Sun Jan 4th 2004 Location: Cyberspace |
well there are no bugs so far at those plugins.. mods, could you please move it to "Program Announcements" thread? [edit] nvm. |
||
| Back to top |
|||
|
Eevil Weevil
User Joined: Wed Aug 1st 2007 Location: Wherever you are, I wil follow |
Ooooh. How do you make the computer turn into a server? Just asking in a step-by-step, how does it work? Thanks in advance, Eevil Weevil Impossible? Anything is impossible. Of course it's impossible, you just have to believe in it. |
||
| Back to top |
|||
|
Sergey K
User ![]() Joined: Sun Jan 4th 2004 Location: Cyberspace |
well, its kinda hard to learn all of those stuff if you dont know neither of those languages (CPP, Pascal, etc.) |
||
| Back to top |
|||
|
Luminence
User Joined: Sat Jul 31st 2004 Location: Cyberspace |
Passing in the IP as a variable to GUD DownloadFile doesn't seem to work, but it works when entering the IP directly. Have you had any problems with this? EDIT - I moved the GUD download out of the function was in and ran it as a subroutine instead and that fixed the problem. Not the slightest clue why. |
||
| Back to top |
|||
|
Sergey K
User ![]() Joined: Sun Jan 4th 2004 Location: Cyberspace |
no, i had no problems with the downloader till now.. could u give me the code that not works? ill try to fix that |
||
| Back to top |
|||
|
Luminence
User Joined: Sat Jul 31st 2004 Location: Cyberspace |
This does not work + Code Snippet This does + Code Snippet When I pass the IP to GUD download as a variable inside a function, it doesn't work. Outside of a function, or when entering the IP directly, it does work. I worked around it by putting the download in a subroutine. Thanks for your time. |
||
| Back to top |
|||
|
Google Ad
AdBot Joined: Aug 26th 2002 Location: Everywhere |
|||
| Back to top |
|||
|
Sergey K
User ![]() Joined: Sun Jan 4th 2004 Location: Cyberspace |
humm.. funny.. it cant be a problem with my plugin.. it could be problem only with dbpro engine.. you should report it or something >_< cuz its only a function that you can insert into it a parameter.. so if it cant send that parameter into the plugin, that means there is a problem with dbpro.. |
||
| Back to top |
|||
|
Luminence
User Joined: Sat Jul 31st 2004 Location: Cyberspace |
Good point, I'll post it in the bug reports forum. Thank you for your time. |
||
| Back to top |
|||
|
Luminence
User Joined: Sat Jul 31st 2004 Location: Cyberspace |
I hate to bug you again, but do you have an example for the servers set port command? Darkbasic keeps telling me it doesn't understand the command. For example: + Code Snippet |
||
| Back to top |
|||
|
Sergey K
User ![]() Joined: Sun Jan 4th 2004 Location: Cyberspace |
Quote: "I hate to bug you again, but do you have an example for the servers set port command? Darkbasic keeps telling me it doesn't understand the command."
looks like it works fine for me.. no problems at all.. are you sure u copied GHS.dll plugin to a current folder? (the plugins-user at DarkBasic\Compiler\ folder) |
||
| Back to top |
|||
|
Luminence
User Joined: Sat Jul 31st 2004 Location: Cyberspace |
Yep, because everything else is working. Once port fowarded it relays files and what not perfectly, it just won't compile if I call the change port command, and tells me that it doesn't understand the command. |
||
| Back to top |
|||
|
blobby 101
User Joined: Sat Jun 17th 2006 Location: England, UK |
|
||
| Back to top |
|||
|
Luminence
User Joined: Sat Jul 31st 2004 Location: Cyberspace |
Dbpro is still telling me that the change port command is not recognized. Like i said in my last message, the dll is in the correct spot and everything else is working. Is there any way you could post an example of the port change commands usage so i can see if I'm doing something wrong? |
||
| Back to top |
|||
|
Gask
User Joined: Sat Sep 1st 2007 Location: Cyberspace |
hi , i test your url download plugin for a longtime now and here the bug i found : on this command : GUD SmartDownloadBytes() when downloading a big files sometime ( not all the time ) it restart to count at the beginning , example : I download 75% of the file ( 40 000 ko ) it says 30 000 of 40 000 ko downloaded , one second after it say 0 of 40 000 ko downloaded and finish at 10 000ko. so there is a little problem , but not very a constraint ( i just make myself a function to replace yours ) The only futur feature that can be usefull for your url plugin is a multiple download and a section download. multiple download : i launch 4 times your plugin and i can get 4 different id to manage all my download and the Fourth file can finish before the first and so on. section download : I want to download a file of 5 Mo , but i find it slow ( downloading at 50ko/sec ) So i parse the file and download 0 to 2.5 Mo and 2.5 Mo to 5 , and downloading now at ( 40 and 40 , so 80 ko ) method from all the download accelerator in order to get the maximum of bandwitch ( better chance to get in priority and kill web limitation by user ) So if you can divide the same file with 10 different download , it will be very fast. |
||
| Back to top |
|||
|
Sergey K
User ![]() Joined: Sun Jan 4th 2004 Location: Cyberspace |
Quote: "the links won't open for me. shame, i really wanted this plugin! lol"
send me to sergy100@netvision.net.il so i can send you the working links..Quote: "Dbpro is still telling me that the change port command is not recognized. Like i said in my last message, the dll is in the correct spot and everything else is working. Is there any way you could post an example of the port change commands usage so i can see if I'm doing something wrong? "
here is a 5-minuts work http server i made.the port command works here 2.. + Code Snippet @Gask: ill check out that bug you talking me about, and ill fix it eventually. about multiply threading, i will do it maybe on my next URL downloader version, and about the sections, i still dont know how to do that, althought ill try to figure it out |
||
| Back to top |
|||
|
Luminence
User Joined: Sat Jul 31st 2004 Location: Cyberspace |
I tryed your example and got the same error. I'm using upgrade 6.6 if that makes a difference. I'll try reinstalling dark basic when i get home and see if the problem persists. Thanks for your help. |
||
| Back to top |
|||
|
Sergey K
User ![]() Joined: Sun Jan 4th 2004 Location: Cyberspace |
@Luminence: if re-installing wont work, just send me your plugin purchace letter that shows you bought the plugin, and ill send you the plugin again (maybe u need to upgrade the plugin...) |
||
| Back to top |
|||
|
Gask
User Joined: Sat Sep 1st 2007 Location: Cyberspace |
good to know sergey if i find anything else i will kept you in touch , but it works pretty well for now , i didn't regret buying your products just a question , if you make a newer version with multiple download , we need to buy again your url plugin , or you give your upgraded version for free to all user who have bought your plugin before ? ( the price is low so the two can be possible ^^ ) |
||
| Back to top |
|||
|
Luminence
User Joined: Sat Jul 31st 2004 Location: Cyberspace |
Fully reinstalled, same problem. Where should I send my confirmation email? |
||
| Back to top |
|||
|
Sergey K
User ![]() Joined: Sun Jan 4th 2004 Location: Cyberspace |
@Gask: free for all ppl who bought the plugin @Luminence: sergy100@netvision.net.il with Subject "<DLL Name> Product" |
||
| Back to top |
|||
|
Sergey K
User ![]() Joined: Sun Jan 4th 2004 Location: Cyberspace |
hey all! good news! i made a new website (forum) where you are able to buy the plugins and other stuff from there.. http://goge.byethost13.com here is the thread: http://goge.byethost13.com/viewtopic.php?f=5&t=2 Get DBP stuff here! - (plugins/models/scripts and more!) |
||
| Back to top |
|||
|
blobby 101
User Joined: Sat Jun 17th 2006 Location: England, UK |
cool, i just bought one thanks to deathead for the sig! please Click on it! |
||
| Back to top |
|||
|
Sergey K
User ![]() Joined: Sun Jan 4th 2004 Location: Cyberspace |
|
||
| Back to top |
|||
|
blobby 101
User Joined: Sat Jun 17th 2006 Location: England, UK |
yes, thanks. very fast. great plugin as well. thanks to deathead for the sig! please Click on it! |
||
| Back to top |
|||
|
Luminence
User Joined: Sat Jul 31st 2004 Location: Cyberspace |
I sent the email with the plugin version on Jan 8. I still havn't gotten a reply, so I was just wondering if you got the email. |
||
| Back to top |
|||
|
Sergey K
User ![]() Joined: Sun Jan 4th 2004 Location: Cyberspace |
humm.. im checking the email everyday.. dont think i got anything >_< you sending to sergy100@netvision.net.il ? Get DBP stuff here! - (plugins/models/scripts and more!) |
||
| Back to top |
|||
This is a multi-page thread older than 30 days.
Go to the last page to check if you can reply to it.
Go to the last page to check if you can reply to it.
Forum Search
Enter a word or phrase to search our Forum for:
|
|









