+ Reply to Thread
Page 30 of 40 FirstFirst ... 202829303132 ... LastLast
Results 291 to 300 of 399

Thread: Expression Gate Documentation

  1. #291
    Wire Noob Frogotten_One's Avatar
    Join Date
    Jun 2008
    Posts
    18

    Default Re: Expression Gate Documentation

    Ok i had this ship for spacebuild and random people keep stealing it from me. (using that evil grabber trick to get past prop protection) I want it so any duped copies will not work for them. I wanted to have an expression gate to do this. I want to expression gate to reconize it is me with a clientside if possible.
    An example would be changing a variable like CS to 1

    interval(500)
    first()->concommand('ClientsideActivation') end;
    CS==0->concommand('Undo');

  2. #292
    Wire Noob draeath's Avatar
    Join Date
    Jan 2008
    Posts
    24

    Default Re: Expression Gate Documentation

    Quote Originally Posted by Frogotten_One View Post
    Ok i had this ship for spacebuild and random people keep stealing it from me. (using that evil grabber trick to get past prop protection) I want it so any duped copies will not work for them. I wanted to have an expression gate to do this. I want to expression gate to reconize it is me with a clientside if possible.
    An example would be changing a variable like CS to 1

    interval(500)
    first()->concommand('ClientsideActivation') end;
    CS==0->concommand('Undo');
    Hmm. Dunno. But I know if you use a CPU, the program has to be loaded after duplication (it doesn't save with the dupe) which would, essentially, ensure that any dupe they have is useless.

  3. #293
    Wire Noob Frogotten_One's Avatar
    Join Date
    Jun 2008
    Posts
    18

    Default Re: Expression Gate Documentation

    well for what im doing the cpu would be very annoying to use since it seems to execute code at random speeds and cannot find its own gps position or velocity. Also with the expression gate, the enitre dupe including the parts will be prevented from copying

  4. #294
    Expressionism 2.0 Syranide's Avatar
    Join Date
    Mar 2007
    Location
    Sweden
    Posts
    4,573

    Default Re: Expression Gate Documentation

    Quote Originally Posted by Frogotten_One View Post
    well for what im doing the cpu would be very annoying to use since it seems to execute code at random speeds and cannot find its own gps position or velocity. Also with the expression gate, the enitre dupe including the parts will be prevented from copying
    Adding a clientside would help nothing as everyone would then use it, meaning it wouldn't prevent anything. However, we discussed this in another thread, you could always add an expression that checks it position all the time, and if it makes a sudden very fast movement then it has been copied. Initiate a countdown and unless the user presses a button in x seconds it will continously run "kill"/"undo" in the console or similar. Or spam the console with something that gets him kicked, or it could simply be used as an deactivation mechanism, requiring the user to input a password or so before it starts, it could be bypassed, by the mingebags hardly know how.

  5. #295
    Lifetime Supporter shadowkeeper's Avatar
    Join Date
    Jul 2007
    Location
    Heffen, Belgium
    Posts
    478

    Default Re: Expression Gate Documentation

    Quote Originally Posted by draeath View Post
    "~" isn't really explained in the first post... or am I missing something? What is "~" and how/why do you use it?

    EDIT: Nevermind, it's used and talked about WAY before it's defined. :?

    EDIT again: The following is referenced but doesn't make sense - is there a character not displayed?:

    Also here:
    Yes there is a missing symbol there: "$"
    Apparantly a bug in the forum software removed anything that starts with "$" for a while, this meant that "Angle" would work but "$Angle" would vanish.

    Testing if bug is still there: $Angle $Yaw $Pitch

    Edit: no it isn't hurah, edited rest of post accordingly
    I am nowhere, yet I am everywhere, I am the eyes that don't see but see all, I am therefore I live


  6. #296
    Wire Noob Frogotten_One's Avatar
    Join Date
    Jun 2008
    Posts
    18

    Default Re: Expression Gate Documentation

    Quote Originally Posted by Syranide View Post
    Adding a clientside would help nothing as everyone would then use it, meaning it wouldn't prevent anything. However, we discussed this in another thread, you could always add an expression that checks it position all the time, and if it makes a sudden very fast movement then it has been copied.
    A clienside should stop people from using it since none of the other people would have this clienside. If they tried to write one, they would not know what variable to change. Also I don't see how checking its position would tell you if the expression gate was duped, since the values for its current variables will not be saved from the origional.
    Last edited by Frogotten_One; 07-31-2008 at 11:32 AM.

  7. #297
    Expressionism 2.0 Syranide's Avatar
    Join Date
    Mar 2007
    Location
    Sweden
    Posts
    4,573

    Default Re: Expression Gate Documentation

    Quote Originally Posted by Frogotten_One View Post
    A clienside should stop people from using it since none of the other people would have this clienside. If they tried to write one, they would not know what variable to change. Also I don't see how checking its position would tell you if the expression gate was duped, since the values for its current variables will not be saved from the origional.
    If they can't bypass a simple "CS == 1" in the e-gate, then they can't bypass anything else you come up with, which defeats the whole purpose. And even if I would do it, the server must have it, it doesn't matter what you egate version you have.

  8. #298
    Wire Noob draeath's Avatar
    Join Date
    Jan 2008
    Posts
    24

    Default Re: Expression Gate Documentation

    Quote Originally Posted by Frogotten_One View Post
    If they tried to write one, they would not know what variable to change.
    Well, they WOULD know what variable to set, as it's right there in your expression code.

  9. #299
    Wire Noob rasengan572's Avatar
    Join Date
    Feb 2008
    Posts
    1

    Default Re: Expression Gate Documentation

    is this a valid line?
    WBearing = (floor(Bearing))
    I created a fake variable input (WBearing).
    The Bearing of a beacon sensor is always being rounded down.

    Thanks in advance

  10. #300
    Wire Noob DanishDuckling's Avatar
    Join Date
    May 2007
    Posts
    7

    Default Re: Expression Gate Documentation

    I'm not sure if this is the right place.
    but, Im having some problems with the exp chip.

    Whenever I try and create one, I can't seem to get the Q menu to go away again, after selecting a text field in the stool menu.

    and, when I press the validate button, it removes all lines besides the first one, for some unknown reason. I just recently cleaned my gmod, got the latest revision of wiremod from svn, and still had the problem.

+ Reply to Thread
Page 30 of 40 FirstFirst ... 202829303132 ... LastLast

Similar Threads

  1. !!!OLD!!! Documentation of hi-speed devices
    By Black Phoenix in forum CPU, GPU, and Hi-speed Discussion & Help
    Replies: 98
    Last Post: 02-10-2011, 07:41 PM
  2. !!!OLD!!! ZGPU Documentation
    By Black Phoenix in forum CPU, GPU, and Hi-speed Discussion & Help
    Replies: 38
    Last Post: 11-29-2010, 04:54 PM
  3. !!!OLD!!! ZCPU Documentation
    By Black Phoenix in forum CPU, GPU, and Hi-speed Discussion & Help
    Replies: 144
    Last Post: 09-05-2010, 03:46 AM
  4. Moongate Documentation
    By BlackNecro in forum Wiremod Addons & Coding
    Replies: 24
    Last Post: 04-22-2009, 01:32 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
proceed-collector
proceed-collector
proceed-collector
proceed-collector
linguistic-parrots
linguistic-parrots
linguistic-parrots
linguistic-parrots