Jump to content


Photo

Mplay.lib--d&d Online Games! Simple To Use!


  • Please log in to reply
394 replies to this topic

#21 Kit630

Kit630

    GMC Member

  • New Member
  • 156 posts

Posted 16 February 2006 - 07:45 AM

One great addition, though it would take some work, would be a simple save and load data from an account for RPG style games. By simple I mean a preset ammount of slots, with a space to enter the data you'd like saved (Such as x, y, and your own variables). So then you enter your account, and if it exists serverside then bam you load up. You could even have the option for local save and load or serverside save and load.
  • 0

#22 Josh @ Dreamland

Josh @ Dreamland

    GMC Member

  • New Member
  • 455 posts
  • Version:GM8

Posted 16 February 2006 - 10:45 AM

I'm a 14-year0old; not a miracle worker...

Unless you don't mean accross the internet. ^_^ But of coarse you do... I'll need a site that can host text files for the game to access and a DLL to read it... I'll find a way.

Consoft- I see your point. I can easily add that!

Will update soon, hopefully on new server. Does anyone know of a free one (no email address required?)
  • 0

#23 Kit630

Kit630

    GMC Member

  • New Member
  • 156 posts

Posted 17 February 2006 - 02:41 AM

I'm a 14-year0old; not a miracle worker...

Unless you don't mean accross the internet. :skull: But of coarse you do... I'll need a site that can host text files for the game to access and a DLL to read it... I'll find a way.

Consoft- I see your point. I can easily add that!

Will update soon, hopefully on new server. Does anyone know of a free one (no email address required?)

<{POST_SNAPBACK}>



Ok ok maybe something easier, some built in, editable chat lib options maybe? Heck, when I first started messing with mplay, chat threw me off a lot when I was new. It still does, hell. If that's easier, try that first :3

Some ideas, basic global chat, chat if player is within distance of sender, and private message to a certain player.
  • 0

#24 kake_fisk

kake_fisk

    GMC Member

  • New Member
  • 2391 posts
  • Version:GM7

Posted 17 February 2006 - 07:31 AM

Hmmm... if you are trying to test it on one computer, change the address in the connect_auto icon (in the create event of the first object) from whatever.com to mplay_ipaddress. Does Mark Overmar's example work on your computer?

<{POST_SNAPBACK}>


have ya registered?
  • 0

#25 Meanz

Meanz

    GMC Member

  • New Member
  • 157 posts

Posted 17 February 2006 - 08:12 PM

Nice is my answer to this...

u made a lib that even beginners in gml can use.
but u should add chat system to it .

other suggestions:
improve guides
and make a manual
  • 0

#26 Pokefab

Pokefab

    GMC Member

  • GMC Member
  • 232 posts

Posted 18 February 2006 - 02:53 AM

Cool; so there is no need for any SQL host here?
  • 0

#27 chrish

chrish

    GMC Member

  • New Member
  • 22 posts

Posted 18 February 2006 - 03:02 AM

does the lib work in gm 5.2 ?
  • 0

#28 Consoft

Consoft

    GMC Member

  • GMC Member
  • 449 posts

Posted 18 February 2006 - 05:35 AM

use 64digits :D
  • 0

#29 Josh @ Dreamland

Josh @ Dreamland

    GMC Member

  • New Member
  • 455 posts
  • Version:GM8

Posted 19 February 2006 - 08:37 PM

kake_fisk - of coarse! How else would I have tested it?

Means- There already is a manual... I'll work on the chat

Pokefab- No

chrish- I would assume... I'll find out.

Any other ideas? I am finding a host now...
  • 0

#30 Josh @ Dreamland

Josh @ Dreamland

    GMC Member

  • New Member
  • 455 posts
  • Version:GM8

Posted 19 February 2006 - 08:37 PM

kake_fisk - of coarse! How else would I have tested it?

Means- There already is a manual... I'll work on the chat

Pokefab- No

chrish- I would assume... I'll find out.

