I will be updating my servers tonight. These new commands are awesome, thank you so much!
Edit: Working great, but just a heads up to prevent anyone from going through the same ordeal as I. Any .dll file in the plugin directory will be loaded. I initially renamed the current IGAdmin.dll file to IGAdmin_backup.dll and was clueless as to why each !players received two replies. It took me way longer than it should have to figure that out.
[Tools] SMAdminTools
Moderator: NADEO
Re: [Tools] SMAdminTools
yeah, better do something like IGAdmin.dll.bak to prevent itslugish wrote:I will be updating my servers tonight. These new commands are awesome, thank you so much!
Edit: Working great, but just a heads up to prevent anyone from going through the same ordeal as I. Any .dll file in the plugin directory will be loaded. I initially renamed the current IGAdmin.dll file to IGAdmin_backup.dll and was clueless as to why each !players received two replies. It took me way longer than it should have to figure that out.
Re: [Tools] SMAdminTools
NEW IMPROVEMENTS!!!
Hello again guys, i added some new commands again, hope they'll be usefull for you.
COMMANDS FOR ALL PLAYERS:
- !netstats (it displays some net stats about server and players. Read at bottom post for more info about this command)
COMMANDS FOR ADMINS:
- !getpw (write the current pw in chat. I don't know.. it could be allowed for every players. let me know what you think about this).
- !nopassword (remove the password from the server. Until next map server will keep askin for password which will be an empty string).
- !teamrounds <integer> (should set max team round but didn't test it yet. Should be usefull expecially for Elite where there are cups with 6 rounds and cups with 9 rounds.)
- !nohorns (disable horns for all players)
- !yeshorns (opposite as above)
----------------
The purpose of !netstats was to display current ping/snapshotdeltatime of players but i could not find a command in ManiaPlanet API that returns those values. Currently it displays PacketLossRate for players. If anybody knows or has a document on how to get ping and/or snapshotdeltatime of players please PM ME.
------------------
INSTALLATION:
1) replace ShootManiaXMLRPC.dll (backup recommended. just rename it do ShootManiaXMLRPC.dll.bak)
2) replace IGAdmin.dll (backup recommended. just rename it do IGAdmin.dll.bak)
3) restart SMAdminTools
DOWNLOAD LINKS:
- DLLs: https://www.dropbox.com/s/upmj5a20br0xb ... n_DLLs.zip
- SRC: https://www.dropbox.com/s/2mw1kuiey3pb8 ... nTools.zip
Hello again guys, i added some new commands again, hope they'll be usefull for you.
COMMANDS FOR ALL PLAYERS:
- !netstats (it displays some net stats about server and players. Read at bottom post for more info about this command)
COMMANDS FOR ADMINS:
- !getpw (write the current pw in chat. I don't know.. it could be allowed for every players. let me know what you think about this).
- !nopassword (remove the password from the server. Until next map server will keep askin for password which will be an empty string).
- !teamrounds <integer> (should set max team round but didn't test it yet. Should be usefull expecially for Elite where there are cups with 6 rounds and cups with 9 rounds.)
- !nohorns (disable horns for all players)
- !yeshorns (opposite as above)
----------------
The purpose of !netstats was to display current ping/snapshotdeltatime of players but i could not find a command in ManiaPlanet API that returns those values. Currently it displays PacketLossRate for players. If anybody knows or has a document on how to get ping and/or snapshotdeltatime of players please PM ME.
------------------
INSTALLATION:
1) replace ShootManiaXMLRPC.dll (backup recommended. just rename it do ShootManiaXMLRPC.dll.bak)
2) replace IGAdmin.dll (backup recommended. just rename it do IGAdmin.dll.bak)
3) restart SMAdminTools
DOWNLOAD LINKS:
- DLLs: https://www.dropbox.com/s/upmj5a20br0xb ... n_DLLs.zip
- SRC: https://www.dropbox.com/s/2mw1kuiey3pb8 ... nTools.zip
Re: [Tools] SMAdminTools
Yop,
thx for upgrad it.
I have problemes, !netstats reload the bot and !teamround say in tchat "rounds have been changed to XX" but realy not.
The maxround dont change.
thx for upgrad it.
I have problemes, !netstats reload the bot and !teamround say in tchat "rounds have been changed to XX" but realy not.
The maxround dont change.
group leader : "Beniii"
Re: [Tools] SMAdminTools
thanks for feedback. The maxrounds seems not working. I will try some fix tomorrow.Triseaux wrote:Yop,
thx for upgrad it.
I have problemes, !netstats reload the bot and !teamround say in tchat "rounds have been changed to XX" but realy not.
The maxround dont change.
What do u mean by "reload" the bot? On my server it works fine. Which version are u using?
Re: [Tools] SMAdminTools
yop, im using last 1.3c beta server.
After use commandes !netstats, bot say in tchat "connected !" and in consol :
After use commandes !netstats, bot say in tchat "connected !" and in consol :
Code: Select all
Connected to server !
Authentication ...
Authentication success !
Set API version : 2012-06-19 ...
Ok ...
Enable callbacks ...
Ok ...
Register events ...
Ok ...
Calling OnConnectionSuccessful ...
Ok ...
Everythings is up and running !
[DEBUG] Callback received : ManiaPlanet.PlayerChat (Params : 4)
group leader : "Beniii"
Re: [Tools] SMAdminTools
tried to figure out the maxroujnd problem without success. The problem with netstats i cannot test it coz i haven't a 1.3c server available.
I guess i will stop develop since beta2 is gonna be released next week.
I guess i will stop develop since beta2 is gonna be released next week.
- slugish
- Posts: 125
- Joined: 10 Jul 2012, 04:30
- Location: United States | Kentucky | Somerset
- Contact:
Re: [Tools] SMAdminTools
To change the score limit in Elite, three settings must be changed. I stuck this code on the bottom of the php script I use (huge thank you to Griffin) to start our servers with less than six players and it works fine. This will set the server to "win at 9 points" with a maximum score of 20. Maybe you are already aware of this, but it sounded like you were trying to change the setting with only one variable.Loone wrote: thanks for feedback. The maxrounds seems not working. I will try some fix tomorrow.
What do u mean by "reload" the bot? On my server it works fine. Which version are u using?
Code: Select all
$settings['S_TurnLimit'] = 20;
$settings['S_DeciderTurnLimit'] = 20;
$settings['S_TurnWin'] = 9;
!pointstowin x
!maxpoints x
!pointstowin would set the 'S_TurnWin' variable, while !maxpoints would set both of the other two. I would also set it so that !maxpoints could not be set lower than !pointstowin, as that would be a little odd.
Re: [Tools] SMAdminTools
i see... SMAdminTools communicae via XMLRPC commands. I'd need a complete list of methods can be used to alter variables.slugish wrote:To change the score limit in Elite, three settings must be changed. I stuck this code on the bottom of the php script I use (huge thank you to Griffin) to start our servers with less than six players and it works fine. This will set the server to "win at 9 points" with a maximum score of 20. Maybe you are already aware of this, but it sounded like you were trying to change the setting with only one variable.Loone wrote: thanks for feedback. The maxrounds seems not working. I will try some fix tomorrow.
What do u mean by "reload" the bot? On my server it works fine. Which version are u using?
I would suggest using two commands to change these settings.Code: Select all
$settings['S_TurnLimit'] = 20; $settings['S_DeciderTurnLimit'] = 20; $settings['S_TurnWin'] = 9;
!pointstowin x
!maxpoints x
!pointstowin would set the 'S_TurnWin' variable, while !maxpoints would set both of the other two. I would also set it so that !maxpoints could not be set lower than !pointstowin, as that would be a little odd.
i found this; http://www.gamers.org/tm2/docs/ListMeth ... 08-01.html but it's quite old. i'm pretty sure there is a newer version. On that list there's not command which alter a variable called "TurnWin".
Anyone knows where can i find that list? Othrwise i'll try PM Nadeo staff
Who is online
Users browsing this forum: No registered users and 1 guest