Noob here - How to compile and configuration Manaserv?

Ask for help regarding any technical issue or report any bug or OS independent issues.
User avatar
LuLa
Peon
Peon
Posts: 23
Joined: Mon Feb 21, 2011 12:24 am
Location: Brazil

Noob here - How to compile and configuration Manaserv?

Post by LuLa » Mon Feb 21, 2011 12:47 am

I'm new in TMW, and I was wondering how to compile and configure Manaserv.
:mrgreen: Ubuntu Download

Windows XP and Ubuntu 10.10 user
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: Thu Aug 25, 2005 5:08 pm
Location: Germany

Re: Noob here - How to compile and configuration Manaserv?

Post by Crush » Mon Feb 21, 2011 1:11 am

A step by step guide for compiling manaserv can be found here:
http://doc.manasource.org/compile_manaserv_from_source
And a configuration guide here:
http://doc.manasource.org/server_configuration

When you run into any problems please try to explain them as accurately as possible so that we can help you better.
  • 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
LuLa
Peon
Peon
Posts: 23
Joined: Mon Feb 21, 2011 12:24 am
Location: Brazil

Re: Noob here - How to compile and configuration Manaserv?

Post by LuLa » Mon Feb 21, 2011 1:57 am

:mrgreen: Ubuntu Download

Windows XP and Ubuntu 10.10 user
User avatar
Mpa4Hu
Peon
Peon
Posts: 58
Joined: Sat Jul 18, 2009 1:26 pm

Re: Noob here - How to compile and configuration Manaserv?

Post by Mpa4Hu » Mon Feb 21, 2011 2:03 am

as i remember manaserv is incompatible with manaplus
User avatar
LuLa
Peon
Peon
Posts: 23
Joined: Mon Feb 21, 2011 12:24 am
Location: Brazil

Re: Noob here - How to compile and configuration Manaserv?

Post by LuLa » Mon Feb 21, 2011 2:04 am

What client is compatible with Manaserv?
:mrgreen: Ubuntu Download

Windows XP and Ubuntu 10.10 user
User avatar
Mpa4Hu
Peon
Peon
Posts: 58
Joined: Sat Jul 18, 2009 1:26 pm

Re: Noob here - How to compile and configuration Manaserv?

Post by Mpa4Hu » Mon Feb 21, 2011 2:06 am

mana
you can find info how to compile client http://doc.manasource.org/ here
User avatar
LuLa
Peon
Peon
Posts: 23
Joined: Mon Feb 21, 2011 12:24 am
Location: Brazil

Re: Noob here - How to compile and configuration Manaserv?

Post by LuLa » Mon Feb 21, 2011 2:07 am

Ohhhh..... ok. Thanks.
:mrgreen: Ubuntu Download

Windows XP and Ubuntu 10.10 user
User avatar
LuLa
Peon
Peon
Posts: 23
Joined: Mon Feb 21, 2011 12:24 am
Location: Brazil

Re: Noob here - How to compile and configuration Manaserv?

Post by LuLa » Mon Feb 21, 2011 2:14 am

I downloaded the mana and he is loading the server but does not enter the login server. :|
:mrgreen: Ubuntu Download

Windows XP and Ubuntu 10.10 user
User avatar
Bertram
Knight
Knight
Posts: 1026
Joined: Tue Sep 07, 2004 3:55 pm
Location: France

Re: Noob here - How to compile and configuration Manaserv?

Post by Bertram » Mon Feb 21, 2011 6:14 pm

Hi LuLa,
I downloaded the mana and he is loading the server but does not enter the login server. :|
-> I guess you're making localhost tests with default manaserv config?

In that case, there should be no problem as long as you're using the client latest nightlie:
http://nightlies.manasource.org/
or if you compiled it from latest git version:
git://gitorious.org/mana/mana.git

Check also your firewall, just in case, since you seem to be on windows.

Good luck and Best regards.
User avatar
LuLa
Peon
Peon
Posts: 23
Joined: Mon Feb 21, 2011 12:24 am
Location: Brazil

Re: Noob here - How to compile and configuration Manaserv?

Post by LuLa » Mon Feb 21, 2011 10:48 pm

The server running, but...

Code: Select all

----------------------------------------------------------
-- Template script for the Desert map                   --
----------------------------------------------------------------------------------
--  Copyright 2011 The Mana Development Team                                    --
--                                                                              --
--  This file is part of Manasource Project.                                    --
--                                                                              --
--  Manasource is free software; you can redistribute  it and/or modify it      --
--  under the terms of the GNU General  Public License as published by the Free --
--  Software Foundation; either version 2 of the License, or any later version. --
----------------------------------------------------------------------------------

-- From scripts/
require "scripts/lua/npclib"
-- From example/serverdata/scripts
require "scripts/npcs/banker"
require "scripts/npcs/barber"
require "scripts/npcs/merchant"

