Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 21:19

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

Advertisement



trying to develop a serv in VB.net

Discussion on trying to develop a serv in VB.net within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 20
Join Date: Feb 2007
Posts: 660
Received Thanks: 79
trying to develop a serv in VB.net

Well i have just started to think about to make me a own conquer server in VB.net. its not so hard to code in VB so i thought it would be easy. i have just found a problem and its how i should choose the World.cs to the VB.net, there is only .forms,.frx and alot of other things, can some1 tell me wich one i should choose?
JoieJones90 is offline  
Old 09/13/2010, 17:09   #2
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,378
Sorry to tell you this but you will most likely have a really hard time coding a full server in vb... and if you succeed it will most likely be very inefficient and not worth using.

It's definitely possible but just warning.. C++ is the 'best' option for it... C# is also rather decent as is java and a number of other 'medium' level languages.

As for where to place things.. don't expect to be able to just copy large sections of code.. you need to be comfortable with how servers work and willing to write things from scratch if you want to develop your own source (regardless of the language you use). If you are not to that level, don't fret... give it time and start learning more as you go along. At some point you'll get there (hell, I'm only just now feeling comfortable working with my own source and I've put a TON of time into learning C# and messing around with various sources)

World.cs (lotf I assume?) is generally sort of an entry point to hold public variables so server wide things such as... ip rate... listening ports... dictionary of online players, server items... etcetc...

It doesn't matter where you place things as long as you know where they are, they are set to proper permission/access levels and you know the difference between static and not static (again, using C# terms here but fact remains)

Don't be trying to use a 'static dictionary' and then trying to create more than one of them... (eg player inventories lol)
pro4never is offline  
Old 09/14/2010, 18:25   #3
 
Huseby's Avatar
 
elite*gold: 106
Join Date: Oct 2006
Posts: 6,047
Received Thanks: 1,165
#Moved,

A server in .net would be lols, even i have taken classes in it
Huseby is offline  
Old 09/14/2010, 20:23   #4
 
elite*gold: 0
Join Date: Sep 2008
Posts: 1,683
Received Thanks: 505
Quote:
Originally Posted by pro4never View Post
Sorry to tell you this but you will most likely have a really hard time coding a full server in vb... and if you succeed it will most likely be very inefficient and not worth using.
LOL.
VB.NET is the .NET framework, instead of saying it would be hard to code, which is untrue btw, you could have said it is pointless as it is almost the same.
The biggest difference in C#.NET and VB.NET is the syntax tbh.
C# supports VB
VB supports C#
Basser is offline  
Old 09/14/2010, 20:25   #5
 
elite*gold: 0
Join Date: Aug 2010
Posts: 452
Received Thanks: 75
if ur decent at vb, u can make something success.
I got a 2d mmo in vb, pretty awsome =]

add my mail
and I will help u, but I wouldn't recomment vb to make a source for co in.
dowhatuwant is offline  
Old 09/14/2010, 20:35   #6
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,378
Quote:
Originally Posted by Basser View Post
LOL.
VB.NET is the .NET framework, instead of saying it would be hard to code, which is untrue btw, you could have said it is pointless as it is almost the same.
The biggest difference in C#.NET and VB.NET is the syntax tbh.
C# supports VB
VB supports C#
Sorry... I more meant that if he was at the level of VB knowledge where he could make an 'effective' server with it he probably wouldn't be asking the question...

I'm aware you can do really anything you can do in C# with vb... as far as I knew it was alot more work to do more complex things though.

And yes... very pointless and inefficient to try to write a full server using VB
pro4never is offline  
Thanks
1 User
Old 09/14/2010, 22:16   #7
 
elite*gold: 0
Join Date: Jun 2009
Posts: 787
Received Thanks: 314
VB.NET is 99% as efficient as equal C# code.

You just can't use unsafe code. A decently coded (even just better than ******) VB server will be lightyears ahead of this section anyways.
_tao4229_ is offline  
Old 09/14/2010, 22:20   #8
 
Nullable's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 390
Received Thanks: 321
Quote:
Originally Posted by Huseby View Post
#Moved,

A server in .net would be lols, even i have taken classes in it
Lemme take a wild guess, all the public servers are in C# .NET?
So lols, isn't it?
Nullable is offline  
Old 09/14/2010, 22:21   #9
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,774
Received Thanks: 5,295
Huseby I think you meant to say VB.net, not just .net lol.
Arcо is offline  
Old 09/15/2010, 01:28   #10
 
ImmuneOne's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 754
Received Thanks: 544
Quote:
Originally Posted by _tao4229_ View Post
VB.NET is 99% as efficient as equal C# code.

