Seite 2 von 3 ErsteErste 123 LetzteLetzte
Ergebnis 11 bis 20 von 24

Thema: Wire Expression 2

  1. #11
    Avatar von Fighter_Zero
    Registriert seit
    01.02.2008
    Ort
    In your Ass <3

    Standard AW: Wire Expression 2

    Hmm ok das ist relativ einfach, Xasir hat das gleiche mit einem automatischen betanken. Add mich mal in Steam ich muss mir das mal Life ansehen und dann kann ich dir in ich schätze mal 5min das Scrißt vorlegen.
    Zitat Zitat von Golo
    So sieht man mal wieder das Gmod.de kein vernümpftigen support leistet somit wurden die kunden verarscht daher werde ich mir in zukunft auch nur noch gecrackte sachen Holen ...

  2. #12

    Standard AW: Wire Expression 2

    Wie heißt in steam mich kannst ja auhc adden "Crashedmaster" mein steam name

  3. #13

    Standard AW: Wire Expression 2

    Währe nice, wenn man mir den Quellcode auch mal schickt, möchte auch sowas machen, bin auch mittlerweile auf nem Spaceage Server.

  4. #14

  5. #15

    Standard AW: Wire Expression 2

    Wenns noch jemand braucht hier nen Miner Code.
    Er ist von Nooobody
    Code:
    @name Minercode By Nooobody
    @inputs HD:wirelink Ore Oremax Energy Energymax Scan
    @outputs Scanner Lasers
    @persist [Roid E]:entity LS:string Home:vector 
    @persist Value Jump Jumped OrePercent Run DOrePercent OldOrePercent OnNow Minutes Seconds
    @persist EnergyLeft DEnergy Time TIME OldScan Percent PercentStat Global
    if (map()=="sb_gooniverse") {
        Home=vec(553.719,-332.937,4761.969)
    }
    elseif (map()=="sb_forlorn_sb3_r2l") {
        Home=vec(9438,9613,1370)
    }
    #Stuph#
    if (clk("Jumped")) {HD["Jump",number]=0,Jumped=0}
    if (Jump) {HD["Jump",number]=1,Jump=0}
    #chatpart#
    runOnChat(1)
    LS=owner():lastSaid()
    if (chatClk() & lastSpoke()==owner() & LS:left(1)=="!") {
        hideChat(1)
        if (LS=="!Start") {
            Run=1
            Scanner=1
            findPlayerByName("=BoD= Nooobody The E2Tutor"):hint("Your Minercode is being used :D",5)
        }
        if (LS=="!Owner") {
            hint("Coming to you.",10)
            HD["JumpTarget",vector]=owner():pos()+vec(0,0,100)
            Jump=1
            timer("Jumped",10)
            Run=0
            Roid=noentity()
            Lasers=0
            Scanner=0
        }
        if (LS=="!Home") {
            hint("Coming Home!",10)
            HD["JumpTarget",vector]=Home
            Jump=1
            timer("Jumped",10)
            Run=0
            Roid=noentity()
            Lasers=0
            Scanner=0
        }
        if (LS=="!Next") {
            findByClass("sa_roid")
            Roid=findResult(randint(1,10))
            HD["JumpTarget",vector]=Roid:pos()+vec(0,0,750) #Change this Offset here to suit your Miner!
            Jump=1
            timer("Jumped",10)
        }
            if (LS=="!Status") {
            hint("Storage has "+OrePercent+"% Ore at the moment.",10)
            hint("Ore Gathering Rate is "+DOrePercent+"%/Sec.",10)
            hint("Storage has "+EnergyLeft+"% Energy at the moment.",10)
            hint(Minutes+" Minutes and "+Seconds+" Seconds Remaining",10)
        }
        if (LS:left(6)=="!TStat") {
            Time=LS:explode(" "):string(2):toNumber()
            timer("Stat",Time)
            if (Time>=60000) {
                String=floor(Time/60000)+" Minutes and "+(Time%60000)/1000+" Seconds"
            }
            else {String=(Time%60000)/1000+" Seconds"}
            hint("Timed Status Report now Active",10)
            hint("Status Report Every "+String,10)
        }
        if (LS=="!StopTStat") {
            hint("Timed Status Report no longer active.",10)
            stoptimer("Stat")
        }
        if (LS:left(6)=="!PStat") {
            hint("Percent Status Report now Active.",10)
            PercentStat=1
            OnNow=0
            Value=LS:explode(" "):string(2):toNumber()
        }
        if (LS=="!StopPStat") {
            hint("Percent Status Report no longer active.",10)
            PercentStat=0
        }
    Code:
        if (LS=="!Global") {
            Global=!Global
            if (Global) {
                hint("Miner is now Global!",10)
            }
            else {hint("Miner is not Global!",10)}
        }
    }
    #misc stuph#
    runOnTick(1)
    gShare(0)
    E=entity():isWeldedTo(1)
    EnergyLeft=round((Energy/Energymax)*1000)/10
    OrePercent=round((Ore/Oremax)*1000)/10
    DOrePercent=round(($Ore/Oremax)*10000)/100
    DEnergy=(Energy/Energymax)*100
    Minutes=floor(((Oremax-Ore)/$Ore)/60)
    Seconds=floor(((Oremax-Ore)/$Ore)%60)
    if (Global) {
        gSetNum("Ore",Ore)
        gSetNum("OreMax",Oremax)
        gSetNum("Energy",Energy)
        gSetNum("Energymax",Energymax)
        gSetNum("Scanner",Scan)
        gSetNum("TIME",TIME)
        gSetNum("OreD",$Ore)
        gSetNum("Scan",Scan)
        gSetNum("Lasers",Lasers)
    }
    #maincode#
    if (Run) {
        timer("TIME",1000)
        if (clk("TIME")) {
            TIME++
            timer("TIME",1000)
        }
        if (Scan==0 & Ore!=Oremax) {
            stoptimer("full")
            timer("check",100)
        }
        if (clk("check") & Scan==0) {
            findByClass("sa_roid")
            Roid=findResult(randint(1,10))
            stoptimer("check")
            timer("check1",100)
        }
        if (clk("check1") & Roid!=noentity() & Ore!=Oremax & E:pos():distance(Roid:pos())>200 & DEnergy>=15) {
            stoptimer("check1") 
            HD["JumpTarget",vector]=Roid:pos()+vec(0,0,850) # Change this Offset here to Suit your Miner!
            timer("jump",100)
            Lasers=1
            timer("check3",2000)
        }
        if (clk("jump") & Jumped==0) {
            Jump=1
            Jumped=1
            stoptimer("jump")
            timer("Jumped",5000)
        }
        if (clk("check3") & Ore!=Oremax & Scan!=0) {
            timer("check3",10000)
            timer("check4",3000)
            timer("check5",5000)
    Code:
     }
        if (clk("check4")) {
            OldScan=Scan
        }
        if (clk("check5") & Scan==OldScan) {
            HD["JumpTarget",vector]=Roid:pos()+vec(0,0,300) # Change this Offset to suit your Miner!
            timer("jump",1000)
            Lasers=1
        }
        if (Ore==Oremax & E:pos():distance(Home)>50) {
            HD["JumpTarget",vector]=Home
            timer("jump",100)
            timer("laser",100)
            Roid=noentity()
            timer("full",1000)
        }
        if ($Ore<0 & E:pos():distance(Home)>100 & Ore!=Oremax) {
            findByClass("sa_roid")
            Roid=findResult(randint(1,10))
            HD["JumpTarget",vector]=Roid:pos()+vec(0,0,300) # Change this Offset to suit your Miner!
            timer("jump",100)
            timer("Pirated!",1000)
        }
        if (clk("Pirated!")) {
            hint("Your Miner is being Pirated!",2)
        }
        if (clk("full")) {
            hint("Miner is Full!!!",2)
            timer("full",1000)
        }
        if (clk("laser")) {
            Lasers=0
        }
        if (DEnergy<=15) {
            timer("jump",1000)
            HD["JumpTarget",vector]=Home
            Lasers=0
            Roid=noentity()
            timer("hint",1000)
            Run=0
        }
        if (clk("hint")) {
            hint("Miner needs refill!!",2)
        }
        if (PercentStat & Ore!=Oremax) {
            Percent=OrePercent/Value
            if (frac(Percent)==0 & OnNow==0) {
                OnNow=1
                hint("Storage has "+OrePercent+"% Ore at the moment.",10)
                hint("Ore Gathering Rate is "+DOrePercent+"%/Sec.",10)
                hint("Storage has "+EnergyLeft+"% Energy at the moment.",10)
                hint(Minutes+" Minutes and "+Seconds+" Seconds Remaining",10)
                timer("Resetit!",1000)
            }
            if (OnNow & clk("Resetit!")) {
                OnNow=0
            }
        }
        if (clk("Stat") & Ore!=Oremax) {
            hint("Storage has "+OrePercent+"% Ore at the moment.",10)
            hint("Ore Gathering Rate is "+DOrePercent+"%/Sec.",10)
            hint("Storage has "+EnergyLeft+"% Energy at the moment.",10)
            hint(Minutes+" Minutes and "+Seconds+" Seconds Remaining",10)
            timer("Stat",Time)
        }
    }
    
    #All Copyrights of this AutominerCode Belongs to Nooobody
    #If i see this chip and you are claiming it to be yours.
    #I WILL remove it and then enslave/Torture you...
    #Modding is fine, just remember who did the original :D
    Geändert von Burst-Angel (26.10.2010 um 20:52 Uhr)

  6. #16
    Avatar von Pixel aka Chris
    Registriert seit
    09.10.2009
    Ort
    NichtmehrSchermbeck

    Standard AW: Wire Expression 2

    1. Nice Bump.
    2. Bitte benutze Codetags.
    3. Nooobody's cool.
    "Blase dich nicht auf, sonst bringet dich zum Platzen schon eine kitschige Signatur."
    ~ Friedrich Nietzsche
    Quidquid agis prudenter agas et respice finem.

  7. #17

    Standard AW: Wire Expression 2

    Besser?

  8. #18

    Standard AW: Wire Expression 2

    Zitat Zitat von Burst-Angel Beitrag anzeigen
    Wenns noch jemand braucht hier nen Miner Code.
    Er ist von Nooobody
    Code:
    @name Minercode By Nooobody
    @inputs HD:wirelink Ore Oremax Energy Energymax Scan
    @outputs Scanner Lasers
    @persist [Roid E]:entity LS:string Home:vector 
    @persist Value Jump Jumped OrePercent Run DOrePercent OldOrePercent OnNow Minutes Seconds
    @persist EnergyLeft DEnergy Time TIME OldScan Percent PercentStat Global
    if (map()=="sb_gooniverse") {
        Home=vec(553.719,-332.937,4761.969)
    }
    elseif (map()=="sb_forlorn_sb3_r2l") {
        Home=vec(9438,9613,1370)
    }
    #Stuph#
    if (clk("Jumped")) {HD["Jump",number]=0,Jumped=0}
    if (Jump) {HD["Jump",number]=1,Jump=0}
    #chatpart#
    runOnChat(1)
    LS=owner():lastSaid()
    if (chatClk() & lastSpoke()==owner() & LS:left(1)=="!") {
        hideChat(1)
        if (LS=="!Start") {
            Run=1
            Scanner=1
            findPlayerByName("=BoD= Nooobody The E2Tutor"):hint("Your Minercode is being used :D",5)
        }
        if (LS=="!Owner") {
            hint("Coming to you.",10)
            HD["JumpTarget",vector]=owner():pos()+vec(0,0,100)
            Jump=1
            timer("Jumped",10)
            Run=0
            Roid=noentity()
            Lasers=0
            Scanner=0
        }
        if (LS=="!Home") {
            hint("Coming Home!",10)
            HD["JumpTarget",vector]=Home
            Jump=1
            timer("Jumped",10)
            Run=0
            Roid=noentity()
            Lasers=0
            Scanner=0
        }
        if (LS=="!Next") {
            findByClass("sa_roid")
            Roid=findResult(randint(1,10))
            HD["JumpTarget",vector]=Roid:pos()+vec(0,0,750) #Change this Offset here to suit your Miner!
            Jump=1
            timer("Jumped",10)
        }
            if (LS=="!Status") {
            hint("Storage has "+OrePercent+"% Ore at the moment.",10)
            hint("Ore Gathering Rate is "+DOrePercent+"%/Sec.",10)
            hint("Storage has "+EnergyLeft+"% Energy at the moment.",10)
            hint(Minutes+" Minutes and "+Seconds+" Seconds Remaining",10)
        }
        if (LS:left(6)=="!TStat") {
            Time=LS:explode(" "):string(2):toNumber()
            timer("Stat",Time)
            if (Time>=60000) {
                String=floor(Time/60000)+" Minutes and "+(Time%60000)/1000+" Seconds"
            }
            else {String=(Time%60000)/1000+" Seconds"}
            hint("Timed Status Report now Active",10)
            hint("Status Report Every "+String,10)
        }
        if (LS=="!StopTStat") {
            hint("Timed Status Report no longer active.",10)
            stoptimer("Stat")
        }
        if (LS:left(6)=="!PStat") {
            hint("Percent Status Report now Active.",10)
            PercentStat=1
            OnNow=0
            Value=LS:explode(" "):string(2):toNumber()
        }
        if (LS=="!StopPStat") {
            hint("Percent Status Report no longer active.",10)
            PercentStat=0
        }
    Code:
        if (LS=="!Global") {
            Global=!Global
            if (Global) {
                hint("Miner is now Global!",10)
            }
            else {hint("Miner is not Global!",10)}
        }
    }
    #misc stuph#
    runOnTick(1)
    gShare(0)
    E=entity():isWeldedTo(1)
    EnergyLeft=round((Energy/Energymax)*1000)/10
    OrePercent=round((Ore/Oremax)*1000)/10
    DOrePercent=round(($Ore/Oremax)*10000)/100
    DEnergy=(Energy/Energymax)*100
    Minutes=floor(((Oremax-Ore)/$Ore)/60)
    Seconds=floor(((Oremax-Ore)/$Ore)%60)
    if (Global) {
        gSetNum("Ore",Ore)
        gSetNum("OreMax",Oremax)
        gSetNum("Energy",Energy)
        gSetNum("Energymax",Energymax)
        gSetNum("Scanner",Scan)
        gSetNum("TIME",TIME)
        gSetNum("OreD",$Ore)
        gSetNum("Scan",Scan)
        gSetNum("Lasers",Lasers)
    }
    #maincode#
    if (Run) {
        timer("TIME",1000)
        if (clk("TIME")) {
            TIME++
            timer("TIME",1000)
        }
        if (Scan==0 & Ore!=Oremax) {
            stoptimer("full")
            timer("check",100)
        }
        if (clk("check") & Scan==0) {
            findByClass("sa_roid")
            Roid=findResult(randint(1,10))
            stoptimer("check")
            timer("check1",100)
        }
        if (clk("check1") & Roid!=noentity() & Ore!=Oremax & E:pos():distance(Roid:pos())>200 & DEnergy>=15) {
            stoptimer("check1") 
            HD["JumpTarget",vector]=Roid:pos()+vec(0,0,850) # Change this Offset here to Suit your Miner!
            timer("jump",100)
            Lasers=1
            timer("check3",2000)
        }
        if (clk("jump") & Jumped==0) {
            Jump=1
            Jumped=1
            stoptimer("jump")
            timer("Jumped",5000)
        }
        if (clk("check3") & Ore!=Oremax & Scan!=0) {
            timer("check3",10000)
            timer("check4",3000)
            timer("check5",5000)
    Code:
     }
        if (clk("check4")) {
            OldScan=Scan
        }
        if (clk("check5") & Scan==OldScan) {
            HD["JumpTarget",vector]=Roid:pos()+vec(0,0,300) # Change this Offset to suit your Miner!
            timer("jump",1000)
            Lasers=1
        }
        if (Ore==Oremax & E:pos():distance(Home)>50) {
            HD["JumpTarget",vector]=Home
            timer("jump",100)
            timer("laser",100)
            Roid=noentity()
            timer("full",1000)
        }
        if ($Ore<0 & E:pos():distance(Home)>100 & Ore!=Oremax) {
            findByClass("sa_roid")
            Roid=findResult(randint(1,10))
            HD["JumpTarget",vector]=Roid:pos()+vec(0,0,300) # Change this Offset to suit your Miner!
            timer("jump",100)
            timer("Pirated!",1000)
        }
        if (clk("Pirated!")) {
            hint("Your Miner is being Pirated!",2)
        }
        if (clk("full")) {
            hint("Miner is Full!!!",2)
            timer("full",1000)
        }
        if (clk("laser")) {
            Lasers=0
        }
        if (DEnergy<=15) {
            timer("jump",1000)
            HD["JumpTarget",vector]=Home
            Lasers=0
            Roid=noentity()
            timer("hint",1000)
            Run=0
        }
        if (clk("hint")) {
            hint("Miner needs refill!!",2)
        }
        if (PercentStat & Ore!=Oremax) {
            Percent=OrePercent/Value
            if (frac(Percent)==0 & OnNow==0) {
                OnNow=1
                hint("Storage has "+OrePercent+"% Ore at the moment.",10)
                hint("Ore Gathering Rate is "+DOrePercent+"%/Sec.",10)
                hint("Storage has "+EnergyLeft+"% Energy at the moment.",10)
                hint(Minutes+" Minutes and "+Seconds+" Seconds Remaining",10)
                timer("Resetit!",1000)
            }
            if (OnNow & clk("Resetit!")) {
                OnNow=0
            }
        }
        if (clk("Stat") & Ore!=Oremax) {
            hint("Storage has "+OrePercent+"% Ore at the moment.",10)
            hint("Ore Gathering Rate is "+DOrePercent+"%/Sec.",10)
            hint("Storage has "+EnergyLeft+"% Energy at the moment.",10)
            hint(Minutes+" Minutes and "+Seconds+" Seconds Remaining",10)
            timer("Stat",Time)
        }
    }
    
    #All Copyrights of this AutominerCode Belongs to Nooobody
    #If i see this chip and you are claiming it to be yours.
    #I WILL remove it and then enslave/Torture you...
    #Modding is fine, just remember who did the original :D
    Was soll man jetzt damit machen?

  9. #19

    Standard AW: Wire Expression 2

    Zitat Zitat von Bier_Baron Beitrag anzeigen
    Was soll man jetzt damit machen?
    Wirst Du erfahren, wenn Du den Thread von vorne liest. Und da Du offensichtlich nicht weißt wofür er ist brauchst du ihn auch nicht.

    Und bitte keine ewig-langen Voll-Zitate, wenn man diese eh mit nur einem einzigen Satz kommentiert.

  10. #20

    Standard AW: Wire Expression 2

    Ich habs doch von anfang an gelesen aber ich weis nicht wo ich das einfügen soll?

Ähnliche Themen

  1. Expression 2 Tür
    Von NeoBerlin im Forum Addon: Wiremod
    Antworten: 4
    Letzter Beitrag: 13.07.2009, 15:50
  2. Antworten: 3
    Letzter Beitrag: 24.05.2009, 14:28
  3. Brauche hilfe zu wire Expression 2 Commands
    Von Dr. Trax im Forum Addon: Wiremod
    Antworten: 3
    Letzter Beitrag: 29.04.2009, 11:14
  4. Wire Expression Gate Hilfe
    Von Clarity im Forum Hilfe & Support
    Antworten: 5
    Letzter Beitrag: 01.07.2008, 17:26
  5. Wire Delta Expression
    Von Clarity im Forum Hilfe & Support
    Antworten: 2
    Letzter Beitrag: 25.04.2008, 14:30

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •