Renegade Projects Network Forums

Full Version: The DLL Project
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6
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.
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.
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/

Guest

are you back now? cant wait for rp2 Smile
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...
I have both vista x32 and x64, and I would be hornerd to help you.
PM me if I can help at all!
~Dupl3xxx
Heh.
Trust me, if he wished to use it, he'd probably make his own. Wink
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.
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"
No, that won't happen...
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
(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.

Guest

^^ 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

new guy

This looks interesting....is there an estimated release date?
Pages: 1 2 3 4 5 6