April 02, 2020, 09:50 am

Rates Given - Moosaphine

Pages: [1] 2 3 ... 6
1
News & Announcements / Re: A server for y'all
Creative Creative
on October 06, 2019, 01:51 am to StupidWeasel
Please keep Jelman banned.

Else I will give you all ByB code as punishment.
Fixed it for you.
2
News & Announcements / Re: A server for y'all
Agree Agree
on October 06, 2019, 01:51 am to StupidWeasel
Please keep Jelman banned.

Else I will give you all ByB code as punishment.
Fixed it for you.
3
Wire / E2 / Re: [Release] Easy hydraulics
Agree Agree
on July 18, 2014, 11:17 am to iRIDEsisters
WE CAN USE HYDRAULICS NOW?

ABOUT smegING TIME
'
I love you.
4
General Chat / Re: Anyone want to make some new forum icons?
Genius Awards Genius Awards
on June 09, 2014, 06:20 pm to Conor
5
General Chat / Re: Anyone want to make some new forum icons?
Creative Creative
on June 09, 2014, 06:19 pm to some guy
Made them in a hurry so they could be a lot better.



























6
Wire / E2 / Re: [Release] Holoslots & CasinoStats
Genius Awards Genius Awards
on May 21, 2014, 04:41 pm to Scriptis
Would be nice if you added pictures

everything looks better with pictures
ok sure
yeah ok
ok why not
7
Wire / E2 / [Release] | cPriceCalculator | All-In-One Gun Dealer Price Calculator |
Creative Creative
on May 20, 2014, 11:43 am to Crypto
| cPriceCalculator |

All-In-One Gun Dealer Price Calculator


Setting the Profit Margin:
".cpc profit <percentage>"
This determines the percentage profit you make off all sales.

Calculate the price of an order:
".cpc calculate 1x]ak47,2x]s]m4a1"
"s]" signifies a shipment, in this case, 2 M4A1 shipments
".cpc weapons" will list the available weaponnames

Example Output
Code: [Select]
[cPriceCalulator]
--------------------------------------------------------------------------------
$350 - 1x AK-47
$3700 - 2x Shipment of SPAS Shotgun
$2075 - 5x M249
$799 - 1x .357 Magnum
$2198 - 2x Shipment of Nano-Flex Ammo
--------------------------------------------------------------------------------
$9122 - Subtotal
$1368.3 - Profit (15%)
$10490 - Total
--------------------------------------------------------------------------------

The Code
Code: [Select]
@name | cPriceCalculator |
@inputs
@outputs
@persist Prices:table ProfitMargin
@trigger

#[
    Created by Crypto (STEAM_0:1:39618360)
    Simply type ".cpc help" for infomation on how to use this chip.
]#

if(first())
{
    ProfitMargin = 15
   
    Prices["flashnade",string]   = "333|999|Flash Grenade"
    Prices["armor",string]       = "320|1599|Armor"
    Prices["stunstick",string]   = "1299|10099|Stunstick"
    Prices["cracker",string]     = "1299|10099|Keypad Cracker"
    Prices["nomad",string]       = "1010|10099|Nomad"
    Prices["ammo",string]        = "110|1099|Nano-Flex Ammo"
    Prices["lockpick",string]    = "610|6099|Lockpick"
    Prices["doorcharge",string]  = "110|1599|Explosive Charge"
   
    Prices["deagle",string] = "250|2299|Desert Eagle"
    Prices["glock",string]  = "160|1499|Glock"
    Prices["usp",string]    = "160|1499|USP"
    Prices["p228",string]   = "170|1599|P228"
    Prices["elites",string] = "240|2399|Dual Elites"
    Prices["ak47",string]   = "350|3299|AK-47"
    Prices["mp5",string]    = "280|2699|MP5"
    Prices["m4a1",string]   = "370|3550|M4A1"
    Prices["mac10",string]  = "210|2099|Mac 10"
    Prices["tmp",string]    = "230|2150|TMP"
    Prices["spas",string]   = "190|1850|SPAS Shotgun"
    Prices["awp",string]    = "910|9099|AWP"
    Prices["m3",string]     = "230|2199|M3 Shotgun"
    Prices["scout",string]  = "499|3999|Scout"
    Prices["p90",string]    = "285|2850|P90"
    Prices["famas",string]  = "295|2950|FAMAS"
    Prices["galil",string]  = "320|3199|Galil"
    Prices["m249",string]   = "415|4150|M249"
    Prices["ump",string]    = "290|2799|UMP"
    Prices["sg552",string]  = "335|3350|SG552"
    Prices["alyx",string]   = "1099|8099|Alyx Gun"
    Prices["magnum",string] = "799|6099|.357 Magnum"
   
    runOnChat(1)
}

