[Mod] Peaceful NPC [1.8.5.2] [peaceful_npc]

User avatar
Inocudom
Member
 
Posts: 2889
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Thu Jan 03, 2013 21:33

Humans are what the player models are modeled after, so I picked boys and girls. I myself don't know how to rotate models, but have you tried asking the creator of the mod this mod is based on for help? The person might know how to get the npcs to face the right direction while they are moving.
 

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

by PilzAdam » Thu Jan 03, 2013 22:05

You shouldnt override the functions player_get_animations() and player_update_visuals() of the default minetest_game.
It causes that that players will get the same textures as your NPCs when the server doesnt use the player_textures mod.
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Thu Jan 03, 2013 22:13

PilzAdam wrote:You shouldnt override the functions player_get_animations() and player_update_visuals() of the default minetest_game.
It causes that that players will get the same textures as your NPCs when the server doesnt use the player_textures mod.

ok then how should i change it
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

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

by PilzAdam » Thu Jan 03, 2013 23:32

jojoa1997 wrote:
PilzAdam wrote:You shouldnt override the functions player_get_animations() and player_update_visuals() of the default minetest_game.
It causes that that players will get the same textures as your NPCs when the server doesnt use the player_textures mod.

ok then how should i change it

Rename the functions or make the local.
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Thu Jan 03, 2013 23:35

PilzAdam wrote:
jojoa1997 wrote:
PilzAdam wrote:You shouldnt override the functions player_get_animations() and player_update_visuals() of the default minetest_game.
It causes that that players will get the same textures as your NPCs when the server doesnt use the player_textures mod.

ok then how should i change it

Rename the functions or make the local.

thanks
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Fri Jan 04, 2013 01:31

1.6 is out.
here are the changes:
-Fixed bug in post 62
-added 4 textures
-changed hp to 50
-changed kill drop from mese crystal to mese block (so it is compatable with older games)
-added a compatable recipe for summoner and spawner (mese instead of crystals)
-changed mobspawnegg to npc summoner and it has a new texture
-now there are boys, girls, and animals
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Fri Jan 04, 2013 02:26

NOTICE:if you had spawneggs before the 1.6 update then you have to remake it into the new one the names are different.
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Fri Jan 04, 2013 02:33

github fixed:fix texture name bug
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Fri Jan 04, 2013 19:03

1.6.1 is out with some really good stuff. spawn command with the ability to spawn more than one at a time(you need the "peacefulnpc" priv), invisible fence,
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Fri Jan 04, 2013 21:44

1.6.2 out bug fix
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Sat Jan 05, 2013 02:47

1.6.3 is out. see changelog
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Sat Jan 05, 2013 04:36

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
--Spawn command
minetest.register_chatcommand("summonnpc", {
    description = "spawns a npc",
    privs = {peacefulnpc=true},
    func = function(name, param)
        local npcs_to_spawn = tonumber(param) or 1
        local player = minetest.env:get_player_by_name(name)
        local pos = player:getpos()
        local MAX_SPAWN = 15
        local active_npc_count = table.getn(minetest.env:get_objects_inside_radius(pos, 100))
        if active_npc_count == nil then
            active_npc_count = 0
    for n = 1, npcs_to_spawn do
        if active_npc_count <= MAX_SPAWN then
            minetest.env:add_entity({x=pos.x+math.random(-1,1),y=pos.y+math.random(2,3),z=pos.z+math.random(-1,1)}, ("peaceful_npc:npc"))
        else
        if active_npc_count >= 15 then
            minetest.chat_send_player(name, "The spawn limit is 15")
    end
})
code reminder
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Sat Jan 05, 2013 04:36

Donyt spawn over 15 or the game will crash
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Sat Jan 05, 2013 21:33

1.6.4 out
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

playzooki
Member
 
Posts: 232
Joined: Wed Oct 24, 2012 18:58

by playzooki » Sat Jan 05, 2013 21:37

