popstarfreas / dimensions-mcl

A mobile compatibility layer for Dimensions to support mobile clients.
1 stars 3 forks source link

Not working #1

Closed Moneylover3246 closed 4 years ago

Moneylover3246 commented 4 years ago

My cmd recognizes that the plugin is in use. However every time I attemot to join from mobile, it doesn't work. I have the 5.7.0 and 1.5.0 dimensions, my pirts are forwarded, my config.js is configured, but I don't know what's wrong

popstarfreas commented 4 years ago

Dimensions v5.7.0 is for Terraria v1.3.5.3 Dimensions v5.8.3 is for Terraria v1.4.0.1 and greater

The current version of MCL is only compatible with v5.7.0 and Terraria v1.3.5.3. Is this what you are testing?

Moneylover3246 commented 4 years ago

Yes I'm using 1.3.5.3, however it just isn't working for whatever reason

popstarfreas commented 4 years ago

Any more information about what happens when you are trying to join? And your config?

Moneylover3246 commented 4 years ago

When I try to join from the listen port (9999 in my case,) it doesnt work at all. When I join from the server port (9998) I get the Legacy Message. For my configs, they're all the way they're supposed to be. I don't know how to use GitHub very well. But if DMs exist, I could send you a screenshot of the configs

popstarfreas commented 4 years ago

I assume you're using this to bridge PC and Mobile? Are you able to join the listen port on PC?

Moneylover3246 commented 4 years ago

I haven't checked yet. Let me go see now

Moneylover3246 commented 4 years ago

Actually I realized I can't do that because my tshock is on 1.3.5.3

popstarfreas commented 4 years ago

What's your reason for trying to use MCL?

Moneylover3246 commented 4 years ago

PC-Mobile bridge

popstarfreas commented 4 years ago

Are you aware of another option: using PC version 1.3.0.7 (or was it 1.3.0.8) and running either a 1.3 server or using the mobile server? I've not tried it myself but I heard it mentioned.

MCL is mainly for PC servers that want to accept mobile players as well, with the knowledge that some features don't exist on mobile yet. How do you expect PC players to play? By using specifically 1.3.5.3?

Moneylover3246 commented 4 years ago

I just want to use this plugin so I can use a PC tshock version. The mobile version doesn't support plugins so thats the main reason I'm here. Im going to try to use the 1.3.0.7.tshock and see how it goes

Moneylover3246 commented 4 years ago

I tried to download the tshock. I always get an error when I try to launch the server. It says the following:

[Server API] Error Server crashed due to an unhandled exception: System.InvalidOperationException: Failed to compare two elements in the array. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Terraria.Main.WorldListSortMethod(WorldFileData data1, WorldFileData data2) at System.Array.FunctorComparer1.Compare(T x, T y) at System.Collections.Generic.ArraySortHelper1.SwapIfGreater(T[] keys, IComparer1 comparer, Int32 a, Int32 b) at System.Collections.Generic.ArraySortHelper1.IntroSort(T[] keys, Int32 lo, Int32 hi, Int32 depthLimit, IComparer1 comparer) at System.Collections.Generic.ArraySortHelper1.IntrospectiveSort(T[] keys, Int32 left, Int32 length, IComparer1 comparer) at System.Collections.Generic.ArraySortHelper1.Sort(T[] keys, Int32 index, Int32 length, IComparer1 comparer) --- End of inner exception stack trace --- at System.Collections.Generic.ArraySortHelper1.Sort(T[] keys, Int32 index, Int32 length, IComparer1 comparer) at System.Array.Sort[T](T[] array, Int32 index, Int32 length, IComparer1 comparer) at System.Collections.Generic.List1.Sort(Comparison1 comparison) at Terraria.Main.LoadWorlds() at Terraria.Main.DedServ() at Terraria.ProgramServer.InnerStart(String[] args)

Can you please tell me how to fix this?

popstarfreas commented 4 years ago

You must have incompatible worlds in your worlds folder.

Moneylover3246 commented 4 years ago

Are you talking about the worlds folder on my actual terraria? Typically for tshock on mobile the worlds folder is stored in the actual tshock plugin.

Moneylover3246 commented 4 years ago

Well the error resolved after deleting the 1.3.5 worlds. However using a pc world for mobile doesn't work because when I join it keeps crashing. Can you figure out how I can fix the PC-Mobile bridge not working?

Moneylover3246 commented 4 years ago

Idk if github supports dms but I was wondering if we can go on a dm supporting website like discord (If you have it/ want to do it) and if you can just tell me step by step on how to make this plugin work.

popstarfreas commented 4 years ago

I don't know, I've never done it. My expertise is in compatibility with the current PC version, not old PC versions.

Moneylover3246 commented 4 years ago

Well I was actually just about to create a PC server for 1.4. Can you tell me how to do that? (Or how to test if the plugin is working)

Also, in my configs I was wondering which IP I should put the the ServerIP section, if it should be my private or public address. I was also wondering whether the server port or listen port should be port forwarded

Moneylover3246 commented 4 years ago

I got dimensions to work. Lol you didn't mention in the config wiki that I had to change the version protocol

EDIT: I tried to run 1.3.5.3 tshock (using 5.7.0) and when I tried to connect to mobile I got no response. So it must be something wrong with the extension.