Skip to content

Commit 29450d0

Browse files
committed
Server switched to SACNR
1 parent 8f3c01b commit 29450d0

File tree

3 files changed

+6
-78
lines changed

3 files changed

+6
-78
lines changed

README.md

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,28 +10,18 @@ Fixes the infamous SA-MP internet tab bug.
1010

1111

1212
## How does it work?
13-
Simple! This fix is composed of two main parts:
13+
Simple!
1414

15-
1. A php script that parses [SACNR Monitor](http://monitor.sacnr.com/) and writes in a file all server IPs in the format used by SA-MP client;
15+
This fix injects a DLL into SA-MP client which redirects all the requests outgoing to SA-MP Masterlist (hosted list is not affected) to the server specified in `masterlist_fix.cfg` (default: [SACNR Monitor](http://monitor.sacnr.com/))
1616

17-
Why SACNR? Because they have implemented an API which allows adding of new servers to their Monitor by simple running a filterscript. Details [here](http://monitor.sacnr.com/api.html).
18-
19-
2. A DLL injected into SA-MP client which redirects all the traffic outgoing to SA-MP Masterlist to the server specified in `masterlist_fix.cfg` (default: [nickdodd25](https://github.com/nickdodd25)'s server)
17+
Why SACNR? Because they have implemented an API which allows adding of new servers to their Monitor by simple running a filterscript. Details [here](http://monitor.sacnr.com/api.html).
2018

2119

2220
## My server still is not appearing on the internet tab.
2321
Most probably your server is not registered on the [SACNR Monitor](http://monitor.sacnr.com/).
2422

25-
You can register your server by following these [steps](http://monitor.sacnr.com/api.html). In the next ~12 hours the server should appear on internet tab.
23+
You can register your server by following these [steps](http://monitor.sacnr.com/api.html). In the next hours the server should appear on internet tab.
2624

2725

2826
## How can I contribute?
29-
There are several parts in this fix which can get better:
30-
31-
1. ~~Masterlist server~~
32-
* thanks to [nickdodd25](https://github.com/nickdodd25), masterlist is now hosted on a powerful machine so it will support heavy traffic;
33-
* if you're a maintainer of SACNR Monitor API and do not mind high traffic, then you can help by directly providing a list of servers in SA-MP client format, so the parser will be no longer needed.
34-
35-
2. Injection code
36-
* this fix is currently injected into SA-MP process by a helper executable `masterlist_fix.exe` which means that the user has to open THAT executable instead of the original executable `samp.exe`
37-
* an auto injector (like ASI Loader) would be a perfect solution
27+
An **auto injector** would make this project more user-friendly because (at this moment) the DLL is injected into SA-MP process by a helper executable `masterlist_fix.exe` which means that the user has to open THAT executable instead of the original executable `samp.exe`.

hook/hook.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#pragma comment(lib, "detours.lib")
66
#pragma comment(lib, "ws2_32.lib")
77

8-
#define MASTERLIST_HOST_DEFAULT "monitor.teamshrimp.com"
8+
#define MASTERLIST_HOST_DEFAULT "monitor.sacnr.com"
99
#define MASTERLIST_PATH_DEFAULT "/list/masterlist.txt"
1010

1111
int (WINAPI *pSend)(SOCKET s, const char* buf, int len, int flags) = send;

update_masterlist.php

Lines changed: 0 additions & 62 deletions
This file was deleted.

0 commit comments

Comments
 (0)