Actionscript 3 :: Using Only RTMFP For Random Matching (Adobe Cirrus)

Mar 8, 2012

I'm trying to come up with the best way to do some random match making in a simple game.While experimenting with netStreams using Adobe Cirrus, I can easily set up direct connections, send data, text, video, sound all using Cirrus which is great. I find it pretty easy to get a simple P2P connection going, and it works just like i need it to.But I really want to implement a random matchmaking feature using ONLY cirrus so everything is though p2p...How would I go about grabbing a random peer in the same group...that's not in a direct connection with someone else already?

-I was thinking maybe I could use object replication...and when someone connects to the GroupSpecifier, I could then push another object into this shared array that has the local peerID and their status. then i could just alter the array when theyre in a game. But then im worried there is no guarantee that their entry will get removed if the person just closes the web window.

-I also thought about just doing a "post" to the group containing the nearID, and other peers can get the post...and those that aren't in a game will try and direct connect back. Then that side will then connect to them. so then theyll both be in direct connections with each other. But then i feel like if potentially 100s of people that are "available"...get the post...then they all try and connect to one person, then it could cause problems.

-Also, I thought about just doing sendToNearest...but wouldnt that not be the best way to match people...because you can only have so many neighbors i think... if there were 1000 people in the group. youll only be able to connect to a few peers actually considered your neighbor right? Then basically you could end up just matching up with the same 5-10 people or however are technically considered a neighbor.

View 1 Replies


Similar Posts:


Flash :: RTMFP Successful Connection Ratio Or Percentage, AKA Adobe Cirrus, Stratus, LCCS

Oct 29, 2010

I've heard a couple of people say only 50% succeed, but that sounds suspiciously low and the people saying that are probably all repeating the same rumor. My own very limited tests with various friends & colleagues work 100% of the time, as long as they have Flash Player 10, but that's obviously not right either.

Do you have some data from a largish test or deployment of home/corporate users?

View 4 Replies

Adobe Cirrus In Flash App Without Flex?

Apr 1, 2012

Now I am using Adobe Cirrus in my Flex app, but I think that Flex is too complicated for such simple application.

View 1 Replies

Actionscript 3 :: OnPeerConnect Method Using Adobe Cirrus Does Not Get Triggered?

Aug 18, 2011

I have a NetGroup established using Adobe Cirrus. All clients can connect fine and see each other, since I receive NetGroup.Neighbor. Connect and NetGroup.MulticastStream.PublishNotify events when a new stream is being published.However, if a user subscribes to a published stream, the publisher does not receive a notification (no NetStatusEvent and no callback to the onPeerConnect method). The subscriber receives the stream without problems, though.All other questions about the non working onPeerConnect method were related to NetStream.DIRECT_CONNECTIONS, but in my case, I am using a NetGroup.

What is wrong here? Only the relevant parts, a few things have been stripped (e.g. connect the netGroup only when the NetConnection has been established etc.)

var groupSpecifier:GroupSpecifier = new GroupSpecifier("group");
groupSpecifier.multicastEnabled = true;
groupSpecifier.postingEnabled = true;[code].....

View 1 Replies

Flash - Adobe Cirrus: Deliver A Chunk Of Data To A Single Peer With Known Id?

Jun 17, 2011

Adobe Cirrus offers a number of options for transferring data from peer to peer: Directed Routing, Object Replication and Multicasting to name a few.I just want to send the data to one specific peer, its fine for other peers to 'see' it in transit.

My experiments with Directed Routing (the obvious answer) have not gone well. all the sendto... methods fail, while NetGroup.post works fine on the same netgroup. I am concerned about using direct connections because of reliability.

Has anyone successfully implemented a one to one messaging strategy (not one to many), which can still message between non-connected peers - (Directed Routing) or solved this problem successfully?

I am considering various workarounds, but I am quite perplexed that these NetGroup methods: sendToNearest, sendToNeighbour & sendToAllNeighbours just seem to fail, for no apparent reason.

View 2 Replies

Flash - Adobe Cirrus (Stratus) Doesn't Work If User Have Local Network

Aug 20, 2011

I am developing flash p2p chat. It works fine on my friends' computers (they can chat each other), but not on mine. The problem is that I have local network at home, and I think that Flash Player tries to make p2p requests to peers inside my local network.Can I check if user have local network in AS3 and up the level of network to the WWW?

View 1 Replies

Actionscript 3 :: What Encryption Technology Does Adobe RTMFP Use

Mar 18, 2011

the only information i found online is that RTMFP uses 128-bit cypher. Does anyone know what exact encryption technology is used?

View 1 Replies

Flex :: Adobe - Connect 2 Known Users In App Together Using Rtmfp?

Feb 8, 2012

How would you be able to connect 2 users ( that are known and have a user account on my site) in a flex app together using rtmfp?I have a simple flex game app where I want 2 users to be connected to each other. There is a simple SQL database in the background for storing the users, but after this I'm unable to figure out how I would connect the 2 users.tmfp generates a unique ID that you can use to connect 2 users together?Im looking for a good tutorial info resource or an example app that demonstates connecting 2 users, or just an explanation

