22 Commits

Author SHA1 Message Date
Rafael Chasman
e5bca083f3 Merge pull request #33 from danilt2000/DevelopMadara
выаыаыаыауккк
2024-04-24 22:16:58 +03:00
Madara0330E
f8f15ada28 выаыаыаыауккк 2024-04-24 21:35:17 +05:00
Hepatica
4648607e3a add timer for updating game money on crash 2024-04-21 16:11:26 +02:00
Hepatica
70b8937ef3 add timer for updating balance on crash 2024-04-21 15:59:53 +02:00
Hepatica
c7671237e1 delete console log 2024-04-21 15:50:44 +02:00
Hepatica
f2573a5f3b Revert "Add checking for correct status in crash game"
This reverts commit 3912f4c313.
2024-04-21 15:31:04 +02:00
Hepatica
3912f4c313 Add checking for correct status in crash game 2024-04-21 15:27:25 +02:00
Swino4ka
6ab6c881b4 Merge pull request #31 from danilt2000/Swino4ka
added spacebar
2024-04-18 12:33:02 +02:00
Swino4ka
c6ccf9f368 added spacebar 2024-04-18 12:32:49 +02:00
Swino4ka
8d84a39351 Merge pull request #30 from danilt2000/Swino4ka
Added professions to mine card, fixed some code
2024-04-18 12:31:29 +02:00
Swino4ka
a3b078c7c2 Added professions to mine card, fixed some code 2024-04-18 12:31:11 +02:00
Swino4ka
9ac77a2fe0 Merge pull request #29 from danilt2000/Swino4ka
Reverted, fixed problems
2024-04-17 22:14:36 +02:00
Swino4ka
e3122f477a Reverted, fixed problems 2024-04-17 22:12:11 +02:00
Swino4ka
8f083fb7d2 Merge pull request #28 from danilt2000/Swino4ka
Deleted crash history
2024-04-17 18:26:49 +02:00
Swino4ka
5f9ae77b9f Deleted crash history 2024-04-17 18:26:19 +02:00
Swino4ka
ed3e5b6a93 Merge pull request #27 from danilt2000/Swino4ka
Swino4ka
2024-04-17 18:21:40 +02:00
Swino4ka
1df75ba3ee Fixed chat symbols bug
Короче баг был, который при отсылании миллиарда символов чат схлопывал.
Бл, Рафаелло постоянно просил переделывать, наконец то сделал то, что он принял и залил, всем спасибо за внимание
2024-04-17 18:19:57 +02:00
Swino4ka
327dd6c7e9 Merge branch 'main' into Swino4ka 2024-04-17 17:05:57 +02:00
rafael1209
c90f249eb6 fix 2024-04-17 17:39:02 +03:00
rafael1209
8b6a3b03e0 added embed 2024-04-14 17:16:17 +03:00
Swino4ka
73efda2f93 I can't 2024-04-10 18:17:09 +02:00
Swino4ka
3215d994be I'm done 2024-04-08 20:18:30 +02:00
12 changed files with 176 additions and 42 deletions

View File

