PDA

View Full Version : ForumTrader 3.0 - Adria (Beta)


Kijya
16-12-2008, 14:37
ForumTrader 3.3.1 Adria

1.1 Purpose

Managing your virtual items on the realms of Diablo 2 was never an easy task. Cataloging and searching though your items can take ages for the users with multiple accounts and mules. What this application does is to lessen that burden by providing a .txt biased database with tools for adding, searching and editing items therein. It does all this without hacking the game code, or otherwise communicate with Diablo 2 in any forbidden way.


1.2 Features

The current version of Adria is still not final in any way, meaning that the below list may change in future releases. I warmly welcome any ideas or suggestions on new features to implement.


User interface


The database is presented in a windows explorer folder/file similar structure.
Drag and drop friendly.
Fast “mouse over” viewing of item stats.
Search functions making finding and filtering though your items a breeze.


Tradelists


Drag and drop items, characters or whole accounts and let the computer make them into a tradelist.
Edit the tradelist options to make the program sort items, abbreviate item stats and format the text into your liking.
Make the program categorize items into sections for itemtypes, accounts, characters or a combination of two of these.


Ingame functionality


Add accounts, characters and items to your database without leaving D2.
OCR (optical character recognition) scan lets the computer do the typing when adding items to the database.
Search function letting you find your database logged items while playing.
Quick info library featuring all cube recipes and runewords.



1.2 Requirements

Adria, just like its proceeders, is only planned to support the windows operating systems. Foremost Windows XP and Vista, but may also work on Windows 98/2000 (Untested).


Should Support:


Windows XP (SP 2 or later)
Windows Vista

Untested:


Windows 95/98
Windows 2000
Windows ME

Unlikely To Ever Work On:


Linux Distributions
Mac OS



1.3 Installation / Uninstall
Simply extract the zip into a folder of your choice, preferably the program files folder, and use the exe to start the program. Add shortcuts as you see fit.

You may need to install the visual basic 6.0 runtime files:
http://www.microsoft.com/downloads/details.aspx?FamilyID=BA9D7924-4122-44AF-8AB4-7C039D9BF629&displaylang=en

And also the microsoft scripting runtime if it is not included:
http://www.microsoft.com/downloads/details.aspx?FamilyId=C717D943-7E4B-4622-86EB-95A22B832CAA&displaylang=en


To update from an old installation without loosing your stored database go the the old program folder and copy the Accounts.txt and all account and character text files for safekeeping. Then simply paste the text files back into the new directory.


Version 3.2.0 notices
The package has become smaller, because this time it's meant to be a "extract zip and run" application rather then a setup needing one. The dll and ocx files should all be local but I'm not quite sure how it will work out just yet. Worked fine when I transferred it to my laptop for testing, but you never know ...

As for the new functionality, check for the popup menus and added tradelist printing options. The guides are slightly dated now, might soon be time for a complete rewrite of them ... if only I had the time.

Version 3.3.2 notices
A completely new version is still in development, however the new OCR engine made for that version is completed. This 3.3.2 version is not the big update we are working on, it's basically the old 3.3.1 version except that I've replaced the old OCR engine with the new one planned for the big update.

This is in other words a "while you wait" version. Still, expect less hangups and faster OCR compared to before. It's still not 100% accurate in all situations, but accurate enough I'd say :whistling:


Download Package:
Note! This is not the newest version any longer! New version here: http://diablo.incgamers.com/forums/showthread.php?t=735468

Dave M
18-12-2008, 23:46
Downloaded and using, after a few initial problems I seem to have got it working quite well, will let you know anymore opinions or problems after I've used it a bit longer

Thanks Dave :thumbup:

Kijya
20-12-2008, 13:20
Mind letting me hear about the initial problems? In case I should include better installation instructions or similar.


I'm giving it a high quantity test myself too of course, some thoughts so far:

1) Make the ingame search function as a "and Find" instead of "phrase find", it's more useful to be able to search for items that contain a number of words/numbers instead of a certain phrase in my opinion.

2) Built in runewizard ...

3) Make [space] work for loading items from treeview to the listview. (Space checks the checkbox of a node but doesn't load the items atm)

4) Make it possible to drag&drop multiple nodes from the treeview ... not sure if this one will be to easy ...

5) OCR: white small x doesn't register correctly (Vex -> Vea), these errors are easy to fix so np.

6) Grouped view headers doesn't show, basically black text on black background. Not sure how to solve this one ... can't find any option that lets me change the font color.


I'll not make the fixes until I've gathered up some more. Last time I was making to many small updates ... version numbers went up to fast :whistling:

JustAPlayer
21-12-2008, 15:33
i'll try it ty for info

but since it is a 3rd party tool ... isn't it banable?
just asking ...

btw ... i am a vb programmer (among others ;) )

Kijya
21-12-2008, 16:44
i'll try it ty for info

but since it is a 3rd party tool ... isn't it banable?
just asking ...

btw ... i am a vb programmer (among others ;) )
While it's true that it is a 3rd party program, it would fall into the category of those who don't alter the game code.

It does most work locally and doesn't acctually interact much with D2 at all, save for taking a screenshot and getting the position of the D2 window, and the same type of keyhook I used for version 1 and 2.

The functions that get a screenshot and the position of the D2 window utilize simple API calls (clearification for non-vb programmers: functions that the windows os provide that work for any window).

I handed the source code to Elly for inspection before having it uploaded here, so I'd believe it doesn't cross the line of what these boards allow.

Cheers :wink:

JustAPlayer
21-12-2008, 20:29
Just to be clear: so u find the hwnd o the window, take the mouse location, take the screenshot for the window where mouse is located and send the image to ocr recognition. Am i correct? If that's the case i think it would be safe enough.

Do u read the full description of the item? For ex nr of sockets, or % faster cast rate etc.

BTW: if u need help I could give u a hand; I have about 10 years programming experience

Kijya
21-12-2008, 21:20
Just to be clear: so u find the hwnd o the window, take the mouse location, take the screenshot for the window where mouse is located and send the image to ocr recognition. Am i correct? If that's the case i think it would be safe enough.
I use the FindWindow(vbNullString, "Diablo II") API to get the hwnd, then I use it in a "CaptureWindow" function I found a code example for (can't seem to find the page I got it from ... :/)

That CaptureWindow function returns a picture object, which I set into a picturebox. I take the mouse position in relation to the d2 window and store those is a couple single variables.

From there I scan the picture and do the OCR.

Do u read the full description of the item? For ex nr of sockets, or % faster cast rate etc.Yes, it's meant to scan the hole item description. Including noteing the color of each line so that you get a colorful view of the item in your database :yes:

A scan should give something like this:
[u]Jade Talon
[u]Wrist Sword
[w]One-Hand Damage: 156 to 205
[w]Durability: 29 of 29
[r](Assassin Only)
[r]Required Deaterity: 95
[r]Required Strength: 95
[r]Required Level: 66
[w]Claw Class - Very Slow Attack Speed l
[b]+1 to Martial Arts (Assassin Only)
[b]+1 to Shadow Disciplines (Assassin Only)
[b]+30% Faster Hit Recovery
[b]+206% Enhanced Damage
[b]11% Mana stolen per hit
[b]All Resistances +47
[b]Ethereal (Cannot be Repaired)
Where the [x] tags are color tags used by the program. A limitation is that it doesn't bother with the colors of every word, aka lines with more then one color will only be given one color.


BTW: if u need help I could give u a hand; I have about 10 years programming experienceSounds good, might be worth posting some code and discuss a bit on how to make it better. Not sure which forum would be approapriate for that though :scratchchin:






Another thing to change:
7) Change "selected only" to "All Items" in the search. Didn't find that search option useful and believe something that loads all items that are considered search *hits* into the listview would be useful.

Ax2Grind
22-12-2008, 00:45
First initial problem: told that 'some' of my files aren't up-to-date, but not which before offering to replace them. After updating Win2KPro completely, this still happens. I'm assuming it's referring to .dll/.ocx files, but I can't compare them myself manually. There's no reference to this in the .txt, so I'm skeptical about letting this happen automatically.

Suggestion: increase the information in the readme to include set-up instructions and replacing files, or needed updates so they can be done by hand from the Microsoft website, if necessary, or create a way of re-instating older files should a problem occur. It's not clear if this is done, since there's no other information available, but mentioning it's untested on this operating system doesn't bode well.

Kijya
22-12-2008, 09:44
First initial problem: told that 'some' of my files aren't up-to-date, but not which before offering to replace them. After updating Win2KPro completely, this still happens. I'm assuming it's referring to .dll/.ocx files, but I can't compare them myself manually. There's no reference to this in the .txt, so I'm skeptical about letting this happen automatically.

