Skip to content
This repository has been archived by the owner on Apr 2, 2023. It is now read-only.

Commit

Permalink
Remove more new vegas stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
foxtacles committed Mar 24, 2013
1 parent 1ac96f1 commit c540eeb
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 22 deletions.
2 changes: 1 addition & 1 deletion source/Bethesda.cpp
Expand Up @@ -186,7 +186,7 @@ void Bethesda::Initialize()
throw VaultException("Failed creating the game process").stacktrace();
}
else
throw VaultException("Either Fallout 3 or Fallout: New Vegas is already runnning").stacktrace();
throw VaultException("Fallout 3 is already runnning").stacktrace();
}

void Bethesda::Terminate(RakPeerInterface* peer)
Expand Down
6 changes: 0 additions & 6 deletions source/vaultscript/pawnc/include/vaultmp.inc
Expand Up @@ -7,11 +7,6 @@ const Interval: {
}

const Index: {
FALLOUT3 = 0x01,
NEWVEGAS = FALLOUT3 << FALLOUT3,
FALLOUT_GAMES = FALLOUT3 | NEWVEGAS,
ALL_GAMES = FALLOUT_GAMES,

MAX_PLAYER_NAME = 16,
MAX_PASSWORD_SIZE = 16,
MAX_MESSAGE_LENGTH = 64,
Expand Down Expand Up @@ -205,7 +200,6 @@ native CallPublic(const name{}, {Fixed,Float,_}:...);
native SetServerName(const name{});
native SetServerMap(const map{});
native SetServerRule(const rule{}, const value{});
native GetGameCode();
native GetMaximumPlayers();
native GetCurrentPlayers();

Expand Down
Binary file modified source/vaultscript/pawnc/standard.amx
Binary file not shown.
10 changes: 1 addition & 9 deletions source/vaultscript/pawnc/standard.pwn
Expand Up @@ -5,15 +5,7 @@ main()
printf("My first PAWN vaultscript <3\n");
SetServerName("vaultmp 0.1a server");
SetServerRule("website", "vaultmp.com");

switch (GetGameCode())
{
case FALLOUT3:
SetServerMap("the wasteland");

case NEWVEGAS:
SetServerMap("mojave desert");
}
SetServerMap("the wasteland");
}

public OnServerInit()
Expand Down
5 changes: 0 additions & 5 deletions source/vaultscript/vaultscript.h
Expand Up @@ -57,11 +57,6 @@ namespace vaultmp {

enum VAULTCPP(class) Index VAULTCPP(: uint8_t)
{
FALLOUT3 = 0x01,
NEWVEGAS = FALLOUT3 << 1,
FALLOUT_GAMES = FALLOUT3 | NEWVEGAS,
ALL_GAMES = FALLOUT_GAMES,

MAX_PLAYER_NAME = 16,
MAX_PASSWORD_SIZE = 16,
MAX_MESSAGE_LENGTH = 64,
Expand Down
1 change: 0 additions & 1 deletion source/vaultserver/vaultserver.h
Expand Up @@ -6,7 +6,6 @@
#define PWNFILES_PATH "AMXFILE=files"

#define DB_FALLOUT3 "fallout3.sqlite3"
#define DB_NEWVEGAS "newvegas.sqlite3"

#ifndef MAX_PATH
#define MAX_PATH PATH_MAX
Expand Down

0 comments on commit c540eeb

Please sign in to comment.