Closed Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Stargate Spammer/Auto Dialer

  1. #1
    Wire Noob JonLeonTM's Avatar
    Join Date
    Dec 2008
    Posts
    14

    Cool Stargate Spammer/Auto Dialer

    Okay forgive me if my code is a bit messy with EXP2. Im new to this, and this is something I just recently wrote up out of boredom for a Stargate RP-Like-Setting.

    The point of it is to "spam" a target stargate so that there is always an incomming wormhole like seen in a few episodes of stargate SG-1.

    Code:
    ##Created By JonLeon in
    ##Another random 2:00AM(EST) Morning.
    ##Wire SG to Stargate -> Cheveron (my choice)
    ##Wire Button to a Button (I used a toggled one >=] )
    ##Wire from Stargate -> Dial to output Dial on Exp2
    ##Enjoy =]
    @name Gate Dialer
    @inputs Button SG
    @outputs Dial
    @persist C
    if (Button == 1) {On = 1}
    if (On == 1 & SG == 0 ) {
    
            interval(10) #Initial pause between Addresses
            C = C+1                      #Dials next Chev.
            if (C == 1) { Dial = 119 }   #W
            if (C == 2) { Dial = 97  }   #A
            if (C == 3) { Dial = 116 }   #T
            if (C == 4) { Dial = 101 }   #E
            if (C == 5) { Dial = 114 }   #R
            if (C == 6) { Dial = 115 }   #S
    
            if (C == 7) { Dial = 13}     #<ENTER>Dont Change
    
            if (C == 8)  {Dial = 0, C = 0, interval(1000)
    
    }
    
    #Added an interval at 8 so that it can take a pause
    #For the wormhole to establish before running
    #The Circuit Again.
    
    }
    
    #Here is the alphabet by Letter:Number
    #These are really lowercase but stargate loves them
    # A:97    B:98    C:99    D:100   E:101 
    # F:102   G:103   H:104   I:105   J:106
    # K:107   L:108   M:109   N:110   O:111
    # P:112   Q:113   R:114   S:115   T:116
    # U:117   V:118   W:119   X:120  
    # Y:121   Z:122   <ENTER>:13
    Yeah I guess my code is messy, but thats because of the years of playing GraalOnline with the old GScript. Its what im used to. >.< (Cept to comment then we could use // or /*
    have multi
    lines here
    */ )

    Any Feedback would be nice. I just thought I would share this.
    zearm.bounceme.net
    Join in my server some time. =] Teach and possibly be taught.
    GCOMBAT08, Stargate, Spacebuild Model Pack, PHX3 SVN. Recommended.

  2. #2
    Wire Sofaking Squeakyneb's Avatar
    Join Date
    May 2008
    Posts
    558

    Default Re: Stargate Spammer/Auto Dialer

    So that means no one else can use the stargate? muHAHAHAHA << thats an evil laugh, btw

    that also means anything near the gate gets repeatedly fried, right?

    Quote Originally Posted by Bull View Post
    I'm annoyed at having to use my keyboard when coding. Can someone please make voice-recognition so I can just talk?

  3. #3
    Banned Teh1337bix's Avatar
    Join Date
    Oct 2008
    Location
    gm_bigcity
    Posts
    445

    Default Re: Stargate Spammer/Auto Dialer

    I have given up on stargate. Stupid spammers and stupid ability to randomly lag the place.

  4. #4
    Wire Noob JonLeonTM's Avatar
    Join Date
    Dec 2008
    Posts
    14

    Default Re: Stargate Spammer/Auto Dialer

    Quote Originally Posted by Squeakyneb View Post
    So that means no one else can use the stargate? muHAHAHAHA << thats an evil laugh, btw

    that also means anything near the gate gets repeatedly fried, right?
    well yeah if the Kawoosh hits them and the iris is down.
    I use the Stargat overcharger.....basicly turns the targets stargate into a NUKE! >=]
    zearm.bounceme.net
    Join in my server some time. =] Teach and possibly be taught.
    GCOMBAT08, Stargate, Spacebuild Model Pack, PHX3 SVN. Recommended.

  5. #5
    Wirererer pl0x's Avatar
    Join Date
    Aug 2008
    Posts
    238

    Default Re: Stargate Spammer/Auto Dialer

    put the alphabet in the @persist and at the bottom replace the : with = and move it up so people can just write the actual address. And put numbers in it too.

  6. #6
    billywitchdoctor.com Whosdr's Avatar
    Join Date
    Dec 2008
    Posts
    2,300

    Default Re: Stargate Spammer/Auto Dialer

    Im not to sure but would this work?



    @name Gate Dialer
    @inputs Button SG
    @outputs Dial
    @persist C
    if (Button) {On}
    if (On & !SG) {

    interval(10)
    C += 1
    if (C == 1) { Dial = toByte("") }
    if (C == 2) { Dial = toByte("") }
    if (C == 3) { Dial = toByte("") }
    if (C == 4) { Dial = toByte("") }
    if (C == 5) { Dial = toByte("") }
    if (C == 6) { Dial = toByte("") }

    if (C == 7) { Dial = 13}

    if (C == 8) {Dial = 0, C = 0, interval(1000)}
    }

  7. #7
    billywitchdoctor.com Whosdr's Avatar
    Join Date
    Dec 2008
    Posts
    2,300

    Default Re: Stargate Spammer/Auto Dialer

    @name
    @inputs Stargate:wirelink
    @outputs
    @persist X Y
    @trigger all
    runOnChat(1)
    chatClk(owner())
    interval(10)
    if(lastSaid():explode(" "):string(1):upper() == "DIAL" & Y == 1) {
    Lastsaid=owner():lastSaid()
    S1 = toByte(Lastsaid,6)
    S2 = toByte(Lastsaid,7)
    S3 = toByte(Lastsaid,8)
    S4 = toByte(Lastsaid,9)
    S5 = toByte(Lastsaid,10)
    S6 = toByte(Lastsaid,11)

    if (X <= 7) {X += 1}
    }


    if (X == 1) {Stargate:setNumber("Dial Address",S1)}
    if (X == 2) {Stargate:setNumber("Dial Address",S2)}
    if (X == 3) {Stargate:setNumber("Dial Address",S3)}
    if (X == 4) {Stargate:setNumber("Dial Address",S4)}
    if (X == 5) {Stargate:setNumber("Dial Address",S5)}
    if (X == 6) {Stargate:setNumber("Dial Address",S6)}
    if (X == 7) {Stargate:setNumber("Dial Address",13)}
    if (X == 8) {X = -1 Y = 0}

    if (chatClk()) {Y = 1 Stargate:setNumber("Close",0)}

    if (Stargate:number("Active") == 1 & owner():lastSaid():upper() == "CLOSE") {Stargate:setNumber("Close",1)}




    ^my code for chat activated dialing. uses wirelink, and for some reason, if you say somthing after 'Dial ADRESS', it randomly closes.

  8. #8
    I think I think too much -HP-'s Avatar
    Join Date
    Feb 2009
    Location
    Behind you with a very sharp knife.
    Posts
    2,466

    Default Re: Stargate Spammer/Auto Dialer

    Instead of apamming it you can just wire disable autoclose to one.

  9. #9
    Wirererer Mujibar's Avatar
    Join Date
    Jan 2009
    Location
    Posts
    109

    Default Re: Stargate Spammer/Auto Dialer

    LOL good point there.

  10. #10
    Banned GalvazimGX's Avatar
    Join Date
    Sep 2008
    Posts
    159

    Default Re: Stargate Spammer/Auto Dialer

    sorry for the bump but do you guys know what the bye code is for the numbers for example, my address "GATE01" the 01 needs a byte code.

Closed Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Auto-Targeting, Auto-Firing Cruise missile launcher Tutorial.
    By Irish_Cereal in forum Gate Nostalgia (Old School Wiring) Discussion & Help
    Replies: 18
    Last Post: 07-12-2007, 01:51 PM
  2. Auto-targeting, Auto-firing Cruise Missile Launcher Video
    By Irish_Cereal in forum Finished contraptions
    Replies: 12
    Last Post: 05-14-2007, 07:09 AM
  3. Auto-targeting, Auto-firing Cruise Missile Launcher. :p
    By Irish_Cereal in forum Wiremod General Chat
    Replies: 5
    Last Post: 05-10-2007, 04:26 PM

Tags for this Thread

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