Go Back   Champions of Regnum > English > The Inn

The Inn A place to gather around and chat about almost any subject

Reply
 
Thread Tools Display Modes
Old 05-02-2010, 03:47 PM   #1
Znurre
Marquis
 
Join Date: Jan 2007
Location: RA
Posts: 1,897
Znurre will become famous soon enoughZnurre will become famous soon enough
Lightbulb 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
  • Show all 540 entries of the RP list from all realms, all classes, sorted by column(s) chosen by the user.
  • Show RP earned within a timespan chosen by the user.
  • Show graphs of the RP curve of a selected player.
  • Copy one or several row(s) of information from the table to the clipboard for use elsewhere.
  • See trends, who has risen or fallen on the list within the selected timespan.
  • Search for player names easily and get their position in the RP list.
  • Supports multiple servers.

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
  • Extract the archive
  • Open a terminal in the folder created and run:
    Code:
    qmake
    make
  • If the process was successful, you can start the application by running:
    Code:
    ./RPManager

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.
Znurre no ha iniciado sesión   Reply With Quote
Old 05-02-2010, 08:02 PM   #2
S_N_I_P_E_R
Initiate
 
S_N_I_P_E_R's Avatar
 
Join Date: Jan 2008
Location: Ra; PP/PB
Posts: 148
S_N_I_P_E_R is an unknown quantity at this point
Default

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.
S_N_I_P_E_R no ha iniciado sesión   Reply With Quote
Old 05-02-2010, 08:11 PM   #3
Znurre
Marquis
 
Join Date: Jan 2007
Location: RA
Posts: 1,897
Znurre will become famous soon enoughZnurre will become famous soon enough
Default

Quote:
Originally Posted by S_N_I_P_E_R View Post
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).
This app works for Windows, MacOS, Linux, S60, and any platforms where Qt apps can be compiled.
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
Znurre no ha iniciado sesión   Reply With Quote
Old 05-02-2010, 09:47 PM   #4
F_d_M
Pledge
 
F_d_M's Avatar
 
Join Date: Apr 2008
Posts: 8
F_d_M is on a distinguished road
Default

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
F_d_M no ha iniciado sesión   Reply With Quote
Old 05-02-2010, 10:21 PM   #5
Znurre
Marquis
 
Join Date: Jan 2007
Location: RA
Posts: 1,897
Znurre will become famous soon enoughZnurre will become famous soon enough
Default

Quote:
Originally Posted by F_d_M View Post
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
Please install Qt and all development packages for Qt.
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
Znurre no ha iniciado sesión   Reply With Quote
Old 05-02-2010, 10:52 PM   #6
Syd_Vicious
Initiate
 
Syd_Vicious's Avatar
 
Join Date: Aug 2008
Location: The Desert, The Mountains, The Sky
Posts: 152
Syd_Vicious is on a distinguished road
Default

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.
This is when starting up and also when using the calendar function. No error output is being displayed in the terminal. No error was seen when compiled with qmake then make.

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
I wonder does this mean this app must consistently have multiple days of where the RP Manager must download all the statistics so it can compile the chart itself? Am I correct in thinking that this application just pulls the dynamically created text file from the RO rankings page so that it can then display the current statistics and compare them to previous downloaded textfiles from previous days? If that is so then it explains why I can't get a historical comparison just based off of todays download.
__________________
Doing something maybe nothing, maybe nothing with something.
Syd_Vicious no ha iniciado sesión   Reply With Quote
Old 05-03-2010, 04:01 AM   #7
Vythica
Pledge
 
Vythica's Avatar
 
Join Date: Dec 2008
Location: In the closet.
Posts: 40
Vythica is an unknown quantity at this point
Default

Nice Znurre, I'd been toying with the idea of doing something like this (but more rudimentary) in python.

Very nice
__________________
Resurrected.

Vythica no ha iniciado sesión   Reply With Quote
Old 05-03-2010, 04:15 AM   #8
ArcticWolf
Duke
 
ArcticWolf's Avatar
 
