Skip to content

Commit

Permalink
Reworked everything, check readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Elkasitu committed Nov 2, 2013
1 parent d3a732c commit 47d5473
Show file tree
Hide file tree
Showing 142 changed files with 86 additions and 21,707 deletions.
Binary file removed PySide/QtCore.so
Binary file not shown.
Binary file removed PySide/QtDeclarative.so
Binary file not shown.
Binary file removed PySide/QtGui.so
Binary file not shown.
Binary file removed PySide/QtHelp.so
Binary file not shown.
Binary file removed PySide/QtNetwork.so
Binary file not shown.
Binary file removed PySide/QtOpenGL.so
Binary file not shown.
Binary file removed PySide/QtScript.so
Binary file not shown.
Binary file removed PySide/QtScriptTools.so
Binary file not shown.
Binary file removed PySide/QtSql.so
Binary file not shown.
Binary file removed PySide/QtSvg.so
Binary file not shown.
Binary file removed PySide/QtTest.so
Binary file not shown.
Binary file removed PySide/QtUiTools.so
Binary file not shown.
Binary file removed PySide/QtWebKit.so
Binary file not shown.
Binary file removed PySide/QtXml.so
Binary file not shown.
Binary file removed PySide/QtXmlPatterns.so
Binary file not shown.
1 change: 0 additions & 1 deletion PySide/__init__.py

This file was deleted.

Binary file removed PySide/__init__.pyc
Binary file not shown.
Binary file removed PySide/phonon.so
Binary file not shown.
22 changes: 20 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,20 @@
bearded-octo-bear
=================
===========================
Travian Raider version 2.0
===========================

Version 2.0 of the Travian Raider program is different from the 1.x version in a couple of ways:

1. It now uses PySide (Qt Framework Python Bindings) for the main GUI design, it is cleaner, easier and Qter than Tkinter.
2. I've changed twill for mechanize, for two main reasons:
1. I needed to work at a lower level for handling different web docs with BeautifulSoup
2. I've noticed that it's way faster than twill, mainly because it doesn't arbitrarily print every output
3. The required modules to run the main application (TRGUI.py) are no longer included, so in order to use the source code you have to download the following packages:
- PySide
- Mechanize
- BeautifulSoup
4. The core of the program has been slightly reworked, what used to be TravianRaider.py is now TRCore.py and has been slightly modified to work with mechanize,
a bit of optimization here and there to make the program run faster (especially when executing raids from the raidlist). What used to be travianRaiderGUI.py
is now TRGUI.py and has been completely rebuilt because of the change in GUI library.
5. In order to read and write into the raidlist.txt file, containing all the raids for the local user, the program now uses pickle instead of repr and eval, it is
simply better than needlessly reinventing the wheel.
6. Within the GUI folder you'll find .ui files, which are the files built using the QtDesigner4 and transformed into .py files using the pyside-uic toolset
19 changes: 19 additions & 0 deletions README.md~
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
===========================
Travian Raider version 2.0
===========================

Version 2.0 of the Travian Raider program is different from the 1.x version in a couple of ways:

1. It now uses PySide (Qt Framework Python Bindings) for the main GUI design, it is cleaner, easier and Qter than Tkinter.
2. I've changed twill for mechanize, for two main reasons:
1. I needed to work at a lower level for handling different web docs with BeautifulSoup
2. I've noticed that it's way faster than twill, mainly because it doesn't arbitrarily print every output
3. The required modules to run the main application (TRGUI.py) are no longer included, so in order to use the source code you have to download the following packages:
- PySide
- Mechanize
- BeautifulSoup
4. The core of the program has been slightly reworked, what used to be TravianRaider.py is now TRCore.py and has been slightly modified to work with mechanize,
a bit of optimization here and there to make the program run faster (especially when executing raids from the raidlist). What used to be travianRaiderGUI.py
is now TRGUI.py and has been completely rebuilt because of the change in GUI library.
5. In order to read and write into the raidlist.txt file, containing all the raids for the local user, the program now uses pickle instead of repr and eval, it is
simply better than needlessly reinventing the wheel.
Loading

0 comments on commit 47d5473

Please sign in to comment.