Thread Tools Display Modes
09-09-09, 03:42 AM   #1
MigGat
A Fallenroot Satyr
Join Date: Sep 2009
Posts: 27
Addon internet connection

Hi everyone

(sorry about my english as it's no my first language)

I was wondering if there's any way to make my addon connect to internet. It could be to check any database, mailing, etc... Make it able to consume webservices would be amazing!

Thx!
  Reply With Quote
09-09-09, 03:53 AM   #2
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 1,360
Not possible.

Sorry for the short reply but there's really not much else to say.
You can't pull info into the game from the outside world while the wow client is running.
  Reply With Quote
09-09-09, 04:00 AM   #3
MigGat
A Fallenroot Satyr
Join Date: Sep 2009
Posts: 27
That's what I thought too, but I've been looking around for a while and came with 2 facts:

- AtlasLootFu (addon) has a button with something like "click to connect to the server for the newest items"

- There's a book "Coding4Fun: 10 .NET Programming Projects for Wiimote, YouTube, World of Warcraft, and More" which 3rd chapter is "Feed Reader: An ingame RSS reader for World of Warcraft". I don't have the book how I can't check how it does it.


So these two things made me thought i could be possible..
  Reply With Quote
09-09-09, 05:27 AM   #4
Cowmonster
A Cyclonian
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 40
Originally Posted by MigGat View Post
That's what I thought too, but I've been looking around for a while and came with 2 facts:

- AtlasLootFu (addon) has a button with something like "click to connect to the server for the newest items"

- There's a book "Coding4Fun: 10 .NET Programming Projects for Wiimote, YouTube, World of Warcraft, and More" which 3rd chapter is "Feed Reader: An ingame RSS reader for World of Warcraft". I don't have the book how I can't check how it does it.


So these two things made me thought i could be possible..
As previously stated not possible. The data comes from in-game.
__________________


Author of:
Equipped Average Item Level :: ExtraBar :: Killing Blow Emote :: RecordTip
  Reply With Quote
09-09-09, 05:31 AM   #5
MigGat
A Fallenroot Satyr
Join Date: Sep 2009
Posts: 27
Ok thanks! I can stop my research now :P
  Reply With Quote
09-10-09, 09:34 AM   #6
Layrajha
A Frostmaul Preserver
 
Layrajha's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 275
I guess that you could technically simulate a RSS feed by buying twice as many accounts as there are servers, and putting a character on each server that is logged in all the time and acts as a server by answering SendAddonMessage whisper requests... I'm not sure anyone has enough money to waste to do something like that :>
  Reply With Quote
04-07-11, 05:55 AM   #7
Cowmonster
A Cyclonian
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 40
Originally Posted by MigGat View Post
That's what I thought too, but I've been looking around for a while and came with 2 facts:

- AtlasLootFu (addon) has a button with something like "click to connect to the server for the newest items"

- There's a book "Coding4Fun: 10 .NET Programming Projects for Wiimote, YouTube, World of Warcraft, and More" which 3rd chapter is "Feed Reader: An ingame RSS reader for World of Warcraft". I don't have the book how I can't check how it does it.


So these two things made me thought i could be possible..
The only way to have an RSS feed or anything of the sort would be to write an application that writes the data into a .lua file prior to your loading the game and have an in-game addon that reads the contents of that .lua file (table or tables of information) and gives you some sort of pleasant interface for reading that information. You would not be able to pull updates directly from within the wow client and you could not update the information while in the wow client unless it was a .lua file in your addon directory and you did a "/console reloadui" which would result in the re-parsing of the .lua file. This would only work if the .lua file was already in the right folder and loaded by the game. A newly created .lua file while the game was running would not be loaded by the game and any changes to the "SavedVariables" .lua files would not be read by the client and would actually end-up replaced on your logging out/exiting.
__________________


Author of:
Equipped Average Item Level :: ExtraBar :: Killing Blow Emote :: RecordTip
  Reply With Quote
04-07-11, 06:24 AM   #8
Mischback
A Cobalt Mageweaver
 
Mischback's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2009
Posts: 221
I wonder your sig states, you're on Alliance, since this is simply - necrophilia..

And yes, I know my post can be considered spam, but hell, this was worth it!
__________________
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » Addon internet connection


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off