Search found 6 matches

by riot2212
Mon Mar 12, 2018 6:21 pm
Forum: Implemented mod requests
Topic: game.print // player.print addition to add color
Replies: 3
Views: 2376

Re: game.print // player.print addition to add color

really o_O

I did it like so and I got an error, I must of screwed something up in the code, my bad


Edit: I see why, I am coding in 15.40 yet, this is in 16. Okay we are all good.
by riot2212
Mon Mar 12, 2018 5:44 am
Forum: Implemented mod requests
Topic: game.print // player.print addition to add color
Replies: 3
Views: 2376

game.print // player.print addition to add color

If there is a way to do this, I apologize, I could not find a way to do this so I am requesting this

Basically the ability to set a color on game.print & player.print for example

player.print("some random message to the player with the color red", {r=1, g=0, b=0, a=1})

if a color is not ...
by riot2212
Sat Mar 10, 2018 5:44 pm
Forum: Implemented mod requests
Topic: rcon.print() or something along those lines
Replies: 2
Views: 1584

rcon.print() or something along those lines

basically, it would be nice to have the ability to have lua be able to send a response to rcon when you use /c or /silent-command from rcon

an example of the situation that would be nice is something along the lines of

rcon.print( table.tostring(game.forces['player'].item_production_statistics ...
by riot2212
Sat Mar 10, 2018 5:27 pm
Forum: Not a bug
Topic: [0.15.35] - Output from custom commands RCON
Replies: 11
Views: 4750

Re: [0.15.35] - Output from custom commands RCON

That's a wall of text ...

... an hour or 2 of your time could fix this simple request ...

What are you actually asking for? Because like the original "report" there's nothing I can see to fix. player.print(...) will go to the player, What's to fix about that?

Did you want rcon.print ...
by riot2212
Sat Mar 10, 2018 7:21 am
Forum: Not a bug
Topic: [0.15.35] - Output from custom commands RCON
Replies: 11
Views: 4750

Re: [0.15.35] - Output from custom commands RCON

Thanks for the report. That's however working as intended: the lua commands are not part of the RCON interface and as such have no concept of RCON or where they're called from.

For example: in the Lua command it calls "player.print(...)" which is sent to the player - the game isn't going to also ...

Go to advanced search