[Question] Spawning Problems

08/03/2010 07:30 -Fáng-#1
Hey everyone!
My source is looking great thanks to you all!

So far, these are the errors:

[x] General Packet Problem
[x] Character Spawning Problem
[x] Status Packet Fixed (with help from you all!)
[ ] Unknown Problem with Walking, Jumping, and Spawning

----------------------------------------------------------------

The Unknown Problem:
I'll be walking and jumping on a spawned map and it'll be fine!
then all of a sudden... when i teleport to another map or use a command to teleport, the NPCs, Characters, and Mobs appear around you... but as you move, they don't spawn on the screen. Mobs can attack you but you can't see or attack them because they're not spawned. Yey! ><

I'm using a source that's like Elite-COEmu, CoEmu, and Impulse's source. It's mostly like Elite-COEmu I guess.

Any suggestions?

Sincerely,
Fang
08/03/2010 11:23 Arcо#2
Quote:
Originally Posted by -Fáng- View Post
The Unknown Problem:
I'll be walking and jumping on a spawned map and it'll be fine!
then all of a sudden... when i teleport to another map or use a command to teleport, the NPCs, Characters, and Mobs appear around you... but as you move, they don't spawn on the screen. Mobs can attack you but you can't see or attack them because they're not spawned. Yey! ><

I'm using a source that's like Elite-COEmu, CoEmu, and Impulse's source. It's mostly like Elite-COEmu I guess.

Any suggestions?

Sincerely,
Fang
So you're using a heavily edited elite coemu source.
You probably messed something up as you were editing.
Retrace your steps.
08/03/2010 11:46 -Fáng-#3
Quote:
Originally Posted by .Arco View Post
So you're using a heavily edited elite coemu source.
You probably messed something up as you were editing.
Retrace your steps.
Well I am... but idk... it looks like it's right. It was never right in the Elite CoEmu source so yah... Idk.
08/03/2010 15:45 pro4never#4
Make sure that you are


A: sending mob walk packet if mob is already spawnned to player
B: you are sending spawn packet if it walks onto player screen
C: you are updating char position when it moves (teleport, jump, walk, etc)
08/03/2010 18:00 -Fáng-#5
Quote:
Originally Posted by pro4never View Post
Make sure that you are


A: sending mob walk packet if mob is already spawnned to player
B: you are sending spawn packet if it walks onto player screen
C: you are updating char position when it moves (teleport, jump, walk, etc)
I am, and it's not when there are mobs around either. I'm sending all of the spawn packets too when I walk so I don't understand what's going on.
08/03/2010 18:25 Korvacs#6
So your sending the walk and jump packets back to the client?
08/03/2010 18:46 -Fáng-#7
Quote:
Originally Posted by Korvacs View Post
So your sending the walk and jump packets back to the client?
You know what it was? It was the Data types. They were messed up.

I just found another problem though...
When two people are logged in and jump into each other's frames... or just teleport there... it makes both clients log out...
08/03/2010 19:19 pro4never#8
sounds like alot of messed packets. Check your entity spawn packet for probems
08/03/2010 19:19 © Haydz#9
Sounds like a spawn packet problem.
08/03/2010 19:40 pro4never#10
sounds like alot of messed packets. Check your entity spawn packet for probems
08/03/2010 20:58 -Fáng-#11
Well, the spawns for NPCs and mobs work perfectly now.
I'll start a new thread for my next problem. Hopefully it's my last.