Suggestion: increase the information in the readme to include set-up instructions and replacing files, or needed updates so they can be done by hand from the Microsoft website, if necessary, or create a way of re-instating older files should a problem occur. It's not clear if this is done, since there's no other information available, but mentioning it's untested on this operating system doesn't bode well.
I see, I don't know how to do it just yet, but maybe I can make it so that those dependencies are installed in the program folder instead of system 32, then they'd not need to overwrite older files.

But adding some instructions to the readme should work too of course.

If you open the CAB file with a zip program you can have a look around on the dll and ocr files that are included. :scratchchin:


8) make dependencies install in the program folder.

Ax2Grind
22-12-2008, 14:59
I went through the cab, but without them being removed/installed I can't figure out their version and check it against mine/Microsoft's website. There are over a dozen in there, and right-clicking properties on a CABbed file doesn't give that information. Since I don't know if those are the files the program is talking about, I might be wasting my time, anyway.

To compound this, I don't know of a .dll comparison program/project anywhere, so a lot of my files may be out of date in that sense. If I find one, then I run the set up, and it still says out-of-date, I'll have to start over, so it's just easier to be told which.

Kijya
22-12-2008, 16:46
I went through the cab, but without them being removed/installed I can't figure out their version and check it against mine/Microsoft's website. There are over a dozen in there, and right-clicking properties on a CABbed file doesn't give that information.
I'm not sure what Zip program you're using, but you should be able to extract the CAB file into a new folder, then check the version numbers of the files inside in the property page for each file.

If you zip program doesn't support extracting CAB files here's a free one up for the task: http://peazip.sourceforge.net/index.html

Since I don't know if those are the files the program is talking about, I might be wasting my time, anyway.

To compound this, I don't know of a .dll comparison program/project anywhere, so a lot of my files may be out of date in that sense. If I find one, then I run the set up, and it still says out-of-date, I'll have to start over, so it's just easier to be told which.If I can do point "8)" it should all work out I'd guess ... :scratchchin:

Dave M
25-12-2008, 23:07
Mind letting me hear about the initial problems? In case I should include better installation instructions or similar.

Sorry about the delay replying, the probs I had at first were mainly due to rushing through the operation, since I have slowed myself down everything appears to be working as intended

The only prob I am left with now ( not sure if this is fixable or not ) is the OCR being able to tell the difference between 3 and 5, this is almost solely occuring in the lines that have White writing, all other colours seem to read fine
I'm not in any way a programmer, so unfortunately have no suggestions or comments to remedy this :scratchchin:
All in all though I am loving this :yes:
Well done and thanks

Kijya
25-12-2008, 23:25
Sorry about the delay replying, the probs I had at first were mainly due to rushing through the operation, since I have slowed myself down everything appears to be working as intended

The only prob I am left with now ( not sure if this is fixable or not ) is the OCR being able to tell the difference between 3 and 5, this is almost solely occuring in the lines that have White writing, all other colours seem to read fine
I'm not in any way a programmer, so unfortunately have no suggestions or comments to remedy this :scratchchin:
All in all though I am loving this :yes:
Well done and thanks
Fixing OCR translation mixups is easy, I only need to hear of one and I'll be able to fix it for the next version :thumbsup:

9) OCR: White 3 or 5 doesn't translate correctly.


Think we've gathered a bunch of things to do now, however, I'm currently at my parents place and don't have access to my main computer, so I'll have to wait with the updating until I'm back at my apartment.

Dave M
26-12-2008, 15:48
If I find anymore I'll report back

:coffee:

NoisemakerArrow
28-12-2008, 16:37
What exactly does this program do? Keep track of your items? Can you explain how it works before I download it?

Kijya
28-12-2008, 17:12
What exactly does this program do? Keep track of your items? Can you explain how it works before I download it?
Basically it's an item manager. Instead of writing down what stuff you have in an excel sheet, or similar, this program can help keeping track of them.

So why would it be better then excel? Or plain pen and paper?
It uses OCR to scan for the item description, so cataloging an item into this program only take a few seconds. All you need to do it hold your mouse over the item while in the game and press a button to add it to the selected character.

Once accounts, characters and items are added you can explore your stuff without having to switch from mule to mule. It'll be much like how you explore folders and files in the windows "explorer", since the same type of controls are used for this program. While exploring you'll be seeing the full item description including the colors (one color per line) of each line of text.

It has inbuilt search that lets you find your items in the database by typing a few words they contain.

To the above we add the functionality quickly print out sorted and categorized tradelists.





That being said, it's really hard to get a good idea of what it can do without a video. I intend to make one, but not for a BETA version that may still be changed quite a bit before I consider it finished. :wink:



here I used it to type out all the items on my enchanter:
http://diablo.incgamers.com/forums/showthread.php?t=708199&page=2

here I used it to find and then display all rare rings I had that had certain mods (on 3 accounts, had not added all yet at that time):
http://diablo.incgamers.com/forums/showthread.php?t=707776

A couple tryouts on the tradelist printing routine:
http://diablo.incgamers.com/forums/showthread.php?t=681424&page=13


That kind of stuff becomes super easy :whistling:


If you're using Glide graphics mode you can also use the program while you play in fullscreen mode, allowing you to search your database for items without having to close down D2. It also has a small info section you can access ingame, to look up runeword orders or cube recipes etc.



If you're asking for how it "actually works", programmically, you'll have to rephrase the question to concern a more specific part of the program before I can answer. :wink:

NoisemakerArrow
28-12-2008, 18:46
No, you've answered my question. Cool, I will definitely get this when I return home. When's the non-beta version coming out? And it works on Bnet too, right?

At last, no more fiddling around with pieces of paper!

Kijya
28-12-2008, 19:18
No, you've answered my question. Cool, I will definitely get this when I return home. When's the non-beta version coming out? And it works on Bnet too, right?

At last, no more fiddling around with pieces of paper!
I should probably not refer to the next version as a beta, so once I've gotten that version up ... maybe 1-4 weeks? Hard to tell how much time I'll be spending on it since I don't quite know how much work it'll be right now. All I know for sure is that I can start working on it, part-time, around/after new year.

Yeah, it works for bnet as well as sp (though for sp you've got atma after all ...).

NoisemakerArrow
28-12-2008, 19:59
Does ATMA find items for you and catalogue them? I use it but I still have to write down what items are on what mule on paper.

Kijya
28-12-2008, 20:38
Does ATMA find items for you and catalogue them? I use it but I still have to write down what items are on what mule on paper.
Guess my knowledge of ATMA is lacking :scratchchin:

I've really only used it for its dropcalc :embarassed:

NoisemakerArrow
28-12-2008, 23:26
What does Adria stand for? A _ _ _ application?

Or gf's name?

;)

Kijya
29-12-2008, 09:26
Actually it's:

Another Dirty Rotten Internet Abomination

Or maybe I just took the name from Adria the witch in Diablo 1 without thinking about what to say it stood for :scratchchin:

:alright:

IntelligentX
29-12-2008, 18:51
I sense a soul in search of answers :D

BRKO
29-12-2008, 23:24
keeps crashing on x86vista
mostly I press F12 and type something and boom
not that I know how to use it but I just cant prove myself retard if it malfunctions itself :)

...any guide how to use it? the youtube-like-guide would be nice

Kijya
30-12-2008, 09:05
keeps crashing on x86vista
mostly I press F12 and type something and boom
not that I know how to use it but I just cant prove myself retard if it malfunctions itself :)

...any guide how to use it? the youtube-like-guide would be nice
I can't say why it doesn't work for you, but:

1) Have you tried running it in some kind of "windows xp compatible mode" or similar?
2) What type of vista is it? Home, premium, business or ultimate? It's been tested for ultimate, but maybe that's not enough to say it works for all ...
3) Are you running it as administrator?


No video yet, waiting until after BETA before I spend time on making a video, since the program may still change quite a bit.

BRKO
30-12-2008, 10:10
1) Have you tried running it in some kind of "windows xp compatible mode" or similar?
2) What type of vista is it? Home, premium, business or ultimate? It's been tested for ultimate, but maybe that's not enough to say it works for all ...
3) Are you running it as administrator?

ad 1. yes of course
ad 2. ultimate
ad 3. i am

thanks for reply .)

Kijya
30-12-2008, 10:16
ad 1. yes of course
ad 2. ultimate
ad 3. i am

thanks for reply .)
Then I really can't say why it doesn't work :\

BRKO
30-12-2008, 11:06
If its any help, mostly i get this

http://www.abload.de/thumb/adriakpag.jpg (http://www.abload.de/image.php?img=adriakpag.jpg)

Kijya
30-12-2008, 17:25
If its any help, mostly i get this

http://www.abload.de/thumb/adriakpag.jpg (http://www.abload.de/image.php?img=adriakpag.jpg)
Are you getting the crash when you type something into the search field of the ingame window and press enter?

