Altaric's Lobby Client - Page 7

Altaric's Lobby Client

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
altaric
Posts: 185
Joined: 28 Oct 2005, 10:07

Post by altaric »

you want clients to know which maps are installed on host right ?
then only host can tell them .. if you use a text file, you'll have to write it ... that would allow you to not list all the maps ... don't see what would be the benefit ..
User avatar
Dr.InfernO
Posts: 223
Joined: 18 Nov 2005, 13:55

Post by Dr.InfernO »

I mean if the maps are not allready shown via the normal mapdownload menu, I would have the abillity to post it with the downloadlink.
User avatar
altaric
Posts: 185
Joined: 28 Oct 2005, 10:07

Post by altaric »

most maps are on FU and if it's been recently uploaded, theres a search button ... plus link may change
User avatar
Dr.InfernO
Posts: 223
Joined: 18 Nov 2005, 13:55

Post by Dr.InfernO »

but if those guys are lazy bones? ;)

It's ok but i just want a way, that clients know which maps are installed.
User avatar
altaric
Posts: 185
Joined: 28 Oct 2005, 10:07

Post by altaric »

V1.396 !

added
!listmaps (or !maplist, it's same)
added a window that lists maps with info (from cache) showing size, metal, wind and so on clients can use it to councel the host on the choice of map

on my PC i can read 143 maps from the cache in 30 sec (3 maps per sec instead of a delay depending on the sdz size, usualy a few secs)

bring on feedback :)
User avatar
Dr.InfernO
Posts: 223
Joined: 18 Nov 2005, 13:55

Post by Dr.InfernO »

great!
I will test it this evening! :)
User avatar
altaric
Posts: 185
Joined: 28 Oct 2005, 10:07

Post by altaric »

v1.3961

a quick update :
added !lockspeed 2 3 (to lock speed between 2 and 3, works with 0, 1, 2 params)
fixed '...' saying it's not a valid command when typing in battle form
when someone says !help, it no longer opens a tab on server screen
!listmaps now goes to PMs (too spammy)
Egarwaen
Posts: 1207
Joined: 27 Feb 2006, 21:19

Post by Egarwaen »

Just downloaded it, it's great. :) Needs documentation, though. Do we have a wiki page for it?
User avatar
altaric
Posts: 185
Joined: 28 Oct 2005, 10:07

Post by altaric »

actualy, no
but i think making one is quite easy ...
User avatar
Dr.InfernO
Posts: 223
Joined: 18 Nov 2005, 13:55

Post by Dr.InfernO »

I've mirrored the new version.
ftp://compstomp.de/TASpring.zip
User avatar
Dr.InfernO
Posts: 223
Joined: 18 Nov 2005, 13:55

Post by Dr.InfernO »

!listmaps doesn't work for me, with the new version!
The " *:1 " right is also not working.
can you check that please?
Egarwaen
Posts: 1207
Joined: 27 Feb 2006, 21:19

Post by Egarwaen »

altaric wrote:actualy, no
but i think making one is quite easy ...
It is, just a matter of where it should go. I'll start one later today, and post here if I have any questions about features.
User avatar
Dr.InfernO
Posts: 223
Joined: 18 Nov 2005, 13:55

Post by Dr.InfernO »

OK in the new version everything seems to work fine! :)
Also updated my file mirror.
Egarwaen
Posts: 1207
Joined: 27 Feb 2006, 21:19

Post by Egarwaen »

Okay, questions:

1) What does the left column (Connect/Notify/Battle) on the Sounds tab control?

2) What exactly does the "Post Rules" button do? What do the "Active" and "Script Lock" options on the same tab do?

3) Where does the large text field from the "MOTD" tab get used? Just in the "Rules" tab, or somewhere else?

(In short, what's the point of the Rules and MOTD tabs)

4) What does "Bot listens to host only" do?

5) What does the stuff in the "Other" tab under the "AltaMod" tab on the Battle Screen do?

6) What does the !force command do?

7) How does !welcometype work?

8) !lockspeed's output appears to be extremely spastic.

9) How does !changeright work?

10) Do you want all the /-commands documented, or just the stuff your client adds?

11) A command be added to toggle ghosted buildings?

Documentation so far can be found on the Wiki: http://taspring.clan-sy.com/wiki/Altari ... bby_Client
User avatar
altaric
Posts: 185
Joined: 28 Oct 2005, 10:07

Post by altaric »

1) What does the left column (Connect/Notify/Battle) on the Sounds tab control?

the sound tabs is used to enable/disable sounds connect emits a sound when you connect to the master server and so on

2) What exactly does the "Post Rules" button do? What do the "Active" and "Script Lock" options on the same tab do?

the box "min/max speed" sets max speed in the game
active is to do it the old way (.minspeed) it adds the line in the "rules" box (see below)
script lock adds a line in the start script (script.txt, which contains battle info) it uses the locking from Betalord now you can set the limits instead of 1-1

3) Where does the large text field from the "MOTD" tab get used? Just in the "Rules" tab, or somewhere else?

