Register for your free account! | Forgot your password?

You last visited: Today at 04:43

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



CO Community Project

Discussion on CO Community Project within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old 04/08/2010, 08:13   #106
 
Nullable's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 390
Received Thanks: 321
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
Nullable is offline  
Old 04/08/2010, 08:22   #107
 
elite*gold: 0
Join Date: Feb 2006
Posts: 550
Received Thanks: 82
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.
ChingChong23 is offline  
Old 04/08/2010, 08:43   #108
 
© Haydz's Avatar
 
elite*gold: 20
Join Date: Jan 2008
Posts: 1,042
Received Thanks: 252
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...

© Haydz is offline  
Old 04/08/2010, 08:49   #109
 
elite*gold: 0
Join Date: Feb 2006
Posts: 550
Received Thanks: 82
Quote:
Originally Posted by © Haydz View Post
I shall also take a look...

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?




is there any open source 4351 servers?

btw are you Nadine from Lightning?
ChingChong23 is offline  
Old 04/08/2010, 09:12   #110
 
© Haydz's Avatar
 
elite*gold: 20
Join Date: Jan 2008
Posts: 1,042
Received Thanks: 252
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
© Haydz is offline  
Thanks
1 User
Old 04/08/2010, 09:27   #111
 
elite*gold: 0
Join Date: Feb 2006
Posts: 550
Received Thanks: 82
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.
ChingChong23 is offline  
Old 04/08/2010, 15:28   #112

 
Kiyono's Avatar
 
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 925
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.



you will need a 5017 client.
Well thanks for the bat file, didn't knew that you needed batch files to run java programs...
Kiyono is offline  
Old 04/08/2010, 15:57   #113
 
elite*gold: 0
Join Date: Feb 2006
Posts: 550
Received Thanks: 82
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
ChingChong23 is offline  
Old 04/08/2010, 16:13   #114
 
© Haydz's Avatar
 
elite*gold: 20
Join Date: Jan 2008
Posts: 1,042
Received Thanks: 252
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
© Haydz is offline  
Old 04/09/2010, 08:48   #115
 
elite*gold: 0
Join Date: Feb 2006
Posts: 550
Received Thanks: 82
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) ?
ChingChong23 is offline  
Old 04/09/2010, 09:25   #116
 
Nullable's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 390
Received Thanks: 321
Afaik yes, there is a packet that does such.
Nullable is offline  
Old 04/10/2010, 11:56   #117
 
elite*gold: 0
Join Date: Feb 2006
Posts: 550
Received Thanks: 82
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.
ChingChong23 is offline  
Old 04/10/2010, 16:46   #118
 
elite*gold: 0
Join Date: Aug 2009
Posts: 930
Received Thanks: 448
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#?
.Guru is offline  
Old 04/10/2010, 17:13   #119
 
elite*gold: 0
Join Date: Feb 2006
Posts: 550
Received Thanks: 82
Java


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




The server is public online for some testing

ChingChong23 is offline  
Old 04/11/2010, 02:25   #120
 
elite*gold: 0
Join Date: Aug 2009
Posts: 930
Received Thanks: 448
although i've never touched java, ive heard its somewhat similiar in syntax to that of c#
.Guru is offline  
Reply


Similar Threads Similar Threads
Can a Community Project work out ?
08/03/2009 - Rappelz - 25 Replies
I am just thinking about the possibility to setup a community project to develop a Bot for Rappelz. But I don’t want to upload already compiled full working exe files for this. Instead I just want to publish the source code and everybody has to compile the final version on his own! My main motivation is to inspire the people to learn a programming languages. :D Can this work ? Are here some people that want to help with this task ?



All times are GMT +1. The time now is 04:43.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.