Page 2 of 5

Posted: Sun Sep 30, 2012 10:07
by Echo
as long as the npc's don't found a union and demonstrate for more food... ;-)

Posted: Sun Sep 30, 2012 13:49
by Neuromancer
cornernote wrote:some ideas from IRC:
<cornernote> as a player you join a village
<cornernote> and perhaps can rob from other villages
If you rob from other villages there should be consequences like in Ultima.

Posted: Mon Oct 01, 2012 00:48
by Gage
the init lua file wont work HELLLPPP!!!!

Posted: Mon Oct 01, 2012 00:59
by Gage
i wanna play this so bad im using 4.3 urghhhhhhhhhhhh

Posted: Mon Oct 01, 2012 02:01
by cornernote
can you paste the error you get? have a look in debug.txt

Posted: Mon Oct 01, 2012 16:36
by kddekadenz
Nice mod, but:
kddekadenz wrote:License of map: CC-BY 3.0 -> feel free to remix, but give credit in readme
I would be fine now to release it under the terms of CC0 or MIT, but I did release it as CC-BY.

Found a bug: If you walk away, they disappear, even if the are busy building something.

Posted: Mon Oct 01, 2012 17:16
by qwrwed
I keep getting crashes:

Code: Select all

18:11:40: VERBOSE[main]: error_message = ServerError: LuaError: error: ...games\towntest\mods\towntest\towntest_chest\init.lua:125: attempt to index local 'npc' (a nil value)
This is with the latest sfan5 build and the latest nightly package.

Posted: Mon Oct 01, 2012 19:01
by kddekadenz
qwrwed wrote:I keep getting crashes:

Code: Select all

18:11:40: VERBOSE[main]: error_message = ServerError: LuaError: error: ...games\towntest\mods\towntest\towntest_chest\init.lua:125: attempt to index local 'npc' (a nil value)
This is with the latest sfan5 build and the latest nightly package.
Towntest, towntest_npc and towntest_chest have to be seperate folders and not in the folder towntest.

Posted: Mon Oct 01, 2012 19:24
by qwrwed
kddekadenz wrote:
qwrwed wrote:I keep getting crashes:

Code: Select all

18:11:40: VERBOSE[main]: error_message = ServerError: LuaError: error: ...games\towntest\mods\towntest\towntest_chest\init.lua:125: attempt to index local 'npc' (a nil value)
This is with the latest sfan5 build and the latest nightly package.
Towntest, towntest_npc and towntest_chest have to be seperate folders and not in the folder towntest.
I did that, but it still happened. the result was the same because there was a modpack.txt in the original folder.

Posted: Mon Oct 01, 2012 20:27
by Sokomine
It's fun to see how the worker produces the building :-) I like the way he takes the stuff out of the chest, moves to the right destination and places the nodes there. That's close to the inhabitants I hope will one day be there to live in all those houses.

It might be a good idea to optimize the Worldedit imports first. Right now large buildings take a considerable amount of time to build because the worker runs to and fro between walls on opposite sides. That does not matter with small decorative buildings. Large buildings take extremly long.

Posted: Mon Oct 01, 2012 23:49
by cornernote
qwrwed wrote:I keep getting crashes:

Code: Select all

18:11:40: VERBOSE[main]: error_message = ServerError: LuaError: error: ...games\towntest\mods\towntest\towntest_chest\init.lua:125: attempt to index local 'npc' (a nil value)
This is with the latest sfan5 build and the latest nightly package.
init.lua:125 has nothing about npc in the lastest Git. Please download the version that is there now, let me know if you still have any issues.

Posted: Tue Oct 02, 2012 07:42
by tkerwel
error report:

09:37:31: ERROR[main]: ...32\bin\..\games\minetest_game\mods\towntest\init.lua:15: bad argument #1 to 'random' (interval is empty)
09:37:31: ERROR[main]: stack traceback:
09:37:31: ERROR[main]: [C]: in function 'random'
09:37:31: ERROR[main]: ...32\bin\..\games\minetest_game\mods\towntest\init.lua:15: in main chunk

the error comes in

towntest.game_id = math.random(100000000000)

when i lower this value to ..lets say to 10 or 100 it runs.... is here a difference if you start a new game or use a already running game ?




Question:
can i run towntest together with your deploy mods ?

Posted: Tue Oct 02, 2012 08:47
by cornernote
that line used to be used to kill off old NPC's. its actually not used now, i'll remove it next update

Posted: Tue Oct 02, 2012 15:24
by qwrwed
cornernote wrote:
qwrwed wrote:I keep getting crashes:

Code: Select all

18:11:40: VERBOSE[main]: error_message = ServerError: LuaError: error: ...games\towntest\mods\towntest\towntest_chest\init.lua:125: attempt to index local 'npc' (a nil value)
This is with the latest sfan5 build and the latest nightly package.
init.lua:125 has nothing about npc in the lastest Git. Please download the version that is there now, let me know if you still have any issues.
I don't know how to compile, that's why I used the dev builds.

Posted: Tue Oct 02, 2012 15:44
by cornernote
i mean the latest git of this mod, on the 1st post Download Zipball

Posted: Tue Oct 02, 2012 23:42
by chris36202
how do i feed the npc

Posted: Tue Oct 02, 2012 23:44
by cornernote
put apples in the chest, next time he comes to get materials he will take the food aswell

Posted: Wed Oct 03, 2012 00:11
by chris36202
thanks

Posted: Wed Oct 03, 2012 00:12
by chris36202
so when your are done the updating for this mod can you make a vilger mod like minecraft

Posted: Wed Oct 03, 2012 00:22
by chris36202
and i got the update for the mod and there is builder and lumber jack slot what is that for?

Posted: Wed Oct 03, 2012 00:26
by cornernote
builder inventory - is the stuff the NPC builder has taken from the chest and is currently using to build your structure
lumberjack inventory - does nothing, coming soon when i add new NPCs ;)

Posted: Wed Oct 03, 2012 21:11
by PewDiePie
when i try putting the towntest mod and try playing it tells me theres a mod error

Posted: Wed Oct 03, 2012 23:02
by cornernote
Can you elaborate a little? Perhaps share with the rest of us the details about that error message? =)

Posted: Thu Oct 04, 2012 00:05
by Gage
cornernote wrote:can you paste the error you get? have a look in debug.txt
i cant it wont respawn but its sumthing with the init.lua file ?
nvmd here it is its about the init lua like i suspected
20:57:05: ERROR[main]: Server: Failed to load and run C:\Users\Mary\Documents\minetest-0.4.3-win32\minetest-0.4.3-win32\bin\..\games\dwarves\mods\cornernote-minetest-towntest-db4a1be\init.lua

Posted: Thu Oct 04, 2012 00:09
by Gage
please help im running windows7 celeron(intel) and its the lua but i dont no how to code please help!!!!!! O':