August 23, 2019, 10:19 pm

Rates Given - Danrox147

Pages: 1 2 [3] 4
21
General Chat / Re: legality of this bridge from PD station -- picture
Winner Winner
on August 23, 2014, 04:17 am to olicool11
mother of god that is the ugliest thing iv ever seen... its also illegal but even if it wasn't, mother of god
22
General Chat / Re: [Guide] Installation of Wiremod - The Correct Way
Helpful Helpful
on August 17, 2014, 12:16 pm to olicool11
instructions not clear enough, got my banjo stolen by an Australian driving the moon lander :(


ON TOPIC: Yes, do it this way! Highly recommend using the SVN edition for the sake of easy updating :)
23
Wire / E2 / [Release] Edible Burger
Agree Agree
on August 11, 2014, 09:58 am to Harlan_Jones
Because why must everything be useful?
Type this in your console: wiremod_expression2_model models/food/burger.mdl
Code: [Select]
@name Burger
@inputs
@outputs
@persist Burger:string View:string Player:entity Click Boom
@trigger

if(first()){
    Click = 0
    Boom = 0
    soundPurge()
}

interval(500)

if(findCanQuery())
{
    findIncludeClass("player")
    findInSphere(entity():pos(),250)
    Player = findClosest(entity():pos())
}


Burger = "models/food/burger.mdl"
View = Player:aimEntity():model()


if(View == Burger && Click == 0){
    soundPlay(0,0,"vo/sandwicheat09.wav")
    soundPlay(1,0,"npc/barnacle/barnacle_crunch3.wav")
    Click++
}

if(Click == 1){
    Boom++
}

if(Boom > 3){
    selfDestruct()
}
24
General Chat / How to quickly join Steam Servers!
Winner Winner
on July 29, 2014, 12:19 pm to skytron908
Hello,

Recently I found out the wonders of how to connect to any Steam server very quickly from your desktop. Basically, you double click a certain .bat file that you make ( will show how further in the post ) and boom, you'll join the server. This is really awesome and most of you or at least some of you will love this.

Tutorial:

Spoiler
1) Make a notepad on your desktop. Open it and type this into the notepad.
Code: [Select]
start steam://connect/70.42.74.6:27015This will connect to ByB Rp4. If you would want to join other servers, such as ByB TTT , all you need to do is replace the IP address. Example: start steam://connect/70.42.74.6:27018 .


2) Now that you have that text into the text file, we need to make it into a batch file. Click the file tab on the notepad, then save as.


Give the file a name, but make sure it has .bat at the end of the file name. Example: ByB Rp4 Connect.bat . Remember to make the save as type to "All Files" instead of "Text Documents (*.txt)" . If you don't change it, it won't save it as a .bat file.


4) Hit save. A new file should appear to wherever you saved it to which shall be a .bat file. Double click the .bat file and you will join the server you assigned it to!


Noticed it was a bit hard to read the text in that picture, here is what it said:
Arrow pointing from the .bat file into the text box: The new .bat file which you double click on to join the server you selected.

Arrow pointing from the New Text Document into the text box: This is the text file used to make the code for the .bat file. Once you created the .bat file and can locate it, you may then delete the text file from your PC.


Enjoy!
25
Wire / E2 / Re: [Release] A simple Anti-Dupe with notifications
Agree Agree
on July 01, 2014, 06:09 pm to some guy
Hope you don't mind a little criticism, if you do however don't read the spoiler :3

Spoiler
I don't see a need for the notify function when you're only using it once. Its a but redundant to use all those if statements to set a time for the hint, when you could just pass Severity right into the hint function like this hint(Text, Severity) as that seems to be what you are doing with all those if functions. So what you basically did was make a function, in place of an existing function.

EE=entity():isWeldedTo(1) is also never used.

Here is a simplified version you could use.

@name Anti-Dupe
if ( first() )
{
        if ( owner():steamID() != "INSERT YOUR STEAMID HERE" )
        {
                hint("Don't dupe my stuff without permission.",7)
                hint("(Your name) made this smeg. Keep it that way.",7)
                selfDestructAll()
        }
}

This works the exact same way, but looks A LOT better.

26
The Creative Corner / A little hobbie I have picked up.
Winner Winner
on June 29, 2014, 04:10 am to some guy
So a few weeks ago, I got into making replicas. I have done this before in the past but I was nowhere near as good as I consider myself now. So ill show off my current work on progress.

This is a replica Halo 4 Master Chief helmet that i have spent around 15-20 hours on so far. (Rough estimate)
Spoiler
     
Spoiler
     
