Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Registro
Iniciar sesión
gitlord
/
isleward
réplica de
https://gitlab.com/Isleward/isleward.git
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Lanzamientos
203
Wiki
Actividad
Explorar el Código
work
1993-leagues
Shaun
hace 7 meses
padre
e30fc1a191
commit
32d0dcce4d
Se han
modificado 3 ficheros
con
5 adiciones
y
5 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+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 fichero
@@ -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 fichero
@@ -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 fichero
@@ -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)
Escribir
Vista previa
Cargando…
Cancelar
Guardar