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

07/16/2010 14:32 sohaib#1
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

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
07/16/2010 15:25 Adziunia#2
also u can link for port forwarding guide in routers :)
btw what was the reason to make it?
07/17/2010 07:18 all hi#3
ty:mofo:
07/17/2010 08:15 dodolinobobo#4
#request close, too many guides for 5165
07/17/2010 08:57 CØĐ£Ř||Mã©hÍñє#5
great keep going good luck
07/17/2010 10:04 sohaib#6
dodolinododo: yes there is many guides but without videos
07/17/2010 20:36 .Beatz#7
@sohaib is this your coded source? or is it someone elses work?
07/17/2010 21:42 Adziunia#8
no its to much to say its his own written :P there can be 2 answers 1st he edited it 2nd he get unedited :P
07/18/2010 01:19 pwerty#9
when i run debugging and join with player to server i got this:

"A call to PInvoke function 'NewestCOServer!NewestCOServer.Native::memcpy' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature match the target unmanaged signature."

can someone explain?

EDIT: i found how to disable it in MDA, but i think that is not good idea!
07/20/2010 17:58 kingkevin123#10
Good work ;)
But i got a little problem server working perfekt but if my friend try to join server they get message..server maintance....can anyone help me plz? I changed all server data's and my friend got same server.data and he joined my hamachi network...
Ok thx for all answers ;)
07/20/2010 21:36 sohaib#11
@mattyc2580
this is my coded source

100% mine
07/21/2010 10:49 corey2550#12
I made a static IP, went through the guide did everything you said. When I made an attempt to log into the server I received this long message in my Newest CO Server. Think I'm better off with hamachi? lol

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>
\Main\Blowfish.cs:line 85...............shal I go on?
07/22/2010 17:08 Adziunia#13
Sohaib ur answer for mattyc might be sarcasm but i think its not :) so we can ask u how good coder r that u created a source from nothing... hah :D well tell us/explain something about ur socket system, packets :D:D
07/22/2010 17:52 irritantgassie#14
Does this work for Windows 7 and 64x ?
07/23/2010 13:26 Adziunia#15
like most sources this was meant for 32 bit system u need to make it 64 bit by the guide ;p its same as Arco's released so u need to convert it for 64 bits ;p