Join Date: Nov 2006
Location: 0x00CAFE
Posts: 3,366
ArcticWolf is a glorious beacon of lightArcticWolf is a glorious beacon of lightArcticWolf is a glorious beacon of lightArcticWolf is a glorious beacon of lightArcticWolf is a glorious beacon of light
Default

Quote:
Originally Posted by Znurre View Post
This app works for Windows, MacOS, Linux, S60, and any platforms where Qt apps can be compiled.
I'm not a fan of Qt, but your app rocks!

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.
ArcticWolf no ha iniciado sesión   Reply With Quote
Old 05-03-2010, 08:12 AM   #9
Znurre
Marquis
 
Join Date: Jan 2007
Location: RA
Posts: 1,897
Znurre will become famous soon enoughZnurre will become famous soon enough
Default

Quote:
Originally Posted by Syd_Vicious View Post
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.
This is when starting up and also when using the calendar function. No error output is being displayed in the terminal. No error was seen when compiled with qmake then make.

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
I wonder does this mean this app must consistently have multiple days of where the RP Manager must download all the statistics so it can compile the chart itself? Am I correct in thinking that this application just pulls the dynamically created text file from the RO rankings page so that it can then display the current statistics and compare them to previous downloaded textfiles from previous days? If that is so then it explains why I can't get a historical comparison just based off of todays download.
That's correct.
It would be better, as ArtcticWolf says, to have some kind of relay inbetween handling that part so that the user don't have to bother with that

Oh, btw, make sure it can actually read the files from the history folder (check working folder) because the version I shipped should include my personally fetched history files for the past days for both Horus and Ra.

Quote:
Originally Posted by ArcticWolf View Post
I'm not a fan of Qt, but your app rocks!
PS. Why don't you like Qt?
It's written in C++, cross platform, has a great API with access to everything from GUI to network sockets natively on any platform, perfect integration with GTK-environments, Qt/KDE-environments, Windows-environments and MacOS-environments, is very high performant and is also very easy and powerful.

I will look into moving the ranking fetching part from my code (NetworkHandler.h, more or less) to a separate app and have it run 24/7 on my server.
__________________
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
Znurre no ha iniciado sesión   Reply With Quote
Old 05-03-2010, 02:05 PM   #10
ArcticWolf
Duke
 
ArcticWolf's Avatar
 
Join Date: Nov 2006
Location: 0x00CAFE
Posts: 3,366
ArcticWolf is a glorious beacon of lightArcticWolf is a glorious beacon of lightArcticWolf is a glorious beacon of lightArcticWolf is a glorious beacon of lightArcticWolf is a glorious beacon of light
Default

Quote:
Originally Posted by Znurre View Post
That's correct.
It would be better, as ArtcticWolf says, to have some kind of relay inbetween handling that part so that the user don't have to bother with that

Oh, btw, make sure it can actually read the files from the history folder (check working folder) because the version I shipped should include my personally fetched history files for the past days for both Horus and Ra.


PS. Why don't you like Qt?
It's written in C++, cross platform, has a great API with access to everything from GUI to network sockets natively on any platform, perfect integration with GTK-environments, Qt/KDE-environments, Windows-environments and MacOS-environments, is very high performant and is also very easy and powerful.

I will look into moving the ranking fetching part from my code (NetworkHandler.h, more or less) to a separate app and have it run 24/7 on my server.
I have a python hosting in regnumcentral.com.ar reserved for future projects. I was thinking about having a RESTful API to make it highly portable (i.e.: you can use libcurl in c/c++, urllib2 in python, java.net.URLConnection in Java). It doesn't have a lot of disk space, but logs aren't going to take much anyway.

PS: It's just I had problems with qt in Debian some time ago. I should give it another chance, maybe. :P
__________________
I don't have a solution, but I admire the problem.
ArcticWolf no ha iniciado sesión   Reply With Quote
Reply

Tags
community application, rp manager, znurre

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:35 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
NGD Studios 2002-2024 © All rights reserved