Wiremod Forums  

Go Back   Wiremod Forums > Wiremod Adv. Skills > Custom Gates

Custom Gates For all your custom wiremod gates.

Reply
 
LinkBack Thread Tools Display Modes
Old 12-14-2008   #1 (permalink)
Inactive
 
JonLeonTM's Avatar
 
Join Date: Dec 2008
Posts: 13
JonLeonTM is on a distinguished road
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.
JonLeonTM is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-15-2008   #2 (permalink)
Wirererer
Points: 1,499, Level: 21 Points: 1,499, Level: 21 Points: 1,499, Level: 21
Activity: 1% Activity: 1% Activity: 1%
 
Squeakyneb's Avatar
 
Join Date: May 2008
Posts: 268
Squeakyneb is on a distinguished road
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 Syranide View Post
if(ChangeInAltitude > 200) {
# HOLY SHIT!
} else {
# Calm down...
}


Squeakyneb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-15-2008   #3 (permalink)
Wirererer
Points: 1,173, Level: 18 Points: 1,173, Level: 18 Points: 1,173, Level: 18
Activity: 2% Activity: 2% Activity: 2%
 
Teh1337bix's Avatar
 
Join Date: Oct 2008
Location: Somewhere between Mars and Venus.
Posts: 141
Teh1337bix is an unknown quantity at this point
Default Re: Stargate Spammer/Auto Dialer

I have given up on stargate. Stupid spammers and stupid ability to randomly lag the place.
__________________
Oh noes, I just realized I have an addiction to "Scotch Finger Biscuits".
ಠ_ಠ
Wiremod.com web ranking!
Quote:
Originally Posted by Andrewkid View Post
I can't show you right now as my mom is my gaming computer.
Teh1337bix is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-15-2008   #4 (permalink)
Inactive
 
JonLeonTM's Avatar
 
Join Date: Dec 2008
Posts: 13
JonLeonTM is on a distinguished road
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.
JonLeonTM is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-07-2009   #5 (permalink)
Wirererer
Points: 1,057, Level: 17 Points: 1,057, Level: 17 Points: 1,057, Level: 17
Activity: 5% Activity: 5% Activity: 5%
 
pl0x's Avatar
 
Join Date: Aug 2008
Posts: 205
pl0x is an unknown quantity at this point
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.
pl0x is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-01-2009   #6 (permalink)
Wirererer
Points: 781, Level: 14 Points: 781, Level: 14 Points: 781, Level: 14
Activity: 36% Activity: 36% Activity: 36%
 
Whosdr's Avatar
 
Join Date: Dec 2008
Posts: 227
Whosdr is on a distinguished road
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)}
}
Whosdr is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-01-2009   #7 (permalink)
Wirererer
Points: 781, Level: 14 Points: 781, Level: 14 Points: 781, Level: 14
Activity: 36% Activity: 36% Activity: 36%
 
Whosdr's Avatar
 
Join Date: Dec 2008
Posts: 227
Whosdr is on a distinguished road
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.
Whosdr is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-01-2009   #8 (permalink)
Wire Sofaking
Points: 2,012, Level: 27 Points: 2,012, Level: 27 Points: 2,012, Level: 27
Activity: 25% Activity: 25% Activity: 25%
 
-HP-'s Avatar
 
Join Date: Feb 2009
Location: Behind you with a very sharp knife.
Posts: 570
-HP- is on a distinguished road
Default Re: Stargate Spammer/Auto Dialer

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

Get me to one thousand!

0.999... == 1


▲ ▲

What? Google Chrome? No way, Safari 4 is the shit!
-HP- is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-01-2009   #9 (permalink)
Wire Noob
Points: 401, Level: 8 Points: 401, Level: 8 Points: 401, Level: 8
Activity: 0% Activity: 0% Activity: 0%
 
Mujibar's Avatar
 
Join Date: Jan 2009
Posts: 17
Mujibar is on a distinguished road
Default Re: Stargate Spammer/Auto Dialer

LOL good point there.
Mujibar is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Tags
stargate auto dailer

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Stargate Auto Dialer Change Values meeces2911 Advanced Gates 4 01-08-2008 03:48 AM
Stargate Expression Dialer Brian4120 Advanced Gates 4 11-20-2007 03:05 PM
Auto-Targeting, Auto-Firing Cruise missile launcher Tutorial. Irish_Cereal Wiremod Tutorials 18 07-12-2007 12:51 PM
Auto-targeting, Auto-firing Cruise Missile Launcher Video Irish_Cereal Contraptions & Saves 12 05-14-2007 06:09 AM
Auto-targeting, Auto-firing Cruise Missile Launcher. :p Irish_Cereal Wiremod General Chat 5 05-10-2007 03:26 PM


All times are GMT -7. The time now is 05:59 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0
Ad Management plugin by RedTyger
adjunct
adjunct
adjunct
adjunct
gilt
gilt
gilt
gilt
gallery
gallery
gallery
gallery