if(chatClk(owner()))
{
    LastSaid = owner():lastSaid():lower():explode(" ")
   
    if(LastSaid[1,string] == ".cpc")
    {
        hideChat(1)
        switch(LastSaid[2,string])
        {
            case "calculate",
            #[  .cpc calculate 2x]s]m4a1,5x]s]ak47 ]#
                printColor(vec(255,215,0),"[cPriceCalulator]")
                printColor(vec(255,215,0),"-":repeat(80))
                local Input   = LastSaid[3,string]:explode(",")
                local Price   = 0
               
                for(I = 1,Input:count())
                {
                    local InputL2 = Input[I,string]:explode("]")
               
                    if(InputL2[2,string] == "s")
                    {
                        local P = (Prices[InputL2[3,string],string]:explode("|")[2,string]:toNumber() * InputL2[1,string]:replace("x",""):toNumber())
                        printColor(vec(255,215,0),"$",P," - ",InputL2[1,string]," Shipment of ",Prices[InputL2[3,string],string]:explode("|")[3,string])
                        Price = Price + P
                    }
                    else
                    {
                        local P = (Prices[InputL2[2,string],string]:explode("|")[1,string]:toNumber() * InputL2[1,string]:replace("x",""):toNumber())
                        printColor(vec(255,215,0),"$",P," - ",InputL2[1,string]," ",Prices[InputL2[2,string],string]:explode("|")[3,string])
                        Price = Price + P
                    }
                }
               
                printColor(vec(255,215,0),"-":repeat(80))
                printColor(vec(255,215,0),"$",Price," - Subtotal")
               
                local Profit = (Price/100)*ProfitMargin
                printColor(vec(255,215,0),"$",Profit," - Profit (" + ProfitMargin + "%)")
               
                local Total = Price + Profit
                printColor(vec(255,215,0),"$",round(Total)," - Total")
                printColor(vec(255,215,0),"-":repeat(80))
            break
           
            case "profit",
                ProfitMargin = LastSaid[3,string]:toNumber()
                printColor(vec(255,215,0),"[cPriceCalculator] You will now receive ",ProfitMargin,"% profit from all future sales.")
            break
           
            case "help",
                printColor(vec(255,215,0),"[cPriceCalulator]\n","Setting the Profit Margin:\n\".cpc profit <percentage>\"\nThis determines the percentage profit you make off all sales.\n\n","Calculate the price of an order:\n","\".cpc calculate 1x]ak47,2x]s]m4a1\"\n","\"s]\" signifies a shipment, in this case, 2 M4A1 shipments\n","\".cpc weapons\" will list the available weaponnames")
            break
           
            case "weapons",
                local Output = ""
                foreach(K,V:string = Prices)
                {
                    Output = Output + K + ", "
                }
               
                printColor(vec(255,215,0),"[cPriceCalulator]\n",Output)
            break
        }   
    }
}

