mirror of
https://github.com/tribufu/node-gamedig
synced 2026-05-06 15:17:36 +00:00
Use win1252 character encoding for samp (1.0.48) Fixes #99
This commit is contained in:
parent
0487c7c20d
commit
8b3126e430
4 changed files with 18 additions and 4 deletions
|
|
@ -130,6 +130,8 @@ class Core extends EventEmitter {
|
|||
]);
|
||||
}
|
||||
|
||||
run() {}
|
||||
|
||||
parseDns(host,c) {
|
||||
const resolveStandard = (host,c) => {
|
||||
if(this.debug) console.log("Standard DNS Lookup: " + host);
|
||||
|
|
|
|||
|
|
@ -1,6 +1,12 @@
|
|||
const async = require('async');
|
||||
const async = require('async'),
|
||||
Core = require('./core');
|
||||
|
||||
class Samp extends Core {
|
||||
constructor() {
|
||||
super();
|
||||
this.encoding = 'win1252';
|
||||
}
|
||||
|
||||
class Samp extends require('./core') {
|
||||
run(state) {
|
||||
async.series([
|
||||
(c) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue