Comments (9)
Tested the fix.
At the first look - fix works. But over time - same issue occure. There are simply no visible mobs.
If we assume that map in admin panel works perfect - next thing become interesting: "invisible mobs" are not moving at all. (Just newly respawned mob dot appears but they are not moving).
from openmu.
Thanks again 👍 You're probably the first one who tried to learn and perform a skill on the OpenMU server 🥇
I wondered that it even worked somehow, btw :)
Just a wild guess:
The walking to 0,0 could be an issue in the packets (WorldView.NewNpcsInScope). There is a start and end coordinate in the meet packet, which are different when the monster walks. Maybe the walk target is not initialized yet here, or IsWalking is not correctly assigned:
```csharp
if (supportWalk?.IsWalking ?? false)
{
packet[11 + monsterOffset] = supportWalk.WalkTarget.X;
packet[12 + monsterOffset] = supportWalk.WalkTarget.Y;
}
else
{
packet[11 + monsterOffset] = npc.X;
packet[12 + monsterOffset] = npc.Y;
}
```
The evil spirit skill could cause some area skill hit packets for these monsters at 0,0 when they're visible (or in range) on client side. Currently there is no check on the server yet to prevent such hits.
About the walking in general: Monsters are allowed to walk outside of their spawn area. At the original game (global server) it was possible to lure monsters across the whole map.
from openmu.
I made some fixes for area skills... they should find the monsters in range now - provided they are inside a bucket which is in range. Time to sleep now 😴
from openmu.
I found the issue... As soon as a Monster is doing a "RandomMove", it moves towards 0,0. The reason is, that RandomMove doesn't set the WalkTarget.
from openmu.
Another thing "not so far from moving" is monster respawn. Seems to be packet isssue.
If one create a small spawnarea (or point spawnarea for better example) -> as soon as you kinn those monsters you will not see new spawned monsters but on the map at the admin panel you can see them.
If you switch map (e.g. spawnarea near Devias gate) and than go back to Lorencia -> you will see those mobs.
from openmu.
Fixed the respawn issue. However, I noticed something related again. When monsters attack, they don't seem to be in the correct coordinate or looking at the right direction.
from openmu.
Oh, that's strange...
I can only imagine it's related to walking. Can you test if this issue occurs when they don't walk at all, by deactivating the walk timer and random move?
Anyways, thanks for the test :)
from openmu.
Tested only ingame.
Deactivate Walk timer + random move = no issue.
Deactivate only Random move = issue occures as it was before, but it took much more time to get mobs spawn like "invisible mobs"
from openmu.
I think this issue has been fixed with #47.
However, I noticed something related again. When monsters attack, they don't seem to be in the correct coordinate or looking at the right direction.
I'll create an issue, if that's still occuring.
from openmu.
Related Issues (20)
- [MacOS] The project can't be build with 7.0.302 SDK HOT 2
- [Feature] Golden Archer
- [Feature] Marriage HOT 1
- [Bug] Stuck on "Please Wait" Box when Creating Character with Existing Name HOT 1
- Where can i download the MU Client? HOT 1
- Guild creation doesn't clear the info of the last guild that was created. HOT 1
- [Feature] Admin Panel Localization
- [Bug] Adding points by /add disconnects the character from BC and DS HOT 2
- OpenMU on Kubernetes HOT 2
- After restart i lost all my data HOT 2
- Local Run - No Internet HOT 3
- Can I help with any tasks? HOT 3
- Can't build the solution HOT 2
- Prevent equipping weapons and shields when not enough hands are free HOT 3
- Level-up points should be compensated when gaining Hero Status beyond level 220
- Guardian Angel damage absorption works in reverse HOT 7
- CPU 100% when the server is running HOT 11
- I love to help HOT 3
- Broken link on packets docs HOT 1
- A Fenrir cannot be repaired with a Jewel of Bless
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openmu.