atinit(function()

    -- Barber examples
    create_npc("Barber Twin", 1, 14 * TILESIZE + TILESIZE / 2, 9 * TILESIZE + TILESIZE / 2, Barber, nil)
    create_npc("Barber Twin", 1, 20 * TILESIZE + TILESIZE / 2, 11 * TILESIZE + TILESIZE / 2, npclib.talk(Barber, {14, 15, 16}, {}), nil)

    -- A simple banker
    create_npc("Banker", 8, 35 * TILESIZE + TILESIZE / 2, 24 * TILESIZE + TILESIZE / 2, Banker, nil)

    -- A simple merchant.
    merchant_buy_table = { {1, 10, 20}, {2, 10, 30}, {3, 10, 50} }
    merchant_sell_table = { {1, 10, 19}, {5, 10, 30}, {6, 10, 200}, {7, 10, 300} }
    create_npc("Merchant", 3, 4 * TILESIZE + TILESIZE / 2, 16 * TILESIZE + TILESIZE / 2, npclib.talk(Merchant, merchant_buy_table, merchant_sell_table), nil)

    -- Another Merchant, selling some equipment, and buying everything...
    smith_buy_table = { {5, 10, 50}, {7, 10, 70} }
    create_npc("Smith", 5, 15 * TILESIZE + TILESIZE / 2, 16 * TILESIZE + TILESIZE / 2, npclib.talk(Merchant, smith_buy_table), nil)


    -- The most simple NPC - Welcoming new ones around.
    create_npc("Harmony", 11, 4 * TILESIZE + TILESIZE / 2, 25 * TILESIZE + TILESIZE / 2, npclib.talk(Harmony, "Welcome in the template world!\nI hope you'll find here whatever you were searching for.", "Do look around to find some interesting things coming along!"), Harmony_update)
end)

-- Global variable used to know whether Harmony talked to someone.
harmony_have_talked_to_someone = false
function Harmony(npc, ch, list)
    -- Say all the messages in the messages list.
    for i = 1, #list do
        do_message(npc, ch, list[i])
    end
    --- Give the player 100 units of money the first time.
    if  harmony_have_talked_to_someone == false then
        do_message(npc, ch, "Here is some money for you to find some toys to play with.\nEh Eh!")
        mana.chr_money_change(ch, 100)
        do_message(npc, ch, string.format("You now have %d shiny coins!", mana.chr_money(ch)))
        harmony_have_talked_to_someone = true
    end
    do_message(npc, ch, "Have fun!")
    mana.effect_create(EMOTE_HAPPY, npc)
    do_npc_close(npc, ch)
end

-- Global variable used to control Harmony's updates.
-- One tick equals to 100ms, so 100 below equals to 10000ms or 10 seconds
harmony_tick_count = 0
function Harmony_update(npc)
    if harmony_have_talked_to_someone == false then
      harmony_tick_count = harmony_tick_count + 1
      if harmony_tick_count > 100 then
        harmony_tick_count = 0
        mana.being_say(npc, "Hey! You're new! Come here...")
      end
    end
end
There is an error in the script.(I do not know anything about LUA script)
:mrgreen: Ubuntu Download

Windows XP and Ubuntu 10.10 user
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: Thu Aug 25, 2005 5:08 pm
Location: Germany

Re: Noob here - How to compile and configuration Manaserv?

Post by Crush » Tue Feb 22, 2011 8:58 am

What "error"? please post the exact error message. We can not help you unless you give us proper information.
  • 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
LuLa
Peon
Peon
Posts: 23
Joined: Mon Feb 21, 2011 12:24 am
Location: Brazil

Re: Noob here - How to compile and configuration Manaserv?

Post by LuLa » Tue Feb 22, 2011 6:13 pm

The error message says the map 001-1 is not found.
:mrgreen: Ubuntu Download

Windows XP and Ubuntu 10.10 user
User avatar
Mpa4Hu
Peon
Peon
Posts: 58
Joined: Sat Jul 18, 2009 1:26 pm

Re: Noob here - How to compile and configuration Manaserv?

Post by Mpa4Hu » Tue Feb 22, 2011 7:09 pm

LuLa wrote:The error message says the map 001-1 is not found.
you are using tmw data.
try mana data. it must be in manaserv directory "example"
User avatar
LuLa
Peon
Peon
Posts: 23
Joined: Mon Feb 21, 2011 12:24 am
Location: Brazil

Re: Noob here - How to compile and configuration Manaserv?

Post by LuLa » Tue Feb 22, 2011 7:14 pm

I'm use mana data.
:mrgreen: Ubuntu Download

Windows XP and Ubuntu 10.10 user
User avatar
Mpa4Hu
Peon
Peon
Posts: 58
Joined: Sat Jul 18, 2009 1:26 pm

Re: Noob here - How to compile and configuration Manaserv?

Post by Mpa4Hu » Tue Feb 22, 2011 7:48 pm

LuLa wrote:I'm use mana data.
strage, because the only mana map i have is "desert"

and in tmw map are named in this format "001-1".
so, i'm still thinking that you are using tmw data
sorry if i'm wrong ^__^
Post Reply