Im trying to develope an online game, so i have a server, and a client.
In the server side, I dont have the models, no graphic engine of course.
But the mobs are controlled by the server, and have to filter the wallhacks too. So somehow i have to check that there is a collision between the players/mobs and the walls.
Any ideas how should i achieve this?
I have mutliple terrains, in the terrains i have static objects.
And for the map, i put simply these terrains with objects together.
So my idea was that i make a picture (raw bmp maybe?), with grayscale colors. and following the mobs position in that picture. if the difference in the colors bigger than x, then its much more higher than the current pos, so cant go there. It would be kinda like the heightmap of the terrains.
And i wouldnt check for the terrain, there won't be big cliffs and so on. (or maybe, but the terrain isnt problem if the others are done
![Razz :P](./images/smilies/icon_razz.gif)
but i dunno if that would work, and dont wanna delete it after i completed coz it didnt work xD
or is there an easier/faster method?
thanks