Author Topic: Ravenloft downloader  (Read 13887 times)

Soren / Zarathustra217

  • Lead director, main scripter, nutty geek, Community Council
  • Administrator
  • Dark Power
  • *
  • Posts: 12981
Re: Ravenloft downloader
« Reply #50 on: December 11, 2012, 05:44:54 AM »
Well, Java might be the best solution then - I figure most users have the runtime environment installed too.

Quote
What i'm understanding is that we wish to create a application that will allow a user to select a server on a large cell list and from here be able to select either join, join dm, update files.

Yeah, I was thinking something like... Well, I'll try to make a quick HTML example:

https://dl.dropbox.com/u/16677912/updater.html

Checking for player count can be done rather forwardly - I can post the php code we use for the server status page here.

We could check CRC on all non-optional files on connect, but a faster and much simpler solution is to skip the CRC and simply check filenames. It'll be up to module designers to then add a version name to their filename. This allows for alternative packages too, which may be useful for compatibility (like lower texture quality alternatives).

Generally, I don't think we should try to set up some centralized storage though - just more hassle. The only thing that should be stored centrally is the core XML file (that has all the servers and links to their specific file list XMLs).

I was thinking that clicking the "Files" button then directed you to a page similar to the packages list you had. If the connect fails due to mismatching or missing files, the user could be send here as well.

As they say: Keep it simple. If anything, more functionality can be added later.
« Last Edit: December 11, 2012, 05:50:40 AM by Zarathustra217 »

Mark Johansen

  • Developers
  • Dark Power
  • *
  • Posts: 1588
Re: Ravenloft downloader
« Reply #51 on: December 11, 2012, 03:32:53 PM »
How do we want to registrere the server? do we create some kind of webpage to handle it?

Soren / Zarathustra217

  • Lead director, main scripter, nutty geek, Community Council
  • Administrator
  • Dark Power
  • *
  • Posts: 12981
Re: Ravenloft downloader
« Reply #52 on: December 11, 2012, 04:30:53 PM »
How do we want to registrere the server? do we create some kind of webpage to handle it?

Question is if the need will be any larger than simply having people submit by email will suffice. At least, that could work as a start. Making a web page that helped people generate the XML files would be handy though, but I figure that should be very forward too.

Mark Johansen

  • Developers
  • Dark Power
  • *
  • Posts: 1588
Re: Ravenloft downloader
« Reply #53 on: December 11, 2012, 04:45:16 PM »
How do we want to registrere the server? do we create some kind of webpage to handle it?

Question is if the need will be any larger than simply having people submit by email will suffice. At least, that could work as a start. Making a web page that helped people generate the XML files would be handy though, but I figure that should be very forward too.

perhaps we should just create the program to create these xml files and then have the server administrators supply us with a link to their xml so we get the xml with the file information directly from the server

that way we force the serveradministrators to host the files if they want it part of the auto downloader, and if there's no xml path submitted the download manager will just not work for the server.

Soren / Zarathustra217

  • Lead director, main scripter, nutty geek, Community Council
  • Administrator
  • Dark Power
  • *
  • Posts: 12981
Re: Ravenloft downloader
« Reply #54 on: December 11, 2012, 05:45:40 PM »
Yeah, sort of what I had envisioned too :thumbup:

EberronBruce

  • Dark Power
  • ******
  • Posts: 1116
  • Legos
Re: Ravenloft downloader
« Reply #55 on: December 12, 2012, 02:05:05 AM »
Just to throw this in there.

http://www.nwnlist.com/

Someone created this website that has NWN2 server list. Maybe a website with a browser with the lists of the servers could be nice, particularly for those out there who are not very computer literate.

Mark Johansen

  • Developers
  • Dark Power
  • *
  • Posts: 1588
Re: Ravenloft downloader
« Reply #56 on: December 12, 2012, 02:23:14 AM »
Just to throw this in there.

http://www.nwnlist.com/

Someone created this website that has NWN2 server list. Maybe a website with a browser with the lists of the servers could be nice, particularly for those out there who are not very computer literate.

We are far from an "list" ón a website because we need to launch nwn directly with command parameters.

Also we are adding the option for automatically updating and maintaining the files needed to join the server.

Dark Locust

  • Outlander
  • **
  • Posts: 76
Re: Ravenloft downloader
« Reply #57 on: December 17, 2012, 12:43:06 AM »
Can you provide the details of how to build a launcher like this? I am most curious indeed

Juice

  • Totally banged the
  • Dark Lord
  • *****
  • Posts: 769
  • Lawful Good Does Not Mean Lawful Nice.
Re: Ravenloft downloader
« Reply #58 on: December 17, 2012, 12:52:31 AM »
Studied a little bit of java script bit i can honestly say im like this at the moment:


Little button i click and i gets all the ravenloft stuffs thanx plx.

P.S, Could you please include portraits, voices and all the other extras :D

Solomon Burke - Knight of the Dawn
Vasile Mikovich - Tigan Straight Outa Vallaki
Straven Crowe -  Hes somewhere around here.....

Mark Johansen

  • Developers
  • Dark Power
  • *
  • Posts: 1588
Re: Ravenloft downloader
« Reply #59 on: December 17, 2012, 12:27:55 PM »
Studied a little bit of java script bit i can honestly say im like this at the moment:


Little button i click and i gets all the ravenloft stuffs thanx plx.

P.S, Could you please include portraits, voices and all the other extras :D

There's no way I just witnessed you calling JAVA for JavaScript!...

I've made a private git repo for development, I'm considering if it should be open.

Juice

  • Totally banged the
  • Dark Lord
  • *****
  • Posts: 769
  • Lawful Good Does Not Mean Lawful Nice.
