Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   [RunL2] New attemp to create L2 Emulator (https://postpacific.loc-online.com/showthread.php?t=6409)

Menta2K 13.12.2006 15:21

[RunL2] New attemp to create L2 Emulator
 
Hello,
i am trying to create a new L2 emulator. Code name is RunL2 because its fully based to RunUO architecture (if someone don't know what is runuo .. its the best emulator for ultima online and will be a not a big word if say that it is bather then the original server).
Some info about RunL2
Almost all of the actions can be triggered with scripts written on C# or VB.NET.
Will not depend on external database will use own serialization methods for saving all information(Accounts Players Items etc)
Currently works with C5 Protocol revision 710

Here is a list of current handled packets:

Register( 0x00, 0, false, new OnPacketReceive( AccountLogin ) );
Register( 0x02, 0, false, new OnPacketReceive( RequestGameServerLogin ) );
Register( 0x05, 0, false, new OnPacketReceive( RequestServerList ) );
Register(0x07, 0, false, new OnPacketReceive(GCAuthentication));
// Game Server Packets
Register( 0x00, 0, true, new OnPacketReceive( ProtocolVersion ) );
Register( 0x08, 0, true, new OnPacketReceive( GameLogin ) );
Register( 0x0B, 0, true, new OnPacketReceive( CharecterCreate ) );
Register( 0x0D, 0, true, new OnPacketReceive( CharecterSelected ) );
Register( 0x0E, 0, true, new OnPacketReceive(CharecterCreateRequest));
Register( 0x63, 0, true, new OnPacketReceive( QuestList ) );
Register( 0x03, 0, true, new OnPacketReceive( EnterWorld ) );
Register( 0x9D, 0, true, new OnPacketReceive( RequestSkillCoolTime ) );
Register( 0x3F, 0, true, new OnPacketReceive( SkillList ) );
Register( 0xAC, 0, true, new OnPacketReceive( RequestRecipeBookOpen ) );
Register(0x01, 0, true, new OnPacketReceive(RequestMove));
Register(0x66, 0, true, new OnPacketReceive(RequestPledgeInfo));
Register(0x38, 0, true, new OnPacketReceive(Say));
Register(0x09, 0, true, new OnPacketReceive(RequestGameLogout));
Register(0x46, 0, true, new OnPacketReceive(RequestRestart));
Register(0xCD, 0, true, new OnPacketReceive(RequestShowMap));

Register(0x68, 0, true, new OnPacketReceive(RequestPledgeCrest));
Register(0x88, 0, true, new OnPacketReceive(RequestAllyCrest));
Register(0x48, 0, true, new OnPacketReceive(RequestPositionValidate));
Register(0x04, 0, true, new OnPacketReceive(RequestTargetAndAction));
Register(0x37, 0, true, new OnPacketReceive(RequestTargetUnselect));
Register(0x21, 0, true, new OnPacketReceive(DialogAction));
Register(0x0F, 0, true, new OnPacketReceive(RequestItemList));
Register(0x14, 0, true, new OnPacketReceive(RequestUseItem));

Current Status:
right now i am working of code cleanup and on website (will give the url when it is done )


Final notes
This will not be a open source until ends beta versions.
I am looking for people to join to RunL2 development team but they must complete fellowing req..
1 Strong knowledge of C# programming
2 To Know how server communicate with L2 client communication
3. Knowledge of RunUO architecture is a plus
If someone is interested can send me a PM.

Plans:
Currently i am planing first alfa version (not playable) to be ready until Christmas.
First beta version will be released in the middle of January next year.
And i really hope that first stable version will be ready before March

Bellow is some screen shots of current version.

Вложения из исходного сообщения (сами файлы в копии отсутствуют):
ss1.jpg — 79879 байт
ss2.jpg — 72847 байт
ss3.jpg — 91044 байт

Met45 13.12.2006 15:24

runOU is lame dude ^^
but gl with ur project

lordchaos 22.12.2006 00:27

Looks nice :D

Feldan 23.12.2006 17:52

runOU is lame dude

Why?

Met45 23.12.2006 19:59

cause it's easy the whole packet conversation (server) is ready to use...
u just have to add the content of the packets
so u have a ready-to.use framework...

Menta2K 24.12.2006 13:03

Quote:

Originally Posted by Met45 (Post 74809)
cause it's easy the whole packet conversation (server) is ready to use...
u just have to add the content of the packets
so u have a ready-to.use framework...


sorry man but you are so so wrong and that is because you don't have any foggiest idea how to runuo works and how much changes i need to make to that "framework" actually at the end the only think that will remain will be the concept and max 1% of the runuo code.

Met45 24.12.2006 14:58

hmm strange...
coz as we started our rpg project
we were thinking of using RunUO too...
and we take a look at it so dun say I dunno how it works
it's a simple framework (server)
here from http://www.runuo.com:

"Most of the alternatives to RunUO refer to themselves as emulators but we consider RunUO to be a server software package."

so u have a ready to use server and dun need to change much/code the whole server by yaself...
we decided not to take RunUO coz u dun learn much...
we wrote our own server and are still doing it...
so i dun give a fuck who you are or what you are doing but dun say that I dun have a clue of how runOu works...

cheers

TheKDX 24.12.2006 15:08

GL in your project, i think its good idea :) Merry Christamas

Menta2K 25.12.2006 01:54

The progress is not so fast as i wish but here is one new screen shot
Now is possible to spawn a mobiles (1862 Mobiles are defined )
I make a system for administration control similar to L2j.
Now player can see the other players (including there actions)
Can drop get equip and unequip use items items .
Can teleport all around the map.


Merry Christamas :):)

