[Mod] Simple Mobs [mobs]

Jonathan
 

by Jonathan » Fri Sep 28, 2012 16:13

Calinou wrote:
Jonathan wrote:PilzAdam,


I have the error - "ServerError: LuaError: error running function ‘on_step’: attempt to index a number value" and I tried the following versions:
minetest-0.4.3-4a11323-meta_set_nodedef-win32
minetest-0.4.3-win32

Do you use minetest on Linux? If so, this might be a Windows issue and not a Linux issue.


You need the latest Git - both are outdated (compared to Git) and do not work with Simple Mobs.


What is "Git" and where can I get the latest one?

Thanks,
Jonathan
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Fri Sep 28, 2012 16:15

Jonathan wrote:
Calinou wrote:
Jonathan wrote:PilzAdam,


I have the error - "ServerError: LuaError: error running function ‘on_step’: attempt to index a number value" and I tried the following versions:
minetest-0.4.3-4a11323-meta_set_nodedef-win32
minetest-0.4.3-win32

Do you use minetest on Linux? If so, this might be a Windows issue and not a Linux issue.


You need the latest Git - both are outdated (compared to Git) and do not work with Simple Mobs.


What is "Git" and where can I get the latest one?

Thanks,
Jonathan

GitHub is a website that contains code of projects. Minetest is one of the ~2 million. projects there. You can get it here: https://github.com/celeron55/minetest

EDIT: There are over 3,862,506 repositories (projects).
Last edited by PilzAdam on Fri Sep 28, 2012 16:16, edited 1 time in total.
 

Jonathan
 

by Jonathan » Sat Sep 29, 2012 01:40

PilzAdam wrote:
Jonathan wrote:
Calinou wrote:
You need the latest Git - both are outdated (compared to Git) and do not work with Simple Mobs.


What is "Git" and where can I get the latest one?

Thanks,
Jonathan

GitHub is a website that contains code of projects. Minetest is one of the ~2 million. projects there. You can get it here: https://github.com/celeron55/minetest

EDIT: There are over 3,862,506 repositories (projects).


Is there somewhere I can get the latest exe file? I don't want to try to figure out how to build the executable with the files on Git.
 

cornernote
Member
 
Posts: 844
Joined: Wed Jul 11, 2012 15:02

by cornernote » Sat Sep 29, 2012 02:23

 

Jonathan
 

by Jonathan » Sat Sep 29, 2012 14:23

cornernote wrote:sfan5 has builds of the latest versions for windows:
http://minetest.net/forum/viewtopic.php?id=1523

direct download link:
http://sfan.sf.funpic.de/minetest-builds/c55/minetest-0.4.3-9696ed3-win32.7z


After downloading this version I still got the error - "ServerError: LuaError: error running function ‘on_step’: attempt to index a number value".

Just to let you know I don't get this error until I am in the game playing it. I almost wonder if it tends to happen when I am around a hostile mob, but that does not seem to always be the case. Additionally, I am using 64bit Windows 7.

Below are some of the last lines in the debug file.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
10:05:44: INFO[main]: ServerMap: Written: 0 sector metadata files, 3 block files, 148 blocks in memory.
10:05:44: INFO[main]: ServerMap: Blocks modified by:
10:05:44: INFO[main]:   deactivateFarObjects: Static data changed considerably...: 1
10:05:44: INFO[main]:   setNodeNoCheck, setNodeNoCheck, setNode, setNode: 1
10:05:44: INFO[main]:   setNodeNoCheck, setNodeNoCheck, setNodeNoCheck: 1
10:05:44: INFO[main]: ServerMap: Saved map to C:\Users\Jonathan\Documents\Minetest\MinetestLatestVersion\bin\..\worlds\Jonathan's Earth
10:05:44: INFO[main]: RollbackManager::~RollbackManager()
10:05:44: INFO[main]: RollbackManager::flush()
10:05:44: INFO[main]: Server: Deinitializing scripting
10:05:44: INFO[main]: BanManager: saving to C:\Users\Jonathan\Documents\Minetest\MinetestLatestVersion\bin\..\worlds\Jonathan's Earth\ipban.txt
10:05:44: ERROR[main]: ServerError: LuaError: error running function 'on_step': attempt to index a number value
10:05:44: ERROR[main]: stack traceback:
10:05:44: INFO[main]: Searching worlds...
10:05:44: INFO[main]:   In C:\Users\Jonathan\Documents\Minetest\MinetestLatestVersion\bin\..\worlds:
10:05:44: INFO[main]: Jonathan's Earth
10:05:44: INFO[main]: 1 found.
10:05:44: INFO[main]: Waiting for other menus
10:05:44: INFO[main]: Waited for other menus
10:05:44: VERBOSE[main]: error_message = ServerError: LuaError: error running function 'on_step': attempt to index a number value
10:05:44: VERBOSE[main]: stack traceback:
10:05:44: INFO[main]: Created main menu
10:05:44: INFO[main]: locale has been set to:English_United States.1252
10:05:44: INFO[main]: locale has been set to:C
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Sat Sep 29, 2012 14:32

