Git nooby help please...

Ask for help regarding any technical issue or report any bug or OS independent issues.
Post Reply
User avatar
Amun
Novice
Novice
Posts: 212
Joined: Fri Jun 26, 2009 8:33 am

Git nooby help please...

Post by Amun » Tue Jul 14, 2009 9:09 pm

I never used git before but installed it yesterday and used the command on download page to get the development version. Now I'm just wondering how do I get the latest updates thru using the terminal? (using ubuntu karmic)
The ManaBuzz
Stay informed with the latest Mana News.
No BS... but the truth might hurt.
User avatar
Cotillion
Novice
Novice
Posts: 180
Joined: Fri Oct 31, 2008 3:56 am

Re: Git nooby help please...

Post by Cotillion » Tue Jul 14, 2009 9:26 pm

To update the client, you'll go into it's folder (~/tmw/src/tmw):

cd (path to source)

To update the source:

git pull

And then recompile:


taken from >> http://wiki.themanaworld.org/index.php/ ... ompilation
User avatar
Amun
Novice
Novice
Posts: 212
Joined: Fri Jun 26, 2009 8:33 am

Re: Git nooby help please...

Post by Amun » Tue Jul 14, 2009 10:05 pm

thanks, it all seemed to work up until I tried to recompile and it says "no make file found"

Code: Select all

steven@steven-desktop:~$ cd .tmw/src
steven@steven-desktop:~/.tmw/src$ git pull
remote: Counting objects: 109, done.
remote: Compressing objects: 100% (84/84), done.
remote: Total 84 (delta 77), reused 0 (delta 0)
Unpacking objects: 100% (84/84), done.
From git://gitorious.org/tmw/mainline
   c0bfb77..df52e6b  master     -> origin/master
Updating c0bfb77..df52e6b
Fast forward
 src/CMakeLists.txt                                 |   10 +-
 src/Makefile.am                                    |   10 +-
 src/gui/skilldialog.cpp                            |    4 +-
 src/gui/status.cpp                                 |   12 +-
 src/localplayer.cpp                                |  128 ++++++++++---------
 src/localplayer.h                                  |   21 ++--
 src/net/ea/generalhandler.cpp                      |    6 +-
 src/net/ea/generalhandler.h                        |    2 +-
 src/net/ea/inventoryhandler.cpp                    |   39 ++-----
 src/net/ea/playerhandler.cpp                       |   13 ++-
 src/net/ea/playerhandler.h                         |    6 +-
 src/net/ea/protocol.h                              |    5 +
 .../ea/{skillhandler.cpp => specialhandler.cpp}    |   39 ++++---
 src/net/ea/{skillhandler.h => specialhandler.h}    |   14 +-
 src/net/net.cpp                                    |    8 +-
 src/net/net.h                                      |    4 +-
 src/net/playerhandler.h                            |    6 +-
 src/net/{skillhandler.h => specialhandler.h}       |   16 ++--
 src/net/tmwserv/gameserver/player.cpp              |   49 --------
 src/net/tmwserv/gameserver/player.h                |    7 -
 src/net/tmwserv/playerhandler.cpp                  |   22 +++-
 src/net/tmwserv/playerhandler.h                    |    6 +-
 .../{skillhandler.cpp => specialhandler.cpp}       |   27 +++--
 .../tmwserv/{skillhandler.h => specialhandler.h}   |   14 +-
 src/net/tmwserv/tradehandler.cpp                   |   12 ++-
 tmw.cbp                                            |   10 +-
 26 files changed, 238 insertions(+), 252 deletions(-)
 rename src/net/ea/{skillhandler.cpp => specialhandler.cpp} (90%)
 rename src/net/ea/{skillhandler.h => specialhandler.h} (77%)
 rename src/net/{skillhandler.h => specialhandler.h} (72%)
 rename src/net/tmwserv/{skillhandler.cpp => specialhandler.cpp} (61%)
 rename src/net/tmwserv/{skillhandler.h => specialhandler.h} (76%)
steven@steven-desktop:~/.tmw/src$ make
make: *** No targets specified and no makefile found.  Stop.
The ManaBuzz
Stay informed with the latest Mana News.
No BS... but the truth might hurt.
User avatar
Cotillion
Novice
Novice
Posts: 180
Joined: Fri Oct 31, 2008 3:56 am

Re: Git nooby help please...

Post by Cotillion » Tue Jul 14, 2009 10:41 pm

like the blind leading the blind, but i'll continue to try to help...

try this from your src directory

autoreconf -i
./configure --prefix=$HOME/tmw --with-server=eathena

then

make
User avatar
Amun
Novice
Novice
Posts: 212
Joined: Fri Jun 26, 2009 8:33 am

Re: Git nooby help please...

Post by Amun » Wed Jul 15, 2009 12:45 am

AhhhhhaRRRRRRRRrrr!!!!

/me bangs head off keyboard

Okay so I'm an idiot I think. I thought I had the development version after using that command on the download page, but I think it was still reading my other version.... I don't even know what is what any more I confused myself so bad lol...... I just uninstantiated everything and reinstalled using the package manager.....

What I was trying to do was get the latest updates so the "broken update" that my client auto downloaded that f*cked up my game would be fixed :(

So next question is there away to get the latest update that fixes it without having to download the source and compile it myself or can I revert to the update prior to the one that broke the game for me?

and by broke I mean the problem stated in this topic
http://forums.themanaworld.org/viewtopic.php?f=3&t=7460

Sorry for my noobiness lol... I'm just beyond confused right now

PS

Thanks for help
The ManaBuzz
Stay informed with the latest Mana News.
No BS... but the truth might hurt.
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: Thu Aug 25, 2005 5:08 pm
Location: Germany

Re: Git nooby help please...

Post by Crush » Wed Jul 15, 2009 2:24 am

What you did with git was getting the development version of the client software. But the current problems are caused by a buggy content update, not a client software update. These are two different things.

The content is updated automatically via the update system. A client software update on the other hand has to be done manually by using the packet management system of your OS, an installer package, compiling it yourself from source like you just tried or by doing whatever is your preferred way to install software on your operating system.

What you need to fix the current problems is the development version of the game content. You don't have to compile anything to use the dev version of the content files. You just have to use git to pull the files to a local directory and change the shortcut to the TMW client to pass it the command line options to use this directory as the data directory and skip the updateserver.

How to do this is described here as "Method B": http://forums.themanaworld.org/viewtopi ... =13&t=2617
  • former Manasource Programmer
  • former TMW Pixel artist
  • NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.


You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
User avatar
Amun
Novice
Novice
Posts: 212
Joined: Fri Jun 26, 2009 8:33 am

Re: Git nooby help please...

Post by Amun » Wed Jul 15, 2009 3:52 am

Thanks that cleared things up :D
The ManaBuzz
Stay informed with the latest Mana News.
No BS... but the truth might hurt.
Post Reply