@@ -407,7 +407,7 @@
} }
.Swino4ka_text_2 { .Swino4ka_text_2 {
width: 244px; width: 244px;
height: 221.5px; height: 219.7px;
display: inline-block; display: inline-block;
flex-flow: column-reverse; flex-flow: column-reverse;
@@ -451,6 +451,36 @@
margin-left: 3px; margin-left: 3px;
} }
.Swino4ka__whatjob_2 {
display: flex;
width: 183px;
height: 16px;
margin-left: 19px;
font-family: 'Montserrat';
margin-top: 10px;
}
.Swino4ka__whatjob_2 img {
width: 15px;
height: 17px;
}
.Swino4ka__whatjob_2 p {
margin-left: 3px;
}
.Swino4ka__whatjob_3 {
display: flex;
width: 183px;
height: 16px;
margin-left: 19px;
font-family: 'Montserrat';
margin-top: 9px;
}
.Swino4ka__whatjob_3 img {
width: 17px;
height: 15px;
}
.Swino4ka__whatjob_3 p {
margin-left: 3px;
}
.Swino4ka_skin_2 { .Swino4ka_skin_2 {
width: 244px; width: 244px;

View File

@@ -177,7 +177,30 @@
font-weight: 700; font-weight: 700;
} }
/* /Crash-Graph */ /* /Crash-History */
.crash__history {
background: linear-gradient(90deg, rgba(34, 37, 47, 0.8) -0.54%, rgba(34, 37, 47, 0.8) 83.03%, rgba(73, 59, 74, 0.64) 103.54%);
width: 66%;
height: 50px;
border-radius: 18px;
margin-left: 455px;
display: grid;
grid-template-columns: auto auto auto;
gap: 10px;
}
.grid-item {
background-color: rgba(255, 255, 255, 0.8);
border: 1px solid rgba(0, 0, 0, 0.8);
text-align: center;
}
.crash-history__element {
height: 80%;
border-radius: 18px;
background: rgba(34, 37, 47, 0.8);
}
/* Crash-Players */ /* Crash-Players */

View File

@@ -20,7 +20,12 @@
margin-left: 1vh; margin-left: 1vh;
margin-top: 2.4vh; margin-top: 2.4vh;
} }
.IstoriaMenedger {
margin-left: 85px;
margin-top: 7px;
width: 30px;
height: 30px;
}
.jackpot-loading-bar { .jackpot-loading-bar {
z-index: 1; z-index: 1;
/* margin-left: 5%; */ /* margin-left: 5%; */
@@ -387,4 +392,10 @@
padding-left: 0; padding-left: 0;
padding-right: 0; padding-right: 0;
} }
.IstoriaMenedger {
margin-left: 20px;
margin-top: 7px;
width: 30px;
height: 30px;
}
} }

View File