21:29:03: INFO[main]: [peaceful_npc-master] ["C:\Users\me\Downloads\minetest-0.4.4-win32\minetest-0.4.4-win32\bin\..\games\minetest_game\mods\peaceful_npc-master\init.lua"]
21:29:03: ERROR[main]: Error loading mod "peaceful_npc-master": modname does not follow naming conventions: Only chararacters [a-z0-9_] are allowed.
21:29:03: ERROR[main]: Server: Failed to load and run C:\Users\me\Downloads\minetest-0.4.4-win32\minetest-0.4.4-win32\bin\..\games\minetest_game\mods\peaceful_npc-master\init.lua
21:29:03: INFO[main]: BanManager: saving to C:\Users\me\Downloads\minetest-0.4.4-win32\minetest-0.4.4-win32\bin\..\worlds\hi0.4.4\ipban.txt
21:29:03: ERROR[main]: ModError: Failed to load and run C:\Users\me\Downloads\minetest-0.4.4-win32\minetest-0.4.4-win32\bin\..\games\minetest_game\mods\peaceful_npc-master\init.lua
21:29:03: INFO[main]: Searching worlds...
21:29:03: INFO[main]: In C:\Users\me\Downloads\minetest-0.4.4-win32\minetest-0.4.4-win32\bin\..\worlds:
21:29:03: INFO[main]: hahalol hi0.4.4 I AM PUNCHING YOUR SALAD newwwww (invalid: skyblock_freestyle)
21:29:03: INFO[main]: 4 found.
21:29:03: INFO[main]: Waiting for other menus
21:29:03: INFO[main]: Waited for other menus
21:29:03: VERBOSE[main]: error_message = ModError: Failed to load and run C:\Users\me\Downloads\minetest-0.4.4-win32\minetest-0.4.4-win32\bin\..\games\minetest_game\mods\peaceful_npc-master\init.lua
21:29:03: VERBOSE[main]: Check debug.txt for details.
EDIT:Fixed.
Last edited by playzooki on Sat Jan 05, 2013 21:38, edited 1 time in total.
bad signature is bad
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Sat Jan 05, 2013 21:39

playzooki wrote:21:29:03: INFO[main]: [peaceful_npc-master] ["C:\Users\me\Downloads\minetest-0.4.4-win32\minetest-0.4.4-win32\bin\..\games\minetest_game\mods\peaceful_npc-master\init.lua"]
21:29:03: ERROR[main]: Error loading mod "peaceful_npc-master": modname does not follow naming conventions: Only chararacters [a-z0-9_] are allowed.
21:29:03: ERROR[main]: Server: Failed to load and run C:\Users\me\Downloads\minetest-0.4.4-win32\minetest-0.4.4-win32\bin\..\games\minetest_game\mods\peaceful_npc-master\init.lua
21:29:03: INFO[main]: BanManager: saving to C:\Users\me\Downloads\minetest-0.4.4-win32\minetest-0.4.4-win32\bin\..\worlds\hi0.4.4\ipban.txt
21:29:03: ERROR[main]: ModError: Failed to load and run C:\Users\me\Downloads\minetest-0.4.4-win32\minetest-0.4.4-win32\bin\..\games\minetest_game\mods\peaceful_npc-master\init.lua
21:29:03: INFO[main]: Searching worlds...
21:29:03: INFO[main]: In C:\Users\me\Downloads\minetest-0.4.4-win32\minetest-0.4.4-win32\bin\..\worlds:
21:29:03: INFO[main]: hahalol hi0.4.4 I AM PUNCHING YOUR SALAD newwwww (invalid: skyblock_freestyle)
21:29:03: INFO[main]: 4 found.
21:29:03: INFO[main]: Waiting for other menus
21:29:03: INFO[main]: Waited for other menus
21:29:03: VERBOSE[main]: error_message = ModError: Failed to load and run C:\Users\me\Downloads\minetest-0.4.4-win32\minetest-0.4.4-win32\bin\..\games\minetest_game\mods\peaceful_npc-master\init.lua
21:29:03: VERBOSE[main]: Check debug.txt for details.

is the folder named "peaceful_npc" without the quotations.
also if you ever see "-master" in a folder name delete it.
in the mod releases section if you look at the title [Mod] Peaceful NPC [1.6.4] [peaceful_npc] the [peaceful_npc] is usually what you name it without the [] of course
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

playzooki
Member
 
Posts: 232
Joined: Wed Oct 24, 2012 18:58

by playzooki » Sat Jan 05, 2013 21:59

