haxball / haxball-issues

115 stars 43 forks source link

Does anyone know another better option than haxballjs when creating a haxball server on a vps? #2120

Open joqnez46 opened 8 months ago

joqnez46 commented 8 months ago

the haxballjs after 3 days segmentation fault (core dump) appears, does anyone know about a nodejs project that allows it to work without an error appearing, the vps where I host is 1 gb ram ubuntu, and the script that I am trying to upload to the server is a real soccer

mertushka commented 8 months ago

Hey @joqnez46,

Could you provide some additional information about your setup? here are some details that would be helpful in diagnosing the problem:

Node Version: What version of Node.js are you running on your VPS?

Script: Any special tweaks you made to the real soccer script? Share the details, so we can see if there's something wrong in code.

Logs: If there are error messages or any kind of output before the segmentation fault, sharing them would be golden.

Reproducibility: Is the segmentation fault happening consistently, or is it happening on a certain event? Understanding when it occurs can helps us target the issue.

Steps to Reproduce: If you can break down how to trigger the problem step by step, that would be incredibly helpful.

basro commented 8 months ago

0x00214131812049, I'm sure you know but that project is not on good terms with me, please refrain from linking to it.

mertushka commented 8 months ago

0x00214131812049, I'm sure you know but that project is not on good terms with me, please refrain from linking to it.

Plus, that project uses the exact same technologies (node-webrtc) as haxball.js, so a bad suggestion intended. @joqnez46 If it helps, you can automate a browser with the puppeteer module to run your script, there are examples for Haxball Headless Host on Github. But it comes with a heavy resource usage (RAM & Disk) because it runs a browser entirely.

joqnez46 commented 5 months ago

Hey @joqnez46,

Could you provide some additional information about your setup? here are some details that would be helpful in diagnosing the problem:

Node Version: What version of Node.js are you running on your VPS?

Script: Any special tweaks you made to the real soccer script? Share the details, so we can see if there's something wrong in code.

Logs: If there are error messages or any kind of output before the segmentation fault, sharing them would be golden.

Reproducibility: Is the segmentation fault happening consistently, or is it happening on a certain event? Understanding when it occurs can helps us target the issue.

Steps to Reproduce: If you can break down how to trigger the problem step by step, that would be incredibly helpful.

hi , that stops after 6 hours

joqnez46 commented 5 months ago

the vps have 1 gb ram, ubuntu 20.0 , is from oracle cloud, i testing haxball.js

joqnez46 commented 5 months ago

sorry for not responding