Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
The DLL Project
#61
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.
Reply
#62
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. Smile
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.
[Image: jsfml.png]
Reply
#63
Just to keep you informed, again, I'm having a little break from this, this time I got a reason though. Wink

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/
[Image: jsfml.png]
Reply
#64
are you back now? cant wait for rp2 Smile
Reply
#65
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...
[Image: jsfml.png]
Reply
#66
I have both vista x32 and x64, and I would be hornerd to help you.
PM me if I can help at all!
~Dupl3xxx
Reply
#67
Random notice: http://forums.revora.net/index.php?showt...t&p=606494
[Image: osen2o7mpmm4jg1fs0.jpg]
Reply
#68
Heh.
Trust me, if he wished to use it, he'd probably make his own. Wink
[Image: jsfml.png]
Reply
#69
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.
[Image: osen2o7mpmm4jg1fs0.jpg]
Reply
#70
pd Wrote:Heh.
Trust me, if he wished to use it, he'd probably make his own. Wink

Or just rip yours off and call it summat like "OMG TEH DLL HAXZORZ!!11eleventyone"
[Image: MRMIdAS2k.jpg]
MRMIdAS: No longer allowed to criticise Westwood on PPM
Reply
#71
No, that won't happen...
[Image: osen2o7mpmm4jg1fs0.jpg]
Reply
#72
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
Reply
#73
(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.
[Image: MRMIdAS2k.jpg]
MRMIdAS: No longer allowed to criticise Westwood on PPM
Reply
#74
^^ 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
Reply
#75
This looks interesting....is there an estimated release date?
Reply




Users browsing this thread: 1 Guest(s)