Bug or a feautre ?

Bug or a feautre ?

Postby paul424 » 06 Nov 2020, 12:11

Hi, so I started writing a new editor for OD. So far so good, but .... I got stuck in copy paste tiles process. It turns out the server and client keeps DIFFRENT maps each time after loading. That regards at least :
1) Tile fullness ( client side seems to set everything to 100% )
2) some tile type represented by TileType mType; attribute

My copy paste mechanism works like this Client sends what should be changed ( copy and pasted) -> Server accepts it and pings back a refresh tile request -> client sets wrongly tile fullness , because fullness was set up wrongly from the beggining .


What to do with it ? The main question here is : IS that a bug or a feature ? Should I try to fix it or bypass it ?

ahhh
//! \brief The tile fullness (0.0 - 100.0).
//! At 0.0, it is a ground tile. Over it is a wall.
//! Used on server side only
double mFullness;

this complicates the C&P very much then ....
so how about 2) ?

EDIT: Is there ANY way of downloading that information from the server to client side ? I assume no, because this is kind of anti-cheating mechanism ... :(
User avatar
paul424
OD Moderator
 
Posts: 652
Joined: 24 Jan 2012, 13:54

Re: Bug or a feautre ?

Postby paul424 » 07 Nov 2020, 12:52

Would it be good to introduce two new commands : server and client commands : editorAskRevealTiles and revealTiles ??
User avatar
paul424
OD Moderator
 
Posts: 652
Joined: 24 Jan 2012, 13:54

Who is online

Users browsing this forum: No registered users and 1 guest