openmultiplayer / open.mp

Open Multiplayer, a multiplayer mod fully backwards compatible with SA-MP
https://open.mp
Mozilla Public License 2.0
424 stars 78 forks source link

add more sanity checks config options #901

Open atomlin-git opened 3 months ago

atomlin-git commented 3 months ago

Feature #611

Made:

NexiusTailer commented 3 months ago

Thanks for implementing most of the suggested stuff! But I'd change just a couple of strings which is printed now, they are:

  1. The 'max_bots' option more or equal how 'max_players' option: "how" -> "than"
  2. Cant create 'scriptfiles' folder: "Cant create" -> "Cannot access"
Hual commented 3 months ago

I think there should also be warnings for the negative options

atomlin-git commented 3 months ago

I think there should also be warnings for the negative options

my solution looks unattractive, tell me how to improve it?

image

Hual commented 3 months ago

I think there should also be warnings for the negative options

my solution looks unattractive, tell me how to improve it?

image

It's fine, no reason to redo it if it's done already

NexiusTailer commented 3 months ago

I also thought about this warning message: The 'max_bots' option more or equal than 'max_players' option. Server work can be unpredictable Basically, the behaviour is predictable, players just can't join in this case. Maybe worth noticing only about "bots option more or equal than players" as the consequences are anyway pretty obvious?