Download
(15Kb)
Download
Updated: 04-17-07 11:54 AM
Pictures
File Info
Updated:04-17-07 11:54 AM
Created:unknown
Downloads:9,712
Favorites:65
MD5:

DemonTrainer (Continued)  Popular! (More than 5000 hits)

Version: q2.4-20003
by: quel [More]

Continuation of DemonTrainerFrame, updated for use with WoW 2.0.

Converts the merchant for warlock pets' books to a more friendly, trainer-style format.

Changes in 2.4
*might* solve the problem some users have reported with blank windows. This is almost certainly caused by some other mod you've installed conflicting with the vendor tooltip, DTF 2.4 includes more robust tooltip parsing to attempt to account for this.

Changes in 2.3
Fixed nil errors regarding the UnHookSecureFunction pseudo code left in by accident. This is largely cosmetic, though. There are no functional changes between 2.2 and 2.3.

Changes in 2.2
Due to the secure mapping and tainting functionality added in WoW2.0, there is no way for DemonTrainer to prevent you from accidentally reselling grimoires back to the trainer. If you attempt to learn the grimoire while DemonTrainer is open, it will sell the book back to the vendor. YOU MUST CLOSE DEMON TRAINER BEFORE ATTEMPTING TO LEARN NEW GRIMOIRES.

Since I'm unable to hook the functions to prevent accidental reselling, I've added two popups, one when you open DemonTrainer, another that triggers if/when you accidentally sell the book back. You'll still lose money, but at least you'll be aware of what happened.

Optional Files (0)


Post A Reply Comment Options
Unread 12-20-06, 09:20 AM  
DCUI2
A Kobold Labourer

Forum posts: 1
File comments: 16
Uploads: 0
Verry nice that you continued this lovely addon...

I got a error when trying to scribe the grimoire (buying it and so worked ok)

[2006/12/20 16:17:08-352-x1]: <event>ADDON_ACTION_BLOCKED:AddOn 'DemonTrainerFrame' tried to call the protected function 'UNKNOWN'.
(tail call): ?:
!BugGrabber\BugGrabber.lua:469: in function <Interface\AddOns\!BugGrabber\BugGrabber.lua:439>
<in C code>: ?
<in C code>: in function `UseContainerItem'
Interface\FrameXML\ContainerFrame.lua:574: in function <Interface\FrameXML\ContainerFrame.lua:555>:
<in C code>: in function `ContainerFrameItemButton_OnClick'
<string>:"ContainerFrame1Item8:OnClick":3: in function <[string "ContainerFrame1Item8:OnClick"]:1>

---
Report comment to moderator  
Reply With Quote
Unread 12-23-06, 02:00 PM  
quel
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 14
Uploads: 3
Originally posted by DCUI2
I got a error when trying to scribe the grimoire (buying it and so worked ok)
Hey DCUI2,

I see why this error message is occuring. For reasons I don't quite understand, the original author hooked the UseContainerItem() function while the demontrainer frame is visible. I don't believe this is necessary at all, but I'll need some time to test changes. In the meantime, I believe closing the demontrainer window before trying to learn the new grimoire should make the error message go away.

Q
Report comment to moderator  
Reply With Quote
Unread 12-26-06, 04:19 AM  
galouk
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Talking known skills still available

first of all, thx for this very nice addon

I noticed that for my succubus and my fehlhunter, I can see my already-teached skills as buyable. This doesnt occur for my imp or voidwalker skills. Is it a known bug or just me ?
Report comment to moderator  
Reply With Quote
Unread 12-26-06, 05:21 PM  
quel
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 14
Uploads: 3
Re: known skills still available

Originally posted by galouk
I noticed that for my succubus and my fehlhunter, I can see my already-teached skills as buyable. This doesnt occur for my imp or voidwalker skills. Is it a known bug or just me ? [/b]
It's probably a bug

Unfortunately, it's not happening for my lock on either the live or beta servers, making debugging much more difficult. I'm still not that familiar with the original author's code, so I'm just kinda guessing as to where the problem might be.

One thing to try: try deleting Demontrainerframe.lua and the backup file in <warcraft directory>\WTF\<acccount name>\<server name>\<char name>\SavedVariables. This will cause DTF to forget the known spells for all your pets, letting you start over. If this fixes the problem, then there's a bug that's corrupting the saved data. If this doesn't fix the problem, then there's a bug breaking the detection of learned spells.

What level is your lock? Did the problem happen on the live or beta server?

Q
Report comment to moderator  
Reply With Quote
Unread 12-27-06, 06:00 AM  
galouk
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Unhappy Re: Re: known skills still available

Originally posted by quel
What level is your lock? Did the problem happen on the live or beta server?
lvl 45 on live server.