Any other ideas? I am finding a host now...
  • 0

#31 Josh @ Dreamland

Josh @ Dreamland

    GMC Member

  • New Member
  • 455 posts
  • Version:GM8

Posted 19 February 2006 - 08:37 PM

Sorry about the triple post; the server went out or something...

Edited by Josh @ Dreamland, 19 February 2006 - 11:27 PM.

  • 0

#32 Kit630

Kit630

    GMC Member

  • New Member
  • 156 posts

Posted 20 February 2006 - 11:31 PM

You know Josh I found another example that saves accounts in .ini format directly to the host's computer folder that the server is in. Unfortunately it uses SQL that I dont understand heheh. Thats sorta what I meant with my first post, server-side or local saving. Either saves to host or to local, drag'n'dropper's preference? :3 I dont know if theres any way to do that with just Mplay, it was just a nice thought.
  • 0

#33 MatrixQuare

MatrixQuare

    Matrix Square Entertainment Corp.

  • GMC Member
  • 772 posts
  • Version:Unknown

Posted 21 February 2006 - 12:05 AM

I'm sure the lib is great, but since it uses GM's built-in multiplayer functions, you're bound to meet two great obstacles:
1) Speed issues. GM's built in mplay functions aren't the fastest things around, so expect a lot of latency...
2) Routers. Loads of people nowadays have multiple computers, and thus a router (or 2, like myself). GM's mplay functions does not allow connecting through a firewall (this applies not only to the host, but to the client side as well) and almost all (if not all) routers have a built-in firewall.

For any serious project, using a .dll for multiplayer communications is a must :D.

Just my two cents. Have fun GMing :D.
  • 0

#34 CHFD_113

CHFD_113

    GMC Member

  • GMC Member
  • 187 posts
  • Version:Unknown

Posted 21 February 2006 - 03:55 PM

Hmm, if im not mistaken, werent mplay functions down because the GMsql server is shut down?

BTW: Looks pretty cool :D
Keep it up :thumbsup:
  • 0

#35 Josh @ Dreamland

Josh @ Dreamland

    GMC Member

  • New Member
  • 455 posts
  • Version:GM8

Posted 22 February 2006 - 10:19 AM

Kit30- I can do that. Expect the lib to be rehosted soon!
  • 0

#36 Josh @ Dreamland

Josh @ Dreamland

    GMC Member

  • New Member
  • 455 posts
  • Version:GM8

Posted 23 February 2006 - 10:36 PM

Mirrors for all links added.
  • 0

#37 Kit630

Kit630

    GMC Member

  • New Member
  • 156 posts

Posted 23 February 2006 - 11:25 PM

Kit30- I can do that. Expect the lib to be rehosted soon!

<{POST_SNAPBACK}>


I said SQL but I meant SOC, but either one works fine. I dont understand either one, to a point. XD Anyway no rush, although maybe a good lib addition, just a suggestion.
  • 0

#38 Josh @ Dreamland

Josh @ Dreamland

    GMC Member

  • New Member
  • 455 posts
  • Version:GM8

Posted 24 February 2006 - 12:03 AM

Okay. Bad news- I can't make it into one function. So, I am releasing a chat demo. Sorry. ;) But it'll be easy to red, for the most part. :mellow:
  • 0

#39 Kit630

Kit630

    GMC Member

  • New Member
  • 156 posts

Posted 24 February 2006 - 05:26 AM

Okay. Bad news- I can't make it into one function. So, I am releasing a chat demo. Sorry. ;) But it'll be easy to red, for the most part. :mellow:

<{POST_SNAPBACK}>


Hey that'd take some kind of impossible miracle to do it all at once, don't worry about that. The fact that you are making a tutorial in its own right is awesome. Thanks!
  • 0

#40 Josh @ Dreamland

Josh @ Dreamland

    GMC Member

  • New Member
  • 455 posts
  • Version:GM8

Posted 27 February 2006 - 10:17 AM

Chat example added!!!
It works great.
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users