Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » General Discussions » General Discussion » Map Installer
Map Installer [message #144968] Mon, 21 March 2005 15:48 Go to previous messageGo to next message
Dave Anderson is currently offline  Dave Anderson
Messages: 1953
Registered: December 2004
Location: United States
Karma: 0
General (1 Star)
I'll host this program on my site if you want. Very Happy
Map Installer [message #144973] Mon, 21 March 2005 15:54 Go to previous messageGo to next message
SickOptometrist is currently offline  SickOptometrist
Messages: 314
Registered: April 2004
Karma: 0
Recruit
Oblivion-
Cool stuff man! I put a link in my forum about your thingamajig...Hope ya don't mind. http://www.the-order.org/forum/showthread.php?t=444 Keep us updated.

-Pat


Map Installer [message #145008] Mon, 21 March 2005 17:59 Go to previous messageGo to next message
genetix is currently offline  genetix
Messages: 392
Registered: July 2003
Location: Saskatchewan Canada
Karma: 0
Commander
Oblivion. I'm just setting up a MySQL database to manage all the servers(map hosts) and maps.

How do you want me to setup the output? I can set it up like RenGuard has for their online users script.(you go to a link like site.com/ren_maps.php?name=$mapname)

or I can simply setup the database and you could connect to it via ODBC.

Do you want me to setup a database? If so I would suggest the first option to output the data. Then other programs can use it aswell. If I did the first way you wouldn't have to deal with any database stuff either. It would just be a matter of selecting information off a white webpage.
Map Installer [message #145020] Mon, 21 March 2005 19:17 Go to previous messageGo to next message
genetix is currently offline  genetix
Messages: 392
Registered: July 2003
Location: Saskatchewan Canada
Karma: 0
Commander
I just finished the basic format for the "backbone".


Heres what the protocol is:

http://www.generation-x.ca/ren_maps/getdata.php?filename=(filename of map)
http://www.generation-x.ca/ren_maps/getdata.php?id=(map ID in database)
http://www.generation-x.ca/ren_maps/getdata.php?server=(server/host's name)
http://www.generation-x.ca/ren_maps/getdata.php?serverid=(server id in DB)

I have inserted one row in the database just for testing.

Maps:
filename=text.mix
id=1

Servers:
server=web dummy is
serverid=1

you can only insert one at a time. If you insert more than one protocol extension at once then the first entry will be requested.

Server remarks have #'s infront of them such as #error : Could Not Connect To Database. All actual map and server information from the database are displayed as @variable:data

I did this in about a half an hour so it only has basic protection right now. I will upgrade the security of it later if you like it.

I can make any changes you want aswell. I have not yet got around to creating a password protected area so you(oblivion) can upload maps to multiple servers automatically and it will also update the DB so everything is instanly updated.
Map Installer [message #145362] Wed, 23 March 2005 19:17 Go to previous messageGo to next message
spreegem is currently offline  spreegem
Messages: 1755
Registered: March 2003
Location: Ellington, CT
Karma: 0
General (1 Star)

So, are you going to have it randomly select a map server and rotate the banner accordingly? Or not? I think it would be pretty cool if you did.

Map Installer [message #145364] Wed, 23 March 2005 19:35 Go to previous messageGo to next message
Oblivion165 is currently offline  Oblivion165
Messages: 3468
Registered: June 2003
Location: Hendersonville, North Car...
Karma: 0
General (3 Stars)
I might, its works right now, coolnick has used it. Very little needs to be done at this point Smile

WOL: Ob165ion Skype: Oblivion165 Yahoo Instant Messenger: CaptainJohn165
Map Installer [message #145379] Wed, 23 March 2005 19:57 Go to previous messageGo to next message
Oblivion165 is currently offline  Oblivion165
Messages: 3468
Registered: June 2003
Location: Hendersonville, North Car...
Karma: 0
General (3 Stars)
Here is a BETA and i do mean BETA.

Features missing/to be fixed:

Crash is Config.ini isnt present.
How many maps have already been downloaded\Left
Delete temporary directory.
Check for WinRar.exe in process so that it will do the extractor on its own.
Fix the requesting file hold up.

(sometimes it says requesting file and never gets it, in this case simply stop the downloads ~ goto the temp directory ~ look at the last map downloaded (Its in alphabetical) ~ delete it, then start the downlaods again starting with that one.)

http://www.file.oblivionabre.com/Map_Install.rar


Use at your own risk, blah blah blah.


WOL: Ob165ion Skype: Oblivion165 Yahoo Instant Messenger: CaptainJohn165
Map Installer [message #145393] Wed, 23 March 2005 22:40 Go to previous messageGo to next message
IRON FART
Messages: 1989
Registered: September 2003
Location: LOS ANGELES
Karma: 0
General (1 Star)
Oblivion165

http://www.img.oblivionabre.com/m_i2.jpg

Its about 90% done. Just have to make it move the extracted files to the westwood data dir. Then i need some people to try it out, make sure it works.



IRON FART

It would be even better if it could manage maps already in the Data directory.

...But I'm not complaining Wink


What do you mean? just make it so you can move the files out of the data folder before startup or?

I mean view fanmaps that are already in the Data directory, and give you the ability to move them and delete them. (have another form open that lists allt he fanmaps so that you can select them via a checkbox and delete.)

Something like that would come in handy.

Quote:

Let me guess, it's either plain VB or some .Net shit.

I don't think it matters just as long as Oblivion packages the VB runtime files with it.

EDIT: Oblivion, package MSINET.OCX with it too.
EDIT2: I'm downloading the speeded Westwood maps right now... It is working just fine. Smile
EDIT3: Also, when it displays how much of it has downloaded, and how much is left, divide those values by 1024 to get how many KB the file is. Then truncate it to one or two decimal places. I could do it in php easily enough, but I haven't touched VB in years. I'd help otherwise.


http://www.baclan.org/albums/album05/dasmodell.jpg
Quote:


Quote from IRC
<[Digital]> get man_fucking_a_car.mpg
<[Digital]> ah fuck wrong window

Map Installer [message #145394] Thu, 24 March 2005 00:21 Go to previous messageGo to next message
mac is currently offline  mac
Messages: 1018
Registered: February 2003
Karma: 0
General (1 Star)
Administrator/General
RenGuard Client is coded in pure C, no MFC shit.

Quote:


danpaul88: buggy bugs brenbot because buggy befriends brainlessness

Map Installer [message #145397] Thu, 24 March 2005 02:01 Go to previous messageGo to next message
Oblivion165 is currently offline  Oblivion165
Messages: 3468
Registered: June 2003
Location: Hendersonville, North Car...
Karma: 0
General (3 Stars)
Thanks Iron Fart, ill do all that before i officially release it.

Oh and here is a map manager for you

(Less tested, works on mine but who knows Smile )

http://www.file.oblivionabre.com/RMM.rar

Use at your own risk, blah blah blah <- Cover my ass


WOL: Ob165ion Skype: Oblivion165 Yahoo Instant Messenger: CaptainJohn165
Map Installer [message #145548] Thu, 24 March 2005 19:06 Go to previous messageGo to next message
spreegem is currently offline  spreegem
Messages: 1755
Registered: March 2003
Location: Ellington, CT
Karma: 0
General (1 Star)

Why don't you combine the map installer, and manager into one program? I think it would be better that way.
Map Installer [message #145554] Thu, 24 March 2005 20:23 Go to previous messageGo to next message
genetix is currently offline  genetix
Messages: 392
Registered: July 2003
Location: Saskatchewan Canada
Karma: 0
Commander
What I was thinking was having just a tab at the top of the program(under the main banner). Have a tab for Map Downloader and one for Map Manager.

I was also thinking, why not put a small banner on it? to the left of the map list, above the install now, and blow the dir selecter. Theres a place there that could probably fit a 250 by 150 banner. I could add a feature into the php backbone to include a map rotator as well. Then every time the program is loaded a new banner is selected.
Map Installer [message #146874] Thu, 31 March 2005 11:43 Go to previous messageGo to next message
flyingfox is currently offline  flyingfox
Messages: 1612
Registered: February 2003
Location: scotland, uk
Karma: 0
General (1 Star)
Dan

I'm not sure what the main language in RenGuard is


it was coded in C... you can still buy C books, so get your hands on one pronto.
Map Installer [message #146908] Thu, 31 March 2005 14:56 Go to previous messageGo to next message
spreegem is currently offline  spreegem
Messages: 1755
Registered: March 2003
Location: Ellington, CT
Karma: 0
General (1 Star)

I still think the server rotater would be cool as long as the banner of that server was also a link to the website of that server
Map Installer [message #146978] Thu, 31 March 2005 17:08 Go to previous message
Dave Anderson is currently offline  Dave Anderson
Messages: 1953
Registered: December 2004
Location: United States
Karma: 0
General (1 Star)
Oblivian, when you are finished, I would be happy to host the map installer on my site. I would also be happy to "spread the word" for you too.

David Anderson
Founder, Software Consultant
DCOM Productions
Microsoft Partner (MSP)
Previous Topic: OT: Game Trivia
Next Topic: No SDK for BF2 lol?
Goto Forum:
  


Current Time: Sat Jun 08 04:54:04 MST 2024

Total time taken to generate the page: 0.00949 seconds