What tab of the ingame window is up when you're "mostly I press F12 and type something and boom"

BRKO
30-12-2008, 17:49
The last 6 attempts were like this:
I press F12 and choose an account and a char and in F1 type something in the search field, it says item was not found and crashes...

Kijya
30-12-2008, 18:26
The last 6 attempts were like this:
I press F12 and choose an account and a char and in F1 type something in the search field, it says item was not found and crashes...
It's now been tested a bit more on vista, and seems it does indeed crash quite a bit, not just the problem you've mentioned. (my vista tester didn't have to much time before Christmas because of exams ... I might have released it a bit ahead of time for vista users ...)





If anyone has access to vista (any version) and know how to program in VB6 (/can open and trial run the source code) I'd love to hear from you :wave:

JustAPlayer
31-12-2008, 15:14
Some general suggestions:

1. U made a global keyboard hook; make SURE that the application will not give any error during hook procedure otherwise the app crashes and even worse u can make system to crash (use On Error Resume Next)

2. Put radio buttons on a picturebox with no border (so invisible in runtime); otherwise when u use xp style the background of the radio buttons will be shown black (VB bug)

3. Create an empty file called application.exe.local (put there the name of your application) and install all dll/ocx file in the exe path. This way The app will load first the local files ignoring other versions existing in the system. (see this thread (http://blogs.msdn.com/junfeng/archive/2006/01/24/517221.aspx))

4. Make proper error handling with logs and log everything that could help u to debug. This way you could ask the users to send u just a log and locate the problem in the code.

Get someone to double-check ur code ;) (i already offered u my help ;) )

Kijya
31-12-2008, 15:33
Some general suggestions:

1. U made a global keyboard hook; make SURE that the application will not give any error during hook procedure otherwise the app crashes and even worse u can make system to crash (use On Error Resume Next)
Thanks, added to things to do.

10) make sure no uncontrolled errors happen during the hook proc.

2. Put radio buttons on a picturebox with no border (so invisible in runtime); otherwise when u use xp style the background of the radio buttons will be shown black (VB bug)Noticed this earlier and switched to graphic style on the option buttons, I though, seems I missed the ones in the trade settings ...

11) Fix all option buttons with the solution above.

3. Create an empty file called application.exe.local (put there the name of your application) and install all dll/ocx file in the exe path. This way The app will load first the local files ignoring other versions existing in the system. (see this thread (http://blogs.msdn.com/junfeng/archive/2006/01/24/517221.aspx))Thanks, that'll solve point 8 :thumbsup:

4. Make proper error handling with logs and log everything that could help u to debug. This way you could ask the users to send u just a log and locate the problem in the code.You make it sound simple, I never did proper error handling when I learned VB6 :whistling: Another thing to learn ... :scratchchin:

I'll visit the VB forum and have a look around on how to do it.

Get someone to double-check ur code ;)To me this sounds as an offer, it is right? :wink:

JustAPlayer
31-12-2008, 18:27
To me this sounds as an offer, it is right? :wink:

hehe ... kind of, isn't it ;)

Kijya
01-01-2009, 17:20
Here's a recap of all the changes we've figured out that are to be done so far:

1) make ingame search into a "and find" instead of "phrase find" (Done)
2) implement a sophisticated runewizard (Done)
3) make space work for loading items into listview (Done)
4) multi-drag nodes from treeview (abandoned ... for now)
5) OCR: Vea -> Vex (Done)
6) Fix color on grouped view headers (abandoned ... for now)
7) Selected only search -> all items search, loading results to listview (Done)
8) dependency files install to program folder (Done ... I think, selected all files I could to install to the app path)
9) OCR: White 3 or 5 incorrect (Done)
10) No uncontrolled errors in keyhook proc (Done ... I think ... still need to do "proper" error handling though)
11) fix buggy appearance of option buttons (Done)
12) Edit item -> make it "edit" the listview item too, not just remove it forcing you to reload (Done)
13) fix fonts (re sizes with windows and can get to big atm) (Done)
14) add ability to enter numbers in ingame search (Done)



I've fixed the first point so far, and have started looking at point 3. I'll probably do all the easy ones (5, 9, 11, 13, 14) tomorrow.


Question: Should I remove the case-sensitivity of all searches?
I think I should ...


Edit: Updates delayed further ... main computer PSU failure ... great start on the new year :whistling:
Edit2: Comp back online :jig:
Edit3: Added a clear button to complement the search button.
Edit4: Adding a OCR:

15) OCR: Z -> K (Done)


Edit5: the one left is ...
16) Update guides

Kijya
07-01-2009, 20:35
Updated and uploaded.

I've of course got more ideas to implement but in the end getting some feedback before doing things usually help.

Here's the currently listed things to do:

1) Make the runewizard display runeword stats when you hower your mouse over the listed runeword names.
2) multi-drag nodes from treeview
3) Fix color on grouped view headers
4) Proper error handling
5) Make it work properly on vista
6) Fix "Link" in tradelist printing options (used to hide itemstats in an url link instead of a mile long row)

JustAPlayer
07-01-2009, 21:07
Any chance to get the source code?

Kijya
07-01-2009, 21:10
Any chance to get the source code?
Sure thing, got msn? :scratchchin:

JustAPlayer
07-01-2009, 21:40
Yep ... just added u

Kijya
12-01-2009, 14:16
Currently pending updates for next version (3.2):

1) Make the runewizard display runeword stats when you hower your mouse over the listed runeword names. (done)
2) Proper error handling
3) Make it work properly on vista
4) Fix "Link" in tradelist printing options (done)

Removed the old 2 and 3, since I don't think there's any demand for them.


I'll have a look on point 2 and then upload a new version, hopefully proper error handling will help solve point 3, since I don't have vista myself to test ...

JustAPlayer
12-01-2009, 22:50
sorry for delay but i am in acceptance test for a work product therefore not having too much time for testing

Kijya
13-01-2009, 16:08
sorry for delay but i am in acceptance test for a work product therefore not having too much time for testing
No worries, can't say I'm working too much on it either atm :whistling: And you're doing me a favor in the first place, so don't apologize :p

Kijya
20-01-2009, 20:10
I've started at the uni again and have less time for this once more, but that doesn't mean it's standing completely still.


Notable things is the addition of the fifth thing on the "to do list", one I know how to do so shouldn't be to hard to get that working.


Currently pending updates/ideas for next version (3.2):

1) Make the runewizard display runeword stats when moused (done)
2) Proper error handling
3) Make it work properly on vista
4) Fix "Link" in tradelist printing options (done)
5) Popup/rightclick menus (done)
6) Increased abbreviation database (done)
7) Interface fixes (done)
8) Make the runewizard calc possible runewords for a selected item (done)
9) Character planner (work stated ...)
10) Make it learn from it's OCR mistakes that the user corrects. (Abandoned)
11) add ability to insert the full tradelist into code/quote brackets (done)
12) *New* OCR: Item description width cut-off function ... (Done)

@6: I've increased the number of abbreviations for mods and added a separate option that lets the user decide if he/she wishes to abbreviate item names too.