You just can't use unsafe code. A decently coded (even just better than ******) VB server will be lightyears ahead of this section anyways.
I don't think it will matter. Even though someone tries to switch em over to VB.NET they will stick to that ****** C# LOTF source. I remember ChingChong trying to do an open-source java project, but almost nobody(might aswell say nobody) contributed to the project because they were not willing to change from programming language even though they do not master the current one.
ImmuneOne is offline  
Old 09/15/2010, 01:44   #11
 
elite*gold: 0
Join Date: Jun 2009
Posts: 787
Received Thanks: 314
Quote:
Originally Posted by ImmuneOne View Post
I don't think it will matter. Even though someone tries to switch em over to VB.NET they will stick to that ****** C# LOTF source. I remember ChingChong trying to do an open-source java project, but almost nobody(might aswell say nobody) contributed to the project because they were not willing to change from programming language even though they do not master the current one.
!@$#^%@#$!%^%@# Java.

I have to take a class on it.
_tao4229_ is offline  
Thanks
1 User
Old 09/15/2010, 09:00   #12
 
ØnëwïngëÐ's Avatar
 
elite*gold: 0
Join Date: Sep 2009
Posts: 96
Received Thanks: 22
Quote:
Originally Posted by JoieJones90 View Post
Well i have just started to think about to make me a own conquer server in VB.net. its not so hard to code in VB so i thought it would be easy. i have just found a problem and its how i should choose the World.cs to the VB.net, there is only .forms,.frx and alot of other things, can some1 tell me wich one i should choose?
Okay i am so confused on the bold parts right now.
Are you trying to either convert a publicly released source to VB.net with a little copy and paste? If so i suggest you stop and learn some VB.net so you can do it correctly and not screw up.

Or are you trying to make a custom VB.net source from scratch?

I suggest you google some tutorials on VB.net to help out on this little project you are doing. Or find a experienced VB.net coder to help you out.

<Edit>

And from what source did you get the "World.cs" from?
ØnëwïngëÐ is offline  
Old 09/15/2010, 09:22   #13


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
vb.net has more than just forms in it, you can have .vb files which are the equivilant to .cs files.

It seems to me that you know very little about both C# and VB, so switching from one to the other is pointless, the performance gains/losses are pretty much none existant (with the exception of not being able to use pointers), your just changing to a different syntax....pointless if you still dont have enough knowledge to actually build the project.
Korvacs is offline  
Old 09/15/2010, 10:10   #14
 
elite*gold: 0
Join Date: Aug 2010
Posts: 452
Received Thanks: 75
he will have alot problems with switching newestcoserver over to vb.
Wont be the easiest task.
dowhatuwant is offline  
Old 09/15/2010, 13:22   #15
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,774
Received Thanks: 5,295
Quote:
Originally Posted by ☆★Zuper★☆ View Post
he will have alot problems with switching newestcoserver over to vb.
Wont be the easiest task.
If you read, he's not trying to convert a source to a different code
He's talking about just creating a source in general with vb.net.
Arcо is offline  
Reply


Similar Threads Similar Threads
United to develop the silkroad emu ....
08/30/2010 - SRO Private Server - 61 Replies
hi all elitepvpers members ..... now i see many people working in new emulator and more wait new emu and more discover new emu and everyone think alone and more and more Thread and projects sea emu and pax his stop Sell now and after this whole Separated and working alone and finaly its still online game and all online
[Problem] Tq Binaries(monsters,acc serv,NPC serv)
04/30/2009 - CO2 Private Server - 12 Replies
Okay, I'm having problems with the binaries and I need some help fixing the problems.I have searched this entire co section to no avail, So please don't flame me. If you need to add me to help me with the problems my msn is:[email protected] Monster Problem: okay I'm sure this is related to the npc server but i have no idea how to fix it.When I log in to my server everything works fine except none of the mobs spawn.Below is a screenshot of the msg server and the npc server....
REQUEST:Server Develop help
10/06/2008 - EO PServer Hosting - 4 Replies
Hello Hello all! Im new on ElitePvpers. Im trying mount a new Eudemons server, but I need change three things: 1.How can I edit the drop rates, like gold, EPS, and jewels)? 2.Someone have the translated files of the Server? I need only the NPC Talks, etc. 3.Who know how change the IP adresses? Im put Hamachi on server, and this are working perfectly. Now I need choice a Global or a NO-IP, but I dont know where and how put on. Any answers, please post!



All times are GMT +2. The time now is 21:19.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.