Extracting Professions

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

Extracting Professions

Postby pulsum » Sat Jul 08, 2006 2:11 am

Hello,

I'm trying to code myself (and maybe later for my guild) a little addon - getting all professions (especially from enchanters and tailors).
I tried to study the character-profiler code, but there's too much other code for all other functions, so i cannot excatly extract the professions section.

Now my question: Anyone can tell me how to get startet with my little addon project or can help me extracting the needed code from character profiler (GPL says that I can use it for own coding).

I read the wow-wiki to find the needed API functions, but i really don't know how to collect the professions and save them (confused by all the functions).
I know basics about coding addons for wow - toc and xml files etc.

Would be great to get some help or hints from professionals in here. ;-)

pulsum
User avatar
pulsum
WR.net Apprentice
WR.net Apprentice
 
Posts: 7
Joined: Sat Jul 08, 2006 1:56 am

Extracting Professions

Postby ScratchMonkey » Sat Jul 08, 2006 2:20 am

Are you sure it's not already in there? Look at the MadeBy button and the Professions button.
User avatar
ScratchMonkey
WR.net Expert
WR.net Expert
 
Posts: 212
Joined: Wed Jul 05, 2006 4:32 pm
Location: San Pablo, CA

Re: Extracting Professions

Postby pulsum » Sat Jul 08, 2006 2:29 am

ScratchMonkey wrote:Are you sure it's not already in there? Look at the MadeBy button and the Professions button.

Well, didn't find the buttons you named (am I too blind?). But i searched for "professions" and only found a link to a roster. So, nothing seems to be in here what I'm looking for.
User avatar
pulsum
WR.net Apprentice
WR.net Apprentice
 
Posts: 7
Joined: Sat Jul 08, 2006 1:56 am

Extracting Professions

Postby zanix » Sat Jul 08, 2006 2:31 am

I think he means he's trying to code a WoW addon
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5543
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: Extracting Professions

Postby pulsum » Sat Jul 08, 2006 2:34 am

zanix wrote:I think he means he's trying to code a WoW addon

Yes, that's right. Only an addon that's extracting professions and saving the collected professions-infos. nothing more. :-)
I tried to do it by myself, but it doesn't work, 'cause I didn't get the API functions from wow-wiki working.
User avatar
pulsum
WR.net Apprentice
WR.net Apprentice
 
Posts: 7
Joined: Sat Jul 08, 2006 1:56 am

Extracting Professions

Postby zanix » Sat Jul 08, 2006 2:35 am

Unfortunatly, I don't get lua coding at all.
Otherwise I'd try to help
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5543
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: Extracting Professions

Postby pulsum » Sat Jul 08, 2006 2:43 am

zanix wrote:Unfortunatly, I don't get lua coding at all.
Otherwise I'd try to help

I don't know which API-function is needed to collect professions for enchanting and to collect for all other professions. I didn't get through the explainations wow-wiki is giving me on the site which function exactly I have to use. And about saving the collected infos, not even a single word is spoken there. All I can provide is the basic lua skeleton file.

Developement and coding is my daily job, but only in php, javascript and VB.
I never did LUA.
User avatar
pulsum
WR.net Apprentice
WR.net Apprentice
 
Posts: 7
Joined: Sat Jul 08, 2006 1:56 am

Re: Extracting Professions

Postby zeryl » Sat Jul 08, 2006 2:57 am

Get on IRC, I will help you. Too much to try and type back and forth
User avatar
zeryl
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 194
Joined: Tue Jul 04, 2006 12:59 pm
Location: Saint Louis

Extracting Professions

Postby ScratchMonkey » Sat Jul 08, 2006 5:29 am

By "professions" do you mean "recipes"? It's my understanding that CharacterProfiler already does that, so you just need to extract the already-collected data from the MySQL tables that wowroster has created and present it as desired.
User avatar
ScratchMonkey
WR.net Expert
WR.net Expert
 
Posts: 212
Joined: Wed Jul 05, 2006 4:32 pm
Location: San Pablo, CA


Return to General Code Help

Who is online

Users browsing this forum: No registered users and 0 guests