@7: I noticed some small UI errors that slipped in with version 3.1 (ones that weren't present in 3.0), so fixing those back to the way they're supposed to be ...

@8-9: I've made the functions that determine what type of item the selected item is. I've Also made an draft on the inventory interface, and added dragdrop to that, need to figure out where to place a character screen ... and a function that loops though the items and sums the amount of fhr, fcr etc.




*New*

@10: The learning process would be rather unnecessary now thanks to the addition of the function in point 12.

@12: This function basically increases the ocr scans accuracy at detecting the item descriptions left and right boarder so that no extra letters are incorrectly added beyond them.

Turbstar
09-02-2009, 00:03
how do you add items, when i press insert nothin happes

Kijya
09-02-2009, 20:22
Sorry for taking so long with version 3.2 all. My university seclude is rather inhuman so don't have much time to work on it :hang:

I'll probably not include the point 9 (character planner) in version 3.2, that point is taking quite a long time and I think I shouldn't let it delay the other updates too much longer.


how do you add items, when i press insert nothin happes
I'll assume you've gotten the basic requirements down (you're using windows xp and you're playing d2 in windowed mode).



Create a new accounts using tab 2 of the ingame window.
Add characters to the accounts.
When you wish to add items to a character open tab 1.
Use up/down arrow keys to scroll though the accounts, and use left/right arrow keys to select a character.
When you've selected a character to add the item to then simply hover the mouse over an item and press insert.


I'm assuming you've missed step 4, hope it will help.

Look up on section 2.6 in the included user manual (check the start menu) for some notes on how to make the ocr function work properly.

Oscuro
10-02-2009, 08:40
I just found this thread and like where the project is heading. Regarding set items, here is an example for my suggestion:
[g]Angelic Halo
[g]Ring
[r]Level: 12
[b]+20 to Life
[b]Replenish Life +6
[e]
[u]Angelic Raiment
[r]Angelic Wings
[g]Angelic Halo
[r]Angelic Mantle
[r]Angelic Sickle

In my opinion, the set name (in this case "Angelic Raiment") and especially the set component items listed beneath do not need to be listed.

Also I encountered the same problem as Ax2Grind:
First initial problem: told that 'some' of my files aren't up-to-date, but not which before offering to replace them. After updating Win2KPro completely, this still happens.and the problem persisted even after allowing the installer to update on its own. I bypassed this file check by opening SETUP.LST and commenting the lines below:
;File1=@VB6STKIT.DLL,$(WinSysPathSysFile),,,6/17/98 11:00:00 PM,102912,6.0.81.69
;File2=@COMCAT.DLL,$(WinSysPathSysFile),$(DLLSelfR egister),,5/30/98 11:00:00 PM,22288,4.71.1460.1
;File3=@stdole2.tlb,$(WinSysPathSysFile),$(TLBRegi ster),,2/28/06 1:00:00 PM,17920,3.50.5014.0
;File4=@asycfilt.dll,$(WinSysPathSysFile),,,4/14/08 1:11:49 AM,65024,5.1.2600.5512
;File5=@olepro32.dll,$(WinSysPathSysFile),$(DLLSel fRegister),,4/14/08 1:12:02 AM,84992,5.1.2600.5512
;File6=@oleaut32.dll,$(WinSysPathSysFile),$(DLLSel fRegister),,4/14/08 1:12:02 AM,551936,5.1.2600.5512
;File7=@msvbvm60.dll,$(WinSysPathSysFile),$(DLLSel fRegister),,2/28/06 1:00:00 PM,1392671,6.0.96.90
note that if you do indeed lack the functionality provided by these files, the installer will probably fail anyways. In my case, it worked fine.

Kijya
10-02-2009, 20:46
I just found this thread and like where the project is heading. Regarding set items, here is an example for my suggestion:
[g]Angelic Halo
[g]Ring
[r]Level: 12
[b]+20 to Life
[b]Replenish Life +6
[e]
[u]Angelic Raiment
[r]Angelic Wings
[g]Angelic Halo
[r]Angelic Mantle
[r]Angelic Sickle
In my opinion, the set name (in this case "Angelic Raiment") and especially the set component items listed beneath do not need to be listed.
So far I've just aimed to make the OCR function accurate, and haven't though that much about filtering away unnecessary parts of the item description. You've got a point though, and while I'd like to keep the OCR function complete so that it keeps scanning the whole item description, I could include an option that the user can turn on to make the OCR "filtering" function remove that part when adding an item.

For making tradelists I've already decided to make the program remove that part at least. :cloud9:

Also I encountered the same problem as Ax2Grind:
and the problem persisted even after allowing the installer to update on its own. I bypassed this file check by opening SETUP.LST and commenting the lines below:
;File1=@VB6STKIT.DLL,$(WinSysPathSysFile),,,6/17/98 11:00:00 PM,102912,6.0.81.69
;File2=@COMCAT.DLL,$(WinSysPathSysFile),$(DLLSelfR egister),,5/30/98 11:00:00 PM,22288,4.71.1460.1
;File3=@stdole2.tlb,$(WinSysPathSysFile),$(TLBRegi ster),,2/28/06 1:00:00 PM,17920,3.50.5014.0
;File4=@asycfilt.dll,$(WinSysPathSysFile),,,4/14/08 1:11:49 AM,65024,5.1.2600.5512
;File5=@olepro32.dll,$(WinSysPathSysFile),$(DLLSel fRegister),,4/14/08 1:12:02 AM,84992,5.1.2600.5512
;File6=@oleaut32.dll,$(WinSysPathSysFile),$(DLLSel fRegister),,4/14/08 1:12:02 AM,551936,5.1.2600.5512
;File7=@msvbvm60.dll,$(WinSysPathSysFile),$(DLLSel fRegister),,2/28/06 1:00:00 PM,1392671,6.0.96.90
note that if you do indeed lack the functionality provided by these files, the installer will probably fail anyways. In my case, it worked fine.
Understand that it's been a problem, I'll be trying to make every dll and ocx file install in the application folder for the next release.

Oscuro
10-02-2009, 21:52
For making tradelists I've already decided to make the program remove that part at least. :cloud9:Thanks!

Understand that it's been a problem, I'll be trying to make every dll and ocx file install in the application folder for the next release.Thanks! :thumbup:

Kijya
14-02-2009, 16:19
Uploaded a new version.

Need feedback on if it works for you all, not sure if the dll redirection works properly, nor if the install package making program I used did a good job.

MysticDragon
19-02-2009, 15:25
Oh, there is a user manual. I am an idiot. >_<

The popup when I press f12 sometimes gets stuck on the bottom of my screen so I can't see the bottom half of it and it won't move into the normal position.

Kijya
19-02-2009, 18:36
Oh, there is a user manual. I am an idiot. >_<

The popup when I press f12 sometimes gets stuck on the bottom of my screen so I can't see the bottom half of it and it won't move into the normal position.
When that happens go to the settings tab of the main window and set the diablo mode to fullscreen. Doing that will make adria stop trying to find and position the ingame window at your d2 window and instead use absolute positioning with a 800x600 screensize in mind.

wsskappa
19-02-2009, 22:39
I extracted into a folder... every time I run it my computer crashes..

I'm using windows xp with diablo 2 windowed. Crashes with or without game open..

Help...?

Kijya
20-02-2009, 05:52
I extracted into a folder... every time I run it my computer crashes..

I'm using windows xp with diablo 2 windowed. Crashes with or without game open..

Help...?
Are you running it as administrator? Is your XP copy updated? (service pack 3)

Is there anything in the accounts text file inside the program directory? (shouldn't be if it's a new installation ....)


What error message do you get (assuming you are getting one)?



One reason it could be crashing would be if I've failed to make it only use the local dependencies, then it could be searching your system32 for dll and/or ocx files and failing to load as it doesn't find them. A temporary fix in that case would be to copy the files in the adria.exe.local folder into system32, but of course it was not my aim for users to have to do that ...

wsskappa
20-02-2009, 06:23
I don't get any error at all. My computer just freezes and then next thing I know the computer shuts off and starts back up. I am running on administrator. Looks like it's on service pack 2.

It opened fine twice. But ever since I quit, to look for instructions on how to use it, it has crashed my computer on opening.

I'll try to copy the files and I will report back..

* As usual... sound froze, then the computer went... =/

Kijya
20-02-2009, 15:19
I don't get any error at all. My computer just freezes and then next thing I know the computer shuts off and starts back up. I am running on administrator. Looks like it's on service pack 2.

It opened fine twice. But ever since I quit, to look for instructions on how to use it, it has crashed my computer on opening.

I'll try to copy the files and I will report back..

* As usual... sound froze, then the computer went... =/
Don't know what could be as severe as to force the computer to reboot, but if it worked twice before maybe something got corrupted during the first times you used it. Still it shouldn't force the computer into a reboot ...

Do you get the same error if start a new install that you download again and extract in a new folder?

wsskappa
20-02-2009, 22:00
Hmm. I downloaded a fresh copy and it worked ok for a little bit. I closed it once and tried to fiddle around with it for 5 min.. then it started crashing again. Every time I open it.. =/ No error message. Just freezing and then reboot.

Kijya
20-02-2009, 22:04
Hmm. I downloaded a fresh copy and it worked ok for a little bit. I closed it once and tried to fiddle around with it for 5 min.. then it started crashing again. Every time I open it.. =/ No error message. Just freezing and then reboot.
Could you upload a copy of each of the text files in the folder? (zipping them and attaching them to one of your posts should be fine, or you can email me the files)

If one of them is the cause then maybe I can get the same error if I use it on my computer, and it'll be easier to find the cause.

wsskappa
20-02-2009, 22:40
Sent you an email with the files.

Kijya
20-02-2009, 22:48
Tested and worked fine starting with those files, must be something else, sent you a reply email.


Using this software we may be able at least get an error message instead of an instant freeze and reboot:
http://www.opera.com/support/kb/view/432/


That being said if you use it and do get an error it's not certain my knowledge will be enough to find out what it means.

ian_linington
25-02-2009, 13:53
Kijya,

Very nice bit of work there ! I've had a couple of hicups whilst using it but not documented the full process oh what caused it go wrong but if it happens again i'll let you know. The only main issue whilst using it at the moment looks to be the OCR detail capture process, either not locating the edge of the item popup or confusing it with the lines that exist in the background.. either way it looks like it just locks up and it then fails to respond causing me to kill and restart the app.

Can you confirm what free tool you would reccomend to get the light value from a screen capture to put into the ini file ?

If I get time I'll try and look at getting a VB version to also look at the code.. what version is it written it ?? VB6 /VB.net etc ??

Cheers

Ian L.

Kijya
25-02-2009, 21:23
Kijya,

Very nice bit of work there ! I've had a couple of hicups whilst using it but not documented the full process oh what caused it go wrong but if it happens again i'll let you know. The only main issue whilst using it at the moment looks to be the OCR detail capture process, either not locating the edge of the item popup or confusing it with the lines that exist in the background.. either way it looks like it just locks up and it then fails to respond causing me to kill and restart the app.

Can you confirm what free tool you would reccomend to get the light value from a screen capture to put into the ini file ?

If I get time I'll try and look at getting a VB version to also look at the code.. what version is it written it ?? VB6 /VB.net etc ??

Cheers

Ian L.
Thanks for comment

I've also experienced that lockup with the 3.2 version, it wasn't present in v3.1 and I just can't seem to find how come it does lock up since I didn't add any "eternal" while loops that I can see :whistling:

I'm currently working on how to make the OCR more efficient and accurate. The OCR bug will be fixed in the next version, but I can't give any sure dates of course ... specially since I'm currently in hell in rl (uni work taking hell of a lot time ...).

For getting the color value you can use:
http://www.freeserifsoftware.com/software/PhotoPlus/default.asp
The free SE version is more then enough.

The program is coded in VB6.

Cheers

Kijya
28-02-2009, 19:32
Updated!

Think all the lockup issues are resolved, and I've made it so that the OCR shouldn't be to bothered about if your mouse pointer is centered below/above text or not.


Hope everyone will like it :thumbsup:


Edit: It seems there's still some problems with the OCR engine and that it can lock up some times (think it has to do with the d2 letters that extend below the "underline", like / ). I'm currently working on a new approach to how to do the OCR, so I'll try to get that one going instead of fixing the bugs of the old one. Will take time though ...

SevGaming
01-04-2009, 21:26
On paper this looks like a great program, but since it doesn't run on my computer that's all I have to go by.

I'm using Windows XP SP3 on a brand new computer with nothing but Diablo 2 installed. When I try to run I get the following error:

"The application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem."

Kijya
01-04-2009, 21:41
I cannot recall writing that specific error message, and a search through the source code found nothing. As such it must be an external error and I can't tell for sure why it happened or how to fix it.

Will it start if you run it windows 2000 compability mode, or if you right click on the program -> run as -> then select admin?

Since it's an external error it be better if we had an error code to go by, that error message is kind of vague :\

SevGaming
01-04-2009, 21:46
No good. Doesn't run under 2k compatability or admin. Same error. At first I thought it might have been because I had a Korean IME installed, which requires some programs to run under AppLocale... however, I tried this, and even uninstalled the IME, and still no good. Not sure what else could be causing it since like I said this is a brand new XP install. Nothing on it but windows updates, Diablo 2, Firefox, and formerly IME.

Kijya
01-04-2009, 21:53
some googlefoo later

It seams to me that the error is linked to missing dll or incorrectly installed ones. Basically the program fails to look for them inside the "Adria.exe.local" folder.

By default windows should be checking windows\system32 for the files if it fails to find them elsewere, but before trying to move the files there you could try copying those files into the actual program folder.

Also you may do well to install microsoft scripting runtime, should be avialable for download on microsoft.com/downloads somewhere.

Edit: ms scripting runtime: http://www.microsoft.com/downloads/details.aspx?FamilyId=C717D943-7E4B-4622-86EB-95A22B832CAA&displaylang=en

Glad you seem to have gotten it to work.

SevGaming
01-04-2009, 21:55
About the dlls... I placed all of those in sys32 after the first time I tried running it, and no go. I then tried them in the app folder, and in the D2 folder. Didn't change anything no matter where I put them =/

Going to check out that scripting runtime now and see what that does.

SevGaming
01-04-2009, 22:04
Ok, the scripting runtime changed the error message. I am now getting Run-Time Error 7 (Out of Memory)

Any ideas on that one?

According to a google search, this error literally means there isn't enough memory in some place (HD, RAM, etc) but my computer has over 1TB HD space free, and about 3.2G of RAM free.

EDIT: Ignore this post. Reinstalling from the zip file fixed this. Appreciate the help!

simplewizard
02-04-2009, 09:47
Just want to congratulate you on this awesome program. :thumbup:

After a few minutes, I've managed figure it out pretty easily and it is effective and awesome. It seems some items do not want to scan, causing a crash and forcing me to restart, but 95% of the time it is working great.

Thanks a lot, keep up the good work!! :smug:

Kijya
04-04-2009, 08:40
Update:
I've thrown in a small adjustment to the item description boarder finding function. It should lock up less now hopefully.

It's a small fix to keep you busy until a larger update is made ...

BRKO
04-04-2009, 12:01
vista x86 comments:

Freezes when deleting an account in the very left column...randomly even as you tick one (15 times in last 20 attempts).
The F12 table appears quite often half-hidden at the bottom of the screen stuck there.
However when it works its really great! I must only find out how to get the name of an item not only bold but also underlined automaticaly .)

