[Guide]How to make 5165 pserver(with video)

12/26/2010 22:19 JoshRawly#46
:handsdown:
Quote:
Originally Posted by sohaib View Post
Required Files:

5165 Client: [Only registered and activated users can see links. Click Here To Register...]
Source: [Only registered and activated users can see links. Click Here To Register...]
Hamachi(if you don'thave static ip):[Only registered and activated users can see links. Click Here To Register...]

How to Setup:
Follow the Video
[Only registered and activated users can see links. Click Here To Register...]

1-Extract the source in C:/

2-change the "5.172.140.61" in Config.ini to your hamachi/static ip
Code:
"C:\OldCODB\Config.ini
3-go to server.dat and type CTRL+F(in the keyboard) then, search 101, change the "5.172.140.61" to your hamachi/static IP

4-Go to
Code:
C:\5165 Source'modify'\bin\Debug\NewestCOServer.exe
and open it, type
Code:
/newacc (username) (pass) [GM]/[PM] for gm/pm player

ex:/newacc sohaib 123456789 [GM]
     /newacc sohaib 123456789 [PM]

and for normal player: 
/newacc sohaib 123456789
12/26/2010 22:51 sladen#47
off-line source :S
12/27/2010 11:07 JoshRawly#48
Thanks alot this really helped!


[Only registered and activated users can see links. Click Here To Register...]
01/03/2011 15:27 aceofspades#49
The server is ready for connections.
Always close the server by pressing Enter, or the important data wont't save.

I add my account like so /newacc sohaib 123456789 [PM]
then i try to log in the client and it gets stuck at the loading bar

so i Alt+Tab to the COServer.exe and i see this

System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
at NewestCOServer.Native.BF_set_key(IntPtr _key, Int32 len, Byte[] data)
at NewestCOServer.Main.Blowfish.SetKey(Byte[] data) in C:\5165 Source'modify'\Main\Blowfish.cs:line 85
at NewestCOServer.Main.GameCrypto..ctor(Byte[] key) in C:\5165 Source'modify'\Main\Blowfish.cs:line 15
at NewestCOServer.Main.GameClient..ctor(Boolean Robot) in C:\5165 Source'modify'\Main\GameClient.cs:line 48
System.NullReferenceException: Object reference not set to an instance of an object.
at NewestCOServer.Main.GameWorker.ConnectionHandler(S tateObj S) in C:\5165 Source'modify'\Main\GameWorker.cs:line 33

Plz help

EDIT: I moved my client folder to my C drive and still getting Error
02/15/2011 13:16 conquer22#50
Thanks Man It Really Works :D

___________________________________
[Only registered and activated users can see links. Click Here To Register...]
02/21/2011 02:01 EternityViruz#51
Quote:
Originally Posted by .Beatz View Post
@sohaib is this your coded source? or is it someone elses work?
someone elses, i know sobaib... i guess he dont know me, cuz i made a new acc on elitepvp, buy i know him GOOD!... and this is NOT his coded source!
02/22/2011 03:05 mikerphone#52
i cant create a character and its stressful im reading and following the instructions carefully and it's not working
02/22/2011 12:59 .Beatz#53
Quote:
Originally Posted by mikerphone View Post
i cant create a character and its stressful im reading and following the instructions carefully and it's not working
Okay, that doesn't help people to help you.

Why can't you make a character... I mean what error are you getting?
02/22/2011 15:04 TrioBlade#54
I also can't seem to create an account.
I did everything.

Go into the console, type in /newacc test pass GM and press Enter.

And then go into the game, but says "Invalid Username and/or Password"

No worries, got it right. :P Anyone know what the minimum of char the username and password needs?
02/22/2011 16:02 .Beatz#55
The minimum is 4 if I remember that source correctly, but if you are doing it in the console you should be able to make something like /newacc A A [GM]

/characters - This is also a helpful interface
/users - I think is another one :/ Not sure on that though
02/23/2011 15:17 TrioBlade#56
I tried something like test and pass, and doesn't seem to work. But got it working with testing and password. But it doesn't seem that the commands they give you work. The only ones I get to work is to force revive and to teleport to different cities
02/23/2011 19:05 .Beatz#57
Quote:
Originally Posted by TrioBlade View Post
I tried something like test and pass, and doesn't seem to work. But got it working with testing and password. But it doesn't seem that the commands they give you work. The only ones I get to work is to force revive and to teleport to different cities
did you make yourself a GM or PM?

If these commands are not working for you either you are not GM or you have messed with them and made them not available to use
02/24/2011 14:12 TrioBlade#58
Another Q: My server is up and running. I can log in to the game and play.
Now I want my friends to join, I gave them the client and the server.dat file has my hamachi IP in.
But they can't seem to join, keeps getting the error "server maintenance".
Any advice on what I'm doing wrong or missing here?
02/24/2011 14:47 Syst3m_W1z4rd#59
Are they in your hamachi room?
02/25/2011 07:00 TrioBlade#60
yeah, they are.....

I found the problem, I accidently blocked the server on public. Opened it, and working fine now. Thx for all the help so far