Do not edit the prices! Edit the percentage profit you recieve.
Enjoy, and don't forget to report any issues!
8
Wire / E2 / Re: [Preview (ish?)] ChikSigns
Idiocy Awards Idiocy Awards
on February 05, 2014, 12:44 pm to Mr.Commodore
Non repeating due to fundamental design flaw ew. I spent 30 minutes trying to make it work -- I couldn't.
9
Wire / E2 / [Preview (ish?)] ChikSigns
Genius Awards Genius Awards
on February 04, 2014, 01:01 pm to Chikanman
The last time I released an E2 was in August 2013. However, after the requests of some friendly people and my own desire to get off my arse, I've finally made something new. Well, sort of.

I give you ChikSigns V0.9.

This has been a frustrating project of mine, not least because the person I originally made it for had their request fulfilled when I was about halfway through. So, I've decided that I'll release what I've got and finish it at a later date if enough people want me to. Note that when I say this E2 is unfinished, it works fine. The only issue is, I've been having hell trying to make the commands for it. Not because they're difficult, but because there's a lot of them and I'm trying to make them as user-friendly as possible. So, the code:

Code: [Select]
@name EGP HardCoder
@inputs EGP:wirelink
@persist Fcol:vector [A Fonts]:array [Messages Help]:table [CurrMessage]

runOnChat(1)
if(first()){

    function draw(){
        CurrMessage++
        if(CurrMessage > Messages:count()){CurrMessage = 1}
        local Arry = Messages[CurrMessage,array]
        EGP:egpColor(1, Arry[4,vector])
        EGP:egpTextLayout(3,Arry[1,string],vec2(30,12),vec2(442,490))
        EGP:egpSize(3,Arry[5,number])
        EGP:egpColor(3, Arry[3,vector])
        EGP:egpFont(3, Arry[2,string])
        EGP:egpAlign(3,1,1)
        timer("update", Arry[6,number] * 1000)
    }

}
if(changed(->EGP) & ->EGP){
   
    ###########################################
    ########### HARD-CODED MESSAGES ###########
    ###########################################
   
    Messages[1,array] = array("Bandi Sucks", "Arial", vec(255,0,0), vec(0,0,0), 100, 5)
    Messages[2,array] = array("<3 u KGwilson, u is a babe", "Times New Roman", vec(0,255,0), vec(20,0,20), 50, 5)
   
    ########################################################################################################
    ############### Message, font, forecolor, backcolor, size, time to display for (seconds) ###############
    ########################################################################################################
   
   
   
   
   
   
    EGP:egpRoundedBox(1,vec2(256,256), vec2(500,500))
    EGP:egpRoundedBoxOutline(2,vec2(256,256),vec2(470,470))
    CurrMessage = 0
    draw()
}

For all those who can read E2, you can probably guess how this is going to work until I get the commands made. Basically folks, you'll need to program your messages for the screen directly into the E2. For simplicity, I've put in two example messages as well as a layout of what each thing does.

I'm recommending this only to people who know enough about E2 to be able to (even vaguely) understand what's going on. Just plonk your messages in the code, wire up and you're good to go. If people want the chat commands made, let me know and I'll make them.

I have other ideas for E2s, a few things I've started but decided against, and so on. PLEASE, get me to make something cool. Please. I do not want to return to a dark, six-month hole of disgustingness. I've missed you guys. And yes, I know I ignore most suggestions. Blame the laziness.

Be nice.
10
Off Topic / Re: [Question] Windows 8
Helpful Helpful
on January 30, 2014, 10:37 am to Conor
I upgraded from Windows 7 to Windows 8, because I received Windows 8 for free from Microsoft DreamSpark. I am now running Windows 8.1 (a free upgrade if you've got Windows 8 ).

Windows 8 is snappy, responsive and gets the job done. I spend 99% of my time on the desktop and all the programs I used on Windows 7 work here. There's no decrease of performance in video games.

It's really up to you. If you don't need to spend the money on Windows 8, stick with Windows 7. There isn't that much difference in the two operating systems (at least when you're using the desktop mode).
Pages: [1] 2 3 ... 6