Kijya
04-04-2009, 12:13
vista x86 comments:

Freezes when deleting an account in the very left column...randomly even as you tick one (15 times in last 20 attempts).
The F12 table appears quite often half-hidden at the bottom of the screen stuck there.
However when it works its really great! I must only find out how to get the name of an item not only bold but also underlined automaticaly .)
Not sure I can do anything straight away about the freeze on deleting account issue. You can delete accounts/characters manually by editing the txt files inside the program folder. The database struckture is quite simple:

"Accounts.txt" should contain a list of all account names, one per line, each of those accounts must have their own .txt file.

"Accountname.txt", where "Accountname" is the name of your account should contain a list of characters on that account. Each character must have its own .txt file.

"Charactername.txt", where "Charactername" is the name of your character contains the item data for all items on that character. One item per line.




As for the ingame window getting stuck far down, try selecting fullscreen as the diablo mode in the settings tab.




For formatting the tradelist you should click the setup button on the tradelist tab, for underlined item names instead of bold ones you place "name" instead of the default "name" in the item name field. I'm sure you'll get the hang of it.

BRKO
04-04-2009, 12:17
Thanks a lot .)

version 3.3.1 doesnt launch and gives me "runtime error 429"
my wife has gone shopping so i may have some time to play with it now :)

Kijya
04-04-2009, 12:23
Thanks a lot .)

version 3.3.1 doesnt launch and gives me "runtime error 429"
my wife has gone shopping so i may have some time to play with it now :)
If 3.3.0 worked while 3.3.1 didn't it is kind of strange, but error 429 should be about not having ms scripting installed in any case:
http://www.pptxtreme.com/help/effects_library/RuntimeError429ActiveXComponentCantCreateObject.ht ml

If the program still refuses to start then try running the .bat file included inside the "Adria.exe.local" folder.

BRKO
04-04-2009, 12:41
ms scripting...windows say that my current version is up-to-date and newer than the one from the link...

Still 3.3 crashes and 3.3.1 doesnt even launch
There must be something wrong on my pc if elsewhere Adria works :(

Kijya
04-04-2009, 12:45
ms scripting...windows say that my current version is up-to-date and newer than the one from the link...

Still 3.3 crashes and 3.3.1 doesnt even launch
There must be something wrong on my pc if elsewhere Adria works :(
Not sure if that one links to the most current one, might be better to search microsoft.com/downloads for the newest version. The one linked from there is for windows xp also, so for vista there might be another one?

Have you run the .bat file?

BRKO
04-04-2009, 15:19
3.3 now freezes 100% when adding items. First 2 or 3 ok and then "Not Responding"
3.3.1 my ms scripting tool is really the latest version but still it doesnt launch
The .bat file is no good.

This is a mystery to me :)

Kijya
04-04-2009, 16:42
3.3 now freezes 100% when adding items. First 2 or 3 ok and then "Not Responding"
3.3.1 my ms scripting tool is really the latest version but still it doesnt launch
The .bat file is no good.

This is a mystery to me :)
Are you running it as admin? Have you tried running it in some kind of "windows xp compatible mode"?

Can only give the basic advice without error messages to go on.

One thing: where are you trying to run it from, aka where did you extract the program?

BRKO
04-04-2009, 16:57
3.3.1
admin for sure
xp compatible also tried
downloaded to desktop, extracted and launched or tried to :)
did some memory checks
keep getting the same "runtime error 429 - activex component cannot create object" followed by "runtime error 440 - automation error"
updated anything that I could