(In short, what's the point of the Rules and MOTD tabs)

the MOTD box is copied to the rules box when you hit the MOTD button
the rules box is curently bugged and of no use, when you hit the post button, it pastes the rules box in game line by line, as if you typed them
chat relay is disabled for the same reason

4) What does "Bot listens to host only" do?

only the battle host can use the bot

5) What does the stuff in the "Other" tab under the "AltaMod" tab on the Battle Screen do?

6) What does the !force command do?

when running a dedicated server (no one in from of host monitor)
if someone fails to connect, you have to force start, use !force or !exit

!exit closes the game window (when you restart, it sends a window message to it)

7) How does !welcometype work?

you can send welcome message to newcommers to your server
leave it blank for no msg
you can send messages in battle chat or PM using the 2 checkboxes below the welcome box
!welcometype changes where the welcome goes to (chat or PM)

8) !lockspeed's output appears to be extremely spastic.

what means "spatic" ?

9) How does !changeright work?

!changeright map 17
will change the rights needed to change the map to 17
rights aren't based on rank, host sets them in the preferences > altamod > admin and rights

10) Do you want all the /-commands documented, or just the stuff your client adds?

if you feel like to document everything, it would be better as some of the originalstuff may appear a bit foggy to some ..
maybe do something like (*) : this applies to the original client as well

11) A command be added to toggle ghosted buildings?

does anyone uses it ?i played a single game with ghosted buildings off .. in a few monthes

Documentation so far can be found on the Wiki: http://taspring.clan-sy.com/wiki/Altari ... bby_Client

thanks for the time you spend in it , much apreciated :)

notes :
in admin tab, *:0 has to be the first line, i'll fix it some day ::

""Min CPU" is the minimum CPU speed, measured in GHz" it's MHz requires an integer sets to 0 if invalid format

the map cache also affects the battle screen as when you click a map it checks for a cache, if none if found, it makes it (2%longer than before)
if one is found, it loads it instead of unpacking the map (99% faster)

"make cache" erases the cache folder and remakes it, (use when you delete maps, but it's not needed)

"This should be as the map's displayed in !listmaps."
without .smf
works without case, spaces, ", _
also understands "cc", "gcc", "ccr", "cpia", "woc" (long names popular maps)
if map can't be found, mars is selected

use [#!corner|!corner] or [#!split|!split].
bug in your url :)

!position
making a box sets automaticly to choose and reset sets to fixed

!split 30
guesses V or H according to map size (ratio height/width)
for square maps, chooses V

!kick host could be used to close the battle ... didn't even tought about it lol
altho !kick should be limited to admins

!lockspeed
for parsing easiness, it changes on/off whatever the #of args may be

because i think it's better, my clients saves nothing more to the registery(alta.ini), altho Betalord's stuff still goes there
the usage of an ini file makes it easy to keep your settings when changing PC or formating or whatever

i'll prolly add a "shows once" (like the agreements) link to the page so when you download it you get some help

i think i said it all ...

edit : woot ! longest post i made without editing like for the changelog :)
Egarwaen
Posts: 1207
Joined: 27 Feb 2006, 21:19

Post by Egarwaen »

altaric wrote:
egarwaen wrote:1) What does the left column (Connect/Notify/Battle) on the Sounds tab control?
the sound tabs is used to enable/disable sounds connect emits a sound when you connect to the master server and so on
Okay... I've got the Connect box turned off on mine, but I still get a notification when I connect and disconnect.
altaric wrote:
egarwaen wrote:2) What exactly does the "Post Rules" button do? What do the "Active" and "Script Lock" options on the same tab do?
the box "min/max speed" sets max speed in the game
active is to do it the old way (.minspeed) it adds the line in the "rules" box (see below)
script lock adds a line in the start script (script.txt, which contains battle info) it uses the locking from Betalord now you can set the limits instead of 1-1
So "Active" is basically the same as the old Lock Speed option, while "Script Lock" should be used if you use values other than Min 1/Max 1?
altaric wrote:
egarwaen wrote:3) Where does the large text field from the "MOTD" tab get used? Just in the "Rules" tab, or somewhere else?

(In short, what's the point of the Rules and MOTD tabs)
the MOTD box is copied to the rules box when you hit the MOTD button
the rules box is curently bugged and of no use, when you hit the post button, it pastes the rules box in game line by line, as if you typed them
chat relay is disabled for the same reason
Chat Relay and Rules Relay are going to get fixed, right?

Here's what seems to me to be a sensible way to handle these two fields:

1) Have the MOTD displayed to a player in the Battle Screen when they join. I'm not sure if this is possible, but it seems to fit with the "Message of the Day" concept.

2) Have the Rules automatically quoted in-game once the game begins, assuming the Chat Relay/Rules Relay can be fixed.
altaric wrote:
egarwaen wrote:4) What does "Bot listens to host only" do?
only the battle host can use the bot
The 'bot' being the software that processes the !-commands?
egarwaen wrote:5) What does the stuff in the "Other" tab under the "AltaMod" tab on the Battle Screen do?
Still need this one answered.
altaric wrote:
egarwaen wrote:6) What does the !force command do?
when running a dedicated server (no one in from of host monitor)
if someone fails to connect, you have to force start, use !force or !exit

