Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - TripNick

Pages: 1 ... 25 26 27 28 29 [30] 31
436
Modification Help / Re: Positions
« on: August 07, 2012, 09:41:24 PM »
Yeah. To make it circular you need to use sin and cosin to get the boundary requirements to make it circular. I can do it I just didn't include it in that example.

437
Modification Help / Re: Positions
« on: August 07, 2012, 09:18:39 PM »
If you're making a minimap, you'll need to do something like this:

Code: [Select]
%pos = vectorSub(%position, serverConnection.getControlObject());
%x = getWord(%pos,0);
%y = getWord(%pos,1);
%HUD = MyHud;
%centerx = getWord(%hud.extent,0)/2;
%centery = getWord(%hud.extent,1)/2;
%redDot = new guiBitmapCtrl()
{
bitmap = "./RedDot";
visible = 1;
};
%HUD.add(%redDot);
%redDot.position = %centerx + %x SPC %centery + %y;

This is really crude and won't be circular but that should be the basics. I don't see why not.

438
Modification Help / Re: For loop doesen't go over 2048?
« on: August 07, 2012, 08:26:40 PM »
Code: [Select]
int main(int argc, char* argv[])
{
        float i = 0;
        float iu3, iu2, iu1;
        while(1)
        {
                i += 0.00001;
                iu1 = 1/i;
                iu2 = 2/i;
                iu3 = 3/i;
                if(iu1==0.106 && iu2 == 0.0346 && iu3==0.0146)
                {
                        printf("FOUND!!!! %f\n", i);
                        return 1;
                }
        }
}

im nice so i'll run it in c++ on my server for you

edit: calculation ran, no such number. like phflack said.

439
Modification Help / Re: Getting the last character of any variable
« on: August 07, 2012, 02:43:47 PM »
%string is a local variable, after you hit enter it is cleared. You must do it on 1 line, or use $string instead of %string.

440
Modification Help / Re: Getting the last character of any variable
« on: August 07, 2012, 02:35:42 PM »

441
Modification Help / Re: Getting the last character of any variable
« on: August 07, 2012, 02:20:00 PM »
Code: [Select]
%string = "hello my last character is: %";
%lastCharacter = getSubStr(%string, strLen(%string)-1, 1);

442
Modification Help / Re: Music Mod (Help Needed)
« on: August 07, 2012, 02:18:16 PM »
Oh, there's your question. Yes, the BrickID will change each time it is remade unless a sequence of events identical to each load happens prior, no extra players can join, no people can die, no f8s can be used, etc. Each event that creates a new object will increase it's ID by 1.

443
Modification Help / Re: Trust Invite
« on: August 07, 2012, 02:14:43 PM »
Slicksilver555, Slicksilver, Rosli, TripleNickels, Triple Nickels, Slicks555, Slick555 and Dr. S are all banned accounts of mine.

Edit: oh lord, don't tell me it's because you want to keep the post count in that account at 555
OH stuff that is the coolest coincidence I've ever loving seen

444
Modification Help / Re: Trust Invite
« on: August 07, 2012, 02:11:49 PM »
Unrelated: are triplenickels and slicksilver the same person? Or do you just act similarly and have the same avatar
Same person. TripNick is a shortening of Triple Nickels, which stands for 3x"5" -> 555 -> [Slicksilver]555.

445
Modification Help / Re: Music Change
« on: August 07, 2012, 02:06:59 PM »
Code: [Select]
function fxDTSBrick::changeMusicDlg(%this, %client)
{
%client.wrenchBrick = %this;
commandToClient(%client, 'OpenWrenchSoundDlg', "Set Music");
}
registerOutputEvent("fxDTSBrick","changeMusicDlg","",1);

446
Modification Help / Re: Trust Invite
« on: August 07, 2012, 02:04:56 PM »
Furthermore, as Mold said right before me, serverCmdTrust_Invite(gameConnection, string, string) is likely the format for that command.

serverCmdTrust_Invite(findClientByName("NAT3"),"TripNick", 2); likely sends a full trust invite to me from you. I'm not 100% sure, just using logic.

447
Modification Help / Re: Music Mod (Help Needed)
« on: August 07, 2012, 02:02:47 PM »

Yes? Is there a reason bumped this topic to quote someone who's already posted in this topic?

448
Modification Help / Re: Trust Invite
« on: August 07, 2012, 01:59:09 PM »
It's an issue of semantics but I'd like to point out that "it kicked nothing" is an active tense sentence with the action "kicked" being done to the subject "nothing". If he had meant that nothing happened, he would have said "it didn't kick anything", or best, "no one was kicked".

449
Suggestions & Requests / Re: Blacklist IP from Joining
« on: August 07, 2012, 01:35:57 PM »
In the package, this is how you check the client's IP

I think.

%client.getRawIP();
This is correct.

Well said, I would have followed the same lines.

slick?
hey babe

450
Games / Re: extrude's DayZ server - US 1857
« on: August 07, 2012, 01:23:25 PM »
Liar, noone makes money from Penny Stocks ever.
This isn't true. Pseudo-financial advisors post alerts somewhat frequently that cause stock prices of penny stocks to jump, which you basically ride and sell at the peak. Last week there were three 100%+ gains off the particular one I use.

No, You just used slick's dad's credit card


Pages: 1 ... 25 26 27 28 29 [30] 31