Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → Unsyncing the player....
Unsyncing the player....
2003-11-11, 5:02 AM #1
I wanna see if something works, and I need to unsync the player. However, I don't notice any helpful flags in the Datamaster...

------------------
-Blessed Be-
I know it's the last day on earth,
We'll be together while the planet dies.

DBZ: The Destruction is Real
-Hell Raiser
2003-11-11, 10:03 AM #2
I dont think you can unsync the player...

------------------
Fight the future.
And when the moment is right, I'm gonna fly a kite.
2003-11-11, 11:56 AM #3
Here's a way! Make a door cog that is local, you open it and disappear, then come back and you'll be gone or unsynced from other players!

Code:
flags=0x240
symbols

message		activated

thing		door		

end
#
code
activated:
	If(GetSenderRef()!=door) return;
	if(IsServer())
	{
		MoveToFrame(door, 1, 8.0);
		Sleep(3.0);
		MoveToFrame(door, 0, 8.0);
		return;
	}
	Print("STAFF ONLY!!!");
return;
end

[http://forums.massassi.net/html/cool.gif]
Edward's Cognative Hazards
2003-11-11, 2:17 PM #4
[http://forums.massassi.net/html/confused.gif] How the F!!!, does that work? The players posistion would still be synced over the internet, JK coding. The only thing I would suggest you try is this, I dunno what this would do, just a quicky thing, but tell me if this does what you want and if you changed it.
Good job with the code tags. [http://forums.massassi.net/html/wink.gif]
Code:
# Jedi Knight Cog Script
#
# Removes the player from all other computeres
#
# [DP]
#
flags=0x240

symbols
message       respawn
message       trigger
end

code
Respawn:
   If(!IsMulti()) Return;
   If(GetSenderRef() != GetLocalPlayerThing()) Return;
   SendTrigger(-1, 100, GetSenderRef(), 0, 0, 0);
   Return;

Trigger:
   If(GetSourceRef() != 100) Return;
   If(GetSenderRef() == GetPlayerThing(GetParam(0))) Return;
   DestroyThing(GetParam(0));
   Return;
end
I'm not sure if this works or not, untested, but you should get the idea.

------------------
The Sniper Missions. Current project, The Sniper Missions

The Magician Saber System.

The 2 riddle!

[This message has been edited by Descent_pilot (edited November 11, 2003).]
Major projects working on:
SATNRT, JK Pistol Mod, Aliens TC, Firearms

Completed
Judgement Day (HLP), My level pack
2003-11-11, 4:20 PM #5
Could you create a controllable clone of the player, and keep it local? You sound like you want a system where someone could "stop time" or something, allowing them to move anywhere without anyone else being able to see where.

------------------
Bassoon, n. A brazen instrument into which a fool blows out his brains.
Bassoon, n. A brazen instrument into which a fool blows out his brains.
2003-11-12, 2:02 AM #6
No, I just wanna bypass JKs player syncing netcode.

Oh and DP, only the host can destroy other players from it's computer, and well, that'll boot them out of the game.

------------------
-Blessed Be-
I know it's the last day on earth,
We'll be together while the planet dies.

DBZ: The Destruction is Real

[This message has been edited by Hell Raiser (edited November 12, 2003).]
-Hell Raiser
2003-11-12, 4:49 PM #7
Quote:
<font face="Verdana, Arial" size="2">Originally posted by Emon:
Could you create a controllable clone of the player, and keep it local? You sound like you want a system where someone could "stop time" or something, allowing them to move anywhere without anyone else being able to see where.

</font>


Now how would THAT work!? That'd be cool, whatever it is.

JediKirby



------------------
"I was driving along listening to the radio, when Judas Priest comes on. It was 'You've got another thing coming.' All of a sudden, I enter 'VICE CITY RAMAGE MODE' and nearly ran some guy over"
- ]-[ellequin
ᵗʰᵉᵇˢᵍ๒ᵍᵐᵃᶥᶫ∙ᶜᵒᵐ
ᴸᶥᵛᵉ ᴼᵑ ᴬᵈᵃᵐ
2003-11-13, 5:33 AM #8
well basicaly, you would have to take the players orginal postion, save it, then make a new object based on teh players template, give the orginal player a collide of 0 and sucth, then use the cog to take the players vector, and trasfer it onto the 'newplayer' then, set the camra onto the 'newplayer' and use a pulse to continuously set the players vector onto the 'newplayer' and finaly when done take the newplayers position, and place the palyer there.

it would be simple to set it up so every tenth pulse the player is set to his starting postion, but that wont effect the new player.

(transfer the players vector, BEFORE you reset his postion.

------------------
I am pjb.
Another post......
another moment of my life wasted.....
at least i made a level.
PJB's JK page's

-the PJB jedi rule book-
rule one, "never trust a bartender with bad grammar"-kyle katarn in JO

Rule Two, "Gravity is a crule misstress" -kyle katarn in MotS, and the alternatior MK I in AJTD

rule three, "asprines good, but it hasent got the kick of morphine. and its not gonna stop the hurting in my arm, the ones thats on the otherside of the room i mean" -the alternatior
I am Darth PJB!
well, go on, run away!

i have a plastic lightsaber and a jedi cape.. am i a nerd?

If gravity is a crule mistress, and bar tenders with bad grammar are untrustworthy, what is air?
2003-11-14, 1:05 AM #9
Hellraiser, I dont think this is the solution you are looking for but I have seen some interesting result from people doing something like this:

Have all players (except the one you want to unsync) do this:

SetThingFlags(unsyncperson, 0x300);

If the player did it to himself he would freeze. Good Luck.

------------------
- Wisdom is 99% experience, 1% knowledge. -

[This message has been edited by The_New_Guy (edited November 14, 2003).]
- Wisdom is 99% experience, 1% knowledge. -
2003-11-14, 9:23 AM #10
Thanks HR for that knowledge, might come in handy...

------------------
The Sniper Missions. Current project, The Sniper Missions

The Magician Saber System.

The 2 riddle!
Major projects working on:
SATNRT, JK Pistol Mod, Aliens TC, Firearms

Completed
Judgement Day (HLP), My level pack

↑ Up to the top!