Page 12 of 16

Re: GTA2 Game Hunter

Posted: 07 Sep 2011, 18:36
by Sektor
Here's a version that uses 85.17.97.63 instead of irc.gtanet.com.

v1.536:
- Nick registration now uses a fixed email address to avoid problems with invalid characters
- Private chat history width is set to game list width instead of window width
- 7za output is only displayed if there was an error

Re: GTA2 Game Hunter

Posted: 07 Sep 2011, 23:16
by potatis_invalido
That version works, thank you.

Re: GTA2 Game Hunter

Posted: 08 Sep 2011, 13:29
by elypter
does 7z run with admin permissions now?

Re: GTA2 Game Hunter

Posted: 08 Sep 2011, 13:52
by Sektor
I didn't change how 7za is opened.

Re: GTA2 Game Hunter

Posted: 08 Sep 2011, 15:18
by elypter
could you please do that in the next version?
~50% of the new joining players can't join a person with custom map because of the CRC 000000 Error caused by exctraction failure. It's a pain explaining everyone to start gh with admin permissions because of that when gta is installed to the program files dir. checking for the required permissions on the folder and uac prompt should solve it.

Re: GTA2 Game Hunter

Posted: 25 Oct 2011, 18:58
by elypter
I did some changes. It is not ready for a new version yet.

