Author Topic: [Suggestion] Maps loading: .PMS and .pms  (Read 689 times)

0 Members and 1 Guest are viewing this topic.

Offline Szaman

  • Soldier
  • **
  • Posts: 145
[Suggestion] Maps loading: .PMS and .pms
« on: April 25, 2014, 01:01:14 pm »

I would like to talk about two facts:
- linux servers can handle only maps with .pms extension
- most of available maps uses .PMS extension (I think it's because of default extension added by map-making programs)

So... if you want to make a command, for example: !map <name> you have to convert all of maps on the server from .PMS to .pms because otherwise server will not be able to find them.

I suggest to add to linux server second check of map file existance - not only map-name.pms but also map-name.PMS
It would simplify admins' life ;)

What do you think about it?

Best regards,

Offline Shoozza

  • Retired Soldat Developer
  • Veteran
  • ******
  • Posts: 1631
  • Soldat's Babysitter
    • Website
Re: [Suggestion] Maps loading: .PMS and .pms
« Reply #1 on: April 25, 2014, 03:09:09 pm »
The goal was to move away from the .PMS file name thats why it was changed.

There are a few options:
* Automatic renaming - could work but only if the server is able to do it (read only)
* Loading both .PMS and pms - we want all maps to be .pms in the future
* Load .PMS but display warning - but we already moved to .pms as an exclusive file name
* Include a convert script - probably the best way for admins who don't know how to quickly do it

Tools: ARSSE - SARS - SRB - chatMod

Offline Szaman

  • Soldier
  • **
  • Posts: 145
Re: [Suggestion] Maps loading: .PMS and .pms
« Reply #2 on: April 25, 2014, 03:30:09 pm »
In many cases you can not use such script - because you don't have shell access.
I can provide such script if you want, but I would be happy if you could just add additional checking for map-name.PMS for now. It's the simplest way to get rid of that irritating behaviour.

It will also solve the same problem with mapslist.txt file (map file not found if it has .PMS extension).