- Move to the main page
- Forums
- English
- General Discussion
- Feedback
'; editor.focus(); editor.selection.collapse(true); editor.execCommand('mceInsertContent', false, html); api.close(); } }); } }); return { getMetadata: function () { return { name: 'youtube', url: 'www.pearlabyss.com' } } }; }); } function customUploadPlugin(attachFilePath, limitSize) { tinymce.PluginManager.add('customupload', function (editor) { editor.ui.registry.addButton('customupload', { icon: 'image', onAction: function () { var $fileInput = $(''); $('body').append($fileInput); $fileInput.trigger('click'); $fileInput.on('change', function () { _abyss.loading(true); if (limitSize <= this.files[0].size) { alert(_fileLimitErrorMessage); _abyss.loading(false); return; } var fileList = $(this).prop('files') || []; var fileCount = 0; for (var fileIndex = 0; fileIndex < fileList.length; fileIndex++) { var fileData = new FormData(); fileData.append('upload', fileList[fileIndex]); $.ajax({ async: false, type: 'POST', url: '/FileUpload/index?subpath=' + attachFilePath + '&responseType=json', contentType: false, processData: false, data: fileData, success: function (data) { fileCount++; if (data._resultCode == 0) { tinymce.execCommand('mceInsertContent', false, '') } else { alert(!!data._resultMessage ? data._resultMessage : _fileErroMessage); } if (fileList.length === fileCount) { _abyss.loading(false); } }, error: function (err) { _abyss.loading(false); console.error(err); } }); } tinymce.execCommand('mceInsertNewLine'); }); }, }); return { getMetadata: function () { return { name: 'customupload', url: 'www.pearlabyss.com' } } }; }); } function dataURLtoFile(dataURL, filename, mimeType) { return ( fetch(dataURL).then(function (res) { return res.arrayBuffer(); }) .then(function (buf) { return new File([buf], filename, {type: mimeType});}) ); } function initCkeditor(id, attachFilePath) { if ($('#' + id).length <= 0) { return; }; var uploadLimitSizeValue = _fileLimitSize; $('div#' + id).remove(); youtubePlugin(); customUploadPlugin(attachFilePath, uploadLimitSizeValue); tinymce.init({ selector: '#' + id, mobile: { theme: 'mobile', plugins: 'image table link media youtube paste', toolbar: 'undo redo | formatselect | bold italic strikethrough forecolor backcolor fontsizeselect | alignleft aligncenter alignright alignjustify | link image youtube table', default_target_link: '_blank', media_dimensions: false, media_poster: false, relative_urls: false, remove_script_host: false, fontsize_formats: _font_format, images_upload_handler: function (blobInfo, success, failure) { _abyss.loading(true); if (uploadLimitSizeValue <= blobInfo.blob().size) { alert(_fileLimitErrorMessage); var $img = tinymce.dom.DomQuery(tinymce.activeEditor.getBody())[0].querySelector("img[src='" + blobInfo.blobUri() + "']"); $img && $img.remove(); _abyss.loading(false); return; } var xhr, formData; xhr = new XMLHttpRequest(); xhr.withCredentials = false; xhr.open('POST', '/FileUpload/index?subpath=' + attachFilePath + '&responseType=json'); xhr.onload = function () { var json; if (xhr.status != 200) { failure('HTTP Error: ' + xhr.status); _abyss.loading(false); return; } json = JSON.parse(xhr.responseText); if (!json || typeof json._value != 'string') { failure('Invalid JSON: ' + xhr.responseText); _abyss.loading(false); return; } success(json._value); setTimeout(function () { _abyss.loading(false); }, 1000 * 1); }; xhr.onerror = function (e) { _abyss.loading(false); } formData = new FormData(); formData.append('upload', blobInfo.blob(), blobInfo.filename()); xhr.send(formData); tinymce.execCommand('mceInsertNewLine'); }, file_picker_callback: function (callback, value, meta) { var fileInput = $(''); $('body').append(fileInput); fileInput.trigger('click'); fileInput.on('change', function (e) { var formData = new FormData(); formData.append('upload', $(this).prop('files')[0]); if (uploadLimitSizeValue > 0 && formData.get('upload').size/1024/1024 >= uploadLimitSizeValue) { alert(_fileLimitErrorMessage); return; } $.ajax({ type: 'POST', url: '/FileUpload/index?subpath=' + attachFilePath + '&responseType=json', contentType: false, processData: false, data: formData }) .done(function (data) { if (data._resultCode == 0) { callback(data._value); } else { alert(!!data._resultMessage ? data._resultMessage : _fileErroMessage); } }) }); }, setup: function (editor) { editor.on('paste', function (e) { e.preventDefault(); var content = ((e.originalEvent || e).clipboardData || window.clipboardData).getData('text/html') .replace(/font-(family|size):.*?;/g, '') .replace(/
#Suggestions
Lower the amount of time to Delete a character.
Mar 19, 2021, 08:49 (UTC)
8362 6 21 1
Last Edit : Mar 19, 2021, 08:50 (UTC)
# 1
It seems kind of awkward that deleting a Seasonal character only takes 3 minutes and is perfectly fine, yet it takes 24 hours to delete a normal character. There doesn't really appear to be any real reason to the wait being so long or why it should be any different now a days.
It's not like you can "accidently" delete a Normal character. First you have to put away any horses, wagons, ships, etc. Then you have to remove all pearl items from the character (which in some cases you can't do unless you delete them entirely). Then you have to go through the applicable menus before you can select delete and press accept on the warning.
Why not just remove the wait and hassle of someone wanting to make a new character by dropping the Normal character's time to 3 min to match the Seasonal's. Maybe change the final check from Clicking "OK" to typing <Character's Name> in the confirmation box if you want to really be sure.
Sennen
9 27
Lv 61
DeathviaSnuSnu
Report
Last Edit : Mar 19, 2021, 08:55 (UTC)
# 2
+1
August
95 574
Lv 62
Charlotte_Roseli
This was hidden by admin due to the reports it has received.
This was hidden by admin due to the reports it has received.
Last Edit : Feb 15, 2023, 19:40 (UTC)
# 5
+1
StrongNose
0 1
Lv 60
AfroPunch
Last Edit : Feb 15, 2023, 21:21 (UTC)
# 6
The ONLY justification I can think of, is maybe if you get hacked, and someone tries deleting all your characters, and you basically get 24 hours to quickly get back access to your account before you are fk'ed.
Kinotsu
1 76
Lv 62
Kinotsu
Last Edit : Feb 15, 2023, 21:27 (UTC)
# 7
Thyrnan
8 176
Lv 62
Joe
This was hidden by admin due to the reports it has received.
Last Edit : Jul 2, 2023, 22:59 (UTC)
# 9
+1 this is very annoying -_-
Gamorious
0 1
Lv 44
Tachyonna
Reply
Submit Reply
Feedback
Share your feedback and suggestions to help us develop Black Desert.
Start New Topic