• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Guppy's Teleport Portal Mod

Yes, but you need to test with another player. It works fine for a single player, not multiple players when it comes to a single portal, from what I can see. I will ask him to check the code.

 
Hi, some more feedback, I'm using this mod on my server, which is running the Better Vanilla overall mod, so this might be a reason for not working.

Also, when I get a 1 way connection working, the status says connected, the other players see the portal as  not connected, so are unable to use it.

Also, naming conventions, what happens if we have all the portals unlocked, and the players have their own portals with the same name, when they try to select a destination, which one is chosen?

I have verified that this mod does work on a navegame map as the only mod, besides SCore. I guess the problems are due to the other mods.

 
I can't imagine why any mod would conflict but I don't know that other mod.

So the way the portal names work I believe is that it just goes next on the list.  I'm confirming with Sphereii.  I do have a feature request in with him to append the player name to the portal name in code to avoid any issues. 

 
2 placed portals.  A 3rd would get ignored.  Remove the 2nd, then 3rd becomes 2nd and a new one after that ignored. 

 
Saw the edit message and want to explain: Sites like that mod hosting site do not often contain the most recent information and updates.  It's always best to get info from the source, which is here. 

The gitlab link will or should always have the updated version but you may miss out on the features because sCore is what drives the mod.  My side is just xmls and unity assets.

Hope this helps others. 

 
So I am sure this is an extremely newb question.  I have placed the latest score mod and this portal mod in my mods folder.  The game is loading fine.  I see the "powered by score" logo.  What I am unsure of is how to find/make the portals.  

Are these things I can craft in the workbench? Or how do I obtain them?

 
I am new to 7 Days mods so maybe I am missing something.

Got 0-SCore and gupSCorePortals in the Mods folder. Start and new game is got an endless list of NullRefernceExeptions. Any ideas what could be wrong? 

https://1drv.ms/u/s!ArlkUcQdNIXhg8p1Q9VA1H7kxNM14g?e=Gh4IcP
Can you post that on something other than onedrive, maybe use Google drive?  Thanks. 

So I am sure this is an extremely newb question.  I have placed the latest score mod and this portal mod in my mods folder.  The game is loading fine.  I see the "powered by score" logo.  What I am unsure of is how to find/make the portals.  

Are these things I can craft in the workbench? Or how do I obtain them?
Oh good you're here too; so there are recipes, I believe I stuck them under advanced engineering but I'm sure I didn't test.  

 
Can you post that on something other than onedrive, maybe use Google drive?  Thanks. 

Oh good you're here too; so there are recipes, I believe I stuck them under advanced engineering but I'm sure I didn't test.  
Opening the workbench and I can find block with guppycurportal3. There are no other blocks with “portal” showing.  There is a recipe 150 forged steal; 50 mech parts and 50 elec parts.  The XML does indicate Advanced Engineering (looks like lvl5 required).  My skills are all maxed out so I should be able to craft. However, when I pick the item there are two odd behaviors.

the first is that unlike all other craftable items the “craft” line below the quantity line is missing.  Not grayed out when something is either locked or the material not present just missing altogether.  
 

The second is that the option to show what unlock the recipe is blank.  As in it doesn’t list “advanced engineering”. 
 

best guess is that something in the xml is not really pointing to “advanced engineering” even though it sort of looks like it is.

Is there some other to obtain the blocks?  

 
This is a link to a screenshot of what I see when I open the workbench and search on "portal" and select the one option

https://drive.google.com/file/d/12nuHdiyF7djuGuGLWnlGWTkct8Wz2xcO/view?usp=sharing

(the link is open so I think it should work)


Okay so I solved the crafting piece.  I modified your recipe XML to look like this:

<configs>

    <append xpath="/recipes">
    
        <recipe name="guppyFuturePortal3" count="1" craft_time="1200" craft_area="workbench" tags="learnable,workbenchCrafting" >
            <ingredient name="resourceForgedSteel" count="150"/>
            <ingredient name="resourceMechanicalParts" count="50"/>
            <ingredient name="resourceElectricParts" count="50"/>
            
        </recipe> 
    </append>

</configs>

Then I created a new XML file for the directory called "progression".  It looks like this.

<configs>
    <append xpath="/progression/perks/perk[@name='perkAdvancedEngineering']/effect_group/passive_effect[@level='5']/@tags">,guppyFuturePortal3</append>
</configs>

The key was the progression file as it adds the recipe as learnable I think. I am not a coder but technical enough to work stuff out occasionally.

 
Guppycur said:
Just tested on a dedicated server, same result.

Granted, you have to unlock BOTH sides, but that seems "right" to me anyway.


For others looking to make these work for multiple players.  My wife and I play co-op on the same server.  In order to make these work for both of us, both of us had to interact with both portals.  So when you place the first one.  Make sure one of you sets the name and the others at least interact with it in some way (i.e. use "e" in some fashion.  Then do the same thing on the other side.  There appears to be a need for each player to "know" where the portals are in order for them to be activated for each player.

 
Last edited by a moderator:
I definitely did not have that experience when testing.

I had one player build and use two portals and then the 2nd player had no problems using.  

 
I definitely did not have that experience when testing.

I had one player build and use two portals and then the 2nd player had no problems using.  


Do you recall if the 2nd player interacted with the first portal placed or the second?  This was our scenario.  I placed the first portal and named it but my wife never touched it.  We both flew 6km away to a few lvl5 buildings to set the 2nd portal.  I set the 2nd portal and named it the same name.  It activated and I was able to teleport back and forth without issue.  My wife however, could not use it as it wasn't activated on her side.  She could open the edit window but even that didn't activate it.  When she flew back to our base and interacted with the first portal everything worked great.  

 
Back
Top