WARNING: StaticObjectList::remove(): id=10 not found
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): object id=10 is known by clients; not deleting yet
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): deactivating object id=16 on inactive block (8,1,2)
21:54:33: VERBOSE[ServerThread]: LuaEntitySAO::getStaticData
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): object id=16 is known by clients; not deleting yet
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): deactivating object id=17 on inactive block (8,1,2)
21:54:33: VERBOSE[ServerThread]: LuaEntitySAO::getStaticData
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): object id=17 is known by clients; not deleting yet
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): deactivating object id=18 on inactive block (6,2,2)
21:54:33: VERBOSE[ServerThread]: LuaEntitySAO::getStaticData
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): object id=18 is known by clients; not deleting yet
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): deactivating object id=19 on inactive block (8,1,2)
21:54:33: VERBOSE[ServerThread]: LuaEntitySAO::getStaticData
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): object id=19 is known by clients; not deleting yet
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): deactivating object id=20 on inactive block (6,2,2)
21:54:33: VERBOSE[ServerThread]: LuaEntitySAO::getStaticData
21:54:33: ERROR[ServerThread]: ServerEnvironment::deactivateFarObjects(): id=20 m_static_exists=true but static data doesn't actually exist in (6,1,2)
WARNING: StaticObjectList::remove(): id=20 not found
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): object id=20 is known by clients; not deleting yet
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): deactivating object id=21 on inactive block (8,1,3)
21:54:33: VERBOSE[ServerThread]: LuaEntitySAO::getStaticData
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): object id=21 is known by clients; not deleting yet
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): deactivating object id=23 on inactive block (6,2,2)
21:54:33: VERBOSE[ServerThread]: LuaEntitySAO::getStaticData
21:54:33: ERROR[ServerThread]: ServerEnvironment::deactivateFarObjects(): id=23 m_static_exists=true but static data doesn't actually exist in (7,1,2)
WARNING: StaticObjectList::remove(): id=23 not found
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): object id=23 is known by clients; not deleting yet
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): deactivating object id=24 on inactive block (6,2,2)
21:54:33: VERBOSE[ServerThread]: LuaEntitySAO::getStaticData
21:54:33: ERROR[ServerThread]: ServerEnvironment::deactivateFarObjects(): id=24 m_static_exists=true but static data doesn't actually exist in (7,1,2)
WARNING: StaticObjectList::remove(): id=24 not found
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): object id=24 is known by clients; not deleting yet
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): deactivating object id=25 on inactive block (6,2,2)
21:54:33: VERBOSE[ServerThread]: LuaEntitySAO::getStaticData
21:54:33: INFO[main]: Client: avg_rtt=1.01687e-033
21:54:33: ERROR[ServerThread]: ServerEnvironment::deactivateFarObjects(): id=25 m_static_exists=true but static data doesn't actually exist in (7,1,2)
WARNING: StaticObjectList::remove(): id=25 not found
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): object id=25 is known by clients; not deleting yet
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): deactivating object id=26 on inactive block (6,2,2)
21:54:33: VERBOSE[ServerThread]: LuaEntitySAO::getStaticData
21:54:33: ERROR[ServerThread]: ServerEnvironment::deactivateFarObjects(): id=26 m_static_exists=true but static data doesn't actually exist in (8,1,2)
WARNING: StaticObjectList::remove(): id=26 not found
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): object id=26 is known by clients; not deleting yet
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): deactivating object id=27 on inactive block (6,2,2)
21:54:33: VERBOSE[ServerThread]: LuaEntitySAO::getStaticData
21:54:33: ERROR[ServerThread]: ServerEnvironment::deactivateFarObjects(): id=27 m_static_exists=true but static data doesn't actually exist in (8,1,2)
WARNING: StaticObjectList::remove(): id=27 not found
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): object id=27 is known by clients; not deleting yet
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): deactivating object id=29 on inactive block (6,2,2)
21:54:33: VERBOSE[ServerThread]: LuaEntitySAO::getStaticData
21:54:33: ERROR[ServerThread]: ServerEnvironment::deactivateFarObjects(): id=29 m_static_exists=true but static data doesn't actually exist in (8,1,2)
WARNING: StaticObjectList::remove(): id=29 not found
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): object id=29 is known by clients; not deleting yet
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): deactivating object id=30 on inactive block (6,2,2)
21:54:33: VERBOSE[ServerThread]: LuaEntitySAO::getStaticData
21:54:33: ERROR[ServerThread]: ServerEnvironment::deactivateFarObjects(): id=30 m_static_exists=true but static data doesn't actually exist in (7,2,3)
WARNING: StaticObjectList::remove(): id=30 not found
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): object id=30 is known by clients; not deleting yet
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): deactivating object id=33 on inactive block (6,2,2)
21:54:33: VERBOSE[ServerThread]: LuaEntitySAO::getStaticData
21:54:33: ERROR[ServerThread]: ServerEnvironment::deactivateFarObjects(): id=33 m_static_exists=true but static data doesn't actually exist in (7,2,3)
WARNING: StaticObjectList::remove(): id=33 not found
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): object id=33 is known by clients; not deleting yet
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): deactivating object id=35 on inactive block (6,2,2)
21:54:33: VERBOSE[ServerThread]: LuaEntitySAO::getStaticData
21:54:33: ERROR[ServerThread]: ServerEnvironment::deactivateFarObjects(): id=35 m_static_exists=true but static data doesn't actually exist in (7,1,2)
WARNING: StaticObjectList::remove(): id=35 not found
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): object id=35 is known by clients; not deleting yet
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): deactivating object id=36 on inactive block (6,2,2)
21:54:33: VERBOSE[ServerThread]: LuaEntitySAO::getStaticData
21:54:33: ERROR[ServerThread]: ServerEnvironment::deactivateFarObjects(): id=36 m_static_exists=true but static data doesn't actually exist in (7,1,2)
WARNING: StaticObjectList::remove(): id=36 not found
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): object id=36 is known by clients; not deleting yet
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): deactivating object id=43 on inactive block (6,2,2)
21:54:33: VERBOSE[ServerThread]: LuaEntitySAO::getStaticData
21:54:33: ERROR[ServerThread]: ServerEnvironment::deactivateFarObjects(): id=43 m_static_exists=true but static data doesn't actually exist in (8,1,2)
WARNING: StaticObjectList::remove(): id=43 not found
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): object id=43 is known by clients; not deleting yet
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): deactivating object id=44 on inactive block (6,2,2)
21:54:33: VERBOSE[ServerThread]: LuaEntitySAO::getStaticData
21:54:33: ERROR[ServerThread]: ServerEnvironment::deactivateFarObjects(): id=44 m_static_exists=true but static data doesn't actually exist in (7,2,4)
WARNING: StaticObjectList::remove(): id=44 not found
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): object id=44 is known by clients; not deleting yet
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): deactivating object id=45 on inactive block (6,2,2)
21:54:33: VERBOSE[ServerThread]: LuaEntitySAO::getStaticData
21:54:33: ERROR[ServerThread]: ServerEnvironment::deactivateFarObjects(): id=45 m_static_exists=true but static data doesn't actually exist in (8,1,2)
WARNING: StaticObjectList::remove(): id=45 not found
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): object id=45 is known by clients; not deleting yet
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): deactivating object id=4