3.3.1 just keeps resisting
I think there is some very simple solution :)

Kijya
04-04-2009, 17:02
Try placing the program in the program files folder, vista has some security measures stop programs outside it (or the windows folder) when they try to access some of the hooks.

Hmm might have an idea, will upload a new zip shortly.

BRKO
04-04-2009, 17:10
Try placing the program in the program files folder, vista has some security measures stop programs outside it (or the windows folder) when they try to access some of the hooks.

No result...

Kijya
04-04-2009, 17:23
There, uploaded it again, forgot to embed a manifest into the exe file, that might have been it ... might :whistling:

BRKO
04-04-2009, 17:33
It runs now!
Or it launches smoothly but gets stuck when pressing repeatedly INSERT to put items in a tradelist...

Kijya
04-04-2009, 17:37
It runs now!
Or it launches smoothly but gets stuck when pressing repeatedly INSERT to put items in a tradelist...
Could you post a screenshot of where exactly it crashes? (Just before you press insert)

Edit: Indeed, I'm on it ...

BRKO
04-04-2009, 17:52
http://www.abload.de/image.php?img=capture4.4.2009-17.46.2coy.jpg

I press INSERT over an item and in F12 windows a blue text appears. When I press INSERT more times over more items the blue text stops to appear and program stops responding. It doesne say "not responding" or so, it just hangs and has to be shut down thru task manager.

Kijya
04-04-2009, 18:19
Seams I cannot find why it does that, and it's to big of an error to ignore.

I'll be taking the program down for now, not sure when it will return online, I may just decide to focus on a version currently in development instead of bugfixing this one. Sorry for the inconvenience.

We'll see ...

BRKO
04-04-2009, 21:16
Ok, I will gladly test any new version on 32bit vista. Thank you very much for your effort Kijya :thumbup:

BRKO
05-04-2009, 11:32
Again trying the 3.3.1.
Runs so far but cannot add item into tradelist and says:

11:28:01 Mouse located outside D2, cannot determine starting position for picture crop-scan.
11:28:01 Item could not be properly scanned, try moving it to a different position.

***EDIT:
The upper usually fixed by restarting both Adria and d2. Now I launch Adria, press F12 and in 90% cases it freezes immediately.

Crowd Control
05-04-2009, 17:40
I might have found some time to check up on how it runs on Ubuntu 32 bit. Let me know whenever you like this.

Kijya
05-04-2009, 18:15
Crowd Control, don't really think it will ever work on linux, it uses some pretty heavy windows api calls and really don't think wine has support for those included. But thanks for your offer. :wink:

Sorry BRKO, when I made the small update to 3.3.1 I had in mind to just make it last until a new version would be complete. If it starts to pile on more bugs it isn't feasible to keep bugfixing it when there's a new version in development.

As some might have noticed JustAPlayer offered to help me on the early pages of the thread. He has done some, and has done a great job so far. He has more or less completely remade the program from scratch, keeping the good bits and thrown out bad ones, a new interface, more stable operation and overall better program structure. He and I will be working on this new version, for now my work is to keep up with his programming skillz. :whistling:

BRKO
10-04-2009, 18:50
No problem thx .)

I have just tested 3.3 and 3.3.1 on my XP based work laptop and they keep freezing (or starting not to respond) both...
I wonder if my hardware is stupid or if its just me :)

JustAPlayer
12-04-2009, 21:48
Here is a first public preview on the new version:

http://img2.imageshack.us/img2/444/adria1.th.jpg (http://img2.imageshack.us/my.php?image=adria1.jpg) http://img411.imageshack.us/img411/5530/adria3.th.jpg (http://img411.imageshack.us/my.php?image=adria3.jpg) http://img412.imageshack.us/img412/6893/adria2.th.jpg (http://img412.imageshack.us/my.php?image=adria2.jpg)

I hope you will like it :)

BRKO
13-04-2009, 22:43
Looks nice and if it works I owe you a beer guys .)

Buah
19-04-2009, 12:36
Looks nice.. I hope u get it working soon, I want test it =)

korialstraz
21-04-2009, 17:23
So I guess there is no working version for Vista 32 bit atm? :S

Crowd Control
21-04-2009, 17:45
So, have you uploaded this yet? If so, you should update your first post with several links to versions for download. I still don't give up on Linux and I can test on Vista 32bit also.

Kijya
21-04-2009, 18:07
It's still not done, and it will take quite a while longer. Although I'd rather not give a date, I'd doubt that you could expect it to be done in the next 3 weeks.

The first post will be updated when it's up.

korialstraz
21-04-2009, 21:53
Damn. Well maybe by that time I have more items which need sorting. Atm only my 2 remaining HC mules have not been written down yet.

Keep up the good work though! :thumbsup:

Crowd Control
22-04-2009, 11:50
It's still not done, and it will take quite a while longer. Although I'd rather not give a date

Woot!! Blizz style.

It's done when it's done.

Kijya
24-05-2009, 09:35
A new "while you wait" version has been uploaded. Basically it's the old program tweaked with a new OCR engine, and it's not just small fix but a complete remake of the OCR engine.

Hope people will like it and that it will keep your interest up while you wait for the fully new version that is in development. For those who have had problems I recommend trying it again after having installed:
http://www.microsoft.com/downloads/details.aspx?FamilyID=BA9D7924-4122-44AF-8AB4-7C039D9BF629&displaylang=en

BRKO
24-05-2009, 10:25
Downloading a ready to test .)

BRKO
24-05-2009, 11:22
Maybe a small hint for development:
When I create a tradelist it shows that an item is socketed but not the exact number of sockets...

Kijya
24-05-2009, 13:12
Maybe a small hint for development:
When I create a tradelist it shows that an item is socketed but not the exact number of sockets...
That is strange, I've not edited the tradelist making algorithms anything from previous version, and the sockets seem to show up for me just fine.

Did the OCR really read the item correctly? Check the stats of the item by opening it in the edit tab or hovering your mouse above it while pressing alt, before letting it though the tradelist making algorithm.

BRKO
24-05-2009, 17:33
No matter what socketed item the number is not shown. When I use EDIT THE ITEM it clearly shows the proper number of sockets.
And some items have their names missing:

