Should the Plugin work the same with a steam dedicated server? I seem to be having an issue getting the message to appear.
Are you OK with a quick fix?
I can (very easily) send the welcome text and do the setmass commands at every session switch instead of only at startup. This will solve the issue when restarting the weekend or going to the next event.
It won't solve wrxxy's problem yet with multiple servers or the bug reported by McFlex (I hope ISI can fix that one though).
This fix only requires 1 extra line of code, whereas a proper update of the plugin for multiple servers and configurable settings takes considerable time.
I'll upload this small change somewhere this weekend when I get around to compiling it![]()
{
"WelcomePlugin": [
{
"ServerName": "MyServer",
"DriverMassOptions": {
"Driver X": "15",
"Driver Y": "25"
},
"WelcomeText": [
"Line1",
"Line2",
"Etc"
],
"SendWelcomeTextEverySession": false
},
{
"ServerName": "Another Server",
"DriverMassOptions": {
"Driver X": "12",
"Driver Z": "6"
},
"WelcomeText": [
"Line4",
"Line5"
],
"SendWelcomeTextEverySession": true
}
]
}
Hi,
-) Has the issue with multiple (re)join messages been fixed by ISI, or is that still an issue?
If not fixed, I'll introduce a few seconds delay before sending the commands.
Hi,
Sorry I have been neglecting this for a long time. I have been rather lazy ever since releasing my latest plugin...
I'll have a go at it again. Can we list all the requests and issues so that I don't forget anything as it's been a while
-) Allow multiple servers from same rF2 install.
I was thinking about creating a new json configuration file in which you can specify all details. Something like this:
Code:{ "WelcomePlugin": [ { "ServerName": "MyServer", "DriverMassOptions": { "Driver X": "15", "Driver Y": "25" }, "WelcomeText": [ "Line1", "Line2", "Etc" ], "SendWelcomeTextEverySession": false }, { "ServerName": "Another Server", "DriverMassOptions": { "Driver X": "12", "Driver Z": "6" }, "WelcomeText": [ "Line4", "Line5" ], "SendWelcomeTextEverySession": true } ] }
Just one file for all servers and no hassle with the [ ] characters in driver names. Sounds good?
I presume everyone capable of setting up rFactor servers is skilled enough to edit a json file as well
-) The option "SendWelcomeTextEverySession" in the json file specifies whether or not to send the welcome text on every session switch.
-) Has the issue with multiple (re)join messages been fixed by ISI, or is that still an issue?
If not fixed, I'll introduce a few seconds delay before sending the commands.
-) When restarting the weekend or moving to the next event, I'll send the weight messages again.
-) Any other things I forgot or I should add?
@_KrustY_: Do you use rFactor in English or a different language? I search for the correct window using "Game Name:" in the title, and the button called "Send Chat", so if these are named differently then it won't work.
Best regards,
Edward.
Alrighty, I'll have a look. I forgot a bit about the folder structure (can't check right now, at work), so if one file per player is more suitable, that's actually even easier
Can't promise any delivery date, but I'll keep you up-to-date on any progress or test version.
At the moment its works ok in multiple servers for me and my league, you just have to set it up in each player file not the root file. just would be nice to have the message come up at the start of each session to let admins know who has & hasn't got weights.........
Yes 1 install 8-9 profiles welcome messenger works OK...
{
"DriverMassOptions": {
"DriverX": 15,
"DriverY": 25,
"DriverZ": 10
},
"WelcomeText": [
"Line1",
"Line2",
"Etc"
],
"SendWelcomeTextEverySession": true
}
{
"DriverMassOptions_Default": { // used for all sessions except when overridden
"DriverX": 15,
"DriverY": 25,
"DriverZ": 10
},
"DriverMassOptions_Qualifying": { // overrides default settings for qualifying
"DriverX": 30,
"DriverY": 5
},
"WelcomeText": [
"Line1",
"Line2",
"Etc"
],
"SendWelcomeTextEverySession": true
}