@@ -275,6 +275,9 @@
.withdraw { .withdraw {
padding-right: 56%; padding-right: 56%;
} }
.referal {
padding-right: 56%;
}
.withdraw-color h3 { .withdraw-color h3 {
color: #EA3D38; color: #EA3D38;
margin-right: 1vh; margin-right: 1vh;
@@ -345,6 +348,9 @@
.withdraw { .withdraw {
padding-right: 66%; padding-right: 66%;
} }
.referal {
padding-right: 66%;
}
} }
@media screen and (min-device-width: 1921px) { @media screen and (min-device-width: 1921px) {

Binary file not shown.

After

Width:  |  Height:  |  Size: 624 B

View File

@@ -0,0 +1,3 @@
<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M30 14.9717C30.0153 23.2362 23.2754 29.9942 15.0109 30C11.4414 30.0025 8.16271 28.7583 5.58616 26.6788C4.91619 26.138 4.8661 25.1339 5.47493 24.5251L6.15641 23.8436C6.67711 23.3229 7.5084 23.266 8.0853 23.7236C9.98358 25.23 12.3859 26.1291 15 26.1291C21.1515 26.1291 26.129 21.1506 26.129 15C26.129 8.8485 21.1505 3.87098 15 3.87098C12.0475 3.87098 9.36598 5.0183 7.37491 6.89106L10.4447 9.96087C11.0544 10.5705 10.6226 11.6129 9.76046 11.6129H0.967741C0.433246 11.6129 0 11.1797 0 10.6452V1.85244C0 0.990304 1.04238 0.558509 1.65205 1.16813L4.63826 4.15434C7.33118 1.58081 10.981 0 15 0C23.2748 0 29.9847 6.70042 30 14.9717ZM19.0577 19.7368L19.6519 18.9729C20.1441 18.3401 20.0301 17.428 19.3972 16.9359L16.9355 15.0211V8.70969C16.9355 7.90798 16.2856 7.25808 15.4839 7.25808H14.5161C13.7144 7.25808 13.0645 7.90798 13.0645 8.70969V16.9144L17.0207 19.9915C17.6535 20.4836 18.5655 20.3697 19.0577 19.7368Z" fill="#B8B8B8"/>
</svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@@ -71,11 +71,34 @@ export default {
ClaimDatamsg(msg) { ClaimDatamsg(msg) {
const now = Date.now(); const now = Date.now();
if (!this.lastMsgTime || now - this.lastMsgTime >= 1000) { if (!this.lastMsgTime || now - this.lastMsgTime >= 1000) {
SendMessageToChat(msg[0]); const processedMsg = this.processMessage(msg[0]);
SendMessageToChat(processedMsg);
this.lastMsgTime = now; this.lastMsgTime = now;
} else { } else {
alert("Вы не можете отправлять сообщения так часто"); alert("Вы не можете отправлять сообщения так часто");
} }
},
processMessage(message) {
const maxLength = 5; // Тут макс допустимых символов писать
const processedMessage = [];
let currentSymbol = "";
let count = 0;
for (let i = 0; i < message.length; i++) {
if (message[i] === currentSymbol) {
count++;
} else {
currentSymbol = message[i];
count = 1;
}
if (count <= maxLength) {
processedMessage.push(message[i]);
}
}
return processedMessage.join("");
}, },
muteChat() { muteChat() {
// Mute the chat by disabling the event listener for incoming messages. // Mute the chat by disabling the event listener for incoming messages.
@@ -116,9 +139,11 @@ export default {
let imageUrl = let imageUrl =
"https://avatar.spworlds.ru/face/55/" + element.userName; "https://avatar.spworlds.ru/face/55/" + element.userName;
const processedMsg = this.processMessage(element.message); // Process the message
const MsgUser = { const MsgUser = {
id: this.id + 1, id: this.id + 1,
msg: element.message, msg: processedMsg, // Use the processed message
username: element.userName, username: element.userName,
icon: imageUrl, icon: imageUrl,
}; };
@@ -133,6 +158,27 @@ export default {
} }
}); });
}, },
processMessage(message) {
const maxLength = 5; // Тут макс допустимых символов писать
const processedMessage = [];
let currentSymbol = "";
let count = 0;
for (let i = 0; i < message.length; i++) {
if (message[i] === currentSymbol) {
count++;
} else {
currentSymbol = message[i];
count = 1;
}
if (count <= maxLength) {
processedMessage.push(message[i]);
}
}
return processedMessage.join("");
},
}; };
</script> </script>

View File

@@ -116,6 +116,14 @@
<img src="@/assets/icons-developcard/html.png" alt="html"> <img src="@/assets/icons-developcard/html.png" alt="html">
<p>HTML 5, CSS</p> <p>HTML 5, CSS</p>
</div> </div>
<div class="Swino4ka__whatjob_2">
<img src="@/assets/icons-developcard/js.png" alt="html">
<p>JavaScript</p>
</div>
<div class="Swino4ka__whatjob_3">
<img src="@/assets/icons-developcard/Vue.png" alt="html">
<p>Vue 3</p>
</div>
</div> </div>
<div class="Swino4ka_skin_2"> <div class="Swino4ka_skin_2">
<div class="Swino4ka_skin_2_skin"> <div class="Swino4ka_skin_2_skin">

View File