+200% Enhanced Damage (itd, +200% dtd, +200% dtu, + 12-17 fdmg, +50 cdmg, , Natalya's Odium, Natalya's Soul, Natalya's Shadow, Natalya's Mark, Natalya's Tot)

Level 17 Meditation Aura When Equipped (+35% fcr, +204% edmg, +9 min, 198% ar, + 5-30 fdmg, +75 poison over 5 sec, +5 to Critical Strike, +5 @stats, +2 mak, 23% mf, SOCKETED ()

This is what I get instead of natalyas claw and INSIGHT grim scythe...

Kijya
24-05-2009, 17:38
No matter what socketed item the number is not shown. When I use EDIT THE ITEM it clearly shows the proper number of sockets.
And some items have their names missing:

+200% Enhanced Damage (itd, +200% dtd, +200% dtu, + 12-17 fdmg, +50 cdmg, , Natalya's Odium, Natalya's Soul, Natalya's Shadow, Natalya's Mark, Natalya's Tot)

Level 17 Meditation Aura When Equipped (+35% fcr, +204% edmg, +9 min, 198% ar, + 5-30 fdmg, +75 poison over 5 sec, +5 to Critical Strike, +5 @stats, +2 mak, 23% mf, SOCKETED ()

This is what I get instead of natalyas claw and INSIGHT grim scythe...
Go into the tradelist options (setup button in the tradelist tab) and uncheck the checkboxes for abbreviating item stats and item names. It shouldn't be those but since I'm not getting the error I've got no clue other then to mess around with those settings.

Also try the full print checkbox and see if everything is displayed correctly then.

Crowd Control
25-05-2009, 00:21
So I downloaded it on my Vista partition and was awestruck at how dfficult this thing looks. That's just me of course since I haven't seen it before, but already compliments on the completeness of it all: readme, pdf, exe. I will take a look at it in the following week.

Keep up the good work Kijya, I am rooting for you.

Kijya
25-05-2009, 21:15
Thanks for taking a look at it cc, it's a fairly big project indeed, about 6k lines of code actually. At some point it just kinda felt that a pdf guide and readme was "to be expected" :wink:

That being said, I'm convinced you'll find the version currently in development, by me and JustAPlayer, even more "complete" when it is released. :yes:

As far as updates go, the new OCREgine has been successfully integrated into the new version, with a few tweaks. We still have some bigger components left to integrate, like tradelist printing, the runewizard, ingame info library etc. Some bug annihilation is still left to do of course ...

I'm currently designing the tradelist settings page, like the one seen after pressing the settup button in the tradelist tab. I'm reusing many ideas from the uploaded version but I'd love to hear more suggestions.
Any type of auto formatting function you feel like you miss etc?

Feel free to come with suggestions and pointers.

Chairnick
26-05-2009, 00:03
Hmm, tried the new version about 3 or 4 times and everytime I ran it, my computer crashed down after a while when I was using the program.

EDIT: Actually now it crashes my computer down upon execution.

I have:
Win XP SP2
Athlon 2500+
Radeon x1650pro
1,5 GB ram

Kijya
26-05-2009, 08:11
Hmm, tried the new version about 3 or 4 times and everytime I ran it, my computer crashed down after a while when I was using the program.

EDIT: Actually now it crashes my computer down upon execution.

I have:
Win XP SP2
Athlon 2500+
Radeon x1650pro
1,5 GB ram
Are you not getting any error messages before that happens?
Have you installed the files I mentioned in the first post under installation?
Are you running the program as admin?

Chairnick
26-05-2009, 10:42
Are you not getting any error messages before that happens?
Have you installed the files I mentioned in the first post under installation?
Are you running the program as admin?

Nope, it just crashes as if I would press hard reset.
Nope, will try now and report later.
Yes I do.

Edit: Installed both, still resets.

Kijya
26-05-2009, 11:24
Nope, it just crashes as if I would press hard reset.
Nope, will try now and report later.
Yes I do.

Edit: Installed both, still resets.
You could update to XP SP3 and try again, but waiting for the now developing version is also an option ...

Since the program uses a low level keyboard hook it could be your antivirus that tries to prevent it for doing that, and then the computer crashes because the hook was stopped or "unhooked" improperly, or similar.

In any case I fear that I'm unable to figure out the true reason without any error message hints, all I can do is make basic guesses :\

Chairnick
26-05-2009, 11:35
Funny thing is, the program runs for a while when I run it the first time (I managed to get 3 mules into database) but after it crashes, it resets my computer upon execution, like some script would broke or something.

Anyways, I'll wait for the new version. :)

Kijya
26-05-2009, 11:39
Funny thing is, the program runs for a while when I run it the first time (I managed to get 3 mules into database) but after it crashes, it resets my computer upon execution, like some script would broke or something.

Anyways, I'll wait for the new version. :)
oh, then email me the database txt files in your program directory, Accounts.txt and all the txt files named after characters and accounts.

If I have them I should be able to reproduce the error with inside the development environment and it should point me at what's wrong. The problem probably has to do with the program failing to load the saved database.

Chairnick
26-05-2009, 11:51
Email sent to your hotmail account.
And I noticed another thing, it seems it resets upon execution only if the adria is open and I run diablo and the other way around.

Edit: Wait, some problems with email.
Edit2: Sent

Kijya
26-05-2009, 12:04
Received and tested, but it ran without problems here X(

Back to square one, it must be a compatibility issue with some external influence on your computer. I guess you may as well wait for the next version.

With summer approaching I can spend more time on this project and development will speed up. So I hope the wait will not be too long, though I'll still not make any promises about when it will be ready.

Chairnick
26-05-2009, 12:20
Well thanks anyway for looking into it. :)

BRKO
27-05-2009, 22:22
The F12 window gets stuck haf-hidden at the bottom of the screen so I cannot see a thing. I have just tried 15 times to launch the program...

If it works 100% ok elsewhere then there is something wrong on my pc I fear because its random event. Few days ago it worked just fine :(

Kijya
28-05-2009, 08:21
The F12 window gets stuck haf-hidden at the bottom of the screen so I cannot see a thing. I have just tried 15 times to launch the program...

If it works 100% ok elsewhere then there is something wrong on my pc I fear because its random event. Few days ago it worked just fine :(
Go to the search and options tab and set diablo mode to fullscreen :wink:

korialstraz
28-05-2009, 09:18
Downloaded it yesterday but haven't had time to try it yet. Hopefully I will soon.

JustAPlayer
30-05-2009, 18:19
problem with missing texts is fixed in the new project branch

Kijya please ingnore the comma character in OCR (use empty string instead). Comma is used as an internal separator so when it comes in a description line it is messing everything (it happens for eth socketed items wher last line looks like "ethereal, socketed(x)"). Ignoring it in OCR will fix the problem and it is not a big loss.

Kijya
30-05-2009, 18:25
Kijya please ingnore the comma character in OCR (use empty string instead). Comma is used as an internal separator so when it comes in a description line it is messing everything (it happens for eth socketed items wher last line looks like "ethereal, socketed(x)"). Ignoring it in OCR will fix the problem and it is not a big loss.
Indeed I noticed that too, we'll discuss it on more on msn.

Punkonjunk
23-06-2009, 16:11
So this is the most funtional, usable trade/inventory program I've ever used. A+++++, this is amazing. Now if only patch 1.13 would come on out...

Kijya
23-06-2009, 20:31
Thanks for your comment, glad you like the program. :thumbsup:

Work is still being done on the new version, we're currently working on language related issues and ingame information access.

The runewizard will probably be left for later unless you users found it useful and wish for us to include it right from the start.

Kijya
14-07-2009, 21:37
New version is nearly ready for release, I'd expect it within this or the next week.

We're going to bury the "ForumTrader" name in the past and continue on using "Adria" as the name for this series of applications. This of course so that they falls into the ranks with most other programs made for the diablo games, being named after an NPC ... Not to mention that forumtrader was a rather bad name right from the start :whistling:

The new version will be "Adria 4.0", keep an eye out for the new thread I'll make once it is released.

In the mean time I guess we should be giving some info ... seeing as we've kept awfully quiet for a long time. I can't say that I'm a big fan of the "it's done when it's done" style myself to be honest ...

Below you can download the 4.0 manual, also I or JustAPlayer (if he decides to drop by) can answer questions if you have any specific ones.

BRKO
15-07-2009, 09:40
Cool guys. We are waiting .)

CCCenturion
22-07-2009, 18:43
I'm very excited to start using this program. I recently decided to organize my mules so I could find things better, and after around 10 hours of muling (not all at once!), I am completely overwhelmed by the thought of typing up my own tradelist.

Reading through the manual now, I've spotted a typo on page 6, where you explain the features of the "Settings" window. At the bottom of the page, you wrote

"5 – Pane Theme
Changing this will alter the program appearance."

Arrow #6 is the one pointing to the Pane Theme. Arrow #5 points to the Window Caption field. On page 5 you do explain the Window Caption field, but it would be better if you moved that to page 6, so that it's grouped with the other items, and so that readers have a chance to see the screenshot before reading about the Window Caption field. It's a small detail, but it would help the manual flow better. Other than that, I'd say the manual is very clear and well-written.



One feature of the program that I found very interesting was the Pricetag feature on the Tradelist editor. Have you looked into the possibility of using Adria to compile a price guide database? I'm not sure exactly how to do that best, but one idea that comes to mind would be to make a preliminary database using the Price Guides on each of the trading forums here, then include the possibility of having Adria users send their tradelists to a database that reads the average prices for various items, and adjusts the database accordingly?

It's not an easy task, to be sure, but if you could get a lot of Diablo players to use Adria, and regularly collect and publish pricing data, it could potentially revolutionize the D2 economy.

Kijya
23-07-2009, 06:53
Thanks for notifying me on the typo in the manual.

Some kind of price database could indeed be included in Adria, though it will not of course be in the 4.0 release. Don't want to push it forward any more then I have too now :wink:

I could make a system that identifies the item, checks the item stats and then tries to find a fitting entry in some kind of price database. That shouldn't be to much of a problem. Keeping the database updated on the other hand isn't something I think the program should be doing, since that would require internet access*.

Manual updates from the community could be an option though. Individual users could upload their own price databases and other users could download whichever one they feel is the most accurate for their realm etc.



internet access*: I wish to keep the program clean from having any code to do with internet or email usage. I know the admins trust that this project isn't a scam, and I'm having the code inspected at each major release, but using a keyhook + internet access sounds a lot like a keylogger on paper. New users could feel unsafe using such a program unless they trust me or JustAPlayer.

CCCenturion
23-07-2009, 16:22
Good point on the Internet access issue. I think that if the community were to compile downloadable price database updates that would be a major help.

Kijya
26-07-2009, 19:04
New version is nearly ready for release, I'd expect it within this or the next week.
Looks like I'll have to eat those words, hopefully things will start rolling around here soon though ... any day now.

DoW Fanatic
28-07-2009, 04:44
First go at it. I made a mistake adding characters to the wrong account. Followed the directions for deleting characters. When I click the check box next to an account or character,(crashes) I get a runtime error(53) File is missing. I tried right clicking and doing it that way, it crashes and gives the same message.

Going to try it again. My OS is Vista Ultimate.

I have it working now. Problems I'm having so far:

1) It will not recognise 'Runeworded' Paladin Shields. It adds the item to my character but it's all garbled. Trying to edit the runeword line for line does not work. I had to place it in the top left corner of my stash to accept it because of the size of the text. Seems to be having trouble as the lines don't match up, like several lines are chopped off.

2) Editing items: it has trouble with the letter "u", works fine so long as I click away to clear the cursor from the section edited. For example:
"Superior" is listed as SL)perior, I edit the word and click away before saving and it saves the info correctly. If I do not click away before saving, the program crashes.

Getting used to it right now but I must say it's already saved me hours of aggrevation. Editing a word here and there is a small price to pay for this invaluable tool. Looking forward to the next version! Thank you for the work you put into this.

Kijya
28-07-2009, 09:04
First go at it. I made a mistake adding characters to the wrong account. Followed the directions for deleting characters. When I click the check box next to an account or character,(crashes) I get a runtime error(53) File is missing. I tried right clicking and doing it that way, it crashes and gives the same message.
Not sure why that would happen, though I had that part of the program working well in that version. Well anyway, hopefully you'll not have the same problem with the new version once it's here.




Going to try it again. My OS is Vista Ultimate.

I have it working now. Problems I'm having so far:

1) It will not recognise 'Runeworded' Paladin Shields. It adds the item to my character but it's all garbled. Trying to edit the runeword line for line does not work. I had to place it in the top left corner of my stash to accept it because of the size of the text. Seems to be having trouble as the lines don't match up, like several lines are chopped off.
This is a problem we noticed with the new OCR that I had developed. That OCR used the inventory grid to find the location of the item you where scanning, but items with a hell of a lot text sometimes had so much text that the item description got placed without the top/bottom being aligned to the inventory grid to make it fit. Once the OCR scanned it would find a item description positioned a few pixels wrongly, making the interpretation go wrong.

I've already made proper adjustments to fix this problem for the new version, no worries. In the meantime know that if you scan the shield while it is equipped it should work, since the scan doesn't rely on the inventory grid there.

2) Editing items: it has trouble with the letter "u", works fine so long as I click away to clear the cursor from the section edited. For example:
"Superior" is listed as SL)perior, I edit the word and click away before saving and it saves the info correctly. If I do not click away before saving, the program crashes.
This type of error is due to the fact that not everyone has the same gamma settings as me. Basically your gamma must be lower and that is causing the program to find a "dark vertical line" inside the u and thus interpret it as two letters.