Thats what you get for spawning 99
bad signature is bad
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Sat Jan 05, 2013 22:09

playzooki wrote:WARNING: StaticObjectList::remove(): id=10 not found
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): object id=10 is known by clients; not deleting yet
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): deactivating object id=16 on inactive block (8,1,2)
21:54:33: VERBOSE[ServerThread]: LuaEntitySAO::getStaticData
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): object id=16 is known by clients; not deleting yet
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): deactivating object id=17 on inactive block (8,1,2)
21:54:33: VERBOSE[ServerThread]: LuaEntitySAO::getStaticData
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): object id=17 is known by clients; not deleting yet
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): deactivating object id=18 on inactive block (6,2,2)
21:54:33: VERBOSE[ServerThread]: LuaEntitySAO::getStaticData
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): object id=18 is known by clients; not deleting yet
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): deactivating object id=19 on inactive block (8,1,2)
21:54:33: VERBOSE[ServerThread]: LuaEntitySAO::getStaticData
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): object id=19 is known by clients; not deleting yet
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): deactivating object id=20 on inactive block (6,2,2)
21:54:33: VERBOSE[ServerThread]: LuaEntitySAO::getStaticData
21:54:33: ERROR[ServerThread]: ServerEnvironment::deactivateFarObjects(): id=20 m_static_exists=true but static data doesn't actually exist in (6,1,2)
WARNING: StaticObjectList::remove(): id=20 not found
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): object id=20 is known by clients; not deleting yet
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): deactivating object id=21 on inactive block (8,1,3)
21:54:33: VERBOSE[ServerThread]: LuaEntitySAO::getStaticData
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): object id=21 is known by clients; not deleting yet
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): deactivating object id=23 on inactive block (6,2,2)
21:54:33: VERBOSE[ServerThread]: LuaEntitySAO::getStaticData
21:54:33: ERROR[ServerThread]: ServerEnvironment::deactivateFarObjects(): id=23 m_static_exists=true but static data doesn't actually exist in (7,1,2)
WARNING: StaticObjectList::remove(): id=23 not found
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): object id=23 is known by clients; not deleting yet
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): deactivating object id=24 on inactive block (6,2,2)
21:54:33: VERBOSE[ServerThread]: LuaEntitySAO::getStaticData
21:54:33: ERROR[ServerThread]: ServerEnvironment::deactivateFarObjects(): id=24 m_static_exists=true but static data doesn't actually exist in (7,1,2)
WARNING: StaticObjectList::remove(): id=24 not found
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): object id=24 is known by clients; not deleting yet
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): deactivating object id=25 on inactive block (6,2,2)
21:54:33: VERBOSE[ServerThread]: LuaEntitySAO::getStaticData
21:54:33: INFO[main]: Client: avg_rtt=1.01687e-033
21:54:33: ERROR[ServerThread]: ServerEnvironment::deactivateFarObjects(): id=25 m_static_exists=true but static data doesn't actually exist in (7,1,2)
WARNING: StaticObjectList::remove(): id=25 not found
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): object id=25 is known by clients; not deleting yet
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): deactivating object id=26 on inactive block (6,2,2)
21:54:33: VERBOSE[ServerThread]: LuaEntitySAO::getStaticData
21:54:33: ERROR[ServerThread]: ServerEnvironment::deactivateFarObjects(): id=26 m_static_exists=true but static data doesn't actually exist in (8,1,2)
WARNING: StaticObjectList::remove(): id=26 not found
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): object id=26 is known by clients; not deleting yet
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): deactivating object id=27 on inactive block (6,2,2)
21:54:33: VERBOSE[ServerThread]: LuaEntitySAO::getStaticData
21:54:33: ERROR[ServerThread]: ServerEnvironment::deactivateFarObjects(): id=27 m_static_exists=true but static data doesn't actually exist in (8,1,2)
WARNING: StaticObjectList::remove(): id=27 not found
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): object id=27 is known by clients; not deleting yet
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): deactivating object id=29 on inactive block (6,2,2)
21:54:33: VERBOSE[ServerThread]: LuaEntitySAO::getStaticData
21:54:33: ERROR[ServerThread]: ServerEnvironment::deactivateFarObjects(): id=29 m_static_exists=true but static data doesn't actually exist in (8,1,2)
WARNING: StaticObjectList::remove(): id=29 not found
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): object id=29 is known by clients; not deleting yet
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): deactivating object id=30 on inactive block (6,2,2)
21:54:33: VERBOSE[ServerThread]: LuaEntitySAO::getStaticData
21:54:33: ERROR[ServerThread]: ServerEnvironment::deactivateFarObjects(): id=30 m_static_exists=true but static data doesn't actually exist in (7,2,3)
WARNING: StaticObjectList::remove(): id=30 not found
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): object id=30 is known by clients; not deleting yet
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): deactivating object id=33 on inactive block (6,2,2)
21:54:33: VERBOSE[ServerThread]: LuaEntitySAO::getStaticData
21:54:33: ERROR[ServerThread]: ServerEnvironment::deactivateFarObjects(): id=33 m_static_exists=true but static data doesn't actually exist in (7,2,3)
WARNING: StaticObjectList::remove(): id=33 not found
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): object id=33 is known by clients; not deleting yet
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): deactivating object id=35 on inactive block (6,2,2)
21:54:33: VERBOSE[ServerThread]: LuaEntitySAO::getStaticData
21:54:33: ERROR[ServerThread]: ServerEnvironment::deactivateFarObjects(): id=35 m_static_exists=true but static data doesn't actually exist in (7,1,2)
WARNING: StaticObjectList::remove(): id=35 not found
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): object id=35 is known by clients; not deleting yet
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): deactivating object id=36 on inactive block (6,2,2)
21:54:33: VERBOSE[ServerThread]: LuaEntitySAO::getStaticData
21:54:33: ERROR[ServerThread]: ServerEnvironment::deactivateFarObjects(): id=36 m_static_exists=true but static data doesn't actually exist in (7,1,2)
WARNING: StaticObjectList::remove(): id=36 not found
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): object id=36 is known by clients; not deleting yet
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): deactivating object id=43 on inactive block (6,2,2)
21:54:33: VERBOSE[ServerThread]: LuaEntitySAO::getStaticData
21:54:33: ERROR[ServerThread]: ServerEnvironment::deactivateFarObjects(): id=43 m_static_exists=true but static data doesn't actually exist in (8,1,2)
WARNING: StaticObjectList::remove(): id=43 not found
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): object id=43 is known by clients; not deleting yet
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): deactivating object id=44 on inactive block (6,2,2)
21:54:33: VERBOSE[ServerThread]: LuaEntitySAO::getStaticData
21:54:33: ERROR[ServerThread]: ServerEnvironment::deactivateFarObjects(): id=44 m_static_exists=true but static data doesn't actually exist in (7,2,4)
WARNING: StaticObjectList::remove(): id=44 not found
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): object id=44 is known by clients; not deleting yet
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): deactivating object id=45 on inactive block (6,2,2)
21:54:33: VERBOSE[ServerThread]: LuaEntitySAO::getStaticData
21:54:33: ERROR[ServerThread]: ServerEnvironment::deactivateFarObjects(): id=45 m_static_exists=true but static data doesn't actually exist in (8,1,2)
WARNING: StaticObjectList::remove(): id=45 not found
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): object id=45 is known by clients; not deleting yet
21:54:33: VERBOSE[ServerThread]: ServerEnvironment::deactivateFarObjects(): deactivating object id=4