View 1 Replies

ActionScript 2.0 :: Generating Random Numbers From 1-20 Matching Every Number Once?

Mar 25, 2007

So basically I am making a round robin function, for someone, basically a round robin, matches every player with every player, im having alot of trouble with this, its quite difficult heres an example of the site i've been copying off (his matches are preset though)

[URL]

My current code generates about 10 "undefineds" each launch I do My code gets the input entered (which is the amount of players) It generates how many players based on that input my graph I have is 10 columns long, and 19 rows down I need to match player

1, vs 2 - 20,
2 vs 3 - 20,
3 vs 4 - 20,
4 vs 5 - 20

[code].....

View 10 Replies

Flash :: Rtmfp Open Source Implementation Or FMS With Rtmfp Hosting?

Oct 28, 2010

Is there an open source implementation of rtmfp?Is there FMS hosting that support rtmfp?

View 2 Replies

Actionscript 3 :: Flash P2p Possible Without Cirrus / LCCS?

Nov 24, 2010

Is it true that Flash p2p cannot be done without Cirrus/LiveCycle Collaboration Service? I've seen a similar question on SO and it is claimed there that it cannot be done. So, why not? Also, I've seen comrade back2dos had some thoughts on the problem, but he was downvoted

View 4 Replies

Flash - How To Implement Own Cirrus (previously Named Stratus) Server

Apr 17, 2011

I am interesting in creating a P2P application using Cirrus [URL]. The examples given create a connection with servers managed by Adobe. I'd like to do this on my Node.js server, how should I implement this? Or does Adobe force developers that use Cirrus to buy Flash Media Servers?

View 1 Replies

Flex :: AIR/Flash Player Connect To Another Machine Without Cirrus/stratus?

Sep 1, 2011

I dont want to connect to a server over socket. I would like to know if it is possible to connect from one AIR app on machine A to connect to another AIR app on machine B via sockets without cirrus. I'm not asking for someone else to do my work, I couldnt find any documentation or possibility of the above thing. My conclusion now is that it is not possible, but I would just like it to be verified by other people(experts).

View 2 Replies

ActionScript 2.0 :: Adobe CS4: Uploading Random Image Generator To Remote Site?

Nov 5, 2009

i have a short swf that has two movie clips that act as holders for thumbnails to get loaded in a random fashion. it works fine when i test my movie, and even when i export the swf. the images load in the placeholder - no problems.when i upload the swf to the website, the thumbnails dont load and the holders stay blank.i experimented locally and moved my .swf file into a folder that didn't contain a folder containing all the thumbnails. this gave the same result as the website (blank holders).when i move the folder containing all the images into this new folder with the swf, the images load in the movie and no blank holders are seen.

easy solution i though, i upload the folder to the website in the same directory as the swf file. did that but the images still dont load. is it that the swf is attempting to read the folder that would be on the local drive and not go for the copy in the same containing folder on the remote area?here is my code,

