|
|
The Inn A place to gather around and chat about almost any subject |
|
Thread Tools | Display Modes |
|
05-02-2010, 03:47 PM | #1 |
Marquis
Join Date: Jan 2007
Location: RA
Posts: 1,897
|
RP Manager
Introduction
So, I was bored this weekend and decided to code something. 2 years ago or so, I created an application called 'RP Manager' which I never really released to the public because of the low quality of the code. I decided to build on this idea, and create a new application from scratch with the extended knowledge I now have about Qt4 and C++. Description The purpose of the application is to fetch the ranking pages from the Regnum site and display them in a nice format, with several added features compared to the pages themselves. Features
Screenshots Requirements Qt 4 (Tested with 4.6) kdelibs 4 (Tested with 4.4) Download You can find the sources here. If someone is interested in contributing a package for their distro, or a Windows/MacOS binary, contact me and I will add it to the downloads. Installation
Enjoy and good luck!
__________________
Winning a fight is not what makes you a good player, it's how you do it.
http://home.znur.re/screenshot%20201...2011_39_37.jpg Last edited by Znurre; 03-11-2012 at 09:58 AM. |
05-02-2010, 08:02 PM | #2 |
Initiate
Join Date: Jan 2008
Location: Ra; PP/PB
Posts: 148
|
Wow this is awsome, I could do with a windoze version if anyone were able to code it (i dont have a clue about coding).
__________________
Currently Playing Ra
Vortigern I lvl 60 Barbarian, Zarfall lvl 57 Lock, Precious Metal lvl 50 Knight. |
05-02-2010, 08:11 PM | #3 | |
Marquis
Join Date: Jan 2007
Location: RA
Posts: 1,897
|
Quote:
I do not however have a Windows installation myself so I cannot compile a Windows version for you. If anyone is skilled enough to create a Windows build, I would gladly help distribute it
__________________
Winning a fight is not what makes you a good player, it's how you do it.
http://home.znur.re/screenshot%20201...2011_39_37.jpg |
|
05-02-2010, 09:47 PM | #4 |
Pledge
Join Date: Apr 2008
Posts: 8
|
it give me this errors
Code:
andrea@andrea-desktop:~$ cd /home/andrea/RP_Manager andrea@andrea-desktop:~/RP_Manager$ qmake andrea@andrea-desktop:~/RP_Manager$ make g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I. -o main.o main.cpp main.cpp:1:24: error: QApplication: Nessun file o directory In file included from main.cpp:3: MainWindow.h:4:23: error: QMainWindow: Nessun file o directory MainWindow.h:5:27: error: QProgressDialog: Nessun file o directory MainWindow.h:6:21: error: QLineEdit: Nessun file o directory MainWindow.h:7:21: error: QComboBox: Nessun file o directory MainWindow.h:8:23: error: QToolButton: Nessun file o directory MainWindow.h:9:21: error: QSettings: Nessun file o directory In file included from MainWindow.h:11, from main.cpp:3: NetworkHandler.h:4:33: error: QNetworkAccessManager: Nessun file o directory NetworkHandler.h:5:27: error: QNetworkRequest: Nessun file o directory NetworkHandler.h:6:24: error: QDomDocument: Nessun file o directory NetworkHandler.h:7:25: error: QNetworkReply: Nessun file o directory NetworkHandler.h:8:24: error: QDomNodeList: Nessun file o directory NetworkHandler.h:9:20: error: QDomNode: Nessun file o directory NetworkHandler.h:10:18: error: QDebug: Nessun file o directory NetworkHandler.h:11:23: error: QStringList: Nessun file o directory In file included from MainWindow.h:12, from main.cpp:3: DateSelect.h:4:19: error: QDialog: Nessun file o directory DateSelect.h:5:23: error: QVBoxLayout: Nessun file o directory DateSelect.h:6:27: error: QCalendarWidget: Nessun file o directory DateSelect.h:7:21: error: QDateTime: Nessun file o directory DateSelect.h:8:23: error: QPushButton: Nessun file o directory DateSelect.h:9:28: error: QDialogButtonBox: Nessun file o directory In file included from MainWindow.h:13, from main.cpp:3: ListWidget.h:4:24: error: QTableWidget: Nessun file o directory ListWidget.h:5:23: error: QMouseEvent: Nessun file o directory ListWidget.h:6:17: error: QMenu: Nessun file o directory ListWidget.h:8:23: error: QModelIndex: Nessun file o directory ListWidget.h:9:27: error: QModelIndexList: Nessun file o directory ListWidget.h:10:22: error: QClipboard: Nessun file o directory In file included from ListWidget.h:13, from MainWindow.h:13, from main.cpp:3: Statistics.h:5:23: error: QFormLayout: Nessun file o directory Statistics.h:6:18: error: QLabel: Nessun file o directory Statistics.h:7:22: error: QTabWidget: Nessun file o directory Statistics.h:8:21: error: QGroupBox: Nessun file o directory Statistics.h:10:25: error: QGraphicsView: Nessun file o directory Statistics.h:11:16: error: QDir: Nessun file o directory Statistics.h:15:27: error: KDE/KPlotWidget: Nessun file o directory Statistics.h:16:27: error: KDE/KPlotObject: Nessun file o directory Statistics.h:17:25: error: KDE/KPlotAxis: Nessun file o directory In file included from MainWindow.h:11, from main.cpp:3: NetworkHandler.h:14: error: expected class-name before ‘{’ token NetworkHandler.h:15: error: ISO C++ forbids declaration of ‘Q_OBJECT’ with no type NetworkHandler.h:17: error: expected ‘;’ before ‘public’ NetworkHandler.h:23: error: expected ‘;’ before ‘public’ NetworkHandler.h:23: error: expected ‘:’ before ‘slots’ NetworkHandler.h:24: error: expected primary-expression before ‘void’ NetworkHandler.h:24: error: ISO C++ forbids declaration of ‘slots’ with no type NetworkHandler.h:24: error: expected ‘;’ before ‘void’ NetworkHandler.h:55: error: expected ‘;’ before ‘private’ NetworkHandler.h:58: error: expected ‘:’ before ‘slots’ NetworkHandler.h:59: error: expected primary-expression before ‘void’ NetworkHandler.h:59: error: ISO C++ forbids declaration of ‘slots’ with no type NetworkHandler.h:59: error: expected ‘;’ before ‘void’ main.cpp:15: error: expected ‘;’ at end of input main.cpp:15: error: expected ‘}’ at end of input main.cpp:15: error: expected unqualified-id at end of input make: *** [main.o] Errore 1 |
05-02-2010, 10:21 PM | #5 | |
Marquis
Join Date: Jan 2007
Location: RA
Posts: 1,897
|
Quote:
What distribution are you using? I could help you find the package names.
__________________
Winning a fight is not what makes you a good player, it's how you do it.
http://home.znur.re/screenshot%20201...2011_39_37.jpg |
|
05-02-2010, 10:52 PM | #6 |
Initiate
Join Date: Aug 2008
Location: The Desert, The Mountains, The Sky
Posts: 152
|
Nice app Znurre, works fine for me on Arch with KDE-Mod. One thing that I do not see working is the graphing or history functionality. The exact error from the GUI is:
Code:
No history files found for the specified timespan. Some functionality has been disabled. Code:
g++ -c -pipe -march=i686 -mtune=generic -O2 -pipe -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include -I. -o main.o main.cpp g++ -c -pipe -march=i686 -mtune=generic -O2 -pipe -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include -I. -o MainWindow.o MainWindow.cpp /usr/bin/moc -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include -I. MainWindow.h -o moc_MainWindow.cpp g++ -c -pipe -march=i686 -mtune=generic -O2 -pipe -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include -I. -o moc_MainWindow.o moc_MainWindow.cpp /usr/bin/moc -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include -I. NetworkHandler.h -o moc_NetworkHandler.cpp g++ -c -pipe -march=i686 -mtune=generic -O2 -pipe -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include -I. -o moc_NetworkHandler.o moc_NetworkHandler.cpp /usr/bin/moc -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include -I. ListWidget.h -o moc_ListWidget.cpp g++ -c -pipe -march=i686 -mtune=generic -O2 -pipe -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include -I. -o moc_ListWidget.o moc_ListWidget.cpp /usr/bin/rcc -name Resources Resources.qrc -o qrc_Resources.cpp g++ -c -pipe -march=i686 -mtune=generic -O2 -pipe -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include -I. -o qrc_Resources.o qrc_Resources.cpp g++ -Wl,-O1 -o RP_Manager main.o MainWindow.o moc_MainWindow.o moc_NetworkHandler.o moc_ListWidget.o qrc_Resources.o -L/usr/lib -lkdeui -lQtXml -L/usr/lib -lQtGui -L/usr/X11R6/lib -lQtNetwork -lQtCore -lpthread
__________________
Doing something maybe nothing, maybe nothing with something. |
05-03-2010, 04:15 AM | #7 | |
Duke
Join Date: Nov 2006
Location: 0x00CAFE
Posts: 3,366
|
Quote:
Hmm... Porting this to a webapp in python sounds like a good idea. Instead of hitting the poor website all the time we could have two or three servers checking the status (with an API to allow desktop apps to access that information. ). PS: I had to install qt4-qmake, qt4-dev-tools and kdelibs5-dev.
__________________
I don't have a solution, but I admire the problem. Last edited by ArcticWolf; 05-03-2010 at 04:43 AM. |
|
07-14-2011, 09:25 AM | #8 |
Baron
Join Date: Nov 2009
Location: The netherlands
Posts: 722
|
hello.
I am kind of noob with this stuff. I download those 2 things. but how i can open it? |
07-14-2011, 12:34 PM | #9 |
Marquis
Join Date: Jan 2007
Location: RA
Posts: 1,897
|
Okay, so all the server side problems are fixed.
Luckily no changes in the code had to be done, so the same binaries should still work. What operating system are you using?
__________________
Winning a fight is not what makes you a good player, it's how you do it.
http://home.znur.re/screenshot%20201...2011_39_37.jpg |
09-10-2010, 11:21 PM | #10 |
Marquis
Join Date: Jan 2007
Location: RA
Posts: 1,897
|
A new version of the application is available for download!
See the first post for information and download links. Changes:
Building Qt on Windows with MYSQL support is not that easy, and especially very time consuming. I hope you enjoy this updated version of RP Manager! Feel free to report bugs with this new version in this thread. EDIT: For a free software developer like me, the profit of creating applications is of course because I enjoy it, but also because I like creating software that other people can appreciate and find useful. So, if you try this application and like it, please just drop a line here in this thread! That's the best reward I can get for the work I put into creating applications
__________________
Winning a fight is not what makes you a good player, it's how you do it.
http://home.znur.re/screenshot%20201...2011_39_37.jpg Last edited by Znurre; 09-10-2010 at 11:43 PM. |
Tags |
community application, rp manager, znurre |
|
|