Skip to content

NO LONGER USED. An inventory managing service for CSO2 master server

License

Notifications You must be signed in to change notification settings

L-Leite/cso2-inventory-service

Repository files navigation

cso2-inventory-service

Build Status

Inventory service for a Nexon's Counter-Strike: Online 2 master server written in Typescript on top of Node.js.

You can find download and build scripts in cso2-master-services.

Building

After downloading the source code, go to a terminal instance, inside the source code's directory and:

npm install # installs the required dependencies
gulp build # builds the service

Starting the service

You can start the inventory service with:

# environment variables
export INVENTORY_PORT=30101 # tells the service to host on port 30101
export DB_HOST=127.0.0.1 # the host's database to connect
export DB_PORT=27017 # the host's database port to connect
export DB_NAME=cso2 # the database's name

# starts the service
node dist/service.js

You must set those environment variables, or the service will not start.

Testing the service

You can test the inventory service by running:

# environment variables
export INVENTORY_PORT=30101 # tells the service to host on port 30101
export DB_HOST=127.0.0.1 # the host's database to connect
export DB_PORT=27017 # the host's database port to connect
export DB_NAME=cso2 # the database's name

# tests the service
gulp test

Contributing

Bug reports and pull requests are very much welcome.

See the current project's progress for more information.

License

Read LICENSE for the project's license information.

This project is not affiliated with either Valve or Nexon. Counter-Strike: Online 2 is owned by these companies.

About

NO LONGER USED. An inventory managing service for CSO2 master server

Resources

License

Stars

Watchers

Forks

Packages

No packages published