Вложения из исходного сообщения (сами файлы в копии отсутствуют):
Shot00000.JPG — 56801 байт

Menta2K 25.12.2006 22:31

Hello i need a suggestion for a Mobile spawner ( item that stay on a ground only admins can see and will be something like waypoint for spawned mobiles).
Problem is that i can find good looking item .. will be nice if that item is not in use in normal game something like flag or .. i don't know.. I was thinking to use a monster weapons for a spawner but its looks so ugly ..
Any suggestions for item ID ?

Met45 25.12.2006 23:31

if only admins should see it
then it's impossible cause everything is displayed by the client
e.g. if u spawn a new item/npc and u just have the textures
the ppl will see a big white rabbit so i dun think that u
have a chance to do that...
gl anyway ! :D

m4rk 26.12.2006 00:01

you add a mesh but yo put textures = none, that makes an npc invisible and maybe an item too.

Menta2K 26.12.2006 00:08

oh that is not related to the client side the idea is if Player privileges > Player send information about that item to the that player (SpawnItem packet ID 0x0B)
the packet will be not send to the client if privileges are for regular player and client will not have any idea about that item that mean will not draw anything on the screen.
Just looking for some cool looking mash for that

Bloodust 30.12.2006 13:57

I was just wondering, are any of these projects going anywhere because there has been no posts at all...

Menta2K 31.12.2006 21:57

yes i am working on it right now i finished data serizlization and make a very basic AI. Also i am looking for people who have a strong knowledge in C# programming to join me.

moon 13.01.2007 00:57

nice stuff man i will help you pleace share you code's than i can add my geodata data system from my old c server and maby some more stuff :)

Lockbete 13.01.2007 13:59

Quote:

Originally Posted by moon (Post 75999)
nice stuff man i will help you pleace share you code's than i can add my geodata data system from my old c server and maby some more stuff :)

yay scamming already? roflmao!

moon 13.01.2007 19:32

lol scamming ? rolf ... lol you think this go works ? if hi do this alone ?
l2j works 3 years on the l2j server and there are so manu bugs, hi can this not alone.
There are so many members that trie this, and no body have finishing it.
Sorry but hi need to make it a source.

Met45 13.01.2007 23:03

if u have coded ur geodata system in C then it would be easy for ya to switch to VB/C# (.NET) and check out the RunUO Framework...
it's worth to look through it => very advanced programming techniques/style
so if u wanne learn... DO IT BY URSELF!
that's the most efficient way... u dun learn something if he will give you a source and u just look over it

moon 14.01.2007 00:13

VB/C# (.NET) etc is easy it my work to code , but if hi dont will share the hi's code's than i can not make it :)

Met45 14.01.2007 07:22

why u can't make it? lol!
u r too lazy then...
as i started to comment everything to have a better overview of RunUO
i need a week to comment the network folder so u can do it too...
for packet issues just take a look at
http://www.l2jserver.com/svn/trunk/L...serverpackets/

Nevyn 14.01.2007 20:11

Good luck with your project. Atleast make sure you're able to have optimized Memory and Thread handling this time around.

Lordicon 14.01.2007 20:12

I have know pretty much everything there is to know about RunUO as I know the owner and creater "Ryan" Myself, I have worked with him on his coding and with other runuo forum users in the past and the coding is "yes" C# and "yes" Not hard to work with, The consept of making this RunL2 server is a great idea and I was getting ready to do so myself when another user posted in my thread here to this link, I was like WTF ROFL.

Anyway the best thing about making a Emu "RunL2" is that as everyone knows there are so many bugs still with L2J and L2Off, "No one can say there are none".

With RunL2 you can finaly fix every bug and get you servers running at 100% effective, And it will make it so that many other coders can set up there own server for learning the code with L2 much easyer.

There are about 100 < more then that, That use the L2J and L2Off methods, however there are about 1mill people that know how to load up a RunUO server and code the files they need then set there ip and port and invite the world.

The point of coding isnt to be a ass and say learn it yourself or hey dont run a server you dont know shit anyway. The point is to teach people how to do these things so that the coding sticks in there head, Example: When you were little you were given a bike, now your mom or dad held you up untill you were ready for them to let you go, If they didnt do this you would have never learned to balance yourself to get going.

The same with coding is that a person can do one of 2 things to learn coding. 1.) Read everything there is on the net which sometime is very confusing to understand. 2.) Have someone there that can say hey wait you cant code like that because it wont work.

There is always trail and error and that is another way to learn but it is best to have someone there to hold you up and get you going on the best track.

So what I will do is I will commit 100% of my spear time to help design a great web site for the RunL2 server as well as a support forum just like RunUO has already, Where a user of the server can post there fixs to scripts as well as get help on the problems they may have.

Not only that but I will also help in any further coding needed done for this server to get it going, I will help with anything at all, you just have to ask because I wont come to you, If you need help then let me know I am here to help.

One last thing Please No ONE ever tell someone to go learn, instead try and be nice and say hey trail and error and if you need help I will help you or post here so someone can get you going.

/Lordicon

Met45 14.01.2007 21:44

Quote:

Originally Posted by Lordicon (Post 76066)

The point of coding isnt to be a ass and say learn it yourself or hey dont run a server you dont know shit anyway. The point is to teach people how to do these things so that the coding sticks in there head...

The same with coding is that a person can do one of 2 things to learn coding. 1.) Read everything there is on the net which sometime is very confusing to understand. 2.) Have someone there that can say hey wait you cant code like that because it wont work.

/Lordicon

offtopic:
dude my comments wasn't there to offend anyone...
(if someone felt offended i'm sorry)
imo it's great that menta2k started this project keep up ur good work :D!

but I dun agree to your view of learning programming.
It's a fact that u dun learn things when u just copy them from others...
sometimes it's good to get an idea of how something can work, but afterwards you have to do it by urself (try and error method) to really learn it...

I also dun agree ur point that u need someone to learn programming...
I mean to code in .NET isn't hard
(would be different when u wanne learn C++/ASM)
there are thousands of java/c# tutorials/books/webcasts/videos lessons to learn...
it's just a matter of time and ur own effort u wanne put in learning...
so everyone can do it and truly if I would be menta2k I would share my code...

So next step (for ppl who are really interested) would be to download
the RunUO 2.0 Source
(http://forums.runuo.com/downloads.php?do=file&id=3)
and grab some C# Tutorials
(http://msdn2.microsoft.com/en-us/vcsharp/aa336766.aspx)
btw MSDN will be usefull to every newbie...
(http://msdn2.microsoft.com/en-us/default.aspx)

if u still have some questions I'll offer my help feel free to contact me...

cheers

Menta2K 14.01.2007 22:46

Hello long time without posts form me ..
unfortunately i have a problems at work last 2 weeks ( i am system and network administrator in a hosting company and one of our servers got a raid controller crash ..... to much work to bring all of the domains back online )
and don't have any time to work on runl2 but i am back and and will start to work on it again.
I am very happy to see that there have a people witch are interested to join me.
Here is the place to say why i don't to open the source at the moment. If i do that alot of people will start to make modifications and in one point all attempts will fail like L2# and and VB.L2 but if we mange to make a team to work in one direction there have a chance to create a good emulator.


All times are GMT. The time now is 15:04.