GithubHelp home page GithubHelp logo

atrx / cod4-surf Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 10.0 109.61 MB

The authentic surf game mode from Source games brought to Call of Duty 4!

License: GNU General Public License v3.0

Python 7.70% Batchfile 2.42% Shell 0.28% Pawn 1.50% C++ 43.41% PHP 34.68% CSS 8.69% JavaScript 1.28% Hack 0.04%

cod4-surf's Introduction

CoD4 Surf Mod

Notes

This mod requires "CoD4: Unleashed" to run. You can aquire this server patch from https://github.com/Raid-Gaming/CoD4-Unleashed-Server

License

This software is released under the GNU General Public License v3.0

Installation

Backend

NOTE: It is not recommended to actively use the provided backend. At Raid Gaming we use a rewritten Node.js backend due to security concerns with the old backend. It was written quickly and without much thought and has led to several vulnerabilities being discovered over the years. It also doesn't adhere to any sort of standards and has a messy code base. If you wish to run this mod I would highly recommend looking into the HTTP capabilities of CoD4: Unleashed and write your own backend.

Place the contents of "web_backend" into your web server's directory accessible via http://localhost/sys/cod4/ (or you can go through the GSC files in /surf to change the path)

Open "config.php" and edit the values inside

Frontend

Place the contents of "web_frontend" anywhere you'd like (preferably http://localhost/surf/)

Open "config.php" and edit the values inside

SQL Database

Import the provided "cod4_surf.sql" file into a database of your choice (preferably a newly created, empty one)

B3 Plugin

Place "surf.py" in "%b3%/b3/extplugins"

Open up your b3 config file (eg: "%b3%/b3/conf/b3.xml") and place the following line in the plugins section:

<plugin name="surf"/>

Mod

Upload "atrx_surf" (and preferably rename) to your mods folder

Upload "atrx_surf" (and preferably rename) to your redirect (make sure to only include "mod.ff" and "surf.iwd" here)

Make sure to set the correct dvars in your config (check "surf/_dvar.gsc")

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.