Yes, your right. I added an option to control this behaviour (default will be false).
Advertisement
UrTSB
a Urban Terror Server Browser
#31
Posted 12 August 2010 - 07:09 PM
#32
Posted 12 August 2010 - 07:57 PM
I have one more small feature request.
F5 key could be shortcut to "Refresh" just enter is to "Connect" in svn version.
F5 key could be shortcut to "Refresh" just enter is to "Connect" in svn version.
#34
Posted 13 August 2010 - 04:38 PM
The small one with 800x600?
The filter needs to be rearranged in order to make the window more shrinkable in width.
I'll think about a solution.
The filter needs to be rearranged in order to make the window more shrinkable in width.
I'll think about a solution.
Advertisement
#36
Posted 14 August 2010 - 09:26 AM
Removing servers on recent tab does't work for me. I am using svn source. I run the urtsb in shell and got this:
$ urtsb
2010-08-14 10:17:52,320 INFO [GuiController] executeFavoritesLoading called...
2010-08-14 10:17:52,381 INFO Thread:Coordinator - received serverlist_loaded signal. Queuesize is 9
2010-08-14 10:17:52,481 INFO Thread:Worker_8 notifying the coordinator thread that the queue processing is finished
2010-08-14 10:17:52,482 INFO Thread:Coordinator - received the finished signal
2010-08-14 10:17:54,601 INFO [GuiController] executeRecentServersLoading called...
2010-08-14 10:17:54,602 INFO Thread:Coordinator - received serverlist_loaded signal. Queuesize is 16
2010-08-14 10:17:54,765 INFO Thread:Worker_6 notifying the coordinator thread that the queue processing is finished
2010-08-14 10:17:54,765 INFO Thread:Coordinator - received the finished signal
Traceback (most recent call last):
File "/opt/urtsb/src/recenttab.py", line 163, in onRemoveRecentClicked
gui.removeRecent(server)
File "/opt/urtsb/src/guicontroller.py", line 113, in removeRecent
+ 'adress ' + server.getaddress())
AttributeError: 'str' object has no attribute 'getaddress'
#37
Posted 14 August 2010 - 09:54 AM
thx, fixed.
#38
Posted 14 August 2010 - 12:43 PM
SVN Revision 100 ! time for a new release: 0.3 is uploaded.
http://code.google.c.../downloads/list
Highlights:
Full list of changes:
http://code.google.c.../downloads/list
Highlights:
- country flag column displaying the location as a small flag icon
- RCON Feature
Full list of changes:
- added option to disable the update of the selected server row when refresh button is clicked
- remember filter/query parameters
- some "under the hood" code improvements
- fixed a bug that prevented the lock-icon to be displayed on the "Recently Played" tab
- added feature to display location of the server as a small flag icon
- handle players with blank names as UnnamedPlayer?
- applied patch to make UrTSB work on windows (contributed by Courgette from the urbanterror.info forums)
- server connect on double-click / enter pressed and F5 key refreshes serverdetails
- playerlist and server var list are now sortable
- now launching UrT in a subprocess ( to avoid that UrTSB is blocked while UrT is running)
- new feature: RCON window for remote server administration
- added contextmenus to the serverlist and the playerlist
#39
Posted 14 August 2010 - 12:48 PM
Hi, below is a patch to make this work under windows
Index: src/guicontroller.py
===================================================================
--- src/guicontroller.py (revision 101)
+++ src/guicontroller.py (working copy)
@@ -27,6 +27,7 @@
import shlex
import subprocess
import thread
+import os
@@ -311,10 +312,12 @@
executable = config[cfgkey.URT_EXE]
path = config[cfgkey.URT_EXE_PATH]
additionalcommands = config[cfgkey.URT_EXE_PARAMS]
-
- cmd = path + executable + ' + connect ' + server.getaddress()
+
+ if not os.path.exists(os.path.join(path, executable)):
+ Log.log.warning('path to Urban Terror unreachable : ' + os.path.join(path, executable))
+ params = ' +connect ' + server.getaddress()
if server.needsPassword():
- cmd = cmd + ' + password ' + server.getPassword()
+ params = params + ' +password ' + server.getPassword()
if server.getRememberPassword():
if server.isFavorite():
fm.saveFavorites()
@@ -322,20 +325,20 @@
server.setPassword('')
#add additional params
- cmd = cmd + ' ' + additionalcommands
+ params = params + ' ' + additionalcommands
#add server to recent servers list
fm.addRecent(server)
- Log.log.info('launching UrT with cmd = ' + cmd)
+ Log.log.info('launching UrT with cmd = ' + os.path.join(path, executable) + ' ' + params)
#use shlex.split to turn the command string into a sequence
#that works with subprocess.popen
- args = shlex.split(cmd)
+ args = shlex.split(executable + ' ' + params)
#finally execute the command
- self.urt_process = subprocess.Popen(args)
+ self.urt_process = subprocess.Popen(args, executable=os.path.join(path, executable), cwd=os.path.normpath(path))
def send_rcon_command(self, server, command, console):
"""
#40
Posted 18 August 2010 - 03:24 PM
Thx. Patch is applied.
I reactivated an old Qemu image to test UrTSB under Windows and it seems to work.
But I have some problems to get py2exe work. It creates a .exe file but when executing it, it doesn't find the cairo module (although the dll for cairo was found and included in the dist dir).
Maybe someone with experience with py2exe and PyGTK can give me a hint.
I reactivated an old Qemu image to test UrTSB under Windows and it seems to work.
But I have some problems to get py2exe work. It creates a .exe file but when executing it, it doesn't find the cairo module (although the dll for cairo was found and included in the dist dir).
Maybe someone with experience with py2exe and PyGTK can give me a hint.
1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users
Advertisement