Yeah, if you're using Google cloud, it has to be 0.0.0.0@Vendily Will setting the HOST line in the python script to 127.0.0.1 instead of the 0.0.0.0 detailed in the guide cause an issue? I just now noticed I did it, and that may be a problem...
@Vendily I changed it to 0.0.0.0, rebooted the VM, but still get the same issue. So it's definitely something wrong with the Ruby script. It still says it's using 35.208.55.35 instead of what I set it to as well.Yeah, if you're using Google cloud, it has to be 0.0.0.0
127.0.0.1 is local host, so I don't think it can escape your computer at all.
You might have to use a LAN IP address 192.168.X.X, and set up port forwarding if you're running the server on your computer, you know, like Minecraft, but I never tested online with a port forwarded IP.
- You need to change the python script's PBS property to "./home/YOUR_USERNAME_HERE". YOUR_USERNAME_HERE is the green part of the name before the @. This sets it to the home folder that you log into, adjust further if the PBS files are in a sub folder.
Sure, v20 has been out for a while, but I've been very busy. But now I'm free.
And that means updates, and with is, a new major number, because I'm pretty sure that's how SemVer works, and I can't be bothered to double check.
I know that trades and battles still work of course, and I haven't reintroduced previously fixed bugs insofar as I'm aware, based off the bug fixe comments I left in the code.
v20 already has a sufficient version of mkxp-z so you do not need to update your mkxp-z...
With this update, the v20 and v19 versions of the scripts are now up to v3.1 and v2.2 respectively.
This update reorganizes the plugin folder and adds Record Mixing. Record Mixing allows for the transfer of data between games, and other scripts can implement their own Record Mixing registrations if so they desire.
Unfortunately, the v16/17/18 version of the script is missing a critical component to implement this feature, so officially, they are now Legacy versions, meaning that they will...
Hey, you're pretty far without asking for help, so don't sell yourself short.Granted im trying my best with as little knowledge i have about python lol but its saying the abilities file isnt there when i uploaded it to the vm. Im sure you know but this is the menu from when i press the ssh button in instances.
View attachment 14901
i would be very grateful for some help. Thank you.
ls
to see the contents of the directory you're in on the command line). You need to adjust the PBS_DIR constant to not point at a sub folder, and reupload it to the VM.This version fixes bugs relating to desyncing, as well as post battle clean up.
The v16/v17/v18 version of the script now gains the Record Mixer feature, as I was back in the script anyways
The server now features proper logging features, and logs to a file, server.log. It defaults to level INFO, but you can pass a lower level with --log=LEVEL, where LEVEL is a logging level constant (see python docs).
This version fixes desyncing issues for all versions due to forfeiting.
It also fixes longstanding desyncing issues in v16 and v17, in which moves with altered priorities would cause the battlers to move in different orders on both sides, due to the altered priority being applied to the incorrect index.
All versions also get a minor reorganization with the forfeit bug fix, so all data is sent in a single package. This also separates battle mechanics from being sent for every battler in...
I followed the steps but I want to know where I could have gone wrong. I fixed the bugs for everything on PBS so the server should run fine.Vendily updated [v16/v17/v18/v19/v20] Cable Club with a new update entry:
Desyncs and Efficient Code Restructures
Read the rest of this update entry...
messijesus30@server-fallen-online:~$ python3 cable_club_v20.py
Traceback (most recent call last):
File "cable_club_v20.py", line 540, in <module>
Server(args.host, int(args.port), args.pbs_dir).run()
File "cable_club_v20.py", line 38, in run
self.socket.bind((self.host, self.port))
OSError: [Errno 99] Cannot assign requested address
I usually see this error because people set the HOST constant of the server python file to their external IP instead of 0.0.0.0I followed the steps but I want to know where I could have gone wrong. I fixed the bugs for everything on PBS so the server should run fine.
What could it be?
Error Cannot assign requested address:messijesus30@server-fallen-online:~$ python3 cable_club_v20.py Traceback (most recent call last): File "cable_club_v20.py", line 540, in <module> Server(args.host, int(args.port), args.pbs_dir).run() File "cable_club_v20.py", line 38, in run self.socket.bind((self.host, self.port)) OSError: [Errno 99] Cannot assign requested address