SUNSHINE Posted August 10 Posted August 10 (edited) Hello everyone, I'm planning to play it solo to scratch an itch and after reading some pages this seems to be a complete source. I'm trying to setup this source to play but i cant seem to get it working. The first thing i do is to compile the source, then copying all the files in the folder "Test Server" to "Data" folder. I open AccServer.ini and make the modification as follow: [Socket] Port = 9958 Backlog = 100 [Program] Encoding = iso-8859-1 Debug = true [MySQL] Host = localhost Database = copsv6 Username = root Password = 1234 NbConnections = 5 [IP2Location] Enabled = false Host = 192.168.1.114 Database = ip2location Username = zfserver Password = NbConnections = 5 and i edit MsgServer.ini as following: [Socket] Port = 5816 Backlog = 100 ThreadAmount = 5 [Program] Name = Force Encoding = iso-8859-1 Debug = true [MySQL] Host = localhost Database = copsv6 Username = root Password = 1234 NbConnections = 5 [AccMySQL] Host = localhost Database = copsv6 Username = root Password = 1234 NbConnections = 5 [MongoDB] Host = 192.168.1.114:27017 Database = zfserver Username = zfserver_user Password = zfserver_pwd But i don't know what to put in MongoDB section, should i leave it empty, or delete it if i try to launch account server it works okay, but running the message server raise this error [1] COServer.StrRes/INFO - Overriding string resources... [1] COServer.Database/ERROR - [MONGO] Unable to connect to server 192.168.1.114:27017: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.1.114:27017. [1] COServer.Server/FATAL - Failed to setup MongoDB... Should i install Mongo also? but reading around the project description it seems to use MySQL but not mentioning anything about Mongo Edited August 10 by SUNSHINE Quote
kennylovecode Posted August 10 Posted August 10 I'm not sure, I haven't used this thing before, but if it prompts like this, you can try installing the following MONGO and test it out. Quote
Spirited Posted August 10 Posted August 10 I don't think the server actually utilizes its MongoDB database... Quote
SUNSHINE Posted August 10 Author Posted August 10 That's the problem, i think i will try another source from the recommended section. Thanks for the help guys. Quote
Berniemack Posted August 11 Posted August 11 (edited) seems like they do use this https://gitlab.com/conquer-online/servers/cops-v6-emulator-enhanced-edition/-/blob/master/MsgServer/Database/DBI/MongoDB.cs?ref_type=heads Youll have to check what actually drives that though to see if you need it or not Edited August 11 by Berniemack Quote
kennylovecode Posted August 11 Posted August 11 As I said, if it prompts an error, then you should first resolve the error before considering whether it is being used. Quote
theshadowpriest Posted August 14 Posted August 14 I got Copsv6e working, but only after basically ripping out the mongo system, which breaks/broke the items system to be redone. Not sure about actually getting mongo working. Not many if any public sources will be build and play, a lot of them are very old, a lot of them are incomplete and will require some amounts of work. Quote
Spirited Posted August 15 Posted August 15 16 hours ago, theshadowpriest said: I got Copsv6e working, but only after basically ripping out the mongo system, which breaks/broke the items system to be redone. Not sure about actually getting mongo working. Not many if any public sources will be build and play, a lot of them are very old, a lot of them are incomplete and will require some amounts of work. Wait, is it actually being used for items? I thought it was just included but unused. Quote
CptSky Posted August 15 Posted August 15 13 hours ago, Spirited said: Wait, is it actually being used for items? I thought it was just included but unused. Yeah was used, I was toying with it. On 8/14/2025 at 4:32 AM, theshadowpriest said: I got Copsv6e working, but only after basically ripping out the mongo system, which breaks/broke the items system to be redone. Not sure about actually getting mongo working. Not many if any public sources will be build and play, a lot of them are very old, a lot of them are incomplete and will require some amounts of work. I think there is still a bit of leftover for items. Otherwise, take a look at the original COPS v6 release, or here is the commit that introduced Mongo, you may be able to restore a bit of the old code. ab31589b0e4be0cf7cb3103e8368bc87f8fa0e76.diff Quote
SUNSHINE Posted August 16 Author Posted August 16 Will try to use, thanks guys for the help, but if i use it with mongo any database i need to execute/use?! Quote
SUNSHINE Posted August 23 Author Posted August 23 I installed MongoDB and created a database named zfserver, with username root, and password 1234 I set up the MsgServer.ini as following [Socket] Port = 5816 Backlog = 100 ThreadAmount = 5 [Program] Name = Force Encoding = iso-8859-1 Debug = true [MySQL] Host = localhost Database = copsv6 Username = root Password = 1234 NbConnections = 5 [AccMySQL] Host = localhost Database = copsv6 Username = root Password = 1234 NbConnections = 5 [MongoDB] Host = localhost:27017 Database = zfserver Username = root Password = 1234 but i get this error, +-----------------------------------------------------------------------------+ | ____ ___ ____ ____ _____ __ __ _ _ _ _ _____ ___ ____ | | / ___/ _ \| _ \/ ___| | ____| \/ | | | | | / \|_ _/ _ \| _ \ | | | | | | | | |_) \___ \ | _| | |\/| | | | | | / _ \ | || | | | |_) | | | | |__| |_| | __/ ___) | | |___| | | | |_| | |___ / ___ \| || |_| | _ < | | \____\___/|_| |____/ |_____|_| |_|\___/|_____/_/ \_\_| \___/|_| \_\ | | | | by CptSky | | | | | | COPS v6 - MsgServer Enhanced 2.0.0.12807 | | Copyright (C) 2010-2012, 2014-2015 | | | +-----------------------------------------------------------------------------+ [1] COServer.StrRes/INFO - Overriding string resources... [1] COServer.Database/ERROR - [MONGO] Unable to connect to server localhost:27017: Error getting nonce for authentication.. [1] COServer.Server/FATAL - Failed to setup MongoDB... its seems to be a problem with authentication but i think the username and password are correct. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.