edit:updated list
changes:
various command line arguments:
[-s ip]: Let gh join a different irc server
[-e [host]]: Join. Automatically joins a game. No argument: join lan game, ID: join game #x, IP: join IP, username: join user
[-c [map]]: Open Create Game dialog and select a map if specified
[-h [map]]: Host last played map if no map is specified
[-p [map]]: Play specified map in single player mode
[-d [[url1] [url2] [url3] [...]]: Install specified maps
[-j [[channel1] [channel2] [channel3] [...]]: Install specified maps
[-q]: exit gh (after doing tasks)
[-i]: don't open a new instance
[-l]: do not sign in
[-?]: display this help

made a reg file that makes it possible to use gta2:// links for gh to map download and host
updated maplist page to generate gta2:// link
added command line arguments, ref to manager->controls and to help (F1)
added mac adress to pf info line
create channel button
tools>unpnp (not working yet) (also other tools planned)
join button to make noobs less confused
when selecting EU as notify country you will be notified for each country inside Europe
display ping at rc on game
the gta2 theme now shows the gh banner from good old times again (with layout autoadjustments)

Re: GTA2 Game Hunter

Posted: 30 Oct 2011, 23:15
by BenMillard
Cool to see GH getting even more powerful.
elypter wrote:[-j [[channel1] [channel2] [channel3] [...]]: Install specified maps
Is that actually "Join specified channels"?

Re: GTA2 Game Hunter

Posted: 31 Oct 2011, 00:22
by elypter
BenMillard wrote:Cool to see GH getting even more powerful.
elypter wrote:[-j [[channel1] [channel2] [channel3] [...]]: Install specified maps
Is that actually "Join specified channels"?
sure, was a cp and forgot to change the end

Re: GTA2 Game Hunter

Posted: 31 Oct 2011, 22:09
by BenMillard
elypter wrote:join button to make noobs less confused
Oh, that's a worrying UI change. New players aren't confused by clicking on a game in GH. It's the big blank list in Network GTA2 because their ports are not forwarded which does that.

So you're introducing UPnP and other tools to make ports easier? That's great news! That will solve the biggest usability problem new players face with joining and hosting games.

In contrast, adding a Join button into GH will almost certainly be a usability regression.

Looking ahead, integrating the Network GTA2 interface into GH would be the ideal situation. Might still need to be a separate window but could at least follow a more normal design and easier controls.

Re: GTA2 Game Hunter

Posted: 05 Nov 2011, 09:35
by Cuban-Pete
Since there are so many channel commands, I suggest that when someone enters "!" followed by a letter there will be a suggestion list. Something like this:
gh-idea.png

Re: GTA2 Game Hunter

Posted: 05 Nov 2011, 15:13
by BenMillard
Great idea! Does mean a hardcoded list within GH, although that can be updated in minor versions.

Re: GTA2 Game Hunter

Posted: 05 Nov 2011, 16:27
by elypter
if there are no commands that start with @ or nothing at all and also there are no non channel commands that stand with ! to avoid mixing things up then its ok but i don't know how to make something like this. and before making that possible its more important to have a arrow up/down for last message function.

for now you can press F1 and click on the link for channel commands (in the beta)

edit: Download link removed by Sektor. It's not ready for public yet.

edit2: for everything to work you also need:
http://gta2dare.square7.ch/dump/gta2_protocol.reg and
http://gta2dare.square7.ch/dump/gta2gh-banner.jpg

Re: GTA2 Game Hunter

Posted: 17 Nov 2011, 12:10
by Sektor
Trigger list could be downloaded. I wouldn't hard code it.

Re: GTA2 Game Hunter

Posted: 31 Mar 2012, 10:12
by Sektor
2012-03-31 v1.537k
- Fixed out of bounds error with random map selection when map list is empty
- "You are already identified" should no longer be displayed everytime you save GH options
- Short nicks in chat messages are optionally padded to 10 characters
- Removed banner from GTA2 theme
- GH chatbox is given focus after closing the GH Create Game window

http://gtamp.com/GTA2/changelog.txt

Re: GTA2 Game Hunter

Posted: 31 Mar 2012, 14:07
by BenMillard
Focus should be returned to the chatbox when any of those buttons is clicked. Tabstop = False will help but you'll also have a tiny bit of code in their _GotFocus event which uses .SetFocus on the active chat box.

This will, in effect, make them act like toolbar buttons in terms of how focus is handled. There's no advantage to them ever being focusable, as it turns out.

Re: GTA2 Game Hunter

Posted: 30 Apr 2012, 10:42
by Sektor
2012-04-29 v1.538
- GTA2 Theme renamed to Dark Theme
- Dark Theme is now the default theme
- DejaVu Sans Mono font is used instead of Fixedsys on Dark and Light theme (Classic theme still uses Fixedsys)
- Classic theme now uses actual white for the background colour
- Light Theme uses a shade of grey for background colour
- GH gives focus to the GTA2 chatbox on launch (this reduces accidental starts and removes a step from chatting)
- Fixed a "sign in" bug with unregistered nicks
- Fixed flag display in multiple channels. Any user with a host ending in a country code should have a flag.
- BM: Tabs and player list clicks trigger on mousedown (as soon as you push it) rather than mouseup (when you release).
- BM: GH chatbox is given focus more often

Re: GTA2 Game Hunter

Posted: 01 May 2012, 00:20
by BenMillard
Great stuff, thanks for keeping the project active and improving!

Previously you've noted in the changelog "(thanks to code from Ben Millard)" is that worth doing again? Just so you know who to blame when all the obscure bugs start crawling out of the woodwork. :P

(EDIT) Default theme for new installs should not be the Dark Theme, as we've discussed at length before. An abnormal style makes a new interface even weirder for new users.

Re: GTA2 Game Hunter

Posted: 01 May 2012, 00:36
by Salamander
Sektor wrote:- Dark Theme is now the default theme
ORLY?

Light theme was the default after installation here, and it looks way better than dark.

Re: GTA2 Game Hunter

Posted: 01 May 2012, 00:47
by Sektor
It's only default on a clean install (no previous version of GH). I want a theme with monospaced font to be default but dark or light doesn't matter.

Added BM to changelog next to the changes Ben made.

Fixed a bug with standard theme was not unticking light theme. Installer was updated but I didn't change version number.

Re: GTA2 Game Hunter

Posted: 01 May 2012, 06:53
by Davidio
The new version is great..... And it's nice to chat. So, but [Alberto] have told me from any channel with the name CallCentre.... What is that?