Jump to content


Photo

My Mplay Dll


  • Please log in to reply
21 replies to this topic

#1 Tratser

Tratser

    GMC Member

  • New Member
  • 69 posts

Posted 01 August 2008 - 10:11 AM

I had to update this post, as it was added on http://www.gmtoolbox.com/!

I'm not claiming it to be better than 39DLL nowadays, but in some ways it is. And I'm always using this DLL for any project. As it have much better file IO functions than GM and a little better than 39DLL I think.

Download here:
The DLL and scripts

MOG example (can be extended into a MORPG quite easily):
Download chat example

Download my file handling tutorial: here

If you're familiar with 39dll you will understand how to use this to the same extent.
But this is only for TCP/IP communication.

I have added a set of quite advanced functions:
-mp_broadcast(msg size, player id, if it should add the player id to the message)
Sends the data from the selected buffer, beginning from: size_of_buffer - size_of_msg (argument0).
This is very useful for the server when it recieves an event by the player that has been verified and can be sent to all other players but the player entered into the function.

-mp_brset(boolean number)
1: if mp_broadcast should send the bytes between: size of buffer - msg_size to msg_size.
0: if it should use the position of the buffer - msg_size (useful for sending from any position of the buffer)

-mp_addplayer and mp_removeplayer (you must use these to add/remove the players sockets to the list that the mp_broadcast).

You might think these are unnecessary complexity, but you will get used to them.
And ignore the posts below, I just posted some unnecessary claims, it's up to you to decide what DLL to use...

Edited by Tratser, 21 June 2009 - 05:16 PM.

  • 0

#2 them4n!ac

them4n!ac

    GMC Member

  • New Member
  • 1170 posts

Posted 01 August 2008 - 10:29 AM

OpenGL and software rendering???
OpenGL uses hardware for everything that is supported on that graphics card
there's no "converting" if you need to use Direct3D instead of OpenGL
learn it, know it, recode it ::lmao::

you can sort std::list with std::sort
it can sort everything using a custom function
  • 0
what do you xpect to see here? another signature?
Cloud texture generator / renderer

#3 Tratser

Tratser

    GMC Member

  • New Member
  • 69 posts

Posted 01 August 2008 - 10:34 AM

"OpenGL uses hardware for everything" hmm.. are you sure?
Because I think I have no damn graphics card in my comp.. hehe!

"learn it, know it, recode it" I know that... I know there is effort behind it, as I only know OpenGL..

& I wont use std functions, as I will use my own ways of storing the list of objs..
  • 0

#4 uuf6429

uuf6429

    Covac Software

  • New Member
  • 2522 posts
  • Version:Unknown

Posted 01 August 2008 - 11:46 AM

If you have a monitor, then you must have a graphics card.
Sometimes it is embedded (like my ECC ASUS Crosshair motherboard) but it is always there.
  • 0

#5 AxE2

AxE2

    AxE not AxE2 plz

  • New Member
  • 227 posts

Posted 06 August 2008 - 06:21 PM

If you have a monitor, then you must have a graphics card.
Sometimes it is embedded (like my ECC ASUS Crosshair motherboard) but it is always there.

Not quite right, my comp has issues with graphic card before, it didn't recognized it so screen was refreshing much slower, I couldn't play any games that don't use software graphics (including game maker's games) and games with software lagged.

That means, processor have to render graphics alone when there's no g card, making things much slower.
So, card is a must anyway.
  • 0

Well, "I" version isn't released yet! Current version is 4.0


Canceled.

#6 sithlord6

sithlord6

    GMC Member

  • New Member
  • 193 posts

Posted 06 August 2008 - 07:19 PM

Then what was your monitor attached to?
  • 0

#7 AxE2

AxE2

    AxE not AxE2 plz

  • New Member
  • 227 posts

Posted 06 August 2008 - 07:31 PM

Trust me, I really don't know.
But most likely is processor.
  • 0

Well, "I" version isn't released yet! Current version is 4.0


Canceled.

#8 Postality

Postality

    GMC Member

  • New Member
  • 244 posts