btw I had to turn your addon down because I was unable to right-click in my bags, it was raising a blizzard error asking me to ignore or disable the addon. Already had this on some other addons like "mailto" (http://ui.worldofwar.net/ui.php?id=934), seems a rather common error.
Report comment to moderator  
Reply With Quote
Unread 12-29-06, 06:00 AM  
Efimerlin
A Kobold Labourer

Forum posts: 0
File comments: 12
Uploads: 0
Error on lvl 6 lock

Hi i get this error whenever i open the demon trainer window.

[2006/12/29 11:53:24-119-x1]: modules\DemonTrainer.lua:48: bad argument #1 to 'find' (string expected, got nil)
AceEvent-2.0\AceEvent-2.0.lua:857: in function <...face\AddOns\FuBar\libs\AceEvent-2.0\AceEvent-2.0.lua:850>
Report comment to moderator  
Reply With Quote
Unread 01-23-07, 05:51 AM  
gouges
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Are you planning to update for 2.05 and BC?

This could be a great add on. I hope you plan to keep it updated.
Report comment to moderator  
Reply With Quote
Unread 01-24-07, 12:09 PM  
quel
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 14
Uploads: 3
Re: Are you planning to update for 2.05 and BC?

Originally posted by gouges
This could be a great add on. I hope you plan to keep it updated.
The version I released is the updated version for TBC. No further code changes are required for 2.05.

Q
Report comment to moderator  
Reply With Quote
Unread 03-04-07, 10:27 AM  
Bethesia
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
there is big problems with the french UI. (sorry for my english)

1st ) The name of the pet are not displayed correctly :
http://img181.imageshack.us/my.php?image=wowscrnshot030407163703jw3.jpg

as you can see, the "diablotin" (small demon) ans the succube are "otre"

the blue walker ("marcheur du vide" in french UI) is displayed correctly

2) very big problem with the "gangregarde" (pet 42 points)

http://img160.imageshack.us/my.php?image=wowscrnshot030407163722sg9.jpg

3) no french translation of the buttons and add-on UI ... if you want i can ask to my wife to do the translation, her english is better than mine !

thanks for this great add-on !
Last edited by Bethesia : 03-04-07 at 10:27 AM.
Report comment to moderator  
Reply With Quote
Unread 03-14-07, 03:45 AM  
Lown Ignitus
A Defias Bandit

Forum posts: 2
File comments: 5
Uploads: 0
Errors

I dont have the specific errors, but when I goto view the demon trainer, I get and error then nothing displays in it, even when I change the sort by which causes more errors.

I even get an error when I close it .. all them have something about value null in them ...
Report comment to moderator  
Reply With Quote
Unread 03-29-07, 12:08 PM  
Malkom
A Kobold Labourer

Forum posts: 0
File comments: 29
Uploads: 0
The last verison of this mod don't work for me with the french UI.....

I've made the translation since a long time and post a mp to the author... but he never has answered....


EDIT : this is the error :

[2007/03/29 20:10:09-429-x1]: DemonTrainerFrame\DemonTrainerFrame.lua:273: attempt to call global 'unhooksecurefunc' (a nil value)
<string>:"DemonTrainerFrame:OnHide":2: in function <[string "DemonTrainerFrame:OnHide"]:1>
<in C code>: in function `Hide'
Interface\FrameXML\UIParent.lua:908: in function <Interface\FrameXML\UIParent.lua:903>:
<in C code>: in function `SetLeftFrame'
Interface\FrameXML\UIParent.lua:875: in function `HideUIPanel':
<string>:"DemonTrainerFrameCloseButton:OnClick":2: in function <[string "DemonTrainerFrameCloseButton:OnClick"]:1>

---
Last edited by Malkom : 03-29-07 at 12:11 PM.
Report comment to moderator  
Reply With Quote
Unread 04-05-07, 07:18 PM  
Wyveryx
A Murloc Raider
 
Wyveryx's Avatar

Forum posts: 5
File comments: 8
Uploads: 0
It no workie for me :(

would love to have this working, but after installing and going to Demon trainer it shows nothing, and when I attempt to see what I've already purchased it errors. Course it errors when I try to see what I can learn anyways...

Any news on this?
Report comment to moderator  
Reply With Quote
Unread 04-06-07, 05:51 PM  
Darkspell
A Deviate Faerie Dragon

Forum posts: 17
File comments: 47
Uploads: 0
Does not work

Either fix it or remove it.. really. Would love if this mod DID work, but all I get are:

Attempt to call global 'message' error in line 359

and

'for' limit must be a number in line 518
Report comment to moderator  
Reply With Quote
Unread 04-07-07, 08:08 PM  
quel
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 14
Uploads: 3
Re: Does not work

Originally posted by Darkspell
Either fix it or remove it.. really. Would love if this mod DID work, but all I get are:

Attempt to call global 'message' error in line 359

and

'for' limit must be a number in line 518
Shrug. It works fine on my system. I can't reproduce either of those errors or the blank frame mentioned below. The usual "disable the rest of the addons and see what happens" rule applies. WIthout something more useful to go, there's not likely to be any kind of fix.
Report comment to moderator  
Reply With Quote
Unread 04-08-07, 02:49 PM  
Darkspell
A Deviate Faerie Dragon

Forum posts: 17
File comments: 47
Uploads: 0
Hrmm... pretty standby message when things do not work I agree.

I just commented out line 359:

message(DTF_WARNING);


No more errors and it seems to work.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: