Altaric's Lobby Client - Page 8

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 »

oops, dble post
Last edited by altaric on 18 Apr 2006, 18:50, edited 1 time in total.
User avatar
altaric
Posts: 185
Joined: 28 Oct 2005, 10:07

Post by altaric »

> 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?

both results in the same effect, use script lock rather :)

> Chat Relay and Rules Relay are going to get fixed, right?

it's on my todo list .. but it's a boring thing to fix and i dunno how i'll do it yet

> 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.

i'll do that

2) Have the Rules automatically quoted in-game once the game begins, assuming the Chat Relay/Rules Relay can be fixed.

just need to hit the button, can add a timer ..

> The 'bot' being the software that processes the !-commands?
yep 'bot' is the best word i found to describe 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.

alt tab bug ? never heard of it :) altho, i play windowed and dedicated servers too .. so it's np :)

> Okay, but how do you do that? !welcometype 0 and !welcometype 1 didn't seem to do anything, nor did !welcometype PM.

just !welcometype

> 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.

this is what happends when you say !lockspeed x x x x x x

Code: Select all

if 1 or more arguments then
set both min and max to arg 1

if 2 or more args then 
set min to arg1
set max to arg2

speedlocked = not speedlocked // if already locked then unlock and vice versa
say it to everyone
> Okay, so it changes rights for commands, not for players. Got it.

there no way to (pro/de)mote players yet

> Can do!

great :)

> 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:

< ok i'll add that ..

- Force player team, ally, and colour.
< planning to auto assign teams and lock them, using force
- Commands to rehost to change mod, game size, etc.
<game size is set according to the badwidth limits and mod to the host mood dunno if it's good to add a cmd for that ...
- Ring a player. Right now, only the host can do this, but it would be handy (for dedicated servers) if other players could.
< you can kick .. it's what happends usualy after ringing :)
i'll add !ring tho

> Okay, so if I want to limit it to 1.0 GHz, I have to set the Min CPU to 1000?

exactly

> listmaps didn't seem to include ".smf".
it does not, you don't have to type it with !map neither

> 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"?

even !map g_R een COmeT"

> Could I get a list of all the short map names and the maps they correspond to?

actualy listed them all .. i can add more if you want to

> 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.

i'll have to add !closebattle then
User avatar
altaric
Posts: 185
Joined: 28 Oct 2005, 10:07

Post by altaric »

Leaderz0rz wrote: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.
could you be more precise on when you get it ? is it reproducable ?
Leaderz0rz
Posts: 100
Joined: 07 Feb 2006, 21:35

Post by Leaderz0rz »

well i just started it again and now i'm not get any error...so maybe it was just on my part. I'll update again if it comes back
User avatar
altaric
Posts: 185
Joined: 28 Oct 2005, 10:07

Post by altaric »

sometimes i get access error ... don't know why and as it's random, it's hard to debug
Egarwaen
Posts: 1207
Joined: 27 Feb 2006, 21:19

Post by Egarwaen »

altaric wrote:both results in the same effect, use script lock rather :)
So there's no point in "active"?
just need to hit the button, can add a timer ..

(...)

alt tab bug ? never heard of it :) altho, i play windowed and dedicated servers too .. so it's np :)
Yeah, there's a bug with alt-tab right now. Most people can't alt-tab or the game crashes on them. Last I heard, none of the developers had been able to reproduce it at all, despite almost every player I've run into encountering it at least once, so it's unlikely to get fixed soon. This means that you really have to assume that most players can't switch away from Spring during a game.
just !welcometype
Ah, it's a toggle. Got it.

Code: Select all

if 1 or more arguments then
set both min and max to arg 1

if 2 or more args then 
set min to arg1
set max to arg2

speedlocked = not speedlocked // if already locked then unlock and vice versa
say it to everyone
So doing !lockspeed 1 1 followed by !lockspeed 0.5 2 results in speed locking being turned off? That doesn't seem very obvious, but I'll documented it. Perhaps !lockspeed off/!lockspeed on would be better for toggling the lock?

I'll add the rest to the docs.
User avatar
altaric
Posts: 185
Joined: 28 Oct 2005, 10:07

Post by altaric »

V1.397

