![]() |
|
|
#51 | ||
|
Архивный участник
Join Date: Mar 2006
Posts: 21
|
Quote:
Quote:
|
||
|
|
|
|
#52 |
|
Архивный участник
Join Date: Nov 2004
Posts: 1,405
|
hmm.. if that's the case...
it might be better off to write a external compiler instead? to convert client files to geodata isnt it? rather then making the loading time for server so much longer? imagine the loading of geodata now? it's taking a pretty long time... then imagine computing the geodata then loading? even longer isnt it? then imagine when u are testing the server, and it'll require multiple times of restarting... u'll recompute geodata everytime? :O these are some concerns i'd like to see addressed ![]() since they'll have quite major impact... |
|
|
|
|
#53 | |
|
Архивный участник
Join Date: Mar 2006
Posts: 21
|
Quote:
code for 530-560 protocols was deleted |
|
|
|
|
|
#54 |
|
Архивный участник
Join Date: Mar 2006
Posts: 21
|
Since last time post I have implemented many network packets...
I can now walk in La2 world. But geo is taking from client and server has no sync between clients (they cannot see each other). http://l2cs.zakamsk.net |
|
|
|
|
#55 |
|
Архивный участник
Join Date: Nov 2004
Posts: 1,405
|
yeah... in this case, all the synchronization are done on the server end
the client see and moves, but the movement packet is sent to the server the server then calculates if it's possible/how to reach the selected position and validates it with the client and at the same time, upon validation it'll broadcast it to all the other clients within a certain area/radius same theory applies to the attack/spell/etc packets... so the hard part here is to actually identify among who in the area to send to.... probably filtered by map then by a certain square grid size, like 4x4 grid from the client that activate it? just some thoughts... and good work on the progress
|
|
|
|
|
#56 | |
|
Архивный участник
Join Date: Mar 2006
Posts: 21
|
Quote:
Server will be able itself to build C# module sources from some scripts (not from off server), compile it and add (or replace old) module handlers to global spell, drop, item, quest handlers. |
|
|
|
|
|
#57 | |
|
Архивный участник
Join Date: Oct 2005
Posts: 21
|
This is the way I think most emulators should be handled now in regard to scripts. Some devs, like those of RunUO have been using a similar method forever, albiet only at run time. With reflection in .NET its easy to accomplish this to be handled on the fly, you can even set up a watcher thread that automagically rebuilds a compiled assembly when ever its code file is changed or you can go way out there, I had set a goal to allow classes to be added dynamically to my assembly via an in game text editor accessible by devs. My original goal was to use this feature for tracing and debugging, but there's nothing stoping a person from using a similar method to add dynamic content on the fly for events, ect ...
Quote:
|
|
|
|
|
|
#58 |
|
Архивный участник
Join Date: Sep 2005
Posts: 14
|
Yea altrough runuo dropped that kind of stuff, coz it was messing up thing with already created objects
|
|
|
|
|
#59 |
|
Архивный участник
Join Date: Nov 2004
Posts: 1,405
|
yeah, dynamic dll/script loading & unloading would be really useful.
and in c# it's really possible to get it done... there's already a couple of examples online which i've seen that does runtime compilation and execution... if u get it working stable, it'd be a state of the art l2 server that even ncsoft would have troubles with.. lol ![]() GL! |
|
|
|
|