LUA updating site

Here you can find plenty of help with your general coding needs and projects
If it is about a specific program, use the corresponding forum
DO NOT ask basic questions such as "How do I print a variable", use Google for that

LUA updating site

Postby Art_Wolf » Mon Aug 21, 2006 8:17 pm

I am just starting into working on an addon to track where guild memebrs are on a server. The basic idea being you start up and it catches ZONE_CHANGED event and uploads this to a website. The result being a map which you can mouse over to find who else is near you if you want to group up, for instance.

Anyway, my main problem is the conneting to the site. I have come across LuaSocket but have been searching for some Addons that would implement a similar connection - any suggestions?
Art_Wolf
WR.net Apprentice
WR.net Apprentice
 
Posts: 3
Joined: Mon Aug 21, 2006 7:53 pm

LUA updating site

Postby PleegWat » Mon Aug 21, 2006 8:55 pm

This does not work in the version of LUA integrated in WoW. The only possibility to affect anything outside WoW is the SavedVariables stuff.
I <3 /bin/bash
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm

LUA updating site

Postby Art_Wolf » Mon Aug 21, 2006 9:01 pm

So the only way would be to pass the info to an extranal program to upload?
Art_Wolf
WR.net Apprentice
WR.net Apprentice
 
Posts: 3
Joined: Mon Aug 21, 2006 7:53 pm

LUA updating site

Postby Hannah » Mon Aug 21, 2006 10:46 pm

Do i missunderstand you or are you looking for a real time tracking system ?

CU
Hannah
User avatar
Hannah
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 142
Joined: Tue Jul 04, 2006 1:41 pm
Location: Germany, Cologne

LUA updating site

Postby PleegWat » Mon Aug 21, 2006 11:53 pm

I think he is. Yes, as far as I know the only way is using an external program like UniUploader to upload the data, or upload the data to a web form manually.
I <3 /bin/bash
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm

Re: LUA updating site

Postby silencer-ch-au » Tue Aug 22, 2006 1:29 pm

Thats already being done by the roster, saving the last zone, its just not very useful.
Its not possible to extract real time data from wow as far as I know, its only written to the lua files when you actually close the wow client. (Its got something to do with protecting wow against botting I think :scratch: ) Thats one of the reasons why first time users of character profiler complain that its not working, saying that the file doesnt exist, they simply forget to exit wow before trying to upload :-P

Usually, if you look at the zone name of where someone is you can make a pretty good guess of what he's doing anyway. (Uh, maybe I play the game a little too much)
Last edited by silencer-ch-au on Tue Aug 22, 2006 2:27 pm, edited 1 time in total.
User avatar
silencer-ch-au
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 41
Joined: Tue Jul 04, 2006 9:22 pm

LUA updating site

Postby Art_Wolf » Tue Aug 22, 2006 1:37 pm

Ah sweet - wasnt able to find anything that did it in despair :)

Cheers
Art_Wolf
WR.net Apprentice
WR.net Apprentice
 
Posts: 3
Joined: Mon Aug 21, 2006 7:53 pm

LUA updating site

Postby Hannah » Tue Aug 22, 2006 4:16 pm

In the first versions of wow there was a function to trigger a "lua-save-event"
but they removed it...:(
User avatar
Hannah
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 142
Joined: Tue Jul 04, 2006 1:41 pm
Location: Germany, Cologne


Return to General Code Help

Who is online

Users browsing this forum: No registered users and 0 guests

cron