add commands for kick, ban, setting_newgame, restart to Gamescript
Moderator: OpenTTD Developers
Re: add commands for kick, ban, setting_newgame, restart to Gamescript
I just want the players to be able to set some parameters of the game themselves, for example the growth of trees or the time until the end of the game... the most important commands still only go through the admin port, rcon and the console. Although I started this thread with the request that Gamescripts can do the same thing as consoles, but if it can't, then it can't, ok. I'll put up with it or send the commands through the admin port to another external program that will execute them on the server.
----------------------------------------------------------
----------------------------------------------------------
Owner and admin of servers with names "Experimental games" .
My heightmaps: Flat Earth Map and United nations logo
My scenarios: Game Fallout 1,2,3 Map scenario
My gamescripts: City Founder GS
My heightmaps: Flat Earth Map and United nations logo
My scenarios: Game Fallout 1,2,3 Map scenario
My gamescripts: City Founder GS
Re: add commands for kick, ban, setting_newgame, restart to Gamescript
Why should those be exposed to players and not to admins only in a MP game? ... nothing but conflicting trouble in the long run
either you 'just' play ... or you host and have admin port to ban, kick and do whatevs that is not a game-start setting ... I mean I get wanting a gui and not just console for admin stuffs ... but then don't have it available ingame for not admins
both of those settings you have full controll over when starting a game already (and should not be changed after) ... both for sp and mp
read: either you host your game or I host mine ... but you do not need any of the admin commands available to you in my game .... nor want you to have
this needs more thought ...
I mean I don't do MP games much ... but yeah ...
-- .- -.-- / - .... . / ..-. --- .-. -.-. . / -... . / .-- .. - .... / -.-- --- ..- .-.-.-
--- .... / -.-- . .- .... --..-- / .- -. -.. / .--. .-. .- .. ... . / - .... . / .-.. --- .-. -.. / ..-. --- .-. / .... . / --. .- ...- . / ..- ... / -.-. .... --- --- -.-. .... --- --- ... .-.-.- / ---... .--.
Playing with my patchpack? Ask questions on usage and report bugs in the correct thread first, please.
All included patches have been modified and are no longer 100% original.
--- .... / -.-- . .- .... --..-- / .- -. -.. / .--. .-. .- .. ... . / - .... . / .-.. --- .-. -.. / ..-. --- .-. / .... . / --. .- ...- . / ..- ... / -.-. .... --- --- -.-. .... --- --- ... .-.-.- / ---... .--.
Playing with my patchpack? Ask questions on usage and report bugs in the correct thread first, please.
All included patches have been modified and are no longer 100% original.
Re: add commands for kick, ban, setting_newgame, restart to Gamescript
do present better ... make the admin stuffs only show to admin peeps ... don't let me stop you ... but yeah more thought ... and some things even an admin should not change midgame
have fun
have fun
-- .- -.-- / - .... . / ..-. --- .-. -.-. . / -... . / .-- .. - .... / -.-- --- ..- .-.-.-
--- .... / -.-- . .- .... --..-- / .- -. -.. / .--. .-. .- .. ... . / - .... . / .-.. --- .-. -.. / ..-. --- .-. / .... . / --. .- ...- . / ..- ... / -.-. .... --- --- -.-. .... --- --- ... .-.-.- / ---... .--.
Playing with my patchpack? Ask questions on usage and report bugs in the correct thread first, please.
All included patches have been modified and are no longer 100% original.
--- .... / -.-- . .- .... --..-- / .- -. -.. / .--. .-. .- .. ... . / - .... . / .-.. --- .-. -.. / ..-. --- .-. / .... . / --. .- ...- . / ..- ... / -.-. .... --- --- -.-. .... --- --- ... .-.-.- / ---... .--.
Playing with my patchpack? Ask questions on usage and report bugs in the correct thread first, please.
All included patches have been modified and are no longer 100% original.
Re: add commands for kick, ban, setting_newgame, restart to Gamescript
I will create the Admin script anyway. I wanted to create it for about 5 years, but there was no time. At least I'll learn something from it, and then I can put useful functions for creating button menus into the Gamescript Library...
Owner and admin of servers with names "Experimental games" .
My heightmaps: Flat Earth Map and United nations logo
My scenarios: Game Fallout 1,2,3 Map scenario
My gamescripts: City Founder GS
My heightmaps: Flat Earth Map and United nations logo
My scenarios: Game Fallout 1,2,3 Map scenario
My gamescripts: City Founder GS
Re: add commands for kick, ban, setting_newgame, restart to Gamescript
that's the spirit ... just don't expect this to land in trunk ... not for trees and end date... not if I get a say ....
^^^ I don't .... not a dev ...
Last edited by ChillCore on 01 Mar 2024 00:10, edited 1 time in total.
-- .- -.-- / - .... . / ..-. --- .-. -.-. . / -... . / .-- .. - .... / -.-- --- ..- .-.-.-
--- .... / -.-- . .- .... --..-- / .- -. -.. / .--. .-. .- .. ... . / - .... . / .-.. --- .-. -.. / ..-. --- .-. / .... . / --. .- ...- . / ..- ... / -.-. .... --- --- -.-. .... --- --- ... .-.-.- / ---... .--.
Playing with my patchpack? Ask questions on usage and report bugs in the correct thread first, please.
All included patches have been modified and are no longer 100% original.
--- .... / -.-- . .- .... --..-- / .- -. -.. / .--. .-. .- .. ... . / - .... . / .-.. --- .-. -.. / ..-. --- .-. / .... . / --. .- ...- . / ..- ... / -.-. .... --- --- -.-. .... --- --- ... .-.-.- / ---... .--.
Playing with my patchpack? Ask questions on usage and report bugs in the correct thread first, please.
All included patches have been modified and are no longer 100% original.
Re: add commands for kick, ban, setting_newgame, restart to Gamescript
So will you also block functions that have long been functional in the gamescript?
This is rather embarrassing .... such threats, it is sad that Openttd has such developers ... better read this :
GSGameSettings::SetValue
https://docs.openttd.org/gs-api/classGS ... 8fa51b80a1
(Or..we created buttons but had to cancel them because people clicked on them, that's horrible.... )
This is rather embarrassing .... such threats, it is sad that Openttd has such developers ... better read this :
GSGameSettings::SetValue
https://docs.openttd.org/gs-api/classGS ... 8fa51b80a1
(Or..we created buttons but had to cancel them because people clicked on them, that's horrible.... )
Owner and admin of servers with names "Experimental games" .
My heightmaps: Flat Earth Map and United nations logo
My scenarios: Game Fallout 1,2,3 Map scenario
My gamescripts: City Founder GS
My heightmaps: Flat Earth Map and United nations logo
My scenarios: Game Fallout 1,2,3 Map scenario
My gamescripts: City Founder GS
Re: add commands for kick, ban, setting_newgame, restart to Gamescript
noone is stopping you from anything ... what are these threats you are talking about ?
why do peeps keep reading more than what was said?
like just the other day someone put words in actual Devs mouths .. still waiting for the qoute....
for as far as I know I told you to continue .. but don't be sad when it does not make trunk .. and that is it.
why do peeps keep reading more than what was said?
like just the other day someone put words in actual Devs mouths .. still waiting for the qoute....
for as far as I know I told you to continue .. but don't be sad when it does not make trunk .. and that is it.
-- .- -.-- / - .... . / ..-. --- .-. -.-. . / -... . / .-- .. - .... / -.-- --- ..- .-.-.-
--- .... / -.-- . .- .... --..-- / .- -. -.. / .--. .-. .- .. ... . / - .... . / .-.. --- .-. -.. / ..-. --- .-. / .... . / --. .- ...- . / ..- ... / -.-. .... --- --- -.-. .... --- --- ... .-.-.- / ---... .--.
Playing with my patchpack? Ask questions on usage and report bugs in the correct thread first, please.
All included patches have been modified and are no longer 100% original.
--- .... / -.-- . .- .... --..-- / .- -. -.. / .--. .-. .- .. ... . / - .... . / .-.. --- .-. -.. / ..-. --- .-. / .... . / --. .- ...- . / ..- ... / -.-. .... --- --- -.-. .... --- --- ... .-.-.- / ---... .--.
Playing with my patchpack? Ask questions on usage and report bugs in the correct thread first, please.
All included patches have been modified and are no longer 100% original.
Who is online
Users browsing this forum: No registered users and 4 guests