haxball / haxball-issues

115 stars 43 forks source link

Room Capacity Issue #1238

Closed thenorthstar closed 3 years ago

thenorthstar commented 3 years ago

Hello @basro. I have edited the headless-min.js and changed room capacity identifiers from (2-30) to (0-255).

I have such a question, my rooms are visible when at 0 and 1 of capacity but they are not visible at more than 30. Frankly I couldn't give a mean that they are not visible at more if the room capacity is greater than 30. Here are the screenshots.

1 Here is singleplayer room. I have tried to join and it have accepted me.

0 Here is zero capacity, I have tried to join and it have said that the room was full.

And then I have changed the identifier to a negative number tried to set a negative room capacity and it was again invisible.

To sum up, it maybe the last thing which one should think before setting a room on haxball but I remember that I had seen some rooms with at a capacity of more than 30 people and they were visible on the lobby but I can't do the same thing now. Frankly I'm curious if they knows which I don't know.

Skarmunds commented 3 years ago

I've played around with headless file and it doesn't seem to be possible. I do remember those larger rooms but that could be at least year ago. The room list filter goes through game JS file so I assume it can be shown on your end.

pixiw commented 3 years ago

Beni dcden ekleyebilir misin? Konuşmak istediğim bir konu var da, eğer eklersen çok mutlu olurum. pixiw#8210

thenorthstar commented 3 years ago

Beni dcden ekleyebilir misin? Konuşmak istediğim bir konu var da, eğer eklersen çok mutlu olurum. pixiw#8210

@pixiw Buradan yeni issue açarak sorabilirsin.

pixiw commented 3 years ago

Haxballda birkaç odada gördüm, odaya giriş yapıldığında kişinin oturduğu yeri enlem ve boylam bilgisi olarak chate atıyor. Bunu nasıl yapabileceğimle alakalı yardımcı olabilir misiniz?


Gönderen: thenorthstar @.> Gönderildi: 17 Şubat 2021 Çarşamba 09:45 Kime: haxball/haxball-issues @.> Bilgi: clara @.>; Mention @.> Konu: Re: [haxball/haxball-issues] Room Capacity Issue (#1238)

Closed #1238https://github.com/haxball/haxball-issues/issues/1238.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/haxball/haxball-issues/issues/1238#event-4339728444, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AS2WT2LWPGKUPHS7G4GK6A3S7NQZ3ANCNFSM4WTCNGRA.

Wrathen commented 3 years ago

@thenorthstar Welcome to the room-hosting section of the game where you have all the power! :D

After switching to HTML5 and some time later, dear Basro made the change that, rooms that have capacity over 30 and less than 0 are not shown on the room list. It used to be an unsigned byte back in Flash (0-255), and sending fake-info was much more fun back then.

Just a bunch of fun tips;

What I also used to do is, make the maxPlayers to 30 and also send currentPlayers as a random number between 26-29 to bait people. They'd get surprised when they enter the room and see no one is there. It is actually funny to see the reactions :D

Or make a room requires password and edit the headless.js to make it accept all passwords. People who enter the room tend to think they are smart enough to beat you in their first shot trying to predict the password. Although one thing they don't know is the backstage of what is happening! :D

thenorthstar commented 3 years ago

OK. It seems like bad news for me. Thanks anyway!