Re: Ravenloft downloader
« Reply #60 on: December 17, 2012, 11:58:42 PM »
Lul wut? I dont i dont even.... huh?

Solomon Burke - Knight of the Dawn
Vasile Mikovich - Tigan Straight Outa Vallaki
Straven Crowe -  Hes somewhere around here.....

Mark Johansen

  • Developers
  • Dark Power
  • *
  • Posts: 1588
Re: Ravenloft downloader
« Reply #61 on: December 18, 2012, 01:07:55 AM »
Lul wut? I dont i dont even.... huh?

;) there's a difference it's two opposite scripting languages :)

Juice

  • Totally banged the
  • Dark Lord
  • *****
  • Posts: 769
  • Lawful Good Does Not Mean Lawful Nice.
Re: Ravenloft downloader
« Reply #62 on: December 18, 2012, 01:11:45 AM »
Lul wut? I dont i dont even.... huh?

;) there's a difference it's two opposite scripting languages :)

Ah see this is how much i know about programming. More of a network person.

Solomon Burke - Knight of the Dawn
Vasile Mikovich - Tigan Straight Outa Vallaki
Straven Crowe -  Hes somewhere around here.....

Mark Johansen

  • Developers
  • Dark Power
  • *
  • Posts: 1588
Re: Ravenloft downloader
« Reply #63 on: December 18, 2012, 01:14:44 AM »
Hehe just don't call d-link for Cisco proprietary :)

DM Nocturne

  • Sanguis Noctis
  • Dark Power
  • ******
  • Posts: 3262
  • Vampires don't do dishes
Re: Ravenloft downloader
« Reply #64 on: December 18, 2012, 04:03:17 AM »
Javascript is really only used for web applets. It's clunky and awful. Java is nice, I like it.

ManticoreRO

  • Dark Lord
  • *****
  • Posts: 810
  • Real Barovian
Re: Ravenloft downloader
« Reply #65 on: December 18, 2012, 04:36:03 AM »
  Last I heard, Java was a standalone multi-platform programming language... or am I being an idiot?

 
Spoiler: show
Too much VB.NET.... too much VB.NET... I need to stop!  :banghead:
Elena Vasilovici - "Better die for something than live for naught"

dark_majico

  • Guest
Re: Ravenloft downloader
« Reply #66 on: December 18, 2012, 06:06:58 AM »
Studied a little bit of java script bit i can honestly say im like this at the moment:


Little button i click and i gets all the ravenloft stuffs thanx plx.

P.S, Could you please include portraits, voices and all the other extras :D

I s3cond thz give me shiny make nice button lol

Mark Johansen

  • Developers
  • Dark Power
  • *
  • Posts: 1588
Re: Ravenloft downloader
« Reply #67 on: December 18, 2012, 06:26:28 AM »
Studied a little bit of java script bit i can honestly say im like this at the moment:


Little button i click and i gets all the ravenloft stuffs thanx plx.

P.S, Could you please include portraits, voices and all the other extras :D

I s3cond thz give me shiny make nice button lol

why don't you just use the allready released download manager?

dark_majico

  • Guest
Re: Ravenloft downloader
« Reply #68 on: December 18, 2012, 06:45:17 AM »
I thought it wasn't finished, is it?

Mark Johansen

  • Developers
  • Dark Power
  • *
  • Posts: 1588
Re: Ravenloft downloader
« Reply #69 on: December 18, 2012, 07:16:26 AM »
It works fine, just can't see progression in the userinterface.

The Prophet of Misinformation

  • Kept you waiting, huh?
  • Developers
  • Dark Power
  • *
  • Posts: 1683
  • The Forever #Trigger
Re: Ravenloft downloader
« Reply #70 on: December 18, 2012, 10:30:27 AM »
C++.

There exists no alternative. Only C++.

C# is also acceptable. Because it is C.
"The brave man inattentive to his duty, is worth little more to his country than the coward who deserts in the hour of danger."
~Andrew Jackson


Bluebomber4evr

  • Head DM, Developer and Ravenloft Trivia Guru/Community Council
  • Administrator
  • Dark Power
  • *
  • Posts: 20622
    • http://www.nwnravenloft.com
Re: Ravenloft downloader
« Reply #71 on: December 18, 2012, 04:11:49 PM »
Yeah, Mark's download manager works, they're just discussing creating an alternative to Gamespy since they no longer support NWN.

Bluebomber4evr: The Justice, not you, since 2002

PsychedelicShroom

  • Undead Slayer
  • ***
  • Posts: 238
  • Crazy...
Re: Ravenloft downloader
« Reply #72 on: December 19, 2012, 06:18:14 AM »
trying it out. Looks good so far Mark.

APorg

  • Dark Power
  • ******
  • Posts: 5336
  • Fanatic Xenophile
Re: Ravenloft downloader
« Reply #73 on: December 21, 2012, 08:59:22 AM »
Using the Ravenloft downloader atm but the window seems to have frozen up. I'm hoping it's still downloading correctly but I guess I'll find out soon... :p
“Moral wounds have this peculiarity - they may be hidden, but they never close; always painful, always ready to bleed when touched, they remain fresh and open in the heart.”
― Alexandre Dumas, The Count of Monte Cristo

APorg

  • Dark Power
  • ******
  • Posts: 5336
  • Fanatic Xenophile
Re: Ravenloft downloader
« Reply #74 on: December 21, 2012, 09:12:13 AM »
I'd suggest an output log for debugging purposes... right now I'm flying blind...
“Moral wounds have this peculiarity - they may be hidden, but they never close; always painful, always ready to bleed when touched, they remain fresh and open in the heart.”
― Alexandre Dumas, The Count of Monte Cristo