haxball / haxball-issues

115 stars 43 forks source link

HAXBALL HEADLESS KAYNAK KODU #1897

Open ElectrasS223 opened 1 year ago

ElectrasS223 commented 1 year ago

Haxball headless sitesinin kodlarını yanlışlıkla değiştirdim galiba. nasıl düzelticeğimi bilmiyorum @basro image

Lütfen hemen yazın hiçbir bot çalıştıramıyorum

Nellty commented 1 year ago

You're calling HBInit() twice. It might look like this:

var room = HBInit({ roomName: "My room", maxPlayers: 16 });
var room = HBInit({ roomName: "My room", maxPlayers: 16 });

room.setDefaultStadium("Big");
room.setScoreLimit(5);
room.setTimeLimit(0);

but should be like that

var room = HBInit({ roomName: "My room", maxPlayers: 16 });

room.setDefaultStadium("Big");
room.setScoreLimit(5);
room.setTimeLimit(0);
ElectrasS223 commented 1 year ago

@Nellty bu sefer böyle bir hata aldım: image

Nellty commented 1 year ago

I'm not sure what you should do, but I'm assuming you're using some "Kaspersky Protection browser extension" or "Kaspersky Internet Security", so maybe try to tweak it so it will not conflict with Haxball? However it seems you can't really tweak it, but only can disable this part of the antivirus. See more:

https://forum.kaspersky.com/topic/how-do-i-stop-script-injection-14726/

https://forum.kaspersky.com/topic/what-is-kaspersky-labscom-ffkisv2scrkaspersky-labscom-21484/

https://forum.kaspersky.com/topic/problem-waiting-for-mekisv2scrkaspersky-labscom-persistant-22372/

https://support.kaspersky.com/KIS/2020/en-US/97156.htm