For direct access use https://forums.oldunreal.com
It's been quite a while since oldunreal had an overhaul, but we are moving to another server which require some updates and changes. The biggest change is the migration of our old reliable YaBB forum to phpBB. This system expects you to login with your username and old password known from YaBB.
If you experience any problems there is also the usual "password forgotten" function. Don't forget to clear your browser cache!
If you have any further concerns feel free to contact me: Smirftsch@oldunreal.com

What is use of ?peer

Unreal Unreal and more Unreal
Post Reply
User avatar
Leo T_C_K
OldUnreal Member
Posts: 3854
Joined: Sat Aug 27, 2005 6:24 pm

What is use of ?peer

Post by Leo T_C_K »

Seriously it has like no use or I dunno whwy it i even there, at teleporter URL, the teleporter code states this:

Code: Select all

//-----------------------------------------------------------------------------
// Teleporter URL can be one of the following forms:
//
// TeleporterName
//            Teleports to a named teleporter in this level.
//            if none, acts only as a teleporter destination
//
// LevelName/TeleporterName
//     Teleports to a different level on this server.
//
// Unreal://Server.domain.com/LevelName/TeleporterName
//     Teleports to a different server on the net.
//
The Levelname/Teleportname is the beta method, but it works if you use it and it works if you use levelname#teleportername too, but why is at most of maps ?peer in the end of it, it works even without the peer so wth....

EDIT: It seems the Peer has no use in the engine, unless Smirftsch will say it had some use, it seems peer was unused in final version of unreal, or they did not implement it.
Last edited by Leo T_C_K on Sat Jun 13, 2009 7:13 pm, edited 1 time in total.
User avatar
KillerSkaarj
OldUnreal Member
Posts: 935
Joined: Fri Jan 25, 2008 2:04 am

Re: What is use of ?peer

Post by KillerSkaarj »

Maybe ?peer is for net games?
User avatar
[]KAOS[]Casey
OldUnreal Member
Posts: 4497
Joined: Sun Aug 07, 2011 4:22 am
Location: over there

Re: What is use of ?peer

Post by []KAOS[]Casey »

there is a map that has no playerstart and the only way to enter it is through the previous level with the url of "eve/eve" and you can open it with eve/eve too. So theres probably an underlying cause to use ?peer, we just don't know it.
User avatar
Smirftsch
Administrator
Posts: 9001
Joined: Wed Apr 29, 1998 10:00 pm
Location: NaPali
Contact:

Re: What is use of ?peer

Post by Smirftsch »

actually of no real use.
Sometimes you have to lose a fight to win the war.
User avatar
Mister_Prophet
OldUnreal Member
Posts: 59
Joined: Thu Nov 27, 2008 1:52 am

Re: What is use of ?peer

Post by Mister_Prophet »

I've only used in the past because maps in Unreal did. I always assumed it was some way to transition maps together through a code string. But if you don't need it then I can only guess that it had some other purpose originally.
User avatar
[]KAOS[]Casey
OldUnreal Member
Posts: 4497
Joined: Sun Aug 07, 2011 4:22 am
Location: over there

Re: What is use of ?peer

Post by []KAOS[]Casey »

Interesting smirf.. wonder what it was supposed to be used for.

Teleporter only checks for / and # to switch level, so you could have a url as simple as MapName# or MapName/, but if it works like that i'm not sure.
User avatar
GreatEmerald
OldUnreal Member
Posts: 5347
Joined: Mon May 21, 2007 2:30 pm

Re: What is use of ?peer

Post by GreatEmerald »

I think I've read about it somewhere... Somewhere in TCUERG...
User avatar
Leo T_C_K
OldUnreal Member
Posts: 3854
Joined: Sat Aug 27, 2005 6:24 pm

Re: What is use of ?peer

Post by Leo T_C_K »

TCUERG?
User avatar
GreatEmerald
OldUnreal Member
Posts: 5347
Joined: Mon May 21, 2007 2:30 pm

Re: What is use of ?peer

Post by GreatEmerald »

The Complete UnrealEd Reference Guide.
User avatar
Leo T_C_K
OldUnreal Member
Posts: 3854
Joined: Sat Aug 27, 2005 6:24 pm

Re: What is use of ?peer

Post by Leo T_C_K »

Remember waht was said there? I never read that reference...
User avatar
[§Ŕ] ŤhěxĐâŕkśîđěŕ
OldUnreal Member
Posts: 4425
Joined: Wed Sep 03, 2008 8:19 am

Re: What is use of ?peer

Post by [§Ŕ] ŤhěxĐâŕkśîđěŕ »

It'd be moar clear if the maps had "?peer=something" at the end, not just "?peer". ;p
User avatar
TCP_Wolf
Administrator
Posts: 1078
Joined: Sun Mar 03, 2002 12:04 pm
Contact:

Re: What is use of ?peer

Post by TCP_Wolf »

AFAIK the peer parameter is exactly that: a given specific teleporter destination on the next map in line. This way, you can send someone to a specific start location on a connected map.

Works correctly only OFFLINE.

Usage examples:

"Na Pali Haven" to "Outpost 3J": in single player you spawn underwater in the water tube. In online / coop mode, you spawn right outside the water area.

"Noork's Elbow" to "Temple of Vandora": there are two entrances, one left, one right. You will spawn on the next map on whatever side you left before.
-=]HONESTY PAYS[=-
User avatar
Shivaxi
OldUnreal Member
Posts: 2232
Joined: Wed Mar 08, 2006 4:43 pm

Re: What is use of ?peer

Post by Shivaxi »

"Na Pali Haven" to "Outpost 3J": in single player you spawn underwater in the water tube. In online / coop mode, you spawn right outside the water area.
I don't think the ?peer applies for this transition. This is easily done with the playerstart underwater being bCoop=False and the playerstarts outside the water being bSinglePlayer=False...nothing special here :P

But for the transition from Noork to RUINS, it definitely applies there.
Image  Image
User avatar
Leo T_C_K
OldUnreal Member
Posts: 3854
Joined: Sat Aug 27, 2005 6:24 pm

Re: What is use of ?peer

Post by Leo T_C_K »

You are both wrong.

You spawn on different places also because of the teleporter with the proper tag (you don't need playerstart at all to spawn in a map where you go from to), peer has nothing to do with this and beta maps work this way as well and without peer and using the slash even...

And the teleporters once worked correctly online, on Zora's servers it is fixed and also....
And in beta in coop game it updated teleporters too...

Peer has nothing to do with that, it is the tag of the teleporter behind slash or # etc, I tested it...

And there is absolutelly no mention of peer in game files, I tried searching for the word, it only appears in upak in teleporter update thingy at intermission info and in other non teleporter comment or something. But it has no use. Mappers can easily forget peer at all.

Try it yourself, remove the peer and do some hub map or link it to some hub map, or a map with a lone teleporter and no playerstart, but be sure to specify the tag and add no peer, you will see it works perfectly.
Last edited by Leo T_C_K on Mon Jun 15, 2009 8:41 pm, edited 1 time in total.
Post Reply

Return to “Unreal General Forum”