Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 22.05.2006, 02:34   #1
karioth
Архивный участник
 
Join Date: Mar 2006
Posts: 21
Default

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
karioth is offline  
Old 23.05.2006, 03:39   #2
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

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...
Digital is offline  
Old 30.06.2006, 04:58   #3
karioth
Архивный участник
 
Join Date: Mar 2006
Posts: 21
Default

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 is offline  
Old 24.09.2006, 05:49   #4
karioth
Архивный участник
 
Join Date: Mar 2006
Posts: 21
Default 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
karioth is offline  
Old 29.09.2006, 06:05   #5
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

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
Digital is offline  
Old 05.10.2006, 04:09   #6
karioth
Архивный участник
 
Join Date: Mar 2006
Posts: 21
Default

Quote:
Originally Posted by Digital View Post
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.
karioth is offline  
Old 06.10.2006, 21:43   #7
Sindol
Архивный участник
 
Join Date: Oct 2005
Posts: 21
Default

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 View Post
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 is offline  
Old 07.10.2006, 10:07   #8
Rikimaru
Архивный участник
 
Join Date: Sep 2005
Posts: 14
Default

Yea altrough runuo dropped that kind of stuff, coz it was messing up thing with already created objects
Rikimaru is offline  
Old 21.10.2006, 09:33   #9
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

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!
Digital is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 17:02.