[Suggestion/Request]Player LOS
#1

Line of sight would be a great thing and its already kinda implemented (Name tags and labels have LOS check)
IsPlayerInLosForPlayer(playerid, targetid) or something like that would be awesome...same for vehicles (and maybe objects)

From these every server could benefit...from RP to DM...

For example RP plice chases could be more complicated... TDM servers could have recon teams more specialized... Survival servers could use these for many things...
Reply
#2

LOS is a clientside thing. The server isn't aware of the game world
Reply
#3

Yes you need to create a server-side collision plugin. (ColAndreas)
Reply
#4

I know its client side thats why these is suggestion/request...
Pottus, that would be awesome but i think it would eat more memory than Map Andreas. (Yes it could replace map andreas but still it would use much more memory...)

Simple client side implementation would be ok (at least for start...)
Reply
#5

It's working fine for 3DTexts, why not expand the system for nametags, vehicles, and other things too?
Reply
#6

Quote:
Originally Posted by CyNiC
Посмотреть сообщение
It's working fine for 3DTexts, why not expand the system for nametags, vehicles, and other things too?
It's clientside his function suggestions are server side.
Reply
#7

Can't the client track elements and LOS for those elements then the server can just retrieve the data?
Reply
#8

Quote:
Originally Posted by Kar
Посмотреть сообщение
Can't the client track elements and LOS for those elements then the server can just retrieve the data?
This.
Reply
#9

Quote:
Originally Posted by Kar
Посмотреть сообщение
Can't the client track elements and LOS for those elements then the server can just retrieve the data?
This results in a bunch of calculations on the client side and masses of data on the server side.
Reply
#10

Quote:
Originally Posted by ikkentim
Посмотреть сообщение
This results in a bunch of calculations on the client side and masses of data on the server side.
That calculations are nothing for a client, if it can run San Andreas it can survive MANY calculations...while on server it can overload server very fast. (Limited resources and each calculation is multiplied by players online)

It was a suggestion for client side, if it was for server than i'd put it in plugins section (and as far as i know there was some discussion about these)

Like i said before, client side check just like for name tags would be fine, also faking information is nothing new...just take a look at current cheating tools...mod sa has ability to stop sending on foot and in vehicle data. Cleo cheats can use all of sa-mp client functions and modify packets... Just add a features and let servers deal with cheats. There were always a cheats, and always some kind of anti cheat...5 years ago we had problem with money,weapons,health,armor cheats...today every server has solution against it. 2-3 years ago we had problem with airbreaks and they got detected with velocity, now that is fixed in cheats we detect it by traveled distance (and Z angle in vehicles). Just some facts that faking information is nothing new...

These feature would benefit many servers and game mode types, i think thats the best criteria we could find. Its not server specified, everyone can use it for something...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)