You can download the complete OINC API for use with Multimedia Fusion 2 or Visual C++ right here.
Printable View
You can download the complete OINC API for use with Multimedia Fusion 2 or Visual C++ right here.
Fixed a problem with the stand-alone server.
NEW -- October 7th -- 2008
This connects to DarkKillers python public host.
So you may need to change that if its not up.
NOTE - This uses OINC release 5 -- So you MUST be SURE you have the very latest version.
Just a simple chat room
Great example, Jeff!
How change OINC_Server.exe id 6121 arrive id 6000, how modification OINC_Server.exe arrive more characteristic?
如何更改 OINC_Server.exe id 6121 到 id 6000 ,怎样修改 OINC_Server.exe 到更多特性?
I would be grateful If the server exe had a commandline to tell it to run on a different port. This would be usefull for using as a general service too.
It does- just add the port as a command line argument-
OINC_Server 6122
Having trouble hosting on a different port.
Command line argument didn't work for me (it SAYS it's hosting on a different port, but I can't connect using a different port...)
Oh dear. I'll upload a new build tonight- it has a preliminary effort at a web interface, too.
Web interface? What is that, it sounds interesting?Quote:
Originally Posted by Jamie
It's (or it's going to be) an interface allowing you to control the server from anywhere using a standard web browser. It currently can list the users connected to the server, but that's about it. I'll add more in future builds.
So, OINC is like a new version of Moo but much more powerful, right? Awesome.
Also, is anyone else noticing the weird "farmyard noises" theme here? First we had MOO, now we have OINC. What's next? KLUK? BAAH? QUAK?
n__n
Raylax, I said the same thing on another post.
That is something positive :)
Darn. I thought it was a good joke, too x)Quote:
Originally Posted by dragonguy
It was intentional!
It's not showing up in my list after install. I have non-dev MMF2 247.
I don't know why, sorry.
I just got Build 248 and it shows up! YAY! Now if I could get it to show the Vectorial Shape Object...
Where can I find the source for the server? Or do I have to write my own if I want to make any adjustments?
Yeah, I made a very simple test some weeks ago. Not sure if it works, though:
PHP Code:#pragma comment(lib,"OINC.lib")
#include <OINC.h>
int main() {
OServer server;
server.Host();
OINC_Pause(-1);
return 0;
}
PHP Code:#include "OINC.h"
#include <stdio.h>
void main(int argc,char * argv[])
{
int Port=argc>1?atoi(argv[1]):6121;
int PortWeb=argc>2?atoi(argv[2]):6122;
printf("Hosting on port %i (web interface on port %i) using library version 0.1.1",Port,PortWeb);
OServer Server;
Server.Host(Port);
Server.HostWebInterface(PortWeb);
OINC_Pause(-1);
}
Sorry for the lack of updates recently.
The new build of OINC is currently undergoing some private testing before it will be released for public testing here. This is the changelog for the C++ library (directly affecting the extension):
All of this, and probably more, will make it's way into Release 6 of the OINC API.Code:// 25/11/08 - [#0014] Optimised sending and receiving packets for speed in OClient and OServer
// 25/11/08 - [#0013] OINC crashed on closing the application
// 16/11/08 - [#0012] OClient can now retrieve it's own ID
// 09/11/08 - [#0011] OServer sent packets to the wrong clients when a client changed it's name
// 09/11/08 - [#0010] OClient can now loop the list of channels on the server, and create hidden channels
// 09/11/08 - [#0009] Updated the protocol in OClient and OServer to Alpha 4
// 09/11/08 - [#0008] OClient crashed when looping through the channels
// 31/10/08 - [#0007] Fixed a bug in OServer which would incorrectly detect the protocol version
// 31/10/08 - [#0006] Added support in OServer for the in-development flash client
// 27/10/08 - [#0005] Changed all ports from int to unsigned short
// 23/10/08 - [#0004] Added a Tag to OServer
// 06/10/08 - [#0003] Upgraded the protocol in OClient and OServer to Alpha 3
// 06/10/08 - [#0002] Added HookPeerChangeName to OClient
// 06/10/08 - [#0001] Clients are now able to change their names with OServer
What is the C++ function to check for recieved messages?(like recv() in winsock)
Never mind, just checked the OINC wiki and found it :)
...Although I don't quite understand how it works. DO you know where I can find some sample code?
Fantastic list of coming updates. Oinc is getting better by the build. I look forward to it!
What does it mean to blast text, anyway?
There are 2 ways to send text. "Send Test" sends the text on a UTP protocol. Sent text is guaranteed to reach the other players and in the order it is sent. "Blast Test" sends the text on a UDP protocol. Blasted text will probably reach the other players, but it is not guaranteed. The order of the blasted texts might also change.Quote:
Originally Posted by _LB
You might be wondering "Why blast text then?" The reason is that blasted text is MUCH faster. Simple as that. So when making your online games, you need to decide what is more important for specific sent information - speed or guaranteed arrival.
TCP, not UTP.
Ah. Sorry. Stupid brain. :(Quote:
Originally Posted by Looki
sorry,i know what I'm about to say is a real stupid question but....
i have downlaoded the object from the link on the first post but cannot seem to get it to appear on the "insert new object" list.could soemone tell me how to get it onto the list.Thanks
oh sorry,i just saw the install file,i cant believe i made such a stupid mistake.