ProjectX V5 (Aka. Codename CandyConquer) - 5517 Source

04/19/2019 00:16 Spirited#61
Quote:
Originally Posted by denominator View Post
I DID but if I add the database manually it refuses to execute, never mind seems it actually added it, actually it didn't back to 5165 for me
Jesus, man... Just teach yourself. If you lack the knowledge, learn. If you need to have a step by step guide, then look it up. There are so many guides and tutorials... I didn't know how to setup SQL Server when I started, so I looked it up in Google. I had less than 6 months experience. No excuses.
04/19/2019 00:35 denominator#62
I've suffered a stroke over the past few years aka brain attack so things are not like they used to be for me, I even forgot passwords for official Conquer but I know what you mean, so I think I've done it correctly what do I change in the source to connect?
04/19/2019 03:50 Spirited#63
Quote:
Originally Posted by denominator View Post
I've suffered a stroke over the past few years aka brain attack so things are not like they used to be for me, I even forgot passwords for official Conquer but I know what you mean, so I think I've done it correctly what do I change in the source to connect?
Sorry if you suffered from a stroke; I'll try and keep that in mind. Programming is supposed to help with neuroplasticity (the brain's ability to reorganize itself and redevelop neural connections). There're studies showing how programming on a schedule increases connectivity between regions of the brain. If you can learn how to struggle effectively and dedicate yourself to a bit of programming a day, then who knows - maybe you'd do better.
04/19/2019 12:05 denominator#64
Appreciated Spirited, I had gotten quite good at all this stuff only for everything or near enough everything to be wiped from memory :/ I remember bits of information here and there though and just have to start again :)
04/19/2019 14:13 Super Aids#65
Quote:
Originally Posted by denominator View Post
I've suffered a stroke over the past few years aka brain attack so things are not like they used to be for me, I even forgot passwords for official Conquer but I know what you mean, so I think I've done it correctly what do I change in the source to connect?
You change these 3 files:

[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
04/20/2019 03:02 denominator#66
How do I create a new account?
04/20/2019 10:54 Super Aids#67
Just go into the accounts table and make one.
04/20/2019 20:08 denominator#68
Fair enough :)
04/23/2019 18:48 liqicong#69
can you help me?
[Only registered and activated users can see links. Click Here To Register...]
05/11/2019 23:52 BEanErzzz#70
well that was fun.
Code:
version: '3'
volumes:
  mssql:
services:
  database:
    image: mcr.microsoft.com/mssql/server:2017-latest-ubuntu
    volumes:
      - mssql:/var/opt/mssql
      - ./Database/Backups/FCQ_AUTH_DB.sql:/dbimport/FCQ_AUTH_DB.sql
      - ./Database/Backups/FCQ_LOG_DB.sql:/dbimport/FCQ_LOG_DB.sql
      - ./Database/Backups/FCQ_WORLD_DB.sql:/dbimport/FCQ_WORLD_DB.sql
    environment:
      ACCEPT_EULA: Y
      SA_PASSWORD: lolololololol-dotnetcore-openssl1.1.1s-linuxbox
    ports:
      - 1433:1433
    expose: 
      - 1433
  auth:
    depends_on:
      - database
    restart: always
    volumes:
      - ./Database/Root:/usr/share/co2db
    build: ./Source/CandyConquer/AuthApi
    ports:
      - 5816:5816
      - 9958:9958
  world:
    depends_on:
      - database
    restart: always
    volumes:
      - ./Database/Root:/usr/share/co2db
    build: ./Source/CandyConquer/WorldApi
    ports:
      - 5817:5817
*disappears back into oblivion*
05/12/2019 21:01 Super Aids#71
Quote:
Originally Posted by BEanErzzz View Post
well that was fun.
Code:
version: '3'
volumes:
  mssql:
services:
  database:
    image: mcr.microsoft.com/mssql/server:2017-latest-ubuntu
    volumes:
      - mssql:/var/opt/mssql
      - ./Database/Backups/FCQ_AUTH_DB.sql:/dbimport/FCQ_AUTH_DB.sql
      - ./Database/Backups/FCQ_LOG_DB.sql:/dbimport/FCQ_LOG_DB.sql
      - ./Database/Backups/FCQ_WORLD_DB.sql:/dbimport/FCQ_WORLD_DB.sql
    environment:
      ACCEPT_EULA: Y
      SA_PASSWORD: lolololololol-dotnetcore-openssl1.1.1s-linuxbox
    ports:
      - 1433:1433
    expose: 
      - 1433
  auth:
    depends_on:
      - database
    restart: always
    volumes:
      - ./Database/Root:/usr/share/co2db
    build: ./Source/CandyConquer/AuthApi
    ports:
      - 5816:5816
      - 9958:9958
  world:
    depends_on:
      - database
    restart: always
    volumes:
      - ./Database/Root:/usr/share/co2db
    build: ./Source/CandyConquer/WorldApi
    ports:
      - 5817:5817
*disappears back into oblivion*
kek
08/21/2019 23:16 mohamed~Sallah#72
need tutorial for log ur source bro
01/04/2020 18:53 KamiLoHz#73
It's for Android source (?)
01/05/2020 03:55 Super Aids#74
Quote:
Originally Posted by KamiLoHz View Post
It's for Android source (?)
No.
01/07/2020 21:17 Relic#75
First of all I'd like to say great source, I've been learning a lot going through it.

I'm running into two problems with player booths.

1. When a booth is active and you're selling one item, disconnecting the client and logging back in will show two of the same item you were just selling in your inventory. Debugging shows that the Inventory.Count=1 though.

2. When another player buys an item from booth, the seller booth window doesn't remove the item unless you close and reopen booth window. Solved. Wasn't passing the ClientId in packet.

I've looked at other sources and can't seem to figure out why this is happening. I know this isn't much to go on but maybe I'm overlooking something or not sending the right packet. Any help would be greatly appreciated.