@@ -68,7 +68,7 @@
type="checkbox" type="checkbox"
:class="{ 'animate-start-btn': errorAgree }" :class="{ 'animate-start-btn': errorAgree }"
/> />
<h3>Я согласен с <a href="https://docs.google.com/document/d/1lU_zTWJdD1lcMlIAFDIVz-DlZAoq3a-OFkoO8WBIkzo/edit?usp=sharing">пользовательским соглашением</a></h3> <h3>Я согласен с <a href="https://docs.google.com/document/d/1ytKHnXr67o7mu5TKqlpgRjO8DEvQDRHNnaphhzbr_sg/edit?usp=sharing">пользовательским соглашением</a></h3>
</div> </div>
<div <div
class="btn-deposit btn-text-style btn-display-deposit btn-style-payments" class="btn-deposit btn-text-style btn-display-deposit btn-style-payments"
@@ -115,7 +115,7 @@
</div> </div>
<div class="withdraw-checkbox checkbox-styles"> <div class="withdraw-checkbox checkbox-styles">
<input @click="agreeUser = !agreeUser" type="checkbox" /> <input @click="agreeUser = !agreeUser" type="checkbox" />
<h3>Я согласен <a href="https://docs.google.com/document/d/1lU_zTWJdD1lcMlIAFDIVz-DlZAoq3a-OFkoO8WBIkzo/edit?usp=sharing">пользовательским соглашением</a></h3> <h3>Я согласен <a href="https://docs.google.com/document/d/1ytKHnXr67o7mu5TKqlpgRjO8DEvQDRHNnaphhzbr_sg/edit?usp=sharing">пользовательским соглашением</a></h3>
</div> </div>
<div class="error-captcha" v-if="errorCaptcha && agreeUser === true"> <div class="error-captcha" v-if="errorCaptcha && agreeUser === true">
<h2>Пройдите проверку!</h2> <h2>Пройдите проверку!</h2>

View File

@@ -81,7 +81,7 @@
type="checkbox" type="checkbox"
:class="{ 'animate-start-btn': errorAgree }" :class="{ 'animate-start-btn': errorAgree }"
/> />
<h3>Я согласен с <a href="https://docs.google.com/document/d/1lU_zTWJdD1lcMlIAFDIVz-DlZAoq3a-OFkoO8WBIkzo/edit?usp=sharing">пользовательским соглашением</a></h3> <h3>Я согласен с <a href="https://docs.google.com/document/d/1ytKHnXr67o7mu5TKqlpgRjO8DEvQDRHNnaphhzbr_sg/edit?usp=sharing">пользовательским соглашением</a></h3>
</div> </div>
<div <div
class="btn-deposit btn-text-style btn-display-deposit btn-style-payments" class="btn-deposit btn-text-style btn-display-deposit btn-style-payments"

View File

@@ -138,7 +138,6 @@ export default {
const dataCrashParse = JSON.parse(dataCrash) const dataCrashParse = JSON.parse(dataCrash)
this.crashObject = dataCrashParse this.crashObject = dataCrashParse
// console.log(this.crashObject)
} }
catch (e) { catch (e) {
console.error(e) console.error(e)
@@ -146,7 +145,9 @@ export default {
if (this.crashObject.Status === 'GameEnd' && this.startGame === true && this.crashObject.Players.some(player => player.UserName === GetCookie('SpUserName'))) { if (this.crashObject.Status === 'GameEnd' && this.startGame === true && this.crashObject.Players.some(player => player.UserName === GetCookie('SpUserName'))) {
this.startGame = false this.startGame = false
this.updateUserMoney() setTimeout(() => {
this.updateUserMoney();
}, 3000);
} }
if ( if (
this.crashObject.Players.some(player => this.crashObject.Players.some(player =>
@@ -304,8 +305,9 @@ export default {
.then((response) => { .then((response) => {
console.log(response) console.log(response)
this.startGame = false this.startGame = false
setTimeout(() => {
this.updateUserMoney() this.updateUserMoney();
}, 3000);
}) })
} }
}, },

View File

@@ -50,7 +50,12 @@
<img src="@/assets/icons-games/double-game/info.svg" alt="" /> <img src="@/assets/icons-games/double-game/info.svg" alt="" />
</a> </a>
</div> </div>
<div class="IstoriaMenedger">
<a href="#" @click="$router.push({ name: 'jackpot-history' })"><img class="IstoriaMenedger" src="@/assets/icons-games/double-game/Vector.svg"></a>
</div>
</div> </div>
<p>Больше ставь, больше побеждай!</p> <p>Больше ставь, больше побеждай!</p>