Thats what you get for spawning 99

Please update to the new version. It has the spawn limit set to 20.
This is for spawning with the command. If you want to set it higher go to line 511 "local MAX_SPAWN = 20" and change the number
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Sun Jan 06, 2013 17:10

The animation bug where the npcs walk sideways seems to be fixed. I think that when i had all the player_ in the code both codes for that animation from the player file and npc file mixed creating the sideways walking. when i fixed the naming the problem was solved unknowingly. If you experience this bug please tell me.
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Sun Jan 06, 2013 18:13

anyone have requests for what i should add next
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

markveidemanis
Member
 
Posts: 211
Joined: Thu Sep 27, 2012 15:41

by markveidemanis » Sun Jan 06, 2013 19:01

make it so you can right click your NPC and configure it.
configuration:
sit or not sit
stand still/follow players/given player
turn to face player
attack/entities/player.given player
*wander*
follow a predefined path --speed
execute chat commands
talk? - say [X] at a certain time
if in chat, [Y] is mentioned, do [action from the above}

--all for now--
BitCoin: 1Eq4arvykGNa1YC2DbJpWcwGfMvtFGjAoR
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Sun Jan 06, 2013 19:44

1.7 is out
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Sun Jan 06, 2013 19:45

markveidemanis wrote:make it so you can right click your NPC and configure it.
configuration:
sit or not sit
stand still/follow players/given player
turn to face player
attack/entities/player.given player
*wander*
follow a predefined path --speed
execute chat commands
talk? - say [X] at a certain time
if in chat, [Y] is mentioned, do [action from the above}

