PDA

View Full Version : Send WHO data out of WoW? Possible?


kelda
15-02-2007, 06:25 PM
Hi,

I'm new to MOD writing - do a lot of web application stuff though. I wanted to create a simple MOD that would notify my website when I / my brother are online in WOW, as we share an account and he lives away. The idea is the web page would reflect which of our characters was playing if any, and avoid us loggin each other out.

Is this possible? If so how would go about doing it - or is there something already out there I could look at?

Thanks.

Jumpy
15-02-2007, 07:17 PM
There is no legal way to send data out of game other than to write to SavedVariables, which are not updated until you log out or do a /reloadui.

kelda
15-02-2007, 07:33 PM
There is no legal way to send data out of game other than to write to SavedVariables, which are not updated until you log out or do a /reloadui.

I guess we could make do with loggin in and out to set the flag on my website as 'I am playing' ... so what's the deal with SavedVariables? How might such information be sent out to an external source ... and that would legal, right?

Duugu
16-02-2007, 05:00 PM
off topic:
If you send (any) stuff to a valid (custom) ingame channel ... and if you use a ... lets say a network monitor ... to extract these outgoing data out of the tcp stream ... would this be illegal?

on topic:
You could create a small addon that writes a custom event to the addons savedvariables file on logon and logout.
Then create a external application to update a website.
Use this application to test the last event inside the savedvariables:
- last event is logon -> player is playing
- last event is logout -> player is not playing
Of course ... account sharing is not allowed. I'm sure you're aware of that. :)

Jumpy
16-02-2007, 05:50 PM
I guess we could make do with loggin in and out to set the flag on my website as 'I am playing' ... so what's the deal with SavedVariables? How might such information be sent out to an external source ... and that would legal, right?

Why not just go to the website before logging in to the game and saying you will be online instead of going to the trouble of extracting savedvariable data?

brykrys
17-02-2007, 08:37 PM
You could create a small addon that writes a custom event to the addons savedvariables file on logon and logout.
Then create a external application to update a website.

This wouldn't work, as SavedVariables only get written to on logout, not on login...

Besides, who wants an external program constantly scanning your SavedVariables file for changes, and sucking up CPU cycles?

Go with Jumpy's suggestion - or use the phone :tongue:

Duugu
18-02-2007, 01:00 AM
This wouldn't work, as SavedVariables only get written to on logout, not on login...

Ups ... you're right. :)

Besides, who wants an external program constantly scanning your SavedVariables file for changes, and sucking up CPU cycles?

Go with Jumpy's suggestion - or use the phone :tongue:

The question was just how to do it ... not if this would be easy, usefull or whatever. *g*

Tunga
18-02-2007, 08:05 PM
Or use XFire?
www.xfire.com

Wintrow
23-02-2007, 11:39 AM
Or use XFire?
www.xfire.com

I must say, XFire looks interesting... any catch? adware? spyware? cumbersome setup procedure?

Tunga
23-02-2007, 02:01 PM
It's a little system intensive for what it does but shouldn't actually cause any slowdown. No adware or spyware and the setup is just a standard installed plus an easy registration.

It's worth noting that for WoW it'll only say if you're online or not since it can't tell what server you're connected to.

Crevox
23-02-2007, 03:02 PM
It's a little system intensive for what it does but shouldn't actually cause any slowdown. No adware or spyware and the setup is just a standard installed plus an easy registration.

It's worth noting that for WoW it'll only say if you're online or not since it can't tell what server you're connected to.

If I recall correctly, it tells you what server you're on in XFire (or other people playing WoW).

Tunga
23-02-2007, 03:53 PM
Oh maybe it does, I haven't run it for ages and can't remember so I could be wrong. There's a Trillian plugin for it if you run that too.