Page 1 of 31
ManaPlus - Former Official TMW Client v1.6.4.23
Posted: 26 Sep 2009, 18:07
by 4144
Re: TMW Client Patch
Posted: 26 Sep 2009, 21:52
by kai_62656
4144 wrote:This patch add some new features and fix some small bugs.
You can read about it and download here
http://tmw.cetki.com/4144/
(support only eathena server)
Can it be used on Windows?
Re: TMW Client Patch
Posted: 26 Sep 2009, 21:56
by 4144
kai_62656 wrote:
Can it be used on Windows?
Yes, but now i cant compile it on windows. You must compile it by self.
Re: TMW Client Patch
Posted: 26 Sep 2009, 22:40
by adamaix
very good! thank you 4144
I get a compile error on FreeBSD,
Code: Select all
c++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I/usr/local/include/SDL -I/usr/local/include -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/local/include/SDL -I/usr/local/include -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -DPKG_DATADIR=\""/usr/local/share/tmw/"\" -DLOCALEDIR=\""/usr/local/share/locale"\" -DEATHENA_SUPPORT -O2 -fno-strict-aliasing -pipe -march=prescott -MT gui/tmw-itemcontainer.o -MD -MP -MF gui/.deps/tmw-itemcontainer.Tpo -c -o gui/tmw-itemcontainer.o `test -f 'gui/itemcontainer.cpp' || echo './'`gui/itemcontainer.cpp
gui/itemcontainer.cpp:26:30: error: gui/outfitwindow.h: No such file or directory
gui/itemcontainer.cpp:38:26: error: dropshortcut.h: No such file or directory
gui/itemcontainer.cpp: In member function 'void ItemContainer::selectNone()':
gui/itemcontainer.cpp:167: error: 'outfitWindow' was not declared in this scope
gui/itemcontainer.cpp: In member function 'virtual void ItemContainer::mousePressed(gcn::MouseEvent&)':
gui/itemcontainer.cpp:266: error: 'dropShortcut' was not declared in this scope
gui/itemcontainer.cpp:268: error: 'outfitWindow' was not declared in this scope
*** Error code 1
Re: TMW Client Patch
Posted: 26 Sep 2009, 22:53
by 4144
adamaix wrote:very good! thank you 4144
I get a compile error on FreeBSD,
Code: Select all
c++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I/usr/local/include/SDL -I/usr/local/include -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/local/include/SDL -I/usr/local/include -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -DPKG_DATADIR=\""/usr/local/share/tmw/"\" -DLOCALEDIR=\""/usr/local/share/locale"\" -DEATHENA_SUPPORT -O2 -fno-strict-aliasing -pipe -march=prescott -MT gui/tmw-itemcontainer.o -MD -MP -MF gui/.deps/tmw-itemcontainer.Tpo -c -o gui/tmw-itemcontainer.o `test -f 'gui/itemcontainer.cpp' || echo './'`gui/itemcontainer.cpp
gui/itemcontainer.cpp:26:30: error: gui/outfitwindow.h: No such file or directory
gui/itemcontainer.cpp:38:26: error: dropshortcut.h: No such file or directory
gui/itemcontainer.cpp: In member function 'void ItemContainer::selectNone()':
gui/itemcontainer.cpp:167: error: 'outfitWindow' was not declared in this scope
gui/itemcontainer.cpp: In member function 'virtual void ItemContainer::mousePressed(gcn::MouseEvent&)':
gui/itemcontainer.cpp:266: error: 'dropShortcut' was not declared in this scope
gui/itemcontainer.cpp:268: error: 'outfitWindow' was not declared in this scope
*** Error code 1
I think you incorrectly apply patch. Look like, new files not created.
for example patch must create file gui/outfitwindow.h, but your compiler said this file not exists.
I dont know about freebsd, but in linux for apply patch, you need run:
patch -p0 <patchname.diff
Re: TMW Client Patch
Posted: 27 Sep 2009, 00:00
by Jaxad0127
What version of the client is your patch made for? Those "missing" files have been in since 0.0.29 or recent git.
Re: TMW Client Patch
Posted: 27 Sep 2009, 00:08
by 4144
jaxad0127 wrote:What version of the client is your patch made for? Those "missing" files have been in since 0.0.29 or recent git.
0.0.29.1
missing files it's incorrect work of patch utility on freebsd.
Re: TMW Client Patch
Posted: 27 Sep 2009, 00:27
by Jaxad0127
Is your patch made for git to use? It probably should be. You should also specify the version it's for.
Re: TMW Client Patch
Posted: 27 Sep 2009, 00:30
by 4144
jaxad0127 wrote:Is your patch made for git to use? It probably should be. You should also specify the version it's for.
version specified in file name

i dont try patch on git version, but as i know, some functions in git changed, and patch may be not work without fixing code by hands.
Re: TMW Client Patch
Posted: 27 Sep 2009, 11:50
by alastrim
Good Job 4144! And thanks for the Help.
Re: TMW Client Patch
Posted: 27 Sep 2009, 11:54
by tapion
how to install it in windows?Can someone help me?
Re: TMW Client Patch
Posted: 27 Sep 2009, 16:32
by Crush
tapion wrote:how to install it in windows?Can someone help me?
1. download the sourcecode from the download page
2. use
http://gnuwin32.sourceforge.net/packages/patch.htm to apply the patch file to the source
3. download Code::Blocks
http://www.codeblocks.org/
4. get the library pack
http://forums.themanaworld.org/viewtopic.php?f=6&t=5356
5. try to compile the project using code::blocks
6. fix the problems which occur
7. try to compile it
8. fix the problems which occur
9. try to compile it
10. fix the problems which occur
11. try to compile it
12. fix the problems which occur
13. try to compile it
14. fix the problems which occur
15. try to compile it
16. open the champagne
Yes, compiling software from source can be very troublesome on windows. Alternatively you could beg for someone to provide a compiled binary.
Re: TMW Client Patch
Posted: 27 Sep 2009, 23:52
by Jumpy
who can i beg too
need help
Thanks
Regards
Re: TMW Client Patch
Posted: 28 Sep 2009, 07:18
by jcdvsrbld
how do i use this?! i tried the .deb for my system, and the .diff (im not sure what to do with the .diff though)
Re: TMW Client Patch
Posted: 28 Sep 2009, 12:25
by 4144
jcdvsrbld wrote:how do i use this?! i tried the .deb for my system, and the .diff (im not sure what to do with the .diff though)
If you have ubuntu 9.04, you can install compiled packages:
Code: Select all
dpkg -i tmw-data_0.0.29.1-1_all.deb
dpkg -i tmw_0.0.29.1-1_XXX.deb
where XXX it's your platform i386 or amd64.
In other version you can download client source from
http://themanaworld.org/,
apply patch and compile sources.