The error occurs when a mob hist a player. For some reason a fix in object:punch() function dont work on some computers.
It works for me on linux and windows.
 

stormrider2
Member
 
Posts: 83
Joined: Thu Jun 02, 2011 21:13

by stormrider2 » Mon Oct 01, 2012 02:45

Maybe I can provide a bug fix? I'm a amateur programmer.
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Mon Oct 01, 2012 06:37

PilzAdam wrote:The error occurs when a mob hist a player. For some reason a fix in object:punch() function dont work on some computers.
It works for me on linux and windows.

My friend (he had the same bug before) tested it with latest build from sfan5 and it works perfectly.
 

User avatar
GJH105775
Member
 
Posts: 106
Joined: Thu Sep 27, 2012 16:11

by GJH105775 » Mon Oct 01, 2012 12:55

I would love for them to look more blocky.
Check out my mod xtrablocks, has some different types of marble that you can build with or mine at different depths

I am not here regularly as I just kind of pop in and out. If you want to find me I'll be on quadcopterforum.com helping with multirotor builds and spending other's money haha.

http://i10.photobucket.com/albums/a119/ ... hicons.jpg
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Mon Oct 01, 2012 14:32

GJH105775 wrote:I would love for them to look more blocky.

If you or someone else could give me textures i will gladly add them.
 

User avatar
Mito551
Member
 
Posts: 1271
Joined: Sat Jun 16, 2012 15:03

by Mito551 » Tue Oct 02, 2012 18:51

 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Tue Oct 02, 2012 19:34


It looks very nice!
But it has a too high resolution. It doesnt fit into the default game. 16x32 would be nice.
 

User avatar
Mito551
Member
 
Posts: 1271
Joined: Sat Jun 16, 2012 15:03

by Mito551 » Tue Oct 02, 2012 19:38

oh, uhm. I'm not sure about making it smaller. ok then. I'll add it in my dwarves game anyway. i switched from mobf to your mod:)
so, i want to make two suggestions:
1) 3d sheeps
2) more peaceful mobs (1-2)
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Wed Oct 03, 2012 07:46

Mito551 wrote:oh, uhm. I'm not sure about making it smaller. ok then. I'll add it in my dwarves game anyway. i switched from mobf to your mod:)
so, i want to make two suggestions:
1) 3d sheeps
2) more peaceful mobs (1-2)

I dont like 3D entities because they are ugly because they are not animated and 2D is also from the original 0.3. So I will keep 2D mobs.
If you have ideas for peacful mobs than post it here. But i dont add mobs that are copied from MC. I also need textures for them that fit into the default textures (16x16).
 

User avatar
Mito551
Member
 
Posts: 1271
Joined: Sat Jun 16, 2012 15:03

by Mito551 » Wed Oct 03, 2012 12:00

ok, got your point. ok, i'll think about it. what about bear? maybe horses? oh well, pigs, cows and sheeps are basic animals, there is nothing you can invent..
 

Alfino
Member
 
Posts: 32
Joined: Sun Sep 16, 2012 12:11

by Alfino » Wed Oct 03, 2012 13:50

How about wild version of MC animals, it's strange to look domestic animal roam freely in wild.
How about this :
  • pig => boar
  • cow => bull
  • chicken => junglefowl

also as wild animal, they have chance to attack you when you attack them first, it will make hunting animal more challenging because they can counterattack you.
Last edited by Alfino on Wed Oct 03, 2012 13:54, edited 1 time in total.
 

User avatar
Mito551
Member
 
Posts: 1271
Joined: Sat Jun 16, 2012 15:03

by Mito551 » Wed Oct 03, 2012 14:33

Alfino wrote:How about wild version of MC animals, it's strange to look domestic animal roam freely in wild.
How about this :
  • pig => boar
  • cow => bull
  • chicken => junglefowl

also as wild animal, they have chance to attack you when you attack them first, it will make hunting animal more challenging because they can counterattack you.


i was thinking about it. but you can't get milk from bull and chiken eggs from junglefowls..
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Wed Oct 03, 2012 15:17

I will add some animals if you give me the textures.
 

User avatar
Mito551
Member
 
Posts: 1271
Joined: Sat Jun 16, 2012 15:03

by Mito551 » Wed Oct 03, 2012 17:27

i ran into a problem, which i didn't notice, because i thought i was because i had enable damage ticked off. nope, lava does damage. mobs don't. what's wrong?
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Wed Oct 03, 2012 17:33

Mito551 wrote:i ran into a problem, which i didn't notice, because i thought i was because i had enable damage ticked off. nope, lava does damage. mobs don't. what's wrong?

Can you give more information. The mobs normally hurt you when they run towards you and stop in a range of 2 blocks.
 

