![]() |
#21
|
||||
|
![]() Quote:
Your path could be like -> 1. how to make a Hello World pyqt5 2. pyqt5 best practices (there are some memory leak traps [parent references] you could be getting into) 3. start programming 4. Whenever you need to learn something, just look up what you are trying to learn on any search engine. It's very similar to every other GUI framework I have used. Also I made a standard window class ParserWindow which you can use as a super class for your window. See either the Maps or Spells parser to find out how they use it. Add your parser to _load_parsers section in nparse.py and it will auto feed it text from the log file. The rest would be on you. I have it written down to add self dps awareness, but not meters beyond a single fight with the option of auto exporting to csv. Tracking people's dps other than your own is very wonky as well since you need to be in range to see their hits plus worry about their procs, level of spells, whether or not the client is filtering combat items, etc. You will also have no way to tell whether something is a PC or NPC unless you have a filter for all possible NPC names. | |||
Last edited by Mirox; 03-15-2018 at 02:34 PM..
|
#22
|
|||
|
![]() Hey Mirox, thank you for sharing nParse. I wonder if it's possible to set the background alpha transparent separately from the bars. Having a large black window blocking my side view is suboptimal =D.
| ||
#23
|
|||
|
![]() Does anyone know if this works with Windows XP?
I have P99 installed on an older machine with Windows XP and if I try and run nParse, I get the following error message: nparse.exe - Entry Point Not Found The procedure entry point GetFinalPathNameByHandleW could not be located in the dynamic link library KERNEL32.dll | ||
#24
|
||||
|
![]() Quote:
Thanks for the suggestion! | |||
#25
|
||||
|
![]() Quote:
If you really really really want the program to run on Windows XP, you can always run it from source and see if the appropriate libraries support Windows XP. 1. Get nParse master source (https://github.com/nomns/nparse/archive/master.zip or if you have git installed, "git clone https://github.com/nomns/nparse" in command prompt. 2. Install Python 3 (https://www.python.org/downloads/) -- ensure add python to path is selected during install. 3. Open up a command prompt, run "pip install pyqt5" 4. In the command prompt and within the source directory, "python nparse.py" | |||
Last edited by Mirox; 08-11-2019 at 02:43 PM..
|
#26
|
||||
|
![]() Quote:
I downloaded the nParse master source and unzipped it into a folder and copied it to the Python27 directory. I opened a command prompt and typed 'pip install pyqt5' and it told me that I was using an outdated version and to downloaded the latest version. It did so from the command prompt but now if I type 'pip install pyqt5', I get told that 'pip' is not recognized as an internal or external command. I change the directory to c:\python27\nparse and type in the command prompt, python nparse.py, I get the following error: File "nparse.py", line 207 sys.exit(APP.exec()) SyntaxError: invalid syntax Did I do something wrong or does it sound like it just doesn't work? | |||
#27
|
||||
|
![]() Quote:
That is weird about the pip issue. The last version of python 3 that supports Windows XP is https://www.python.org/downloads/release/python-345/. You can uninstall Python 2.7, then install Python 3 from that link. Make sure you tell it to put the python executables in the path. Make sure Python 2.7 is removed before doing this. 'pip install pyqt5' should indicate that pyqt5 is installed. If pyqt5 does install, and it warns you about pip being out of date, you can ignore that. You do not have to put the nparse source in the python directory. As long as Python is put in your system path.. (meaning you can run it from any directory which is an option when you install python -- make sure to look for it, it maybe be out of the way), you should be able to type "python nparse.py" in command prompt. Meaning, you can place the nParse master source in your My Documents folder or something. You can open a command prompt using file explorer by holding shift and right clicking the window then selecting open a command prompt here from the context menu. I am sorry.. Windows XP -- too bad you can't update it to at least 7 :O I hope the above works for you. | |||
Last edited by Mirox; 08-12-2019 at 12:26 AM..
|
#28
|
||||
|
![]() Quote:
Python 3.4.5 has only been released in source code form; no more official binary installers will be produced. I checked all the versions close to 3.4.5 and all of them keep saying it has expired and just has me update to the latest version. No worries and thanks for your help... | |||
Last edited by Gumbo; 08-12-2019 at 03:51 PM..
|
#29
|
||||
|
![]() Quote:
Just checked it out today as I was thinking about doing my own but hate to reinvent the wheel -- this looks like a great app so far, can definitely just add to it. Are you open to a little bit of refactoring? | |||
#30
|
|||
|
![]() I did make a quick text parser first to look at old logs, I also looked at other dps parsers.. it's .. not pretty..
The worst part is that its very inaccurate compared to what people are actually doing, and if your ranged, you wont get much melee as the range on dps is super low. While you could do it.. it would be quite false readings.. | ||
![]() |
Thread Tools | |
Display Modes | |
|
|