Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   L2C# General (https://postpacific.mmorpg-game.online/forumdisplay.php?f=48)
-   -   l2c# [dev] team (https://postpacific.mmorpg-game.online/showthread.php?t=3666)

karioth 22.05.2006 02:34

Quote:

Originally Posted by Digital
but i'm debating logically, do u really want to compile and compute the geodata during runtime for every player, mob, npc, etc? (this is the case if u use client files)

yes, in runtime, but only once during server loading

Quote:

Originally Posted by Digital
and really, thank god u are still working on this project karioth ;)
hope to see some new working sources soon

Thanks ;)

Digital 23.05.2006 03:39

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 :p
since they'll have quite major impact...

karioth 30.06.2006 04:58

Quote:

now all test code works with C3, protocol 560
i'll add protocol 656 soon
I implemented protocol 660 from last C4 client,
code for 530-560 protocols was deleted

karioth 24.09.2006 05:49

I'm walking :)
 
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

Digital 29.09.2006 06:05

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 :)

karioth 05.10.2006 04:09

Quote:

Originally Posted by Digital (Post 68862)
yeah... in this case, all the synchronization are done on the server end

I understand that. Now I wanna take the maximum from C# and .net frmwrk. I wanna make server structure modular and have ability to replace or add modules (action, spell, quest, drop handlers and etc.) on the fly without server rebooting.
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.

Sindol 06.10.2006 21:43

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:

Originally Posted by karioth (Post 69361)
I understand that. Now I wanna take the maximum from C# and .net frmwrk. I wanna make server structure modular and have ability to replace or add modules (action, spell, quest, drop handlers and etc.) on the fly without server rebooting.
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.


Rikimaru 07.10.2006 10:07

Yea altrough runuo dropped that kind of stuff, coz it was messing up thing with already created objects :)

Digital 21.10.2006 09:33

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!


All times are GMT. The time now is 16:59.