User avatar
Mito551
Member
 
Posts: 1271
Joined: Sat Jun 16, 2012 15:03

by Mito551 » Wed Oct 03, 2012 17:40

PilzAdam wrote:
Mito551 wrote:i ran into a problem, which i didn't notice, because i thought i was because i had enable damage ticked off. nope, lava does damage. mobs don't. what's wrong?

Can you give more information. The mobs normally hurt you when they run towards you and stop in a range of 2 blocks.


yes, i understand that they *should* do exactly this. but they just don't. what kind of information do you need?
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Wed Oct 03, 2012 17:44

Mito551 wrote:
PilzAdam wrote:
Mito551 wrote:i ran into a problem, which i didn't notice, because i thought i was because i had enable damage ticked off. nope, lava does damage. mobs don't. what's wrong?

Can you give more information. The mobs normally hurt you when they run towards you and stop in a range of 2 blocks.


yes, i understand that they *should* do exactly this. but they just don't. what kind of information do you need?

Just give as much as you can. A video would be best, but i guess its not possible for you.
 

User avatar
Mito551
Member
 
Posts: 1271
Joined: Sat Jun 16, 2012 15:03

by Mito551 » Wed Oct 03, 2012 17:50

well. there is a monster. in the night. i walk to it. it runs after me, i run away. but when i stand, it approches me. and nothing happens. it just stands and stares

thank you for your quick responses.. i'm uploading a video right now.

the log says that i'm being attacked. damage is 0.

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
ACTION[ServerThread]: Player mitori punched by LuaEntitySAO at (-120.9,-18.275,-76.4098), damage 0 HP
Last edited by Mito551 on Wed Oct 03, 2012 18:34, edited 1 time in total.
 

User avatar
Mito551
Member
 
Posts: 1271
Joined: Sat Jun 16, 2012 15:03

by Mito551 » Wed Oct 03, 2012 18:11

 

Alfino
Member
 
Posts: 32
Joined: Sun Sep 16, 2012 12:11

by Alfino » Wed Oct 03, 2012 23:43

Mito551 wrote:i was thinking about it. but you can't get milk from bull and chiken eggs from junglefowls..


Of course you can. You can always get milk from any mammals and egg from any bird. It's just different then from domestic animal.
 

User avatar
Mito551
Member
 
Posts: 1271
Joined: Sat Jun 16, 2012 15:03

by Mito551 » Thu Oct 04, 2012 05:09

well. you can't get cow milk and chiken eggs and i stressed it out. and these products are mostly used for cooking.
 

Alfino
Member
 
Posts: 32
Joined: Sun Sep 16, 2012 12:11

by Alfino » Thu Oct 04, 2012 11:38

It's just suggestion btw, I'm not force u to do that. also it's can be done with simple method : Change the cow texture with bull and chicken texture with junglefowl and you get it.

The core idea is about animal counterattack. In minecraft cow just run away like chicken when you hit them, it's unrealistic (even domestic animal sometimes attack you, when you do something wrong with them). So the player must ready when the cow they hunt getting MAD.
 

leo_rockway
Member
 
Posts: 131
Joined: Tue Jul 31, 2012 20:37

by leo_rockway » Fri Oct 05, 2012 02:46

Mito551 wrote:well. there is a monster. in the night. i walk to it. it runs after me, i run away. but when i stand, it approches me. and nothing happens. it just stands and stares

thank you for your quick responses.. i'm uploading a video right now.

the log says that i'm being attacked. damage is 0.

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
ACTION[ServerThread]: Player mitori punched by LuaEntitySAO at (-120.9,-18.275,-76.4098), damage 0 HP


Same here, latest git for the mod, latest git for MT.

Also, what texture pack is that in your video? I like the dirt monster in particular.
Last edited by leo_rockway on Fri Oct 05, 2012 02:47, edited 1 time in total.
 

User avatar
Mito551
Member
 
Posts: 1271
Joined: Sat Jun 16, 2012 15:03

by Mito551 » Fri Oct 05, 2012 03:55

leo_rockway wrote:Also, what texture pack is that in your video? I like the dirt monster in particular.


that's the "Dwarves" game and texture pack, which comes with it. Click me!
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Fri Oct 05, 2012 12:45

leo_rockway wrote:
Mito551 wrote:well. there is a monster. in the night. i walk to it. it runs after me, i run away. but when i stand, it approches me. and nothing happens. it just stands and stares

thank you for your quick responses.. i'm uploading a video right now.

the log says that i'm being attacked. damage is 0.

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
ACTION[ServerThread]: Player mitori punched by LuaEntitySAO at (-120.9,-18.275,-76.4098), damage 0 HP


Same here, latest git for the mod, latest git for MT.

Also, what texture pack is that in your video? I like the dirt monster in particular.

Do you use a amor mod?
 

PreviousNext

Return to Mod Releases

Who is online

Users browsing this forum: Bing [Bot] and 18 guests

cron