Skip to content

Commit

Permalink
* RELEASE 0.1!
Browse files Browse the repository at this point in the history
  • Loading branch information
ivucica committed Dec 19, 2007
1 parent 6d608da commit d224d05
Show file tree
Hide file tree
Showing 4 changed files with 150 additions and 7 deletions.
6 changes: 5 additions & 1 deletion trunk/INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,15 @@ Adapt directories to your distribution. GLICT doesn't use automake yet.
3. Building on Windows with Dev-Cpp
===================================

WARNING! For the 0.1 release, the .dev project file was not updated. It will not work without modifications. We may release a fix at a later date.

You are expected to have DevCpp installed. Instructions are based around Windows XP environment, but you can easily adapt them to other OSes, if you turn on your brain.

Dev-Cpp project file is rarely updated. If you get link errors, make sure that all .cpp files are a part of the project. Developers who care ;) do not have access to a Win32 machine with Dev-Cpp installed.

When instructed to fetch code from SVN repository, and you don't have a SVN client, you can use the WebDAV client built into the XP. Instructions are in chapter 3.3.

If you have any problems please try to fix them yourself, and then contact me via OTfans PM. If you really cannot find a solution, try contacting me anyway. If you report the problem we can fix these instructions together -- if not, someone else will have the same problem!
If you have any problems please try to fix them yourself, and then contact Khaos via OTfans PM. If you really cannot find a solution, try contacting Khaos anyway. If you report the problem we can fix these instructions together -- if not, someone else will have the same problem!

== 3.1. Compiling GLICT ==

Expand Down
4 changes: 2 additions & 2 deletions trunk/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ EXTRA_DIST = debugprint.h enginesdl.h gm_mainmenu.h objects.h spritegl.h \
ui/optionsgraphics.h ui/optionsnetwork.h ui/charlist.h \
\
yatc.cbp yatc.dev \
yatc.bmp ui.bmp yatc.ico resources.rc \
COPYING AUTHORS ROADMAP
yatc.bmp yatc.ico resources.rc \
COPYING AUTHORS ROADMAP INSTALL


139 changes: 139 additions & 0 deletions trunk/README
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,143 @@ user interface library. For now we can connect to the login server, display
character list, connect to game world, display basic map, and we can move
around.

This is readme for version 0.1.

===============================
1. Quick logon

If you need compile instructions, please read INSTALL. If you have already
compiled, or you have downloaded a binary, please read on.

Copy Tibia.spr, Tibia.dat and Tibia.pic from another client into YATC. We
currently cannot provide these files due to copyright issues, and we have not
created our own files. Then, start YATC. Go to Options->Network, and enter
the server address. Then go to Enter Game and log on using your account
number and password.

We currently support protocols 8.0 and 8.1. Autodetection will see from which
version of the client you have copied the files and will use the appropriate
protocol. You can manually switch protocol in Options->Network.

Under GNU/Linux, do not forget that caps matter. Tibia.spr is not the same
as tibia.spr.

==============================
2. User interface - Main menu

Enter Game
Displays login window.
Options
Shows a window offering General, Graphics, Console, Hotkeys and Network
options, as well as MOTD display.
Info
Shows info about program.
Exit Game
Exits the program.

==============================
3. User Interface - Enter Game

Account Number
Enter your assigned account number here.
Password
Enter the password you have set.
Create Account
Unused.

==============================
4. User Interface - Character list

Click on the character you want to log on with. Then click Ok. If there's
more characters than fits in the list, use the arrows to find the character
you want.

==============================
5. User Interface - Game

On the top left you'll find the inventory. Below it is the map. On the top
right you will find the traffic meter. It measures the amount of bytes
transmitted (TX), received (RX) and total (++). It also measures the same
numbers per hour (in bytes per hour, kibibytes per hour, and mibibytes per
hour).

On the bottom you will find a text box which you can use to chat. Pressing
any letter or number focuses on the textbox automatically.

Use arrow keys to move.

==============================
6. Configuration file

After you first launch YATC and close it, a file named 'yatc.cfg' will be
generated in the working directory. There are some options that are
inaccessible from the user interface so here's documentation. The options
are as follows:

[window]
engine
This can be either 0 or 1. 0 sets the SDL rendering engine (default), 1 sets
the OpenGL rendering engine.
os_cursor
Unused; due to be removed.

[login]
account
Specifies your account number that will be entered by default.
password
Specifies your password that willl be entered by default.

[client]
skin
Unused.
motdnum
Last number of MOTD that server sent.
motdtext
Last text of MOTD that server sent.
ui_compat
Change the UI compatibility settings. If set to 0, UI is maximally compatible
with Tibia. If set to 1, UI is enhanced a bit.

[general]
classiccontrol
Unused. An option under Options->General
autochase
Unused. An option under Options->General
showhints
Unused. An option under Options->General
shownames
Unused. An option under Options->General
showtexteffects
Unused. An option under Options->General

[graphics]
fullscreen
When restarted, YATC will go to fullscreen if this is turned on.
width
Width part of resolution, or width of window.
height
Height part of resolution, or height of window.
bpp
Display color depth. Valid are 8, 16 and 32.

[network]
server
Address of server to connect to.
port
Port of server to connect to.
otkey
If we're connecting to an OpenTibia server, set to 1, otherwise 0.
protocol
Protocol version. Valid are 800 and 810.
overrideversion
Version to represent to server although another protocol is used. Server
uses same protocol that's specified under 'protocol', but requires a
different version sent. (Data files must also have appropriate signatures.)
===========================
7. Observed issues

* Some tiles are not rendered at all.
* If creature steps over another creature, the creatures are swapped.
(Ordering problem.)
* Under GNU/Linux, SDL timer mechanism seems to be causing freezes.

8 changes: 4 additions & 4 deletions trunk/gm_mainmenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ void GM_MainMenu::pnlMainMenu_btnOptions_OnClick(glictPos* relmousepos, glictCon
void GM_MainMenu::pnlMainMenu_btnAbout_OnClick(glictPos* relmousepos, glictContainer* callerclass)
{
std::stringstream txt;
char c = 169;
unsigned char c = 169;
GM_MainMenu* m = (GM_MainMenu*)g_game;
txt << "YATC - Yet Another Tibia Client\n"
<< "v0.1\n"
Expand All @@ -321,10 +321,10 @@ void GM_MainMenu::pnlMainMenu_btnAbout_OnClick(glictPos* relmousepos, glictConta
<< "Smygflik\n"
<< "\n"
<< "YATC comes with ABSOLUTELY NO WARRANTY; \n"
<< "for details see sections 11 and 12 in LICENSE.\n"
<< "for details see sections 11 and 12 in COPYING.\n"
<< "This is free software, and you are welcome \n"
<< "to redistribute it under certain conditions;\n"
<< "see LICENSE for details.";
<< "see COPYING for details.";

m->msgBox(txt.str().c_str(), "About YATC", &m->pnlMainMenu.btnAbout);
}
Expand Down Expand Up @@ -355,7 +355,7 @@ void GM_MainMenu::winLogin_btnOk_OnClick(glictPos* relmousepos, glictContainer*
proto = ProtocolConfig::detectVersion();
if (!proto) {
std::stringstream t;
char c = 149; // bullet
unsigned char c = 149; // bullet
t << "Data files in the directory either:\n" <<
c << "do not belong to same protocol version, or\n" <<
c << "are modified and with unknown signatures.\n" <<
Expand Down

0 comments on commit d224d05

Please sign in to comment.