Este sítio funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Inscrição
Iniciar sessão
gitlord
/
isleward
espelho de
https://gitlab.com/Isleward/isleward.git
Vigiar
1
Marcar como favorito
0
Derivar
0
Código
Questões
0
Lançamentos
203
Wiki
Trabalho
Ver a proveniência
work
1993-leagues
Shaun
há 7 meses
ascendente
e30fc1a191
cometimento
32d0dcce4d
3 ficheiros alterados
com
5 adições
e
5 eliminações
Visualização em 2 colunas
Opções das diferenças
Mostrar estatísticas
Descarregar ficheiro patch
Descarregar ficheiro diff
+1
-1
src/client/ui/templates/characters/styles.less
+3
-3
src/server/config/consts.js
+1
-1
src/server/world/threadManager.js
+ 1
- 1
src/client/ui/templates/characters/styles.less
Ver ficheiro
@@ -62,7 +62,7 @@
align-items: center;
.sprite {
width:
8
px;
width:
7.9
px;
height: 8px;
transform-origin: 50% 50%;
transform: scale(16);
+ 3
- 3
src/server/config/consts.js
Ver ficheiro
@@ -16,13 +16,13 @@ module.exports = {
hpMults: [0.1, 0.2, 0.4, 0.7, 0.78, 0.91, 1.16, 1.19, 1.65, 2.36, 3.07, 3.55, 4.1, 4.85, 5.6, 5.9, 6.5, 7.1, 7.9, 12, 15],
//How far a player can see objects horizontally
viewDistanceX: 2
5
,
viewDistanceX:
3
2,
//How far a player can see objects vertically
viewDistanceY: 1
4
,
viewDistanceY: 1
7
,
//How many milliseconds to wait to kill a thread after it's been empty
destroyThreadWhenEmptyForMs: 10
* 60 * 1
000,
destroyThreadWhenEmptyForMs: 10000,
init: function (threadArgs) {
const emBeforeGetConsts = {
+ 1
- 1
src/server/world/threadManager.js
Ver ficheiro
@@ -208,7 +208,7 @@ const getThread = async ({ zoneName, zoneId, obj }) => {
if (!map)
map = mapList.find(m => m.name === clientConfig.config.defaultZone);
let thread = threads.find(t => t.id === zoneId && t.name === zoneName);
let thread = threads.find(t =>
(zoneId === null ||
t.id === zoneId
)
&& t.name === zoneName);
//Maybe this player has been in a thread for this map before
if (!thread)
Escrever
Pré-visualizar
Carregando…
Cancelar
Guardar