Posted 07 August 2008 - 02:18 AM

I think a few small examples of these in action would be beneficial to most people.

any chance of getting some examples made?

seems like a pretty good DLL (the online one).

I'm not doing anything 3D, but if I do I will try the other one as well.

Edited by Postality, 07 August 2008 - 04:17 AM.

  • 0

#9 Dr. Watz0n

Dr. Watz0n

    The Best Doctor

  • New Member
  • 351 posts

Posted 07 August 2008 - 02:45 AM

You either have a dedicated graphics card, aka a card that plugs into a PCI port (most often), or a integrated graphics card, one that is embedded onto the motherboard. I don't think that there is such a thing as using the processor to process graphics, but I could be wrong.
  • 0

#10 Tratser

Tratser

    GMC Member

  • New Member
  • 69 posts

Posted 07 August 2008 - 12:16 PM

I have made a chat example.. I will post it, & probably already have when you are reading this.

This is my view on the graphics-card issue: software-rendering=using the processor for rendering. So Im quite sure there are some computers that have no graphics card (just a special software driver for the processor).
& there actually was a time before the idea of separating rendering routines on another processor.
  • 0

#11 Rexhunter99

Rexhunter99

    GMC Member

  • GMC Member
  • 924 posts
  • Version:GM:Studio

Posted 10 August 2008 - 12:43 AM

You either have a dedicated graphics card, aka a card that plugs into a PCI port (most often), or a integrated graphics card, one that is embedded onto the motherboard. I don't think that there is such a thing as using the processor to process graphics, but I could be wrong.

AGP cards are older than PCI cards, mostly less modern PC's use AGP, mine uses AGP 8x.
No software? If you play a game in software rendering or software sound then its being emulated by the CPU, I know this because most games around the 90's used Software rendering, look up Jurassic Park Trespasser and if you can play the demo, it will show you Software.
Software sound is basically the same thing as software rendering, generally you should avoid it, it steals precious memory and saps the speed of the CPU, its better to use the Sound Card.

All motherboards have a built in Chipset, the brand varies but I know that ASUS motherboards generally use SIS (Silicon Integrated Systems) which has a GFX and Sound portion, generally small eg; 32MB graphics. SIG cards aren't the best btw.

If you can see an image upon your monitor then you have some sort of GFX card, if you can hear sounds from the PC or speakers then you have a sound card.
It doesn't hurt to look inside your PC, and then look up the various components you know.

Also Generally Software mode has the pixely effect, where as Hardware mode for games usually use a filtering process to smooth texels. A game that has this Pixely effect is most likely rendering everything through the CPU and not a GPU.
  • 0

Posted Image EpicZen, Games, Tutorials and more!


#12 KaguyaKiller

KaguyaKiller

    GMC Member

  • New Member
  • 91 posts

Posted 10 August 2008 - 01:27 AM

His Graphics card is onboard, newer onboard cards (after fx4 i think) have ogl enabled on them... because OGL IS HARDWARE, try running a freaking OGL 2.1 on a OGL1.1 card, you will have problems.
OGL is most likely to be used than D3D Because OGL is OPEN SOURCE, making it easier to them to put on ONBOARD Cards

~~Johnny (new nickname)
EDIT: I would love if i could really code on it.... please, leave me a GM6 Example with CODES so that i can make my game, please.

Edited by KaguyaKiller, 10 August 2008 - 06:56 PM.

  • 0

#13 z4000

z4000

    GMC Member

  • New Member
  • 200 posts

Posted 11 August 2008 - 01:46 AM

how is this "better then 39dll"

is it any faster?
  • 0

#14 ChIkEn AtE mY dOnUtS

ChIkEn AtE mY dOnUtS

    Pwner of barcodes

  • GMC Member
  • 2410 posts

Posted 17 August 2008 - 01:55 AM

how is this "better then 39dll"

is it any faster?


The function names are shorter, duh. It obviously makes it better than 39dll, which has over 1,000 replies and countless games using it.
  • 0
I've moved away from GM. If you want to contact me, feel free to email ryanwebdev@gmail.com.

