Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Release]City Of Heroes/City Of Villains Source Code [NCSOFT FINAL VERSION]

Joined
Aug 14, 2009
Messages
2,304
Reaction score
1,189
jXXXPEz - [Release]City Of Heroes/City Of Villains Source Code [NCSOFT FINAL VERSION] - RaGEZONE Forums


Got the base templates replicated. Unfortunately :( it needs more :'(

tpltUpdateSqlcolumns(testdatabasetypes_list->tplt);
tpltUpdateSqlcolumns(ent_list->tplt);
tpltUpdateSqlcolumns(teamups_list->tplt);
tpltUpdateSqlcolumns(supergroups_list->tplt);
tpltUpdateSqlcolumns(email_list->tplt);
tpltUpdateSqlcolumns(taskforces_list->tplt);
tpltUpdateSqlcolumns(petitions_list->tplt);
tpltUpdateSqlcolumns(mapgroups_list->tplt);
tpltUpdateSqlcolumns(arenaevent_list->tplt);
tpltUpdateSqlcolumns(arenaplayer_list->tplt);
tpltUpdateSqlcolumns(baseraid_list->tplt);
tpltUpdateSqlcolumns(base_list->tplt);
tpltUpdateSqlcolumns(stat_sgrp_list->tplt);
tpltUpdateSqlcolumns(itemofpowergame_list->tplt);
tpltUpdateSqlcolumns(itemofpower_list->tplt);
tpltUpdateSqlcolumns(offline_list->tplt);
tpltUpdateSqlcolumns(sgraidinfo_list->tplt);
tpltUpdateSqlcolumns(mineacc_list->tplt);
tpltUpdateSqlcolumns(levelingpacts_list->tplt);
tpltUpdateSqlcolumns(league_list->tplt);
tpltUpdateSqlcolumns(eventhistory_list->tplt);
tpltUpdateSqlcolumns(autocommands_list->tplt);
tpltUpdateSqlcolumns(shardaccounts_list->tplt);
 

Attachments

You must be registered for see attachments list
Junior Spellweaver
Joined
Dec 20, 2014
Messages
107
Reaction score
29
Well I searched the discord for links and posted in all relevant channels. I will do a more thorough search after easter dinner
 
Joined
Aug 14, 2009
Messages
2,304
Reaction score
1,189
Let's make a section!

too early. The server isnt even running yet.

DB schema also got shared.


VS2010 compile instructions from the CoH discord:
Open and compile 3rdparty\cryptopp\cryptlib2010.sln in all Win32 build configurations

Open and compile 3rdparty\zlibsrc\zlibvc2010.sln in all Win32 build configurations

Open and compile 3rdparty\zeromq2-1\builds\msvc\msvc2010.sln in all Win32 build configurations

Open and compile Utilities\StructParser2010\StructParser.sln in the Release Win32 build configuration

Open MasterSolution2010.sln from the MasterSolution folder. To build the client, select Release Win32 as the build configuration then press F7. To build the Servers, select Opt Debug Win32 as the build configuration then press F7.
 
Last edited:
Joined
Oct 28, 2011
Messages
2,465
Reaction score
1,258
You're using VS 2010 are you not?
SDK 7.0 - 7.1a will have the error due to SDK bug and VS 2005



https://blog.assarbad.net/20120425/annoyance-in-the-windows-sdk-headers/



I'm not changing my default environment for other projects, for this particular project.
"In case" someone is running at the same version of SDK / VS (with their specific updates) that I am and run into the error.
It's available. Nothing more or less. :0)
 
Joined
Aug 14, 2009
Messages
2,304
Reaction score
1,189
I'm not. I'm using VS2005 which compiled without any issues except for a minor include missing for __RPC

Was just curious since I didnt have to do any fixing except for that include thingy. And I'm on win7 sdk aswell.
 
  • Like
Reactions: DNC
Joined
Oct 28, 2011
Messages
2,465
Reaction score
1,258
Then its nothing more than my current updates versus your own.
I have specific needs due to the projects I'm holding back on.



Unfortunately these 2 projects are dirt old and I cannot update any further or they'll break. Sad as that is.
 
Junior Spellweaver
Joined
Dec 21, 2016
Messages
142
Reaction score
244
There's some progress going on at the CoH discord


One of the coders posted this GitLab, I'm not sure if it's any help but they included their own settings for their VS2010 compile.
 
  • Like
Reactions: DNC
Joined
Aug 14, 2009
Messages
2,304
Reaction score
1,189
Update:
ZIAglDd - [Release]City Of Heroes/City Of Villains Source Code [NCSOFT FINAL VERSION] - RaGEZONE Forums


Guess we have to do it the hard way then.



Here is the progress I've made with the template files. All 0kb files are correct. Just the other ones need to have some kind of mapping
 

Attachments

You must be registered for see attachments list
Joined
Jun 16, 2007
Messages
592
Reaction score
869
All compiled binaries


Config for DBServer finished:
7znGFhH - [Release]City Of Heroes/City Of Villains Source Code [NCSOFT FINAL VERSION] - RaGEZONE Forums

Code:
ServerRole
  Host 127.0.0.1
  HostRange 255.255.255.255
  PrimaryRole CityZone
  SecondaryRole Mission
  Server
    Command AccountServer.exe
    KillAndRestart 1
    MonitorOnly 0
    TrackByID 0
    AppName AccountServer
  End
  RequestBeaconServerCount 1
End

ServerRole
  Host 127.0.0.1
  HostRange 255.255.255.255
  PrimaryRole Mission
  SecondaryRole CityZone
  Server
    Command AccountServer.exe
    KillAndRestart 1
    MonitorOnly 0
    TrackByID 0
    AppName AccountServer
  End
  RequestBeaconServerCount 1
End

ServerRole
  Host 127.0.0.1
  HostRange 255.255.255.255
  PrimaryRole Monitor
  SecondaryRole Monitor
  Server
    Command AccountServer.exe
    KillAndRestart 1
    MonitorOnly 0
    TrackByID 0
    AppName AccountServer
  End
  RequestBeaconServerCount 1
End

BalanceModeZone Sequential
BalanceModeMission Sequential
MinAvailPhysicalMemory 500
MinAvailPhysicalMemoryBias 0
MinAvailVirtualMemory 1000
PagingLoadLow 0
PagingLoadHigh 0
TroubleSuspensionTime 0
MaxMapservers 200
MaxHostUtilization 300
StaticCPUBias 0
StartingStaticMemBias 0
StartingStaticCPUBias 0
StartingMissionMemBias 0
StartingMissionCPUBias 0
SecondaryRoleBias 0
MinPhysicalMemory 0
MinVirtualMemory 0
SuspensionTime 0
MaxMapservers_LowWaterMark 0
MaxHostUtilization_LowWaterMark 0
MinVirtualMemory_LowWaterMark 0

AccountServer.cfg:
Code:
ShardName
  ShardName Test
  ShardId 1
  Address 127.0.0.1
  NoXferOut
  NoXferIn
  XferDestinations 0
ShardEnd
MtxEnvironment Test
MtxSecretKey Test
MtxIOThreads 1
PlayNCAdminWebPageSecretKey Test
PostBackRelay 127.0.0.1 0
SqlLogin "Driver={SQL Server};server=localhost;database=coh;trusted_connection=Yes;"
SqlDbName coh
PlaySpanServerRetryFreqSecs 15
PlaySpanRelayServerAckAlarmSecs 45
PlaySpanRelayServerAckAlarmRepeatSecs 30
PlaySpanMakeTimeStampedDigest 1
CatalogTimeStampTestOffsetDays 0
PlaySpanStoreFlags NoLocalization
PlaySpanAuthTimeoutMins 60
PlaySpanAuthRekeyIntervalMins 19
#PlaySpanDomain 
PlaySpanCatalog NCSF
#PlaySpanURL_Home 0
#PlaySpanURL_CategoryView 0
#PlaySpanURL_ItemView 0
#PlaySpanURL_ShowCart 0
#PlaySpanURL_AddToCart 0
#PlaySpanURL_ManageAccount 0
#PlaySpanURL_SupportPage 0
#PlaySpanURL_SupportPageDE 0
#PlaySpanURL_SupportPageFR 0
#PlaySpanURL_UpgradeToVIP 0
#cohURL_NewFeatures 0
#cohURL_NewFeaturesUpdate 0
#ArchiveMerged
#CompMode
clientAuthTimeout 1800
ShardXfersDayMemory 14
ShardXfersAllowedInMemory 0
#FreeShardXfersOnlyEnabled

Servers.cfg
Code:
DbServer 127.0.0.1
#DbServer1 127.0.0.1
UseFakeAuth 1
#AuthServer 127.0.0.1
LocalIp 127.0.0.1
SqlDbProvider mssql
#SqlDbProvider postgresql
SqlLogin "Driver={SQL Server};server=localhost;database=coh;trusted_connection=Yes;"
SqlDbName coh
#SqlInit ??
#SqlAllowDDL 1
#SqlAddAttributes 0
SqlAddColumnOrTable 1
SqlDeleteColumnOrTable 1
SqlRebuildTable 1
SqlAlterColumn 1
DefaultAccessLevel 255 ??
#LogDir .\log
#AssertMode ??
MaxPlayers 50
LoginsPerMinute 5
MinPlayers 0
UseQueueServer 0
BlockFreePlayersIfNoAccountServer 1
#EnqueueWithAuthLimiter 0
#NoStats 0
ClientProject coh
#DiffDebug 0
#ContainerSizeDebug 0
UseLogServer 0
#LogServer 127.0.0.1
ChatServer 127.0.0.1
ShardName Test
MaxLevel 999
MaxCoHLevel 999
MaxCoVLevel 999
BackupDays 0
OfflineProtectLevel 0
OfflineIdleDays 0
CompleteBrokenTasks 0
DroppedPacketLogging 0
AuthBadPacketReconnect 1
MasterBeaconServer 127.0.0.1
DoNotLaunchBeaconMasterServer 0
BeaconRequestServerCount 1
#RequestBeaconServerCount 1
#DoNotPreloadCrashReportDLL 0
#BeaconRequestCacheDir C:\beacon\
#DoNotLaunchBeaconClients 0
#DoNotLaunchMapServerTSR 0
#RaidTimeZoneDelta 0
DisableContainerBackups 1
XPScale 10.0
AuctionInvMaxLastLoginDays 365
AuthnameLimiterEnabled 0
AuthnameLimiterAccessLevel 0
#BlockedMapKey
#DisableZoneEvents
#ClientCommands
#AuthRequestGameData - deprecated
#MissionserverMaxSendQueueSize 0
#MissionserverMaxSendQueuePublishSize 0

#LOCALE_ID_ENGLISH,                  // 0
#LOCALE_ID_TEST,                     // 1
#LOCALE_ID_CHINESE_TRADITIONAL,      // 2
#LOCALE_ID_KOREAN,                   // 3
#LOCALE_ID_JAPANESE,                 // 4
#LOCALE_ID_GERMAN,                   // 5
#LOCALE_ID_FRENCH,                   // 6
#LOCALE_ID_SPANISH,                  // 7
#LOCALE_ID_COUNT,                    // 8
Locale 0
#OverrideAuthBit
IsBetaShard 0
IsVIPShard 0
#AllowGR - deprecated
#AllowGREndGame - deprecated
#AllowIssue20 - deprecated
#AllowPraetorians - deprecated
#OwnsGoingRogue 0
#PraetoriaZonesLocked - deprecated
#GoingRogueNagAndPurchase 0
KarmaEventHistoryDays 31
#default 600
#NameLockTimeout 1200
#SetLogLevel
#IsLoggingMaster 1
#MARTYEnabled 1
#DebugSendPlayersDelayMS 0
#DefaultLoyaltyPointsFakeAuth 0
#DefaultLoyaltyLegacyPointsFakeAuth 0
#ForceOverloadProtection 0
#OverloadProtection_LauncherHighWaterMarkPercent 0.0
#OverloadProtection_LauncherLowWaterMarkPercent 0.0
#OverloadProtection_SQLQueueHighWaterMark 0
#OverloadProtection_SQLQueueLowWaterMark 0
#MapserverIdleExit
#MapserverIdleUpkeep 24 00
#MapserverDailyUpkeep 0
MetricsEnable 0
#MetricsIPAddress 127.0.0.1
#MetricsPortNumber 3306
#MetricsMQType 0
#MetricsHighWaterMark

EDIT:
Okay, without getting access to the templates (ex Teamups.template & Teamups.db) its useless and hopeless. @MeGaMaX do you have them?

2 Days ago NCSoft Anonymous developer, just dropped another 188GB archive which contains latest src, max models , docs, everything you can imagine, for the sake to not talk about that the char db was leaked otherwide GDPR will F**K NCSoft hard. there are people right now working on scrabbing them before releasing, i also suggest if you can prove that you are a coder talk to the discord admins, you will join us and the team there those are working on the files
 

Attachments

You must be registered for see attachments list
Initiate Mage
Joined
Jan 29, 2005
Messages
40
Reaction score
2
2 Days ago NCSoft Anonymous developer, just dropped another 188GB archive which contains latest src, max models , docs, everything you can imagine.

Heh, that one has sure been kept on the down low on the Discord, at best my coding is around PHP so not really got anything to contribute but been interesting to keep tabs on and missed this info, guess that is for the best though, can't imagine it be great for the whole world to know there is even more out there, at this time anyway.
 
----
Member
Joined
Mar 26, 2008
Messages
1,038
Reaction score
413
2 Days ago NCSoft Anonymous developer, just dropped another 188GB archive which contains latest src, max models , docs, everything you can imagine, for the sake to not talk about that the char db was leaked otherwide GDPR will F**K NCSoft hard. there are people right now working on scrabbing them before releasing, i also suggest if you can prove that you are a coder talk to the discord admins, you will join us and the team there those are working on the files

So basicly, what we got here publicly is almost nothing...?(Considering the size of the serversource for the exe's and some bin files... and the lack of the server side files? Like models, DEF files, database textures, patcher updater ect ect?) I mean by what you shared here...OR it has almost all server side things they are just this small? Considering that this sources are... for a Cryptic-engine.

I dont want to be peckis or rough so please dont be offended by me... i just informating becouse this project has very big intrest by me(its almost a bucket list item to me XD)...

and i have doubts becouse of the past events here in RZ before. I am on that Discord channel too. but that is a bit of a chaos for me... i dont find any relevant information about relasing source-database ect...)

I smell source back-holding... or they will surely relasing the whole thing? They are already having a test server if i saw correctly... (I am just asking this becouse there was examples in the past that similar cases the source was not shared, or it was held back becouse.... reasons... so dont be offended please!) So in some point there will be a full fledge source relase or its just an other group who are willing to let only to host the server by themselves?

(Honestly from the Discord i dont know what the hell is going on right now exactly)
 
Last edited:
Joined
Aug 14, 2009
Messages
2,304
Reaction score
1,189
This is just shenanigans. I dont want to join them just to freakin make a local server and duck around on the server. Im not into this game, and frankly I dont care about their server. So we got an half-assed, not working, broken piece of the puzzle so that we want to make a server and then join those non-human things in their server? Did I get this correctly? That is idiot tactic no. 1

EDIT:
Thanks for the update though Megamax! (This post is not hating against you. Only hating about this discord shenanigans)
 
----
Member
Joined
Mar 26, 2008
Messages
1,038
Reaction score
413
@GigaToni: I dont know of the completion of their server code, but they said they have a 188GB stuff... we have ~500 MB... and some bin files. If i am assuming from comparing to STO/NWO it is not a quarter enought... there are no resource files relased.

And; Yes we would like a server like STO/NWO or similar to play around with i dont need an other public server that will be shut down by ncsoft or by owner when they got bored from it...

Of course if they are saying that they will relase it after DB fix it is allright. Ill be patient... This is a good game, i did tried their servers it is working like the original back in the days, and they are fixing the npc's and missing things with lightspeed, but please... if you are people done(and fast before any lawsuits) please share with us the whole thing!!!

the executables itself just a thing...
 
Last edited:
Back
Top