1 |
|
#include <winsock2.h> |
2 |
< |
#include "BFW_ScriptLang.h" |
2 |
> |
#include "../BFW_ScriptLang.h" |
3 |
|
|
4 |
< |
#include "Daodan_Patch.h" |
5 |
< |
#include "Daodan_BSL.h" |
4 |
> |
#include "../Daodan_Patch.h" |
5 |
> |
#include "../Daodan_BSL.h" |
6 |
|
#include "Flatline_BSL.h" |
7 |
|
#include "Flatline.h" |
8 |
|
#include "Flatline_Server.h" |
9 |
|
#include "Mariusnet_Public.h" |
10 |
|
#include "Flatline_Client.h" |
11 |
+ |
|
12 |
|
unsigned char server_started = 0; |
13 |
|
unsigned char client_connected = 0; |
14 |
|
int sock = 0; |
16 |
|
char player_name[32] = "Striker"; |
17 |
|
char player_country[256] = {0}; |
18 |
|
int update_rate = 5; |
19 |
< |
#include "Oni.h" |
20 |
< |
#include "Daodan_Cheater.h" |
19 |
> |
|
20 |
> |
#include "../Oni.h" |
21 |
> |
#include "../Daodan_Cheater.h" |
22 |
> |
|
23 |
|
uint16_t ONICALL start_server(sl_callinfo* callinfo, uint32_t numargs, sl_arg args[], int* dontuse1, int* dontuse2, sl_arg* ret) |
24 |
|
{ |
25 |
|
CreateThread(NULL, 0, StartServer, NULL, 0, 0); |