Posts: 1 033
Threads: 38
Joined: 23 Jan 2005
Reputation:
pd Wrote:HouseClass:: Player() returns a pointer to the current player, sitting at the very computer. That's my point though. The code runs on both computers, right? So won't the Player() function return different players on each computer? This would mean that whenever I click, I own the spawned MCV, whereas my opponent thinks that he owns the spawned MCV, therefore desync. Unless the HousePlayer class is being inherited by your routine from the calling routine, and the calling routine has set up the class to be for the correct player?
Also, I assume that your routine does actually get called for my opponent who didn't click the mouse? - if it doesn't then I will get an MCV but my opponent doesn't see that an MCV has been spawned at all.
Ever wondered what the hell is going on?
Believe me friend you're not the only one.
--Lysdexia
Check out Launch Base for RA2/YR - http://marshall.strategy-x.com
Also home to the Purple Alert mod, 1.002 UMP, and the YR Playlist Manager.
Posts: 731
Threads: 61
Joined: 24 Jan 2005
Reputation:
Marshall Wrote:So won't the Player() function return different players on each computer? This would mean that whenever I click, I own the spawned MCV, whereas my opponent thinks that he owns the spawned MCV, therefore desync. No.
For every computer, the pointer to its respective HouseClass is stored here.
The pointer gets read, and the unit will be created using that pointer.
If you click, it will be created with HouseClass #1 globally, which is stored in your local Player pointer.
If your buddy clicks, the unit will be created with HouseClass #2 globally which is stored in his local Player pointer.
This is exactly how the original game does it, don't worry about it.
All "my routine" does is read from memory btw, I didn't code anything up myself really. It's just a function rather than a static variable to assure you always get the current pointer, in case you left the game and it changed.
Posts: 731
Threads: 61
Joined: 24 Jan 2005
Reputation:
Just to keep you informed, again, I'm having a little break from this, this time I got a reason though.
My favorite UT2004 server was moved to a new place, and I was chosen to be the new Game Admin despite the fact nobody knows me in that community.
So you can guess what I'm doing now, trying to get into that spot and into that community so people can acknowledge me as a trustworthy new Admin.
In case anyone's interested, the server I'm talking about is the Titan RPG VCTF server, which now belongs to the Big Battle Servers:
http://bigbattleservers.com/
are you back now? cant wait for rp2
Posts: 731
Threads: 61
Joined: 24 Jan 2005
Reputation:
There are compability problems with Vista I'm trying to solve right now.
Probably a good thing that I changed here, would have never noticed...
Posts: 13
Threads: 2
Joined: 18 Jul 2007
Reputation:
I have both vista x32 and x64, and I would be hornerd to help you.
PM me if I can help at all!
~Dupl3xxx
Posts: 397
Threads: 48
Joined: 15 Apr 2007
Reputation:
Posts: 731
Threads: 61
Joined: 24 Jan 2005
Reputation:
Heh.
Trust me, if he wished to use it, he'd probably make his own.
Posts: 397
Threads: 48
Joined: 15 Apr 2007
Reputation:
His own Syringe? He'll never catch up! VK is an lonely egoistic developer, he'll never manage to make this thing as wonderful as you.
Posts: 379
Threads: 23
Joined: 29 May 2008
Reputation:
pd Wrote:Heh.
Trust me, if he wished to use it, he'd probably make his own.
Or just rip yours off and call it summat like "OMG TEH DLL HAXZORZ!!11eleventyone"
MRMIdAS: No longer allowed to criticise Westwood on PPM
Posts: 397
Threads: 48
Joined: 15 Apr 2007
Reputation:
Posts: 2
Threads: 1
Joined: 6 Feb 2009
Reputation:
Hello guys,
i've some questions because its a long time ago where i was on this site here.
The last thing that i've readed is that pd doesn't work longer on rockpatch 2
But now i've readed the new posts about spotlights and other features from the project called "ares". My questions are now:
What is ares? It's the DLL Project?
Where can i find the downloadlink to use the new features?
Can i find a tutorial or so?
I cant create new threats therefore i've posted on this here, i hope that somebody can help me.
Sorry for my english, i'm a german, but i think my text is understandable^^
I thank u all so much
greetings gravity
Posts: 379
Threads: 23
Joined: 29 May 2008
Reputation:
(06.02.2009, 00:55:51)gravity20m Wrote: What is ares? It's the DLL Project? yes
(06.02.2009, 00:55:51)gravity20m Wrote: Where can i find the downloadlink to use the new features? you can't, it's not released to the public yet
(06.02.2009, 00:55:51)gravity20m Wrote: Can i find a tutorial or so? one will come when it is released.
MRMIdAS: No longer allowed to criticise Westwood on PPM
^^ thanks alot for the infos. I love it to read that the project isnt dead ^^
So i have to wait for the first release^^
Thanks again
This looks interesting....is there an estimated release date?
|