changed :
show once wiki page link (thanks Egarwaen)
can no longer !kick or !ban the host
!closebattle (used to do it with !kick host)
in the admin panel, *:0 no longer needs to be the very first line
!ghosted to set ghosted building on/off
!ring
!ally name team (force ally team, case sensitive !)
button to auto set share to x% (ingame, works in 1024*768 only and with top left corner near enough (a few pix error max) of top left desktop corner, use reposition window button before if windowed :))
!gameinfo replies the real game time (since server status is "ingame")
ignore list is no longer case sensitive
/befriend to add someone to friends list
tired of the "there is a new version" message ? added a checkbox to not check for new versions
Egarwaen
Posts: 1207
Joined: 27 Feb 2006, 21:19

Post by Egarwaen »

I assume !ring is really !ring player?

Does "auto set share" have to be used after the game's started?

What exactly does !gameinfo do?

The Wiki page is updated. :)
User avatar
altaric
Posts: 185
Joined: 28 Oct 2005, 10:07

Post by altaric »

!ring name makes the host say /ring name
auto set share works the same way as reposition, game has to be launched and makes the mouse click at the right position
!gameinfo is quite a bad name actualy, it replies the time since game started i plan to add more info later .. dunno what yet :) (can't say who died until game is over)
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

I dont like those message boxes btu I hate nto knowing about updates

Instead have it open another channel at the top (nonexistant channel) with a url tot he enw copy. the message box was annoying cus among other things it agve you a url you couldnt use/copy/cut.


And let us change the font!!!!!!
User avatar
altaric
Posts: 185
Joined: 28 Oct 2005, 10:07

Post by altaric »

okey, it's too late to dev but i'll prolly work tomorow :)
User avatar
altaric
Posts: 185
Joined: 28 Oct 2005, 10:07

Post by altaric »

V1.3971
finally found a way to change all the fonts ..
fixed the rights names bug
User avatar
Dr.InfernO
Posts: 223
Joined: 18 Nov 2005, 13:55

Post by Dr.InfernO »

The Rights namebug is now present in a special way.
It doesn't hear anymore to accounts.
only the *:0 accountname works and is accepted.
Altaric, you can test it on the server. I'll send you the password via PN.
User avatar
Dr.InfernO
Posts: 223
Joined: 18 Nov 2005, 13:55

Post by Dr.InfernO »

Thanks Altaric this version seems to work!
The actually version is now on the ftp again.
hawkki
Posts: 222
Joined: 01 Jan 2006, 19:47

Post by hawkki »

Leaderz0rz wrote: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.
I also got a similar error on winxp when quitting the client, stated that the program had caused a acces violation in win32.dll. Today i downloaded the latest version and this one does not seem to have that problem.
User avatar
altaric
Posts: 185
Joined: 28 Oct 2005, 10:07

Post by altaric »

yeah, it happens to me sometimes, but it's random so i can't debug it ... if you manage to reproduce it that would help alot
User avatar
altaric
Posts: 185
Joined: 28 Oct 2005, 10:07

Post by altaric »

1.398
fixed addbot button
fixed PMs to server
added !vote feature

here is how it works

!vote start // initialize the vote
!vote set time # // in seconds
!vote set answer ..... // adds an answer to the vote (multi words allowed)
!vote del answer // no params, deletes the last answer
!vote set effect ..... // command to be performed when vote ends, replaces %a by the winning answer (multi words allowed)
!vote run // allow people to vote
!vote cancel // cancels the vote

only the one who typed !vote start can use !vote set and run, but cancel works at any time (in case of abuse)
also, some commands are not vote-able

example : to run a kick vote

!vote start
!vote set effect !kick %a
!vote set time 35
!vote set answer Altaric
!vote set answer don't kick him
!vote run

and of course, to vote : !vote #
it will draw rects on the map to inform everyone of the status of the vote (until i find better)
Last edited by altaric on 30 Apr 2006, 12:16, edited 3 times in total.
User avatar
FizWizz
Posts: 1998
Joined: 17 Aug 2005, 11:42

Post by FizWizz »

In version 1.3972 There is a problem with the placement of the 'add bot' button, it is located so that the far right pixel of the screen is the leftmost pixel of the button.
User avatar
altaric
Posts: 185
Joined: 28 Oct 2005, 10:07

Post by altaric »

indeed, thanks for pointing it
User avatar
altaric
Posts: 185
Joined: 28 Oct 2005, 10:07

Post by altaric »

updated above post
Post Reply

Return to “Engine”