[REQ] Another alternative client (Difficulty 5/5 Team-Sized)

Development discussions for TMW's official client, alternative clients and client adaptations.


Ablu
Manasource
Manasource
Posts: 288
Joined: 23 Jul 2011, 08:31
Location: Germany

Re: [REQ] Another alternative client (Difficulty 5/5 Team-Sized)

Post by Ablu »

Let me know if you need help.

User avatar
LawnCable
Source of Mana
Source of Mana
Posts: 3
Joined: 02 Jan 2020, 21:40

Re: [REQ] Another alternative client (Difficulty 5/5 Team-Sized)

Post by LawnCable »

I wish great success with not drowning in code! :D

Having the network interaction as a separate library would also help us to implement TLS encryption later on. (ATM the login password is transmitted in cleartext for example).

When separating the network library becomes a success we could think about splitting up a higher level game logic backend library that contains the logic game stuff except for UI, keyboard events, UI settings, renderer.
Some pseudo code to hopefully give an idea what I'm dreaming about:

Code: Select all

getCharacters():Array<Character>
selectCharacter(character)
getInventory(page, searchquery):Array<Item>
Chat.sendMessage(channel, message)
Chat.getMessages(channel)
Player.attack(entity)
Player.move(direction)
Player.moveTo(coordinates)

I don't know how m+ or the network protocols actually work so take my post here with a grain of salt.

:alt-7: :alt-3:

User avatar
Cage
Peon
Peon
Posts: 32
Joined: 19 Oct 2019, 07:51

Re: [REQ] Another alternative client (Difficulty 5/5 Team-Sized)

Post by Cage »

For anyone trying to compile the Source Of Tales client on Windows you will need to change a couple of files in order to be able to compile it.

\tales-client-master\example\example.pro:
LIBS += -L../src/debug/ -lmana -lz -lwsock32 -lws2_32 -lwinmm

\tales-client-master\src\tiled\isometricrenderer.cpp:
#include <QPainterPath>

\tales-client-master\src\tiled\orthogonalrenderer.cpp:
#include <QPainterPath>

\tales-client-master\src\tiled\staggeredrenderer.cpp:
#include <QPainterPath>

It was fun trying to compile it, I learnt a lot and I was amazed to find that the server of this game is still working.

tales-1.JPG
tales-1.JPG (65.67 KiB) Viewed 3166 times
tales-2.JPG
tales-2.JPG (51.74 KiB) Viewed 3166 times
User avatar
Cage
Peon
Peon
Posts: 32
Joined: 19 Oct 2019, 07:51

Re: [REQ] Another alternative client (Difficulty 5/5 Team-Sized)

Post by Cage »

Does anyone know how to build manaplus on and for Windows?

Post Reply