Please login or register.

Login with username, password and session length
Advanced search  

News:

For WME related articles and tutorials visit WME Resource Center.

Author Topic: Send/Recive data from a server  (Read 5015 times)

0 Members and 1 Guest are viewing this topic.

lacosaweb

  • Regular poster
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 116
    • View Profile
Send/Recive data from a server
« on: January 23, 2008, 12:37:59 PM »

Hi I want to make that my game send the score to a internet server, is it possible?

It will be interesting too that in game, the user can see if any new version or patch is aviable. This would be connecting to a internet server to ask it.

Have Wintermute any networking methods?

Or I will need some plugin to do that? If this is the case, what plugin?
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Send/Recive data from a server
« Reply #1 on: January 25, 2008, 04:26:56 PM »

WME doesn't have any built-in networking functionality. I know some people wrote their own networking plugins, but none of them is publicly available, as far as I'm aware of.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Archer

  • Captain of the NX-01
  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 4
    • View Profile
    • Star Trek: Origins
Re: Send/Recive data from a server
« Reply #2 on: October 26, 2009, 11:16:43 AM »

Hi there!

Sorry for grave digging, but has Wintermute built-in networking functionality now? If not, is it planed?

Thanks in advance!

Greetings,
Archer
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Send/Recive data from a server
« Reply #3 on: October 26, 2009, 11:41:12 AM »

No, nothing has changed since then. And no, there are no immediate plans.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Archer

  • Captain of the NX-01
  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 4
    • View Profile
    • Star Trek: Origins
Re: Send/Recive data from a server
« Reply #4 on: October 26, 2009, 01:09:41 PM »

Ok, thanks for your answer. Would be a nice TODO. :-)
Logged

Darky

  • Supporter
  • Regular poster
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 109
    • View Profile
    • Spreadcamp
Re: Send/Recive data from a server
« Reply #5 on: October 26, 2009, 02:21:44 PM »

Ok, thanks for your answer. Would be a nice TODO. :-)

Well, I doubt that's gonna happen considering this is an Adventure Toolkit and not a MMO solution.
However, as Mnemonic stressed out in his post from last year, some people have written their own networking plugins. If you would really need that feature, you could consider paying a skilled programmer to do the same job for you. Also, WME now is Open Source and you probably could program even better network support from that into it.
Logged

Archer

  • Captain of the NX-01
  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 4
    • View Profile
    • Star Trek: Origins
Re: Send/Recive data from a server
« Reply #6 on: October 26, 2009, 02:46:05 PM »

Hm, ok, I should have a look at the plugin development (which language?). We would need just simple network functions. Maybe this could really be done be us. Or, it would be cool if such private plugins could be made available. Any idea whom we could ask?
Logged

Spellbreaker

  • Supporter
  • Frequent poster
  • *
  • Karma: 4
  • Offline Offline
  • Gender: Male
  • Posts: 376
    • View Profile
    • Apeiron Studios
Re: Send/Recive data from a server
« Reply #7 on: October 26, 2009, 08:55:29 PM »

I would recommend you use C++. Then you could use powerful libraries like raknet for Networking development. If you only need simple networking functions, you can give SDL / SDL_net a try, it's very easy to learn and use.

http://www.libsdl.org for SDL
http://www.libsdl.org/projects/SDL_net/ for SDL_net

http://www.jenkinssoftware.com/ for RakNet

greets,

Spellbreaker
Logged

Archer

  • Captain of the NX-01
  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 4
    • View Profile
    • Star Trek: Origins
Re: Send/Recive data from a server
« Reply #8 on: October 26, 2009, 11:41:45 PM »

Thanks a lot for your answer, Spellbreaker! And now that I found the "Plugin development" chapter in the local installed doc (I looked for infos for plugin development in the wiki and so on) things get more clear to me.

Again, thanks a lot!
Logged
 

Page created in 0.049 seconds with 20 queries.