Author Topic: Network improvement  (Read 3412 times)

Kerol

  • Hydlaa Notable
  • *
  • Posts: 574
  • Assets > Asshats
    • View Profile
Re: Network improvement
« Reply #15 on: August 02, 2006, 11:46:20 am »
Quote
client-server communication and additionally server-to-server transport.
Yes, that's why it _could_ be possible to place some independant chat servers on trusted platforms to get the chat off the psserver. But that would pose the trouble of not really being able to control stuff, therefore a bad idea. When/if we ever use multiple servers (for different levels, etc) it could be possible to use those in a client-server-server-client (dunno the exact name) network.
Quote
I don't think there is available OpenSource version written in C++, easy to include in PlaneShift code.
Well. You can't say that without having checked beforehand, can you?
Quote
Basically You want to divide maps to more, smaller sectors, nothing more.
It is similar to sectors, but not the same. I want to add an additional info to the maps. Actually, it's possible to change those
Quote
dynamically culled mini-regions for reducing unnecessary DR
on runtime, and change them generally a lot easier than sectors.
The graphic loading, the sector loading and loading in general client-sided, doesn't get affected by those mini-regions. It also doesn't pose a problem to the artists to place such mini-regions as they are in already existing sectors, while adding/dividing sectors isn't that easy.
Quote
This would be a big waste, as sending that data would be more than just donig the DR.
That actually depends on the number of entities that are covered by those mini-regions.
Think about that suggestion in a year again, when we'll have 1000+ players and all the NPC moving :)
Quote
You would like to implement TCP+, I mean TCP
Not at all. I like to have the clock on server and clients synchronized. Then add to all DR packages (that are already there of course) a timestamp when they are being sent.
The clients then reconstruct the scenery by taking the timestamps into account.
With that it doesn't matter whether packets got lost or not, so no need for TCP.


retired GM leader

JorgeAldoJR

  • Wayfarer
  • *
  • Posts: 4
  • Language is the root of everything...
    • View Profile
Re: Network improvement
« Reply #16 on: September 11, 2006, 04:44:50 pm »
Not trying to be smartass... but, is it REALLY CPU intensive to do a Angular (Azimuth) LoS checking at the server before sending movement updates ?

All this stuff you are talking about is called Line of Sight/Line of Fire (LoS/LoF), and in some of my experiments (with a 2d game) i menaged to do 33 million LoS calculations per second on a 2D map (in an old Athlon 550Mhz), elevation isnt really worth the effort yet (judging by the fact that there isnt really high elevation differences in this game as of now, "angularly" speaking), but a azimuthal LoS would surely be easy to do...

Kerol

  • Hydlaa Notable
  • *
  • Posts: 574
  • Assets > Asshats
    • View Profile
Re: Network improvement
« Reply #17 on: September 11, 2006, 07:12:41 pm »
If you are so much in that area of profession, why don't you implement it? :)
I think it would be best if it was directly implemented in CS, not in the PS engine, but I don't know really.

I'm serious though. If you are familiar with that sort of programming, why don't you give it a try, get on IRC (irc.freenode.net) and ask jorrit, the leader of CS, what he thinks about the idea? I'm sure you will be given the assistance you need and if you are serious about it and have an idea how to do it, it won't take too long to implement.
If you have troubles with getting help or contacting people, you may send me a PM and I'll try to help in any way I can.


retired GM leader