!exit closes the game window (when you restart, it sends a window message to it)
Okay, so !force is the same as the host hitting ctrl-enter, !exit is the same as the host quitting. Got it. These aren't too useful right now, with the alt-tab bug, but if that ever gets fixed, they'll be great.
altaric wrote:
egarwaen wrote:7) How does !welcometype work?
you can send welcome message to newcommers to your server
leave it blank for no msg
you can send messages in battle chat or PM using the 2 checkboxes below the welcome box
!welcometype changes where the welcome goes to (chat or PM)
Okay, but how do you do that? !welcometype 0 and !welcometype 1 didn't seem to do anything, nor did !welcometype PM.
altaric wrote:
egarwaen wrote:8) !lockspeed's output appears to be extremely spastic.
what means "spatic" ?
I think !lockspeed 1 gives a message claiming that locked speed has been turned off, but in fact it's been locked at 1. I remember that the message it prints to battle chat doesn't always properly reflect the changes it makes to the settings.
altaric wrote:
egarwaen wrote:9) How does !changeright work?
!changeright map 17
will change the rights needed to change the map to 17
rights aren't based on rank, host sets them in the preferences > altamod > admin and rights
Okay, so it changes rights for commands, not for players. Got it.
altaric wrote:
egarwaen wrote:10) Do you want all the /-commands documented, or just the stuff your client adds?
if you feel like to document everything, it would be better as some of the originalstuff may appear a bit foggy to some ..
maybe do something like (*) : this applies to the original client as well
Can do!
altaric wrote:
egarwaen wrote:11) A command be added to toggle ghosted buildings?
does anyone uses it ?i played a single game with ghosted buildings off .. in a few monthes
I go back and forth on it when I host. Sometimes I find them handy, other times they're annoying. Other commands that would be useful:

- Force player team, ally, and colour.
- Commands to rehost to change mod, game size, etc.
- Ring a player. Right now, only the host can do this, but it would be handy (for dedicated servers) if other players could.
altaric wrote:notes :
in admin tab, *:0 has to be the first line, i'll fix it some day ::
I'll make a note of that.
altaric wrote:""Min CPU" is the minimum CPU speed, measured in GHz" it's MHz requires an integer sets to 0 if invalid format
Okay, so if I want to limit it to 1.0 GHz, I have to set the Min CPU to 1000?
altaric wrote:the map cache also affects the battle screen as when you click a map it checks for a cache, if none if found, it makes it (2%longer than before)
if one is found, it loads it instead of unpacking the map (99% faster)

"make cache" erases the cache folder and remakes it, (use when you delete maps, but it's not needed)
I'll note these things.
altaric wrote:"This should be as the map's displayed in !listmaps."
without .smf
works without case, spaces, ", _
also understands "cc", "gcc", "ccr", "cpia", "woc" (long names popular maps)
if map can't be found, mars is selected
listmaps didn't seem to include ".smf".

So it's case-insensistive, and spaces and _s are interchangable? Or can simply be ignored entirely? For example, if I have Green_Comet, I can do "!map Green_Comet", "!map green comet" or "!map GreenComet"?

Could I get a list of all the short map names and the maps they correspond to?
altaric wrote:use [#!corner|!corner] or [#!split|!split].
bug in your url :)
Fixed.
altaric wrote:!position
making a box sets automaticly to choose and reset sets to fixed
I'll note that.
altaric wrote:!split 30
guesses V or H according to map size (ratio height/width)
for square maps, chooses V
Okay.
altaric wrote:!kick host could be used to close the battle ... didn't even tought about it lol
altho !kick should be limited to admins
Doesn't necessarily mean someone won't try it just to see what happens. You should probably make it so the bot simply won't kick/ban the host.
altaric wrote:because i think it's better, my clients saves nothing more to the registery(alta.ini), altho Betalord's stuff still goes there
the usage of an ini file makes it easy to keep your settings when changing PC or formating or whatever
I'll note that.
Egarwaen
Posts: 1207
Joined: 27 Feb 2006, 21:19

Post by Egarwaen »

User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

hmm, my LAN Server behaves differently with the client depending on wether I ste LANMode = true/false;

When set to true it behaves correctly exept the lobby recieves the version nubmer 0.22 and decides ti sint supported and asks for a requested update, and I ahve to manually type out the login command

However lookign at the raw traffic to the main server I find that the lobby server fnorida is running gave the same identical version number and succesfulyl logged in with no request update using exectly the same string the LAN Server sent....
Leaderz0rz
Posts: 100
Joined: 07 Feb 2006, 21:35

Post by Leaderz0rz »

Access violation at address 00592201 in module 'TASClient_Modified_By_Altaric.exe'. Read of address 000000005.


i get that error doing alot of different things when i have the client running.
User avatar
altaric
Posts: 185
Joined: 28 Oct 2005, 10:07

Post by altaric »

maybe add a link to get the file also ..
or to this post
Last edited by altaric on 18 Apr 2006, 19:08, edited 2 times in total.
Post Reply

Return to “Engine”