You have no idea how hard it was to take a picture in this thing.
     



[Update] Tuesday, July 1st:
Spoiler
Polyester resin coated on the outside and inside and left to cure over night.
Spoiler
     

Rondo (2 Part bondo, 1 part resin) has been added to the inside to further strengthen it.
Spoiler
     

Next step, tons of sanding and bondo.
Spoiler
     



After all this I will create a mold and cast it out of a nice strong plastic. Then take some LED's to put into the sides of the helmet and add an actual visor! I eventually plan on making a full suit!

I will update this thread as I go about this process.
27
Wire / E2 / bank framework
Agree Agree
on June 21, 2014, 11:04 am to Kgwilson
hell, why not? no time to finish it
everything except adding multiple players per safe was copied anyway, on to the next idea ;)
Make your own EGP if you dont like mine, thanks for the BG scriptis
push suitzoom to log safes
!guard
!remguard - reset guards
safes added via suitzoom open wirelessly, wire your doors to be legally raidable ;)
 
E2ers:
addSafe(S,N) - adds player name S to safe N
getSafe(S)=N - returns player S' safe
safeTimeCreated(N)=N - Safe N realtime at creation
names(N)=A - List names on safe N
emptySafe() - returns next empty safe
shareSafe(S,N) - share safe N with player S
unshareSafe(N) - remove player from safe N
addTime(S,N) add N time to safe S (Rate in if(first))
getCredits(N) - get safe N's credits

