Server: Comet, Open Source

21

Code: Select all

writer.Write(this.CharacterName); // 53
For some reason does. Have to check how that happens

Sadly bypassing that issue does not fix spawn ether.

Code: Select all

0000:  3A 00 F6 03 15 58 0F 00  AB BA 06 00 00 00 00 00  | :....X.......... |
0010:  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  | ................ |
0020:  00 00 00 00 00 00 00 00  31 03 00 00 3D 00 6D 00  | ........1...=.m. |
0030:  67 02 01 64 01 04 72 6F  6F 39                    | g..d..roo9 |

Server: Comet, Open Source

22
roo7 wrote: Sat Dec 19, 2020 2:03 pm

Code: Select all

writer.Write(this.CharacterName); // 53
For some reason does. Have to check how that happens

Sadly bypassing that issue does not fix spawn ether.

Code: Select all

0000:  3A 00 F6 03 15 58 0F 00  AB BA 06 00 00 00 00 00  | :....X.......... |
0010:  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  | ................ |
0020:  00 00 00 00 00 00 00 00  31 03 00 00 3D 00 6D 00  | ........1...=.m. |
0030:  67 02 01 64 01 04 72 6F  6F 39                    | g..d..roo9 |
If it's not appearing at all, then that leads me to believe the coordinates are wrong or at the wrong offset. Are your character's coordinates supposed to be the birth village spawn coordinates?
Interested in my work?

If you wanna learn more about me and my projects: visit my portfolio website. There, you can find my free, open-source work and articles about game development. Due to contractual restrictions: I am not available for job requests or volunteer work.

About Me | GitLab Profile | Website

Server: Comet, Open Source

23
Spirited wrote: If it's not appearing at all, then that leads me to believe the coordinates are wrong or at the wrong offset. Are your character's coordinates supposed to be the birth village spawn coordinates?
Im passing Clients ( the one Im playing) coords to that packet - birth village. They do match and are set. As for offsets.. have tested most publicly available.

P.S I haven't actually changed anything in code. Just added nonworking MsgPlayer.cs file.

Server: Comet, Open Source

24
roo7 wrote: Mon Dec 21, 2020 10:15 pm Im passing Clients ( the one Im playing) coords to that packet - birth village. They do match and are set. As for offsets.. have tested most publicly available.

P.S I haven't actually changed anything in code. Just added nonworking MsgPlayer.cs file.
Just to confirm, you're not using the same character ID as the character already on screen, right? Have you tried using a different name as well?
Interested in my work?

If you wanna learn more about me and my projects: visit my portfolio website. There, you can find my free, open-source work and articles about game development. Due to contractual restrictions: I am not available for job requests or volunteer work.

About Me | GitLab Profile | Website

Server: Comet, Open Source

25
Spirited wrote: Mon Dec 21, 2020 11:38 pm Just to confirm, you're not using the same character ID as the character already on screen, right? Have you tried using a different name as well?
I have tried different names / UID / Mesh ... about every value that I could change in all kinds of combinations. Have tried spawn monster.

Server: Comet, Open Source

26
roo7 wrote: Tue Dec 22, 2020 5:14 am
Spirited wrote: Mon Dec 21, 2020 11:38 pm Just to confirm, you're not using the same character ID as the character already on screen, right? Have you tried using a different name as well?
I have tried different names / UID / Mesh ... about every value that I could change in all kinds of combinations. Have tried spawn monster.
Btw, I got your pull request for the packet writer changes. Can you take a look at my comments when you have a free chance? We can remove the entire method since it's just calling the base class now. :happy:
Interested in my work?

If you wanna learn more about me and my projects: visit my portfolio website. There, you can find my free, open-source work and articles about game development. Due to contractual restrictions: I am not available for job requests or volunteer work.

About Me | GitLab Profile | Website

Server: Comet, Open Source

27
Looking good, I have come across a little issue probably something I have forgotten I created a character but it didn't login?

Code: Select all

System.Net.Sockets.SocketException (10054): An existing connection was forcibly closed by the remote host.
   at Comet.Game.Server.ProcessAsync(Client actor, Byte[] packet) in C:\Users\alank\Desktop\comet-5187\comet-5187\src\Comet.Game\Server.cs:line 138
That was the error I got I'm using 5187 and attempting to run it locally, I also have not changed anything in the source just yet

Server: Comet, Open Source

28
WHITELIONX wrote: Wed Jan 27, 2021 3:20 pm Looking good, I have come across a little issue probably something I have forgotten I created a character but it didn't login?

Code: Select all

System.Net.Sockets.SocketException (10054): An existing connection was forcibly closed by the remote host.
   at Comet.Game.Server.ProcessAsync(Client actor, Byte[] packet) in C:\Users\alank\Desktop\comet-5187\comet-5187\src\Comet.Game\Server.cs:line 138
That was the error I got I'm using 5187 and attempting to run it locally, I also have not changed anything in the source just yet
That's odd. It looks like the client got disconnected. Can you create an issue in the issue tracker on GitLab and provide a dump of your game server's database? Thanks!
Interested in my work?

If you wanna learn more about me and my projects: visit my portfolio website. There, you can find my free, open-source work and articles about game development. Due to contractual restrictions: I am not available for job requests or volunteer work.

About Me | GitLab Profile | Website

Server: Comet, Open Source

29
Before I do that is it only comet.account.sql and comet.game.sql that I need to upload to mysql? No need for the upgrades or? It has saved a new character as I tried again, first one said it was created but it didn't show for me but creating a new one and it is now showing but still no login.

Server: Comet, Open Source

30
WHITELIONX wrote: Wed Jan 27, 2021 6:44 pm Before I do that is it only comet.account.sql and comet.game.sql that I need to upload to mysql? No need for the upgrades or? It has saved a new character as I tried again, first one said it was created but it didn't show for me but creating a new one and it is now showing but still no login.
I'm not sure what you mean by showing. Can you elaborate? And when you upload your database, please only upload the comet.game database. I only need the character information to reproduce the login flow.
Interested in my work?

If you wanna learn more about me and my projects: visit my portfolio website. There, you can find my free, open-source work and articles about game development. Due to contractual restrictions: I am not available for job requests or volunteer work.

About Me | GitLab Profile | Website