AliekberFFXI / xivcrossbar

FFXIV-style crossbar for FFXI -- Based on Edeon's XIVHotbar
MIT License
11 stars 6 forks source link

Private Server Question #9

Closed benjaminrclayton closed 2 years ago

benjaminrclayton commented 2 years ago

Do you know if XIVCrossbar should work when connecting to private servers? I am trying to use the addon on Eden but the game hard crashes when attempting to load XIVCrossbar from the console.

Thanks!

AliekberFFXI commented 2 years ago

I can't think of any reason it wouldn't. Can you link a pastebin of your crash.log and console.log files from Windower? Right after crashing again, ideally.

By-T0r commented 2 years ago

It most likely is the server parameter in the player:initialize function causing an error. In order to make this addon work on classic servers I've been having to pass an empty string for this parameter.

There probably is a better solution, but I just don't know Windower well enough.

benjaminrclayton commented 2 years ago

Thank you both for the quick response. I tried passing an empty string to the server param but the game is still crashing. It just closes immediately after trying to run the load command and does not write to console.log or create a crash log file. It may be because Eden uses an older version of windower to ensure updates do not break their version of the game.

@By-T0r do you have crossbar working on Eden? I am using the version of windower shipped with their installer.

AliekberFFXI commented 2 years ago

Yeah, that could be it. Since you don't consume Windower's updates, you should be OK to manually edit the server resource file.

Run input /echo windower.ffxi.get_info().server in your Windower console (without the addon loaded), and write down the number that it outputs. Then open up Windower4/res/servers.lua and add a line to it with something like [1] = {id=1,en="Eden"}, with that number it printed in place of the 1s. It's a hack that wouldn't normally work because the resources get automatically updated, but since they don't get updated in your case, it should work.

Actually, I'll provide a fix this evening.

AliekberFFXI commented 2 years ago

Just pushed a fix. If you already used a workaround to put your character files in an Eden folder, you can either rename the Eden folder to UnknownServer, or change line 159 in xivcrossbar from server = 'UnknownServer' to server = 'Eden'.

seathasky commented 2 years ago

This is still crashing for me on Eden

benjaminrclayton commented 2 years ago

Still crashing for me as well. My theory is the out of date core windower files included in the eden installer are the culprit.

seathasky commented 2 years ago

https://user-images.githubusercontent.com/17598024/179052540-98da17c8-18ca-4207-a1a8-214d04bc4dda.mp4

This is what happens on Eden, i also changed "server = 'UnknownServer' to server = 'Eden' like you said.

Should probably reopen this issue on the tracker.

seathasky commented 2 years ago

Is this getting looked at? No response from dev yet

andre-macc commented 2 years ago

The solution I've always used in private servers is to comment the following line (160): local server = resources.servers[windower.ffxi.get_info().server].en