… | |
… | |
354 | . "(check for Numlock and other semi-obvious error sources).", |
354 | . "(check for Numlock and other semi-obvious error sources).", |
355 | cf::NDI_RED |
355 | cf::NDI_RED |
356 | ); |
356 | ); |
357 | next; |
357 | next; |
358 | } |
358 | } |
|
|
359 | } else { |
|
|
360 | # unable to load the playerfile: |
|
|
361 | # check wether the player dir exists, which means the file is corrupted or |
|
|
362 | # something very similar. |
|
|
363 | if (!aio_stat cf::player::playerdir $user) { |
|
|
364 | $ns->send_drawinfo ( |
|
|
365 | "Unable to retrieve this player. It might be a locked or broken account. " |
|
|
366 | . "If this is your account, ask a dungeon master for assistance. " |
|
|
367 | . "Otherwise choose a different login name.", |
|
|
368 | cf::NDI_RED |
|
|
369 | ); |
|
|
370 | next; |
|
|
371 | } |
359 | } |
372 | } |
360 | |
373 | |
361 | # the rest of this function is character creation |
374 | # the rest of this function is character creation |
362 | |
375 | |
363 | # just to make sure nothing is left over |
376 | # just to make sure nothing is left over |