Code:
MovieClip.prototype.setRandom = function() {
HIGH = 100;

[code].....

View 5 Replies

Media Server :: Possible To Use Video Phone (Cirrus Sample Application) With FMS4?

Jun 24, 2011

is it possible to use Video Phone (Cirrus Sample Application) with FMS4?It seems to be possible because in Video Phone source can be found these text: rtmfp server address (Adobe Cirrus or FMS)[Bindable] private var connectUrl:String [code]

View 6 Replies

Media Server :: Put An RTMFP App In FMS?

Jan 5, 2012

I built a simple rtmfp app using flash builder (I tested using the cirrus dev key to make sure it connects) but I cant seem to use the rtmfp service on my fms development server. Ive modified the index.html (in the webroot dir on the fms computer) to provide a link to a folder containing the html file and the swf file generated from my flash builder project. When I type in "rtmfp://localhost/" on my app I receive a "NetConnection.Connect.Failed" or a "NetConnection.Connect.Rejected" (if i do it directly on the fms computer).

Do I need to place my app in the "applications" directory to run properly? Ive checed the adaptor.xml file and everthing seems correct, I even added my public ip to the host port field, is there some confguration I missed?

Im not sure what Im doing wrong, Ive double checked my router and the fms computer's firewall thorugh a port scan and found the ports to be allowing traffic through.

View 1 Replies

ActionScript 3.0 :: RTMFP Between Two Different SWFs?

Apr 6, 2011

I cannot find this anywhere, but is it possible to use RTMFP between two different SWFs?What I'd like to do is press a button on SWF-A and have a message appear on SWF-B. The two SWFs are completely different apps.I get that this is trivial if you are using a single SWF, let's say hosted on a web-page, but I need to do this with two stand-alone SWFs.If it is possible, what is the magic to hook them together? I was assuming it was to use the same GroupSpecifier and MulticastAddress, but that doesn't seem to be working.

View 6 Replies

ActionScript 3.0 :: Matching GPS Points To Map?

Mar 24, 2009

I have a list of GPS points I would like to plot onto a map. But how should I go about matching the points to the map?

I could imagine that I would need some control points so I can calculate the scale and rotation of the map, but I'm really not sure.

View 4 Replies

ActionScript 3.0 :: E4X - Get Matching Nodes From A Given XML?

Nov 2, 2009

I am using e4x to get matching nodes from a given XML, It seems to work fine except one case.

[Code]...

View 2 Replies

ActionScript 3.0 :: Matching An Array To XML

Nov 30, 2009

I'm developing a flash application, and one of the things it has to do is take some user input, compare it to a number of possible matches in an XML file, and return the closest match. At the moment, I'm putting the user input into an array, looping through it, then looping through the XML and keeping track of how many nodes match in a separate array.That all sounds very confusing so here's an example:

The XML is structured like this:

[code]...

View 2 Replies

Media Server :: Connection To FMS On Rtmfp?

Oct 18, 2011

I have established Flash Media Server 4.5  on the house computer with win7 a router wasn't present, the cord goes on a straight line to the computer, at me allocated IP. I want that it was possible to address to the server from the Internet. At first video was started only on a local computer, then after change resolved ип in "adaptor.xml" the starting page of the server has started to open with other computers and examples work, video plays. But to incorporate on "rtmfp" leaves only from that computer on which there is a server (under the test on http://cc.rtmfp.net/all green points and one more too with all green points) leaves that computers can incorporate to the server on "rtmp" as the example of the server with video translation works well, but on "rtmfp" connects only those at whom green points.

View 2 Replies

Media Server :: Cannot Connect To FMS 4 Using Rtmfp

Jan 2, 2012

I was try to connect my FMS 4 development server (Redhat linux OS) in live which was not connected, but the same setup in local windows is connected.I do know whats the exact problem. Also i will stop the iptables in linux but no use.

View 6 Replies

Flash - Silverlight P2P App (In Browser) - Get RTMFP?

Apr 22, 2010

Ok so from all my research I'm fairly positive P2P is not possible in Silverlight 4 (in browser). Flash can do P2P using Stratus/RTMFP which I believe uses UDP hole punching and a Stratus server to initialize the connection. Is there any plans for Microsoft to add some kind of p2p rendezvous service in the future? Can we get a definitive yes/no on whether or not p2p is possible in SL4.

View 2 Replies

Flash :: P2P Voice Chat FP 10 Rtmfp?

Nov 3, 2010

I am using Adobe Citrus and Air. The goal is to make a voice chat application with low latency. I take the sound samples that I get from the Microphone SAMPLE_DATA_EVENT encode them in using Native Process and speexenc.exe.

The question with method should I use for the sending of the samples. I tried object repication and the latency is to big.

View 1 Replies

Flash - Difference Between RTMFP And BitTorrent?

Nov 27, 2010

What can BitTorrent do that RTMFP cannot? And what can RTMFP do that BitTorrent cannot?

View 1 Replies

Flash :: RTMFP And Firewalls/routers?

Mar 16, 2011

I would like to use Flash's RTMFP peer protocol but I am wondering if its worth developing for a mainstream audience? From what I understand it uses UDP and unless firewalls/routers of the users are configured correctly it becomes useless.

View 4 Replies

Video :: Pausing Streaming RTMFP?

Jun 29, 2011

I have an app that streams in video live, and archives it as it goes along.My question is this: What happens when I hit, or allow, 'pause' on a live stream, and then 'play'? Obviously the person on the other end streaming continues to do so, and my application continues to archive it, but what about the person receiving the stream?

Do they resume play from the archived copy, or do they seek ahead to the current point in the stream, missing everything they were paused for?

View 2 Replies

Flash :: Make A Webservice In RTMFP?

Oct 13, 2011

host in my webpage an swf, and through Cirrus I could establish a connection between two different users, that worked like a charm, BUT, I had to pass through msn the peer ID in order to establish that connection.I know that this part must be resolved by a webservice.. but, how can I make one, and, more important, how does it work?

View 1 Replies

Flex :: Highlight Matching Text?

Aug 14, 2010

I have flex 4 and writing my own autocomplete component (based on the popupanchor) to search for different books. In the dropdown box, how can I highlight the text that matches? For instance, a user types in "ema" and the search returns "Pet Sematary"....I want to highlight the letters "ema" within "Pet Sematary"

View 1 Replies

Flash :: Logic For A Matching Game?

Feb 5, 2011

I was given a task to make a match making game in actionscript 2, problem is, i have very little knowledge about the language (well, and how matching works in as2, what are the important codes, code emplacements, and all I am new in AS2, and i really need a lot of help with our project. :)

I plan to match images. But.. I was planning to have a sort of "Compatibility" match-up game, like,..let's say we have two batteries, one has a 50v capacity(how do u measure batteries?) then the other has a 100v capacity, then there's this battery slot that only accepts a 50v battery, then you will have to match this 50v battery to that battery slot, that's my concept for the game, sir. I hope you got what i said, sir. :D

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved