CO Community Project

04/08/2010 08:13 Nullable#106
Quote:
Originally Posted by ChingChong23 View Post
4351 sounds good.. is there much difference in the packet structures between 5017 and that?
No, packet structures are quite close
04/08/2010 08:22 ChingChong23#107
Quote:
Originally Posted by Nullable View Post
No, packet structures are quite close
sounds good, i'll go take a look at a 4351 client now.
04/08/2010 08:43 © Haydz#108
Quote:
Originally Posted by ChingChong23 View Post
sounds good, i'll go take a look at a 4351 client now.
I shall also take a look...

[Only registered and activated users can see links. Click Here To Register...]
04/08/2010 08:49 ChingChong23#109
Quote:
Originally Posted by © Haydz View Post
I shall also take a look...

[Only registered and activated users can see links. Click Here To Register...]
I tried it out, and got client errors. however once removing the sendMessage ANSWER_OK i managed to get logged in, i think something has changed in that packet?

[Only registered and activated users can see links. Click Here To Register...]


is there any open source 4351 servers?

btw are you Nadine from Lightning?
04/08/2010 09:12 © Haydz#110
Yeah the message packet has changed between 4351 -> 5017.

Code:
Packet[17] = From.Length;
Packet[18 + From.Length] = To.Length;
Packet[20 + From.Length + To.Length] = Message.Length;
Packet[18] = From;
Packet[19 + From.Length] = To;
Packet[21 + From.Length + To.Length] = Message;
No, I am not Nadine from lightning, however I did know the original owner of that character, and tend to re-create my favorite characters from lightning :D
04/08/2010 09:27 ChingChong23#111
yeah i had fixed it just before you posted that, thanks anyway though.

It seems i won't be moving to 4351, it feels like its the same as 5017 minus potency, which i won't be using anyway. Too many packets need to be reworked and thats too much time, i'm going to stick with 5017.

Have now added fast blade, scent sword and speed gun.
04/08/2010 15:28 Kiyono#112
Quote:
Originally Posted by ChingChong23 View Post
ugh, i use eclipse however you won't need an IDE if you just wanna run it.

get an SVN client (tortoise svn will do) figure out how to download the source package. once you got it, go into the base folder (where you have bin, lib, src etc) make a new text file, name it run.bat, edit it and put this text in there.

If you want an easier way, ill upload a distribution (including source) this is the latest one from my pc. just extract it somewhere and run the 'launch' file. If you get an error, google 'set java environmental variables' and make sure you have java installed.

[Only registered and activated users can see links. Click Here To Register...]

you will need a 5017 client.
Well thanks for the bat file, didn't knew that you needed batch files to run java programs...
04/08/2010 15:57 ChingChong23#113
Quote:
Originally Posted by Kiyono View Post
Well thanks for the bat file, didn't knew that you needed batch files to run java programs...
you don't, i could have made it an executable jar file, but that was easier.

i'm in the mood to test out FB/SS with low ping (being australian we never get to get low ping) whoever wants to screw around, grab hamachi and connect to
5.2.100.44 user: jonquer1, pass hello

and connect to 5.2.100.44 using a 5017 client
04/08/2010 16:13 © Haydz#114
Quote:
Originally Posted by ChingChong23 View Post
you don't, i could have made it an executable jar file, but that was easier.

i'm in the mood to test out FB/SS with low ping (being australian we never get to get low ping) whoever wants to screw around, grab hamachi and connect to
5.2.100.44 user: jonquer1, pass hello

and connect to 5.2.100.44 using a 5017 client
Not the biggest fan of Hamachi but, I shall download due to a severe amount of boredom :D
04/09/2010 08:48 ChingChong23#115
the whole view area needs to be rewritten, i have changed this so many times now and keep coming into problems. Last night i wrote the view area similar to hybrids "screen" (which is the same design i had in my first view area approach) in his basic server, done everything exactly the same and still come into this problem.

Player A jumps into Player B's view (they both see each other fine)
Player A jumps out of the view (they both don't see each other)
Player B jumps off in some other direction
Player A jumps back to where Player B was (and does see him, even when he's not there)
Player A jumps into Player B's new position (the model of Player B gets removed from the old position on Player A's screen, but not spawned) so now they're both invisible visually, but the collections server-side both have them in, and work 100% fine.

Is there any packet you gotta send to 'remove' an entity from view when jumping away/out of their view range?

e.g
Player A and Player B are in the same area
Player A jumps off somewhere (does he need to send a separate entity removal packet to A (removing B from client) and B (removing A from client) ?
04/09/2010 09:25 Nullable#116
Afaik yes, there is a packet that does such.
04/10/2010 11:56 ChingChong23#117
Quote:
Originally Posted by Nullable View Post
Afaik yes, there is a packet that does such.
when i looked at coemu & hybrids basic server, the only thing i saw the entity remove packet was for teleporting or disconnecting, i will try out your theory though.

I also noticed, once the screw-up happens, the server receives a data packet with the sub id 102

edit: fixed it, stupid little mistake as usual.
04/10/2010 16:46 .Guru#118
if you don't mind me asking, (seeing i am lazy and am not very encouraged to search the entire thread for my answer), are you also coding this in java? or c#?
04/10/2010 17:13 ChingChong23#119
Java


edit: finished putting in the new view system & tidied up some other things, in the pic was me, Haydz & Nullable

[Only registered and activated users can see links. Click Here To Register...]


The server is public online for some testing

[Only registered and activated users can see links. Click Here To Register...]
04/11/2010 02:25 .Guru#120
although i've never touched java, ive heard its somewhat similiar in syntax to that of c#