• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

OTU - OpenTibiaUnity - A new TibiaClient based on Unity3D engine

I didn't have time to take a look at the project yet, but I would like to ask if it is possible to use extended spr/dat so it can be used on custom servers too xD
Also, will it have any type of "opcodes"? (Or maybe already has)
 
I'm so glad to see protocol 12 support here and so much more features being made, @Slavi Dodo does it already have localization support? I would like to help translating it into PT_br
 
@Slavi Dodo Fantastic work you're accomplishing! New technologies are very much welcome :p
Can't check the source right now, so I'm going to ask in here: the discussion on increasing sprite resolution has been quite frequent lately. Does this (awesome) project have (or will have) more straightforward ways of customizing these aspects? :)
 
I'm so glad to see protocol 12 support here and so much more features being made, @Slavi Dodo does it already have localization support? I would like to help translating it into PT_br
I can help with translation to pt-br too c:
@Slavi Dodo Fantastic work you're accomplishing! New technologies are very much welcome :p
Can't check the source right now, so I'm going to ask in here: the discussion on increasing sprite resolution has been quite frequent lately. Does this (awesome) project have (or will have) more straightforward ways of customizing these aspects? :)
It would be awesome
 
I didn't have time to take a look at the project yet, but I would like to ask if it is possible to use extended spr/dat so it can be used on custom servers too xD
Also, will it have any type of "opcodes"? (Or maybe already has)
Having custom sprites is the easiest thing ofc because you will have to compile the sprites anyways before OTU can use them.

@Slavi Dodo Fantastic work you're accomplishing! New technologies are very much welcome :p
Can't check the source right now, so I'm going to ask in here: the discussion on increasing sprite resolution has been quite frequent lately. Does this (awesome) project have (or will have) more straightforward ways of customizing these aspects? :)
Optimizing the code will be firstly required and that's what I'm working on, The renderer spends most of it's time culling so we need to find some sort of a technique to solve that..

I'm so glad to see protocol 12 support here and so much more features being made, @Slavi Dodo does it already have localization support? I would like to help translating it into PT_br
No, unfortunately, there is no localization support yet, but it's intended in a few commits!

Thank you so much for interest!

Sincerely,
Slavi
 
I downloaded OTU, but after downloading tried all the ways to make it work, I couldn't, always returns the following message "Couldn't load appearances for version". So I went to the function that checks and realized that there is a check if there is a "sprite" file in the directory. However in client conversion this file was not generated for me. Did i do something wrong?

public bool CanLoadThings(int clientVersion, int buildVersion, ClientSpecification specification) {
string assetsPath = GetAssetsPath(clientVersion, buildVersion, specification);

string appearancesPath = Path.Combine(assetsPath, "appearances.dat");
if (!File.Exists(appearancesPath))
return false;

string spritesPath = Path.Combine(assetsPath, "sprites");
if (!File.Exists(spritesPath))
return false;

return true;
}

Screenshot_1.png
 
Hello,

First of all, thanks for your interest! I really appreciate it.

Secondly, this is not a support thread and therefore this should be the last question to be asked here. Use support thread and feel free to mention me there since I want this thread to be clean... Moreover it's not easy for other people that have the same question to find answers here..

So from now on, this thread is only a discussion about any feature coming/being developed or opinions regarding the client. Any support-related threads should be posted in the support thread by mentioning me, I'll be glad to help once I see the post.

