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.

Work in Progress / Goga's URL Downloader and HTTP Server Plugins!

Author
Message
Sergey K
20
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 2nd Jun 2007 15:17 Edited at: 24th Jul 2008 10:24
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!)

Attachments

Login to view attachments
Three Score
19
Years of Service
User Offline
Joined: 18th Jun 2004
Location: behind you
Posted: 6th Jun 2007 17:51
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
Bmad6
18
Years of Service
User Offline
Joined: 25th Aug 2005
Location: Virginia, United States
Posted: 7th Jun 2007 00:46
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.
Sergey K
20
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 7th Jun 2007 15:57
here is the demo code of the http server plugin:


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

Silvester
18
Years of Service
User Offline
Joined: 7th Dec 2005
Location: Netherlands
Posted: 7th Jun 2007 16:24
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.
Sergey K
20
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 7th Jun 2007 16:35 Edited at: 7th Jun 2007 16:35
dont ennoy me with the securety of my plugins.. thanks.

Silvester
18
Years of Service
User Offline
Joined: 7th Dec 2005
Location: Netherlands
Posted: 7th Jun 2007 17:03
Alright,was just telling you a little fact ,however...As a software/plugin creator you should know that already.
Sergey K
20
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 7th Jun 2007 19:36
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!

Digital Awakening
AGK Developer
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 24th Jun 2007 18:02
Sounds great! I've bookmarked this thread for later, don't have time to check this out right now.

What will the price be?

[center]
Game development made simple!
Sergey K
20
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 24th Jun 2007 21:06
Digital Awakening
AGK Developer
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 25th Jun 2007 23:19
Yeah, thats not much. I can't see why you shouldn't charge at least $10 for both of them, that would still be a low price.

[center]
Game development made simple!
Three Score
19
Years of Service
User Offline
Joined: 18th Jun 2004
Location: behind you
Posted: 1st Jul 2007 08:50
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..

Robot AI|My self coded blog|

She kills puppies.
FXTC
19
Years of Service
User Offline
Joined: 3rd Jul 2004
Location: CzechRepublic
Posted: 21st Jul 2007 00:09
works good nice plugin

AMD X2 3800+ dual core 1024MB RAM,2x200GB hdd,GforceFX5700GT128MB,IBM21"
Sergey K
20
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 12th Sep 2007 00:34
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?

Sergey K
20
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 12th Sep 2007 17:02 Edited at: 12th Sep 2007 23:09
well there are no bugs so far at those plugins.. mods, could you please move it to "Program Announcements" thread?

[edit] nvm.

Eevil Weevil
16
Years of Service
User Offline
Joined: 1st Aug 2007
Location: Wherever you are, I wil follow
Posted: 29th Oct 2007 19:47
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.

Sergey K
20
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 29th Oct 2007 20:30
well, its kinda hard to learn all of those stuff if you dont know neither of those languages (CPP, Pascal, etc.)

Luminence
19
Years of Service
User Offline
Joined: 31st Jul 2004
Location:
Posted: 12th Dec 2007 00:27 Edited at: 12th Dec 2007 04:48
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.
Sergey K
20
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 12th Dec 2007 05:33
no, i had no problems with the downloader till now..

could u give me the code that not works? ill try to fix that

Luminence
19
Years of Service
User Offline
Joined: 31st Jul 2004
Location:
Posted: 12th Dec 2007 18:29 Edited at: 12th Dec 2007 18:33
This does not work




This does




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.
Sergey K
20
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 16th Dec 2007 19:32
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..

Luminence
19
Years of Service
User Offline
Joined: 31st Jul 2004
Location:
Posted: 16th Dec 2007 19:44
Good point, I'll post it in the bug reports forum. Thank you for your time.
Luminence
19
Years of Service
User Offline
Joined: 31st Jul 2004
Location:
Posted: 18th Dec 2007 18:02
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:
Sergey K
20
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 21st Dec 2007 11:05
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)

Luminence
19
Years of Service
User Offline
Joined: 31st Jul 2004
Location:
Posted: 21st Dec 2007 21:53
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.
Blobby 101
17
Years of Service
User Offline
Joined: 17th Jun 2006
Location: England, UK
Posted: 23rd Dec 2007 23:42
the links won't open for me. shame, i really wanted this plugin! lol


thanks to deathead for the sig! please Click on it!
Luminence
19
Years of Service
User Offline
Joined: 31st Jul 2004
Location:
Posted: 28th Dec 2007 01:40
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?
Gask
16
Years of Service
User Offline
Joined: 1st Sep 2007
Location:
Posted: 28th Dec 2007 22:48
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.
Sergey K
20
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 4th Jan 2008 10:40
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..



@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

Luminence
19
Years of Service
User Offline
Joined: 31st Jul 2004
Location:
Posted: 4th Jan 2008 20:16
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.
Sergey K
20
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 5th Jan 2008 17:38
@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...)

Gask
16
Years of Service
User Offline
Joined: 1st Sep 2007
Location:
Posted: 7th Jan 2008 00:02
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 ^^ )
Luminence
19
Years of Service
User Offline
Joined: 31st Jul 2004
Location:
Posted: 7th Jan 2008 22:16
Fully reinstalled, same problem. Where should I send my confirmation email?
Sergey K
20
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 8th Jan 2008 19:50
@Gask: free for all ppl who bought the plugin
@Luminence: sergy100@netvision.net.il with Subject "<DLL Name> Product"

Sergey K
20
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 11th Jan 2008 11:41
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!)
Blobby 101
17
Years of Service
User Offline
Joined: 17th Jun 2006
Location: England, UK
Posted: 11th Jan 2008 19:51
cool, i just bought one just wondering - what happens now? do you send a email link or something?


thanks to deathead for the sig! please Click on it!
Sergey K
20
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 11th Jan 2008 20:07
@blobby 101: got the email?

Get DBP stuff here! - (plugins/models/scripts and more!)
Blobby 101
17
Years of Service
User Offline
Joined: 17th Jun 2006
Location: England, UK
Posted: 11th Jan 2008 20:27 Edited at: 11th Jan 2008 20:28
yes, thanks. very fast. great plugin as well.


thanks to deathead for the sig! please Click on it!
Luminence
19
Years of Service
User Offline
Joined: 31st Jul 2004
Location:
Posted: 12th Jan 2008 20:59
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.
Sergey K
20
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 12th Jan 2008 21:33
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!)
Luminence
19
Years of Service
User Offline
Joined: 31st Jul 2004
Location:
Posted: 13th Jan 2008 21:41
Yeah, thats where I sent it to. Dunno why it didn't show up, I'll send it again.
Luminence
19
Years of Service
User Offline
Joined: 31st Jul 2004
Location:
Posted: 14th Jan 2008 19:30
The new .dll fixed the problem. Thanks for the awesome plugin, and for the help.
Luminence
19
Years of Service
User Offline
Joined: 31st Jul 2004
Location:
Posted: 8th Mar 2008 07:24
The get user IP command doesn't seem to return the clients port, is there any way to retrieve that?

Login to post a reply

Server time is: 2024-04-24 08:50:14
Your offset time is: 2024-04-24 08:50:14