Adjusting the "darkbrightboarder" (see section 2.6 in the version 3.0 manual) may fix that problem, but the in new version let it be know that you also have the option to tell the OCR that "L)" should be chanced to "u" for all scans.

Getting used to it right now but I must say it's already saved me hours of aggrevation. Editing a word here and there is a small price to pay for this invaluable tool. Looking forward to the next version! Thank you for the work you put into this
Glad you found it of use :thumbsup:

DoW Fanatic
28-07-2009, 09:34
I've already made proper adjustments to fix this problem for the new version, no worries. In the meantime know that if you scan the shield while it is equipped it should work, since the scan doesn't rely on the inventory grid there.

Good news indeed! :thumbup:

Kijya
30-07-2009, 21:34
The source code is still in being inspected by the admins, in the meantime I'll give you all a brief outline of the price database reading system that is in the making (will not be released with 4.0.0).

Here's the document that users will have to edit to make a price database:


--------------------------------------------------------------
1 Introduction
--------------------------------------------------------------
This document contains priceing information for various items,
allowing Adria input these prices into your tradelists.


--------------------------------------------------------------
2 How to type items
--------------------------------------------------------------
This document needs to be in a format that will allow the
program to read and interpret the list correctly. As such I
have to give this rather strickt and a bit complex format:

Item Name;Stat1Logic,Stat2Logic;Closeable;FT/BIN

When split using ";" as the delimiter you get firstly the item
name, secondly a list of logical requirements concerning the
stats of the item, thirdly a closeable price and forthly the
FT/BIN price. Take special note that comma is used as a
delimiter inside the list of stats, not semicolon.



Item name, closeable and FT/BIN are fairly obvious I believe,
so lets only take a deaper look at the list of "StatLogics".
Lets do so using an example:

Raven Frost;Attack<240,Dex=20;5 Pgems;15 Pgems

The StatLogics of this line say that the price specifications
only concern raven frost rings with a dextirity of 20 and an
attack rating less then 240.

What the program does is that it firstly gets the string
"Attack", then it attempts to find this string in the item
description, and if it does, it must find a number lower then
240 on the same line of the item description. After that it
does the same with "Dex", but with equality as the operator
instead of "<".

Note that if an item you're about to print onto the tradelist
fits with more then one price specification, then the first
one listed will be used.


If the List of StatLogics is empty the price specification
will apply to all items of the specified name unless another
price specification is done before it.

Raven Frost;Attack<240,Dex=20;5 Pgems;15 Pgems
Raven Frost;Attack<250,Dex=20;10 Pgems;20 Pgems
Raven Frost;Attack=250,Dex=20;3 HR;10 HR
Raven Frost;;3 Pgems;10 Pgems

These rows would be checked in the order they are written, one
after the other, until a match is found. The last line is a hit
for all raven frost rings regardless of stats.

--------------------------------------------------------------
3 List headers
--------------------------------------------------------------
Because this list may get long I believe it appropriate to let
users use some headers to split it into sections. The sections
will not speed up the program in any way, they will only be
there for cosmetic reasons.

A header should be placed withing brackets, like this:

[Header1]
Item Name;Stat1Logic,Stat2Logic;Closeable;FT/BIN
Item Name;Stat1Logic,Stat2Logic;Closeable;FT/BIN
Item Name;Stat1Logic,Stat2Logic;Closeable;FT/BIN

[Header2]
Item Name;Stat1Logic,Stat2Logic;Closeable;FT/BIN
Item Name;Stat1Logic,Stat2Logic;Closeable;FT/BIN
Item Name;Stat1Logic,Stat2Logic;Closeable;FT/BIN

Etc ...



The start header below marks the start of the pricelist, do not
delete or alter this header.

[Start]


Nagelring;Magic=30;10 Pgem;20 Pgem
Nagelring;;1 Pgem;5 Pgem
Manald Heal;;2 Pgem;3 Pgem
Raven Frost;Attack<230,Dex=19;5 Pgems;15 Pgems
Raven Frost;Attack<249,Dex=19;10 Pgems;20 Pgems
Raven Frost;Attack=250,Dex=20;3 HR;10 HR
Raven Frost;;3 Pgems;10 Pgems

[Set Rings]
Angelic Halo;;3 Pgem;3 Pgem
This format isn't final, but it's a start, and I've got some code working for it. Using the example document above I get the following tradelist:


~~~~~~~~~~~~~~~~~~~~
Ring
~~~~~~~~~~~~~~~~~~~~

[U]Gold
Raven Frost (+161 ar , +19 dex) [5 Pgems / 15 Pgems]
Raven Frost (+161 ar , +19 dex) [5 Pgems / 15 Pgems]
Raven Frost (+214 ar , +18 dex) [3 Pgems / 10 Pgems]
Raven Frost (+235 ar , +19 dex) [10 Pgems / 20 Pgems]
Note that the [Closeable / FT] format can be altered however you like, likewise you could input any string into the price database document to say something else then "x Pgems", including runes or just plain numbers.






Again, there's no way I or JustAPlayer will be making and maintaining price databases for all realms and NL/L etc. These documents will have to be made by the users, so the system must be simple enough for everyone to understand. The list structure above is a draft that, although it seems to work, may be confusing or bothersome to write.
If you have any good suggestions in how to make a simpler structure for the price database, please do tell. Just keep in mind that for a program to understand it

Shako ~ Lem

will not be precise enough ...

CCCenturion
04-08-2009, 21:25
Looks great so far!

Kijya
04-08-2009, 22:56
We've got the ok from the admins to put it up now, since it has dragged on a bit more then expected we might as well include those updates we've been working on while waiting.

A few more final adjustments to make sure it installs correctly ...





Edit:
New version is up in this thread: http://diablo.incgamers.com/forums/showthread.php?t=735468


The version in this thread will hang around for a bit more, but may be taken down at any moment.

Uncle_Mike
06-08-2009, 23:10
This is really a minor piece of news but it doesn't work with the Polish version of d2, font used in the Polish version is to blame most likely :)

Sweet piece of software nonetheless :whistling:

Kijya
06-08-2009, 23:21
Wrong thread mike :wink:

btw, you could probably close/delete the old version 2.0 thread:
http://diablo.incgamers.com/forums/showthread.php?t=681424


Didn't include any version number in the thread title of the new one, might be time I stop spamming the forums with new threads for each major update :whistling: