PDA

View Full Version : InstantMessage framework


unknown
2006.03.13, 05:13 PM
I was thinking, wouldn't it be cool to use the InstantMessage framework for somthing like, a networked game. So I tried it out, and I can get a buddy list and everyones avatar and other such nice things but can I actually do anything useful with this?
Like for example get someone's ip so I can invite them to a networked game, or even send data through the iChat framework, I can't see any functionality for this.. i've had a look at the frameworks binary with nm as well but I cant see anything I immediatly think would be useful.

Has anyone had success with this, or know what sort of uses other that games it might have?

Fenris
2006.03.13, 05:51 PM
I know KittyMac did something cool with it. Myself, I'm trying/am going to try to make multiplayer setups through it

My idea is to have the game register an URL scheme (in my case galder://) and then send a link like so: galder://86.226.12.8 . When clicked in iChat, the Finder will boot up my game (Galder) and pass that entire string to it. The game that gets that string will automatically try to connect to a game server on that IP. Simple as that.

But, as for KittyMac's approach, check out Big Bang Board Games. They're bloody awesome.