Maybe It's a stupid question,but...

User avatar
linushsao
Member
 
Posts: 331
Joined: Mon Jan 27, 2014 12:56
IRC: linushsao
In-game: linus

Maybe It's a stupid question,but...

by linushsao » Tue Mar 04, 2014 16:14

Hi,all:

for my childs,I try to hack the code of NPC-TRADER of 「 [Mod] MOB Framework [2.3.6] [mobf]」 , so I need to check NPC-TRADER to comfirm my hack. But I always can't find He's location.

Is there any way to find where the NPC-TRADER is? I need NPC-TRADER's location,tkx...
1).My Server:Mars World
2).address:139.59.238.211:30016
3).manual(in processing):http://tinyurl.com/jyjkrgl
4).for my(admin's) role in all my servers,i'll be as the earth/water/fire/wind. i maintain that system,but not manage/touch players directly in game,not own the crafts on planet. i just keep watching the worlds.
 

User avatar
hoodedice
Member
 
Posts: 1372
Joined: Sat Jul 06, 2013 06:33

by hoodedice » Tue Mar 04, 2014 17:14

If you mean that you want to find out where the NPC trader is ingame, you need to spawn him first.
7:42 PM - Bauglio: I think if you go to staples you could steal firmware from a fax machine that would run better than win10 does on any platform
7:42 PM - Bauglio: so fudge the stable build
7:43 PM - Bauglio: get the staple build
 

User avatar
Casimir
Member
 
Posts: 1101
Joined: Fri Aug 03, 2012 16:59

by Casimir » Tue Mar 04, 2014 17:28

There is a command called "/spawnentity", just add the name of the trader as it is used in the mod.
 

Sokomine
Member
 
Posts: 2980
Joined: Sun Sep 09, 2012 17:31

by Sokomine » Tue Mar 04, 2014 19:06

linushsao wrote:for my childs,I try to hack the code of NPC-TRADER of 「 [Mod] MOB Framework [2.3.6] [mobf]」 , so I need to check NPC-TRADER to comfirm my hack. But I always can't find He's location.

What are you trying to do with the trader? The coordinates where the trader is can be obtained in diffrent ways. If you just want to find a trader on your map somewhere, there's no way but exploring (or spawning one). Traders that have not yet been spawned do not yet exist. If you want to access the trader's position from a mod, it depends on what you've got to start with.

Casimir wrote:There is a command called "/spawnentity", just add the name of the trader as it is used in the mod.

That would spawn him without his house. Better use "/builthouse <pos> <blueprintnumber> <mobname|optional>", i.e. "/buildhouse 0,0,0 0"

I'm working on a simplified version of a trader similar to that in mobf but without any dependencies.
A list of my mods can be found here.
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 7 guests

cron