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

Thread: Stargate Spammer/Auto Dialer

  1. #1
    Wire Noob JonLeonTM is on a distinguished road JonLeonTM's Avatar
    Join Date
    Dec 2008
    Posts
    13

    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.
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!

  2. #2
    Wirererer Squeakyneb will become famous soon enough Squeakyneb's Avatar
    Join Date
    May 2008
    Posts
    322

    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?

    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!

  3. #3
    Wirererer Teh1337bix is an unknown quantity at this point Teh1337bix's Avatar
    Join Date
    Oct 2008
    Location
    gm_bigcity
    Posts
    240

    Default Re: Stargate Spammer/Auto Dialer

    I have given up on stargate. Stupid spammers and stupid ability to randomly lag the place.
    This is a sig.
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!

  4. #4
    Wire Noob JonLeonTM is on a distinguished road JonLeonTM's Avatar
    Join Date
    Dec 2008
    Posts
    13

    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.
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!

  5. #5
    Lurker pl0x is an unknown quantity at this point pl0x's Avatar
    Join Date
    Aug 2008
    Posts
    222

    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.
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!

  6. #6
    Wire Sofaking Whosdr will become famous soon enough Whosdr's Avatar
    Join Date
    Dec 2008
    Posts
    1,382

    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)}
    }
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!

  7. #7
    Wire Sofaking Whosdr will become famous soon enough Whosdr's Avatar
    Join Date
    Dec 2008
    Posts
    1,382

    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.
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!

  8. #8
    no brain, no headache

    -HP- has a spectacular aura about -HP- has a spectacular aura about -HP-'s Avatar
    Join Date
    Feb 2009
    Location
    Behind you with a very sharp knife.
    Posts
    1,225

    Default Re: Stargate Spammer/Auto Dialer

    Instead of apamming it you can just wire disable autoclose to one.
    sry 4 my bad spelign, but enligh is my 2 langage


    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!

  9. #9
    Wire Amateur Mujibar is on a distinguished road Mujibar's Avatar
    Join Date
    Jan 2009
    Posts
    57

    Default Re: Stargate Spammer/Auto Dialer

    LOL good point there.
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!

  10. #10
    Wirererer GalvazimGX is on a distinguished road GalvazimGX's Avatar
    Join Date
    Sep 2008
    Posts
    118

    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.
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!

Closed Thread
Page 1 of 2
1 2 LastLast

Similar Threads

  1. Stargate Auto Dialer Change Values
    By meeces2911 in forum Advanced Gates
    Replies: 4
    Last Post: 01-08-2008, 03:48 AM
  2. Stargate Expression Dialer
    By Brian4120 in forum Advanced Gates
    Replies: 4
    Last Post: 11-20-2007, 03:05 PM
  3. Auto-Targeting, Auto-Firing Cruise missile launcher Tutorial.
    By Irish_Cereal in forum Wiremod Tutorials
    Replies: 18
    Last Post: 07-12-2007, 12:51 PM
  4. Auto-targeting, Auto-firing Cruise Missile Launcher Video
    By Irish_Cereal in forum Contraptions & Saves
    Replies: 12
    Last Post: 05-14-2007, 06:09 AM
  5. Auto-targeting, Auto-firing Cruise Missile Launcher. :p
    By Irish_Cereal in forum Wiremod General Chat
    Replies: 5
    Last Post: 05-10-2007, 03: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