For your question, you should check Preparing Spritesheets (https://slavi.gitbook.io/opentibiaunity/v/1.0b/getting-started/preparing-stylesheets)
To be very clear, v2.0b in the documentation refers to an upcoming version and that's maybe the reason why this confusion happened. In v2.0, client conversion is done directly from datspr-converter. This avoids having a specific project to convert sprites to an asset bundle!

The branches for v2.0 can be found here:

PS: donations are highly appreciated! To keep this project alive and maintained, please consider donating to Paypal [email protected]

Developed with ♥,
Slavi
 
This is excellent!

I'm having a small problem though. When loading this up and logging in I cannot move.. As soon as I use the arrow keys the game client disconnects to the character screen.

Code:
ProcessGame.OnConnectionError (ProtocolGame.ParsePacket: error: MemoryStream.ReadEnum: invalid enum value (255), type: (0), last type (FullMap), prev type (FullMap), unread (329), compressed(no) StackTrace:
  at OpenTibiaUnity.Core.Communication.Internal.CommunicationStream.ReadEnum[T] () [0x00026] in X:\Users\user\Downloads\OpenTibia-Unity-master\OpenTibia-Unity-master\OpenTibia\Assets\Scripts\Core\Communication\Internal\CommunicationStream.cs:57


ProcessGame.OnConnectionError (ProtocolGame.ParsePacket: error: ProtocolGame.ParseCreatureMove: No creature at position (1003, 1004, 7), type: (MoveCreature), last type (0), prev type (0), unread (174), compressed(no) StackTrace:
  at OpenTibiaUnity.Core.Communication.Game.ProtocolGame.ParseCreatureMove (OpenTibiaUnity.Core.Communication.Internal.CommunicationStream message) [0x000ac] in X:\Users\user\Downloads\OpenTibia-Unity-master\OpenTibia-Unity-master\OpenTibia\Assets\Scripts\Core\Communication\Game\Map.cs:271

  at OpenTibiaUnity.Core.Communication.Game.ProtocolGame.ParseMessage (OpenTibiaUnity.Core.Communication.Types.GameserverMessageType messageType) [0x0064b] in
 
This is excellent!

I'm having a small problem though. When loading this up and logging in I cannot move.. As soon as I use the arrow keys the game client disconnects to the character screen.

Code:
ProcessGame.OnConnectionError (ProtocolGame.ParsePacket: error: MemoryStream.ReadEnum: invalid enum value (255), type: (0), last type (FullMap), prev type (FullMap), unread (329), compressed(no) StackTrace:
  at OpenTibiaUnity.Core.Communication.Internal.CommunicationStream.ReadEnum[T] () [0x00026] in X:\Users\user\Downloads\OpenTibia-Unity-master\OpenTibia-Unity-master\OpenTibia\Assets\Scripts\Core\Communication\Internal\CommunicationStream.cs:57


ProcessGame.OnConnectionError (ProtocolGame.ParsePacket: error: ProtocolGame.ParseCreatureMove: No creature at position (1003, 1004, 7), type: (MoveCreature), last type (0), prev type (0), unread (174), compressed(no) StackTrace:
  at OpenTibiaUnity.Core.Communication.Game.ProtocolGame.ParseCreatureMove (OpenTibiaUnity.Core.Communication.Internal.CommunicationStream message) [0x000ac] in X:\Users\user\Downloads\OpenTibia-Unity-master\OpenTibia-Unity-master\OpenTibia\Assets\Scripts\Core\Communication\Game\Map.cs:271

  at OpenTibiaUnity.Core.Communication.Game.ProtocolGame.ParseMessage (OpenTibiaUnity.Core.Communication.Types.GameserverMessageType messageType) [0x0064b] in
The issue doesn't have to be exactly on this packet, can you provide the client version & the server you tested with if applicable?
PS: you can use support board to ask for help :)

It looks fantastic 👍
Thanks :)

Sincerely,
Slavi
 
Last edited:
Are you excited?
r93ttKc.gif


the FPS has improved A LOT since last time I used it 😍

If you want I can test stuff and report bugs on github, just say yes 😁

a few suggestions if you don't mind:

  • add ESC key to exit
  • add option to "remember"(save) account name/number/e-mail so we only need to type password
  • the version selection is duplicating the menu arrow ( )
  • after opening the options menu its not possible to close it anymore ( )
 
Last edited by a moderator:
make it not full screen, but windowed
IS IT STILL FULL SCREEN??
Omg. unity sucks. this issue doesn't appear to be here.. AT ALL.

[PS] I will rebuild to check that issue again and will reupload a release again.
[PS] I have re-uploaded the release under the same tag (with a different file name - 2.0b1)
 
Last edited:
Another release to to address these issues:
  1. Fullscreen switch wasn't working, hence no way to switch back to normal
  2. Graphics quality can now be set (from the json file only - since options module doesn't work)
  3. Resizing the window won't break modules that renders objects (such as Inventory/Container/Outfit/..)
  4. Updates the project version correctly.
  5. Setting correct filter mode to prevent pixelated filtering in modules/minimap (should only be in worldmap)
You can find the release under the tag 2.0b2, here slavidodo/OpenTibia-Unity (https://github.com/slavidodo/OpenTibia-Unity/releases/tag/2.0b2)

Developed with ♥ ,
Slavi
 
The issue doesn't have to be exactly on this packet, can you provide the client version & the server you tested with if applicable?
PS: you can use support board to ask for help :)


Thanks :)

Sincerely,
Slavi

Thanks for your reply!

I'm using TFS 1.2 and the 10.98 protocol, is there a recommended minimum? What are you guys using?

It's been a while since I've hosted a server, and I've ready to get back into it using this awesome client!
 
Thanks for your reply!

I'm using TFS 1.2 and the 10.98 protocol, is there a recommended minimum? What are you guys using?

It's been a while since I've hosted a server, and I've ready to get back into it using this awesome client!
I'm using latest tfs 1.3
 
Thanks for your reply!

I'm using TFS 1.2 and the 10.98 protocol, is there a recommended minimum? What are you guys using?

It's been a while since I've hosted a server, and I've ready to get back into it using this awesome client!

I tested with almost every tfs version (starting from 0.3.6 ending with 1.3) and all seemed to be working fine...
I suggest that you are using invalid appearances.

You can try downloading 10.98-v2 sprites from the drive & the new release (2.0b2) and test if it works.

Sincerely,
Slavi
 
Sorry for the dumb question but where do I have to put my 860 files to login with your client in my server?? :eek:

im kinda lost to be honest, sorry
 
Back
Top