#31 2018-12-14 16:35:50

bud
puppet
Reputation: 888
Registered: 2012-07-07
Posts: 2,854
Website
Windows 7 Firefox 64.0

Re: Some useful (and not so useful) console commands I tested

Type the command with no value and press enter, the server output gives the current (original) state witch was 5 in my case. This method works with many commands.


144.202.13.8:14567.png

Offline

    0   Add Reputation to this user  Remove Reputation from this user

#32 2018-12-14 18:53:55

Black Mamba
Mod guy
Canada
Reputation: 535
Registered: 2012-12-01
Posts: 2,141
Windows 10 Chrome 71.0

Re: Some useful (and not so useful) console commands I tested

bud wrote:

Type the command with no value and press enter, the server output gives the current (original) state witch was 5 in my case. This method works with many commands.

Entering the command in the console gives me the unauthorized method error, how can I circumvent this? Debugger?

EDIT: Nvm, figured it out. Some pretty interesting info from the other commands like game.interpolationtime (default is 100) and game.extrapolationtime (default is 1200).

Last edited by Black Mamba (2018-12-14 18:57:28)


BF1942 MINI LEAGUE
m1buaRV.png

Offline

    0   Add Reputation to this user  Remove Reputation from this user

#33 2018-12-27 20:04:51

Black Mamba
Mod guy
Canada
Reputation: 535
Registered: 2012-12-01
Posts: 2,141
Windows 10 Chrome 71.0

Re: Some useful (and not so useful) console commands I tested

game.addPlayerToBuddyListByName string float float float

This command adds players to your buddylist by nickname. Only supports one argument, the name of the player. Doesn't seem to work for player names that have spaces, like Black Mamba. For players with spaces in their names, use the ID of the player instead with this command: game.addPlayerToBuddyList

Last edited by Black Mamba (2018-12-27 20:17:11)


BF1942 MINI LEAGUE
m1buaRV.png

Offline

    0   Add Reputation to this user  Remove Reputation from this user

#34 2018-12-28 05:17:06

Russ
Jack-of-all-trades
United States
Reputation: 131
Registered: 2015-06-25
Posts: 386
Ubuntu Chromium 71.0

Re: Some useful (and not so useful) console commands I tested

If you want spaces, try using quotes.

game.addPlayerToBuddyListByName "Danny Devito"

Offline

    0   Add Reputation to this user  Remove Reputation from this user

Board footer