Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Wondering about the data.
#12
OT: The points in having the max hp, exp, and etc drops in the data client sided is that the server never deals with these things directly. *this is speculation from this point on* the server sends the data to the client saying (insert random number here) has spawned, its current hp, and a couple other random things about it. the server only knows that A) its current position B) its current hp (somewhat sketchy how detailed this is) The server knows it only as a number not as the actual monster, for that the client assigns the number a sprite, stats, its initial hp, etc. When it comes to death of the monster the client says the number is "dead" and asks the server if it needs to split exp, and if it dropped anything. The server returns a number that says "no don't split exp, yes it dropped x amount of mesos and item (insert number here)" the number coresponds to the etc item that that numbered monster drops. (end speculation)

Thats the way most games work in that everything is pretty much client sided until data is changed, then the client sends the data to the server and the server sends the data to anyone else that may need the updated data. This is why you'll get lots of lag in the FM cause all the clients are constantly sending all those packets to the server and the server has to send them back out to all the clients. Though the only place my speculation breaks down IMO is the fact of droplists aren't in the data but then again there are some stats on monsters that have yet to be figured out what they do
Reply


Messages In This Thread
Wondering about the data. - by Russt - 2008-09-01, 04:27 PM
Wondering about the data. - by Harrisonized - 2008-09-01, 04:44 PM
Wondering about the data. - by Stereo - 2008-09-01, 04:47 PM
Wondering about the data. - by Russt - 2008-09-01, 04:56 PM
Wondering about the data. - by whybanme - 2008-09-01, 04:57 PM
Wondering about the data. - by Fiel - 2008-09-01, 04:59 PM
Wondering about the data. - by Nikkey - 2008-09-01, 06:30 PM
Wondering about the data. - by Russt - 2008-09-01, 06:36 PM
Wondering about the data. - by Takebacker - 2008-09-01, 07:11 PM
Wondering about the data. - by randompeep - 2008-09-01, 07:14 PM
Wondering about the data. - by Harrisonized - 2008-09-01, 07:35 PM
Wondering about the data. - by bored4ever86 - 2008-09-02, 04:03 AM
Wondering about the data. - by 0mgP1r4tes - 2008-09-02, 04:33 AM
Wondering about the data. - by bored4ever86 - 2008-09-02, 04:42 AM
Wondering about the data. - by Alloy - 2008-09-02, 06:14 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)