Search found 18 matches
- 29 Oct 2018, 18:34
- Forum: SFS2X C# API
- Topic: Too much packets
- Replies: 2
- Views: 4416
Re: Too much packets
Thanks, Lapo. Added a timer which solved it. Happy now
- 29 Oct 2018, 09:32
- Forum: SFS2X C# API
- Topic: Too much packets
- Replies: 2
- Views: 4416
Too much packets
Hey guys I'm still working with a movement, I got a great progress, but now I need to solve this problem: whenewer player pushes W button to move forward, there is boolean changing, which triggers GameManager to send a packet to server. The problem is, even if I tap on a button very fast, it fastly ...
- 27 Oct 2018, 18:54
- Forum: SFS2X C# API
- Topic: MMO Player Movement hacking
- Replies: 6
- Views: 9507
Re: MMO Player Movement hacking
Alright, I've solved this problem with different coordinates by comparing, but still remains a question with lagging people(bad connection). I believe it is not about smartfox anymore, but more about networking itself.
- 25 Oct 2018, 19:26
- Forum: SFS2X C# API
- Topic: MMO Player Movement hacking
- Replies: 6
- Views: 9507
Re: MMO Player Movement hacking
Hey guys. I am here again with the same trouble. It has looked clear to me in theory, but when it came to practice - I've stucked. I've read this article (http://www.gabrielgambetta.com/client-server-game-architecture.html) nearly 10 times and understood everything, but I can't add to my project. An...
- 14 Sep 2018, 16:48
- Forum: SFS2X C# API
- Topic: MMO Player Movement hacking
- Replies: 6
- Views: 9507
Re: MMO Player Movement hacking
I think I've found some useful information in this example. Thank you for your help once again!
- 12 Sep 2018, 09:04
- Forum: SFS2X C# API
- Topic: MMO Player Movement hacking
- Replies: 6
- Views: 9507
Re: MMO Player Movement hacking
Well, that looks like a simple solution, but how should I realise this? I see 2 options: 1. Like in a MMORoomDemo, when my variable MovementDirty equals true, which means that player is actually moving, send a request to server extension, but adding a velocity to this. But as far as I know (I'm not ...
- 11 Sep 2018, 16:30
- Forum: SFS2X C# API
- Topic: MMO Player Movement hacking
- Replies: 6
- Views: 9507
MMO Player Movement hacking
Hey guys. I'm here again with another question. Thanks for a previous replies, they helped me a lot and I have a great progress in creating my game. So, the problem I've faced right now is a player movement in the MMO Room. Right now it is very easy to hack as I have no movement-checks on the server...
- 19 Jul 2018, 11:04
- Forum: SFS2X Questions
- Topic: User disappears from room
- Replies: 4
- Views: 6786
Re: User disappears from room
Does the spawner have a position in the MMORoom? This is a necessary requirement. You can join an MMORoom with any User but you need to set an initial position so that the system can keep track of where everyone is. If you don't, after 30 seconds, you're kicked off the Room. Maybe that's the proble...
- 18 Jul 2018, 15:22
- Forum: SFS2X Questions
- Topic: User disappears from room
- Replies: 4
- Views: 6786
Re: User disappears from room
In my AdminTool I can see that npc-client is disappearing from it's room, but it is still connected to smartfox, there are two players in a zone. It's difficult to say what might be going on. You should check the server log files at the time the Unity client left the Room to see if there's some err...
- 15 Jul 2018, 15:23
- Forum: SFS2X Questions
- Topic: User disappears from room
- Replies: 4
- Views: 6786
User disappears from room
Hello everyone. I've got some strange trouble. So, I have a Unity client, which I use to control npcs in a room. It does not spawn a player entity and I never set position for this client - only npcs. Everything worked perfectly - I was sending requests from this client to server and from server to ...
- 11 Jul 2018, 16:16
- Forum: SFS2X C# API
- Topic: NPC as MMOItem detecting User
- Replies: 3
- Views: 5511
Re: NPC as MMOItem detecting User
Hi, I am sorry, I am not following entirely. It sounds like the problem is more of a Unity coding issue where you need to be able to reference the player's object in order to follow it. You said you don't have the player's object in the Unity hierarchy. Yes, of course you don't, because players are...
- 10 Jul 2018, 15:16
- Forum: SFS2X C# API
- Topic: NPC as MMOItem detecting User
- Replies: 3
- Views: 5511
Re: NPC as MMOItem detecting User
Another idea came to my mind but I'm not sure if it is better ther previous one. At least, I have an imagine how to realize this one. So, I was thinking about checking players' coordinates with USER_VARIABLES_UPDATE and if they collide with NPCs' "aggro-zone", then I'll send a request to c...
- 09 Jul 2018, 18:16
- Forum: SFS2X C# API
- Topic: NPC as MMOItem detecting User
- Replies: 3
- Views: 5511
NPC as MMOItem detecting User
Hello everyone. As you recommended me before, I use Unity Standalone Client for managing npcs in my room. So far I've done so when specific client connects to the server, MMOItems spawn on a location I need. Not so much, I know. Now I want it so when npc(my MMOItem) detects a player nearby, it start...
- 07 May 2018, 19:50
- Forum: SFS2X C# API
- Topic: Spawning NPCs
- Replies: 3
- Views: 5511
Re: Spawning NPCs
Thank you for the answer, it looks more clear now for me. I'll be waiting for this article to come over, this is very great news.
- 06 May 2018, 17:15
- Forum: SFS2X C# API
- Topic: Spawning NPCs
- Replies: 3
- Views: 5511
Spawning NPCs
Hello everyone. I'm trying to spawn NPCs on a standalone Unity client so every player in it's AOI will see them. I want to add some AI to my npcs so they will follow players when attacking them using pathfinding (Unity navmesh), sending their coordinates to server. I ain't done so much for now - thi...