--all for now--

this wont be done for a while. i dont have this level of skill yet
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Mon Jan 07, 2013 01:31

1.7.1 is out with three pokemon one dragon and some aliases
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Mon Jan 07, 2013 11:15

I am gonna take a break from this mod because school is starting again but I will be working on a useful mod.
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
Likwid H-Craft
Member
 
Posts: 1113
Joined: Sun Jan 06, 2013 14:20

by Likwid H-Craft » Tue Jan 15, 2013 13:04

Well if you taking a break...I will like to have mine Avatar.

Likwid (Really his name is)
Image
My Domain's/others:
http://likwidtest.hj.cx/ (Not Done)
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Tue Jan 15, 2013 13:25

Likwid H-Craft wrote:Well if you taking a break...I will like to have mine Avatar.

Likwid (Really his name is)
Image

Sure will add it when I get home. Could you give me 2-4 more textures so I could actually make a worthy update
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Wed Jan 16, 2013 00:16

jojoa1997 wrote:
Likwid H-Craft wrote:Well if you taking a break...I will like to have mine Avatar.

Likwid (Really his name is)
Image

Sure will add it when I get home. Could you give me 2-4 more textures so I could actually make a worthy update

Please give me link to were you got it or use omploader i cant download that pic
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Wed Jan 16, 2013 00:49

re-download the mod because there was a texture bug that is now fixed
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
Likwid H-Craft
Member
 
Posts: 1113
Joined: Sun Jan 06, 2013 14:20

by Likwid H-Craft » Tue Feb 19, 2013 15:19

Wow I forgot my, NPC >.<
My Domain's/others:
http://likwidtest.hj.cx/ (Not Done)
 

PreviousNext

Return to Mod Releases

Who is online

Users browsing this forum: No registered users and 25 guests

cron