Jump to content

  •  

Bug Tracker Migration

June 3rd
Good news everyone! The staff has decided that it is time to slowly kill off this Bug Tracker. We will begin the process of slowly migrating from this Bug Tracker over to our Github Issues which can be found here: https://github.com/HerculesWS/Hercules/issues

Over the next couple of days, I will be closing off any opportunity to create new reports. However, I still will keep the opportunity to reply to existing Bug Reports. Doing this will allow us to slowly fix any bug reports we have listed here so that we can easily migrate over to our Issue Tracker.

Update - June 7th 2015: Creating new bug posts has been disabled. Please use our https://github.com/HerculesWS/Hercules/issues tracker to post bugs. Users are still able to reply to existing bug posts.

- Administration

Issue Information

  • #001688

  • 1 - Low

  • Fixed

Issue Confirmations

  • Yes (0)No (0)
Photo

Map Names That Are Too Long

Posted by Hercules Bot on 15 June 2008 - 09:38 AM

Originally posted by theultramage
http://www.eathena.w...er&showbug=1688

There is a small user interaction issue when adding new maps.
In all places, eathena silently trims the user input and says that it succeeded.
This can cause confusion since the map name limit is 11 chars, which is way too little in some cases.

Particular case: mapcache builder.
CODE
strncpy(info.name, name, MAP_NAME_LENGTH);

Originally posted by mkbu95
Well this bug seems to be about warning the user, but also could be put in discussion the actual map name length.

Originally posted by MaminhA
May I suggest changing

name > MAP_NAME_LENGHT

to

sizeof(name) > MAP_NAME_LENGHT

?

Originally posted by mkbu95
Yeah I saw that.. oh boy