Thanks,
Ryan.

#15 Doogie_Forever

Doogie_Forever

    Dog Warrior

  • GMC Member
  • 824 posts
  • Version:GM:Studio

Posted 17 August 2008 - 06:58 AM

how is this "better then 39dll"

is it any faster?


The function names are shorter, duh. It obviously makes it better than 39dll, which has over 1,000 replies and countless games using it.


lol for sure!

Also the 39dll may not be worked on anymore, but its open-source, so anyone can modify it to their needs. Another thing about the 39dll is everyone is knowledgable in it, no one knows anything about your dll and there are barely any reasons to switch when the 39dll is supported much more.
  • 0

#16 painkiller94

painkiller94

    GMC Member

  • New Member
  • 276 posts

Posted 22 August 2008 - 06:13 AM

Man i think you made this topic to throw the 39.dll offline :P
seriously,why mention that it's better and keep repeating it all the time
REVENGE ;)
  • 0

#17 TheMagicNumber

TheMagicNumber

    GMC Member

  • GMC Member
  • 5247 posts
  • Version:Unknown

Posted 27 August 2008 - 01:50 PM

How is it better?
-It is in-the-making!
-Faster (looking at the 39DLL source compared to my, Ive not made any experiments).
-Better file-reading/writing (look at the file handling tutorial).
-You select a buffer & clears it by the same function.
-Shorter names of functions.

-So?
-It's faster and you never tested...right.
-That's not the point of the DLL, just an ability.
-I can make a script that calls both of those functions, can't I?
-I think you can change the names...

Stop saying it's better cause if it is (Maybe) then you'd have 101 pages of posts. Try getting more things for it like an HTTP tutorial, or more examples.
  • 0

#18 Overman

Overman

    GMC Member

  • Banned Users
  • 884 posts

Posted 29 August 2008 - 12:57 AM

39dll has better examples, tutorials, doesn't actually freeze whenever it tries to connect, and was provided by someone with more than 36 posts.

I think 39dll is better.

#19 Southman

Southman

    I simply am not here

  • GMC Member
  • 1662 posts
  • Version:GM:Studio

Posted 03 September 2008 - 10:05 PM

39dll has better examples, tutorials, doesn't actually freeze whenever it tries to connect, and was provided by someone with more than 36 posts.

I think 39dll is better.

so? who cares if he has 36 posts?
There is one person with almost 600 posts and he is as dumb as a doornail
  • 0

#20 Overman

Overman

    GMC Member

  • Banned Users
  • 884 posts

Posted 05 September 2008 - 02:20 AM

39dll has better examples, tutorials, doesn't actually freeze whenever it tries to connect, and was provided by someone with more than 36 posts.

I think 39dll is better.

so? who cares if he has 36 posts?
There is one person with almost 600 posts and he is as dumb as a doornail

Of course it doesn't matter. But I'd trust someone who's made solid contributions more than someone who's barely made any posts.

Besides, there are other items on the list of why this dll stinks.

#21 TheMagicNumber

TheMagicNumber

    GMC Member

  • GMC Member
  • 5247 posts
  • Version:Unknown

Posted 05 September 2008 - 02:53 AM

I'd like to say that this DLL can be a waste of time if it is going to be used for massive games, Mplay (DirectPlay) is deprecated.

http://en.wikipedia....#Current_status
  • 0

#22 zezimaimp

zezimaimp

    GMC Member

  • GMC Member
  • 552 posts

Posted 07 December 2009 - 02:07 AM

Sorry for re opening this topic, but honestly, the person that recommended this to me is worthless just like this DLL!

There are a lot of things I could say about it, but I will only list a few:

This DLL runs very slowly, beginners will have a hard time learning it because there are no tutorials that are not a load of bull (but somehow I did learn it), it is not good for anything but common multiplayer games and should not be used for an mmo, and it will still run slowly!

In all, please, quit recommending this to people!
  • 0
<p align=center><a target=_blank href=http://www.nodiatis.com/personality.htm><img border=0 src=http://www.nodiatis.com/pub/7.jpg></a></p>