No EGP version:
Code: [Select]
@persist [Safes Players Guards]:array Zoom Count Money Used Rate Menu ButtonCD
@inputs EGP:wirelink EGPUser:entity MoneyPot:wirelink User:entity
@outputs [Safes Players Guards]:array ScreenTarget:entity Ops
@trigger all
interval(450)
MoneyPot["SpawnAmount",number]=0
findInSphere(EGP:entity():pos(),50)
findClipToClass("player")
ScreenTarget=findResult(1)
if(first()) {
    Rate=1.4
    timer("scansafes",1)
    timer("scanguard",1)
    function number wirelink:egpIsHovering(Entity:entity, Index:number) {
        local BisectedObject = This:egpSize(Index) / 2
        return (inrange(This:egpCursor(Entity),EGP:egpPos(Index) - BisectedObject,EGP:egpPos(Index) + BisectedObject) ? 1 : 0)
    }
    function array names(Safe) {
        return Players[Safe,string]:explode("`")[2,string]:explode("#")
    }
    function number safeTimeCreated(Safe) {
        return Players[Safe,string]:explode("`")[1,string]:toNumber()
    }
    function number getSafe(String:string) {
        Allowed=0
        for(I=1,Players:count()) {
            for(X=1,names(I):count()) {
                if(String==names(I)[X,string]) {
                    Allowed=I
                }
            }
        }
        return Allowed
    }
    function number emptySafe() {
        ToReturn=0
        for(I=1,Safes:count()) {
            Names=Players[I,string]:explode("`")[2,string]:explode("#")
            if(Names[1,string]=="empty") {
                ToReturn=I
                break
            }
        }
        return ToReturn
    }
    function number addSafe(Name:string,Safe) {
        Players[Safe,string]=round(realtime())+"`"+Name
    }
    function number getTime(Safe) {
        return Players[Safe,string]:explode("`")[1,string]:toNumber()
    }

    function number getCredits(Safe) {
        return Players[Safe,string]:explode("`")[3,string]:toNumber()
    }
    function number canOpen(Safe) {
        Credits=getCredits(Safe)
        Time=realtime()-getTime(Safe)
        Time=round(getCredits(Safe)-Time)/120
        if(Time<=0) {
            return 0
        }else{
            return round(Time,2)
        }
    }
    function number shareSafe(Name:string,Safe) {
        Names=names(Safe)
        Names:pushString(Name)
        Players[Safe,string]=getTime(Safe)+"`"+Names:concat("#")+"`"+getCredits(Safe)
       
    }
    function number unshareSafe(Name:string) {
        Safe=getSafe(Name)
        CreditsPrev=Players[Safe,string]:explode("`")[3,string]:toNumber()
        if(Safe!=0) {
           
             Owner=Players[Safe,string]:explode("`")[2,string]:explode("#")[1,string]
            Str=safeTimeCreated(Safe)+"`"+Owner+"`"+CreditsPrev
            Players[Safe,string]=Str
        }
    }
    function void addTime(Safe,Credits) {
         if(Safe!=0) {
            local CreditsPrev=getCredits(Safe)
            local Str=safeTimeCreated(Safe)+"`"+names(Safe):concat("#",1)+"`"+(CreditsPrev+Credits):toString()
            Players[Safe,string]=Str
            print("Added "+Credits+" credits to safe "+Safe+" ("+names(Safe):concat(",",1)+") (Total: "+canOpen(Safe)+" mins)")
        }
    }
    runOnChat(1)
}
User=EGPUser
Use=User:keyUse()
Use=changed(Use) & Use
Zoom=owner():keyZoom()
Used=User:keyUse()
Count=Safes:count()
Money=MoneyPot["StoredAmount",number]
    for(I=1,Safes:count()) {
        if(Players[I,string]!="0`empty`0") {
           # Names=names(I)
            WL=Safes[I,entity]:wirelink()
            findInSphere(Safes[I,entity]:pos(),11)
            findClipToClass("player")
            Target=findResult(1)
            if(Target:isPlayer()&Target:isAlive()) {
                Safe=getSafe(Target:name())
                if((getSafe(Target:name())==I&canOpen(Safe))|Target==owner()) {
                    WL["Fade",number]=1
                    break
                }else{
                    WL["Fade",number]=0
                }
            }else{
                WL["Fade",number]=0
            }
        }   
   
}
if(($Zoom&Zoom)==1) {
    if(owner():aimEntity():type()=="prop_physics") {
        for(I=1,Safes:count()) {
            Already=0
            if(owner():aimEntity()==Safes[I,entity]) {
                print("Already found")
                Already=1
                break
            }
        }
        if(Already==0) {
            print("Added")
            Safes:pushEntity(owner():aimEntity())
            Players:pushString("0`empty`0")
           
        }
    }else{
        print("Aim at a prop")
    }
}
if(chatClk(owner())) {
    A=owner():lastSaid():explode(" ")
    if(A[1,string]=="!add") {
        hideChat(1)
        if(findPlayerByName(A[2,string]):isPlayer()) {
            if(A[3,string]&A[3,string]:toNumber()<=Players:count()) {
                addSafe(findPlayerByName(A[2,string]):name(),A[3,string]:toNumber())
                print("Added "+A[2,string]+" to safe "+A[3,string])
            }else{
                print("Added "+A[2,string]+" to free safe "+emptySafe())
                addSafe(findPlayerByName(A[2,string]):name(),emptySafe())
           
            }
        }
    }
    if(A[1,string]=="!rem") {
        hideChat(1)
        Players[A[2,string]:toNumber(),string]="0`empty`0"
        print("Removed safe "+A[2,string])
    }
    if(A[1,string]=="!credit") {
        hideChat(1)
        Ply=findPlayerByName(A[2,string])
        if(Ply:isValid()) {
            if(getSafe(Ply:name())!=0|A[2,string]:toNumber()<=Safes:count()) {
                if(A[3,string]) {
                    addTime(getSafe(Ply:name()),(A[3,string]:toNumber()/Rate))
                }else{
                    print("!credit Name Time(mins)")
                }
            }else{
                print("Player has no safe here.")
            }
        }
    }
    if(A[1,string]=="!guard") {
        hideChat(1)
        Already=0
        Ply=findPlayerByName(A[2,string])
        for(I=1,Guards:count()) {
            if(Ply==Guards[I,entity]) {
                Already=1
                break
            }
        }
        if(Already==0) {
            print("Added guard to list")
            Guards:pushEntity(findPlayerByName(A[2,string]))
        }else{
            print("Guard already exists. ("+Guards:concat(",",1)+")")
        }
    }
    if(A[1,string]=="!remguard") {
        hideChat(1)
        Guards:clear()
        print("Cleared guards")
    }
    if(A[1,string]=="!share") {
        hideChat(1)
            if(A[3,string]) {
                Num=A[3,string]:toNumber()
                Ply=findPlayerByName(A[2,string])
                shareSafe(Ply:name(),Num)
            }
        }
}
Version with horribly written EGP located here

28
Desolate Wasteland / Re: Important Announcement
Helpful Helpful
on February 07, 2014, 01:16 am to Sky
Bandi has a lot more things in her rear than a gun~
29
DarkRP - In Character / Re: Ice Hockey anyone?
Creative Creative
on December 30, 2013, 04:31 am to Medium Sized Mouse
I must say I did indeed enjoy Avatar
30
DarkRP - In Character / Ice Hockey anyone?
Winner Winner
on December 29, 2013, 02:20 am to robertiscool25
Need some worthy contestants to verse me in a 1 vs 1 ice hockey game!
Pages: 1 2 [3] 4