Re: [Release] Guardian Version Server Files, Client and Source - Currently most corre
If you run the game server, the CPU usage will be 100%. Do you know how to solve it?
Re: [Release] Guardian Version Server Files, Client and Source - Currently most corre
Quote:
Originally Posted by
ckdtjqtbvj
If you run the game server, the CPU usage will be 100%. Do you know how to solve it?
Edit your 3-GameServer.bat like this :
Quote:
@echo off
cd gameserver\bin\
start /affinity 1F gameserver.bat
exit
and you can also change gameserver\bin\gameserver.bat (if you have 16gb ram) : line 16 and 17
Quote:
@rem Add default JVM options here. You can also use JAVA_OPTS and GAMESERVER_OPTS to pass JVM options to this script.set DEFAULT_JVM_OPTS="-Xms4g" "-XX:NewRatio=3" "-XX:+UseG1GC" "-Xmx16g" "-server"
Re: [Release] Guardian Version Server Files, Client and Source - Currently most corre
Thank you for your answer. We did as you told us, but we still have 100% CPU. When I run the Archer version, CPU 5% comes out, but Guardian version only has CPU 100%. I don't know what the problem is.
Re: [Release] Guardian Version Server Files, Client and Source - Currently most corre
Quote:
Originally Posted by
ckdtjqtbvj
Thank you for your answer. We did as you told us, but we still have 100% CPU. When I run the Archer version, CPU 5% comes out, but Guardian version only has CPU 100%. I don't know what the problem is.
my CPU run with 60% - 65% with those setting
well its depend of your PC setup ... good PC mean better result
Re: [Release] Guardian Version Server Files, Client and Source - Currently most corre
Quote:
Originally Posted by
Ledie
Explain me more this sync fix?
Just added a region update every time the client time is updated, not ideal but seems to work well enough for now
If you really want to know:
Code:
public void updateTime(){
World.getInstance().getPlayers().forEach(p->p.sendPacket(new SMSetGameTime()));
World.getInstance().getPlayers().forEach(this::updateEntities); //TODO: rewrite regions to handle this on its own
}
public void updateEntities(final Player player){
WorldMap worldMap = World.getInstance().getWorldMap();
if (player.getLocation().getGameSector() != null){
worldMap.notifyEnter(player, player.getLocation().getGameSector(), false, false);
}
}
Re: [Release] Guardian Version Server Files, Client and Source - Currently most corre
So I was going through the gameserver configs and I found that theres a setting to keep certain items on with a loot filter. SOOOOO does this version come with a loot filter or anything?
Re: [Release] Guardian Version Server Files, Client and Source - Currently most corre
Quote:
Originally Posted by
Ledie
Explain me more this sync fix?
- - - Updated - - -
Instead of 127.0.0.1 Use your ipv4. And please dont share your ipv4 here
Not worked, still stuck in server try connection, patch for client applied, launcher used, IP's in launcher config changed for IP LS/GS, but still nothing...
in LS log me seen:
Code:
18:01:48.388 INFO - Gameserver [519 CH1] registered successfuly with ServerID=1 and ChannelID=1.
18:03:35.467 WARN - Server -> Client: SMSetFrameworkInformation
18:03:35.527 WARN - Client -> Server: CMGetCreateUserInformationToAuthenticServer
18:03:35.632 WARN - Server -> Client: SMGetCreateUserInformationToAuthenticServer
18:03:35.637 INFO - Account [tielay] logged in with IP [172.16.31.204] by token [null]
18:03:35.644 WARN - Client -> Server: CMLoginUserToAuthenticServer
18:03:35.883 WARN - Server -> Client: SMLoginUserToAuthenticServerNak
18:03:35.884 ERROR - Can't find opcode for packet: SMLoginUserToAuthenticServerNak
Re: [Release] Guardian Version Server Files, Client and Source - Currently most corre
I have been stuck here for 40 minutes anyone know how to solve ??
https://imgur.com/a/ANSvIx8
EDIT: Solved
Re: [Release] Guardian Version Server Files, Client and Source - Currently most corre
Quote:
Originally Posted by
Mustlord59
Computer specs?
- - - Updated - - -
Quote:
Originally Posted by
TieLay
Not worked, still stuck in server try connection, patch for client applied, launcher used, IP's in launcher config changed for IP LS/GS, but still nothing...
in LS log me seen:
Code:
18:01:48.388 INFO - Gameserver [519 CH1] registered successfuly with ServerID=1 and ChannelID=1.
18:03:35.467 WARN - Server -> Client: SMSetFrameworkInformation
18:03:35.527 WARN - Client -> Server: CMGetCreateUserInformationToAuthenticServer
18:03:35.632 WARN - Server -> Client: SMGetCreateUserInformationToAuthenticServer
18:03:35.637 INFO - Account [tielay] logged in with IP [172.16.31.204] by token [null]
18:03:35.644 WARN - Client -> Server: CMLoginUserToAuthenticServer
18:03:35.883 WARN - Server -> Client: SMLoginUserToAuthenticServerNak
18:03:35.884 ERROR - Can't find opcode for packet: SMLoginUserToAuthenticServerNak
What files you're using? Are you sure your java is 8 version?
- - - Updated - - -
Quote:
Originally Posted by
Exodice
So I was going through the gameserver configs and I found that theres a setting to keep certain items on with a loot filter. SOOOOO does this version come with a loot filter or anything?
Yea. Jin created a drop filter, i don't tested it
- - - Updated - - -
Quote:
Originally Posted by
Ryfon
Just added a region update every time the client time is updated, not ideal but seems to work well enough for now
If you really want to know:
Code:
public void updateTime(){
World.getInstance().getPlayers().forEach(p->p.sendPacket(new SMSetGameTime()));
World.getInstance().getPlayers().forEach(this::updateEntities); //TODO: rewrite regions to handle this on its own
}
public void updateEntities(final Player player){
WorldMap worldMap = World.getInstance().getWorldMap();
if (player.getLocation().getGameSector() != null){
worldMap.notifyEnter(player, player.getLocation().getGameSector(), false, false);
}
}
This wont go eat the cpu or the ram ?
Re: [Release] Guardian Version Server Files, Client and Source - Currently most corre
Now I have a new error
https://imgur.com/a/iZQef6y
I followed tutorial to setup local server, but then I get Connection to loginserver failed Reason: Unknown server.
Re: [Release] Guardian Version Server Files, Client and Source - Currently most corre
Quote:
Originally Posted by
djbadboys38
@Ledie help me please
Re: [Release] Guardian Version Server Files, Client and Source - Currently most corre
Quote:
Originally Posted by
Ledie
This wont go eat the cpu or the ram ?
Yes, but not by much depending on resource usage and player count. Hover around 8% cpu and 37gb ram with 6 players. That's roughly 2% higher cpu and ~500mb extra ram usage from stock.
Re: [Release] Guardian Version Server Files, Client and Source - Currently most corre
Do you know the command for the drop filter?
Re: [Release] Guardian Version Server Files, Client and Source - Currently most corre
Quote:
Originally Posted by
Exodice
Do you know the command for the drop filter?
have you tried //loot ?
Re: [Release] Guardian Version Server Files, Client and Source - Currently most corre
Quote:
Originally Posted by
Ledie
What files you're using? Are you sure your java is 8 version?
CPU: Intel(R) Xeon(R) Silver 4114 CPU @ 2.20GHz x 2
Hypervisor: ESXi-6.7.0-20190402001-standard
RAM: 64Gb
CPU: 4 cores
OS: Windows Server 2012R2
JAVA: JDK 8U311 without JRE
Env: JAVA_HOME and JDK_HOME point into JDK install dir, not use JDK from Server pack JDK\bin include into %PATH%
Where run Server and Client isn't one computer, in config me replace 127.0.0.1 by Server's IP.
For launch game me use launcher from Client, from this theme, with changed IPs in config to server's one and patch from server's archive used to, by replacing "\ads\languagedata_en.loc", "\bin64\ShadowDesert.exe" no need replace it's identical exists in Client.
So it's enough?