Random pastbin codes
sometimes when im bored i go to pastebin and read some of the posted code's sometimes there's chat logs that are really funny or just programming codes or hack source codes i search there sometimes looking for codes so i decided to make a bot to download the newest posted code and post it on this topic so have fun going threw the pages and reading or if your looking for something like programming code then the search button should be able to tell you if and what page the code is on in this thread
my bot will post a new post every minute
here are some example of what it will post like
Random Pastebin Posts, Always Fun to read
Random Pastebin Posts, Always Fun to read
Random Pastebin Posts, Always Fun to read
my bot will post a new post every minute
here are some example of what it will post like
Random Pastebin Posts, Always Fun to read
Code:
phobos_anomaly: Hi, is this Kate? +17859697857: Yes phobos_anomaly: I was given your # and told I should text you sometime. phobos_anomaly: How are you tonight? +17859697857: Well anon it seems you were not personally given my number. But all is well with me, and for youself? phobos_anomaly: You are perceptive. I'm doing ok. I take it you are fully aware of the thread? +17859697857: Very aware. The person that posted was a dolt. He knows that I frequent /b/. But I do not mind phobos_anomaly: What did you do to piss that person off? +17859697857: No idea. Probably just a virgin that has taken to cyber stalking phobos_anomaly: Seems like alot of them do that these days. I'm not anon, the name is Garrett. Nice to meet you. phobos_anomaly: Have you received alot of these messages tonight? +17859697857: Your not anon huh? Well thats a change +17859697857: Only about 20 lol phobos_anomaly: Do you mind if I ask what the others have said? 17859697857: They have all demanded nudes from the start. Well one was polite and started conversation. I have even recieved nudes phobos_anomaly: lol must have been a shock. +17859697857: Nah. I am on /b/ all the time so the nudes were nothing new. And my number has been put up before phobos_anomaly: Self post? +17859697857: Nope. Not on at the moment phobos_anomaly: I ment the instance you were referring to before this one. +17859697857: Nah. A friend put pics and number up then. Call bombed all night phobos_anomaly: That must have been aggravating. Do you mind if I ask what you do for fun? +17859697857: Not at all. I tend to troll the internet, sad as it is. phobos_anomaly: Nothing better to do? phobos_anomaly: or just don't want to do anything else? +17859697857: Both somewhat. I dont like going out much. Gets boring phobos_anomaly: It does get boring sometimes. What do you do besides troll the net? +17859697857: Well I do camwhore on ocasion. Ima Wowfag sadly. Work.. Just normal stuff phobos_anomaly: At least you have a hobby. Why the sadly bit? And atleast you have work. Not many do these days. +17859697857: And what about you? phobos_anomaly: play games, work, browse ***** once in a while. Not really that much else to do. +17859697857: What sort of games? phobos_anomaly: Doom, Quake, Command and Conquer, sometimes warcraft 3. +17859697857: Ah nice phobos_anomaly: I guess. Its something to kill time. phobos_anomaly: How old are you? +17859697857: 17 phobos_anomaly: Still in High School? +17859697857: No. phobos_anomaly: Out on your own? +17859697857: Yeah been for awhile now. You? phobos_anomaly: Been living on my own for the last 8 years. +17859697857: And how old does that make you? phobos_anomaly: I'm 25 +17859697857: Ah phobos_anomaly: Would like you talk again sometime? +17859697857: Sure I am enjoying myself phobos_anomaly: Alright. I don't know if you are being billed for this, so I thought I might cut it short. If you are, I'm on yahoo and aim all the time phobos_anomaly: If not, I'm happy to talk to you in this.
Code:
-- Advanced gundealer
-- Mad cows Gun for TEAM_ADVGUN
AddCustomShipment(".357_magnum", "models/Weapons/W_357.mdl", "weapon_mad_357", 5000, 10, false, nil, false, {TEAM_ADVGUN})
AddCustomShipment(".50_deagle", "models/weapons/w_pist_deagle.mdl", "weapon_mad_deagle", 5000, 10, false, nil, false, {TEAM_ADVGUN})
AddCustomShipment("4.6mm_mp7", "models/weapons/w_smg1.mdl", "weapon_mad_mp7", 10000, 10, false, nil, false, {TEAM_ADVGUN})
AddCustomShipment("5.56mm_famas", "models/weapons/w_rif_famas.mdl", "weapon_mad_famas", 10000, 10, false, nil, false, {TEAM_ADVGUN})
AddCustomShipment("5.56mm_galil", "models/weapons/w_rif_galil.mdl", "weapon_mad_galil", 10000, 10, false, nil, false, {TEAM_ADVGUN})
AddCustomShipment("5.56mm_m249", "models/weapons/w_mach_m249para.mdl", "weapon_mad_m249", 10000, 10, false, nil, false, {TEAM_ADVGUN})
AddCustomShipment("5.56mm_m4", "models/weapons/w_rif_m4a1.mdl", "weapon_mad_m4", 12000, 10, false, nil, false, {TEAM_ADVGUN})
AddCustomShipment("5.56mm_sg550", "models/weapons/w_snip_sg550.mdl", "weapon_mad_sg550", 15000, 10, false, nil, false, {TEAM_ADVGUN})
AddCustomShipment("5.56mm_sg552", "models/weapons/w_rif_sg552.mdl", "weapon_mad_sg552", 10000, 10, false, nil, false, {TEAM_ADVGUN})
AddCustomShipment("5.56mm_aug", "models/weapons/w_rif_aug.mdl", "weapon_mad_aug", 10000, 10, false, nil, false, {TEAM_ADVGUN})
AddCustomShipment("5.7mm_five-seven", "models/weapons/w_pist_fiveseven.mdl", "weapon_mad_57", 5000, 10, false, nil, false, {TEAM_ADVGUN})
AddCustomShipment("5.7mm_p90", "models/weapons/w_smg_p90.mdl", "weapon_mad_p90", 7000, 10, false, nil, false, {TEAM_ADVGUN})
AddCustomShipment("7.62mm_awp", "models/weapons/w_snip_awp.mdl", "weapon_mad_awp", 19000, 10, false, nil, false, {TEAM_ADVGUN})
AddCustomShipment("7.62mm_ak47", "models/weapons/w_rif_ak47.mdl", "weapon_mad_ak47", 10000, 10, false, nil, false, {TEAM_ADVGUN})
AddCustomShipment("7.62mm_g3", "models/weapons/w_snip_g3sg1.mdl", "weapon_mad_g3", 19000, 10, false, nil, false, {TEAM_ADVGUN})
AddCustomShipment("7.62mm_scout", "models/weapons/w_snip_scout.mdl", "weapon_mad_scout", 14000, 10, false, nil, false, {TEAM_ADVGUN})
AddCustomShipment("9mm_dual_elites", "models/weapons/w_pist_elite.mdl", "weapon_mad_dual", 6000, 10, false, nil, false, {TEAM_ADVGUN})
AddCustomShipment("9mm_glock", "models/weapons/w_pist_glock18.mdl", "weapon_mad_glock", 4000, 10, false, nil, false, {TEAM_ADVGUN})
AddCustomShipment("9mm_mp5", "models/weapons/w_smg_mp5.mdl", "weapon_mad_mp5", 12000, 10, false, nil, false, {TEAM_ADVGUN})
AddCustomShipment("9mm usp_match", "models/weapons/w_pist_p228.mdl", "weapon_mad_usp_match", 3750, 10, false, nil, false, {TEAM_ADVGUN})
AddCustomShipment("9mm_p228", "models/weapons/w_snip_g3sg1.mdl", "weapon_mad_p228", 14000, 10, false, nil, false, {TEAM_ADVGUN})
AddCustomShipment("9mm_tmp", "models/weapons/w_smg_tmp.mdl", "weapon_mad_tmp", 9000, 10, false, nil, false, {TEAM_ADVGUN})
AddCustomShipment("m3", "models/weapons/w_shot_m3super90.mdl", "weapon_mad_m3", 15000, 10, false, nil, false, {TEAM_ADVGUN})
AddCustomShipment("xm1014", "models/weapons/w_shot_xm1014.mdl", "weapon_mad_xm1014", 10000, 10, false, nil, false, {TEAM_ADVGUN})
-- Ammo for guns
AddEntity("ent_mad_ammo_357", "ent_mad_ammo_357", "models/Items/357ammo.mdl", 75, 3, "/mad_ammo_357")
AddEntity("ent_mad_ammo_45", "ent_mad_ammo_357", "models/Items/BoxSRounds.mdl", 100, 3, "/mad_ammo_45")
AddEntity("ent_mad_ammo_50", "ent_mad_ammo_357", "models/Items/BoxSRounds.mdl", 100, 3, "/mad_ammo_50")
AddEntity("ent_mad_ammo_46mm", "ent_mad_ammo_46mm", "models/Items/BoxSRounds.mdl", 100, 3, "/mad_ammo_46mm")
AddEntity("ent_mad_ammo_556mm", "ent_mad_ammo_556mm", "models/Items/BoxMRounds.mdl", 100, 3, "/mad_ammo_556mm")
AddEntity("ent_mad_ammo_57mm", "ent_mad_ammo_57mm", "models/Items/BoxSRounds.mdl", 100, 3, "/mad_ammo_57mm")
AddEntity("ent_mad_ammo_762mm", "ent_mad_ammo_762mm", "models/Items/BoxMRounds.mdl", 100, 3, "/mad_ammo_762mm")
AddEntity("ent_mad_ammo_9mm", "ent_mad_ammo_9mm", "models/Items/BoxSRounds.mdl", 50, 3, "/mad_ammo_9mm")
AddEntity("ent_mad_ammo_shotgun", "ent_mad_ammo_shotgun", "models/Items/BoxBuckshot.mdl", 150, 3, "/mad_ammo_shotgun")
AddEntity("ent_mad_ammo_bolt", "ent_mad_ammo_bolt", "models/Items/CrossbowRounds.mdl", 200, 3,
// Special item dealer
// TEAM TEAM_SPCSELL ( make some changes here)
AddCustomShipment("Mad c4", "models/weapons/w_c4.mdl", "weapon_mad_c4", 40000, 5, false, nil, false, {TEAM_SPCSELL})
AddCustomShipment("Mad Charge", "models/weapons/w_slam.mdl", "weapon_mad_charge", 5000, 10, false, nil, false, {TEAM_SPCSELL})
AddCustomShipment("Mad Flare gun", "models/weapons/w_pistol.mdl", "weapon_mad_flare", 7000, 10, false, nil, false, {TEAM_SPCSELL})
AddCustomShipment("Mad Flashs", "models/weapons/w_eq_flashbang.mdl", "weapon_mad_flash", 3000, 10, false, nil, false, {TEAM_SPCSELL})
AddCustomShipment("Mad Grenades", "models/weapons/w_eq_fraggrenade.mdl", "weapon_mad_grenade", 15000, 10, false, nil, false, {TEAM_SPCSELL})
AddCustomShipment("Mad Spas", "models/weapons/w_shotgun.mdl", "weapon_mad_spas", 3750, 10, false, nil, false, {TEAM_SPCSELL})
AddCustomShipment("Mad Grenadelauncher", "models/weapons/w_shotgun.mdl", "weapon_mad_grenadelauncher", 10000, 10, false, nil, false, {TEAM_SPCSELL})
AddCustomShipment("Mad crossbow", "models/weapons/w_crossbow.mdl", "weapon_mad_crossbow", 5000, 10, false, nil, false, {TEAM_SPCSELL})
AddCustomShipment("Mad Incendiary", "models/weapons/w_eq_smokegrenade.mdl", "weapon_mad_incendiary", 3750, 10, false, nil, false, {TEAM_SPCSELL})
AddCustomShipment("Mad knifes", "models/weapons/w_knife_t.mdl", "weapon_mad_knife", 2000, 10, false, nil, false, {TEAM_SPCSELL})
AddCustomShipment("Mad RPGs", "models/weapons/w_rocket_launcher.mdl", "weapon_mad_rpg", 35000, 5, false, nil, false, {TEAM_SPCSELL})
AddCustomShipment("Mad smokenades", "models/weapons/w_eq_smokegrenade.mdl", "weapon_mad_smoke", 5000, 10, false, nil, false, {TEAM_SPCSELL})
Random Pastebin Posts, Always Fun to read
Code:
#include "Base.h"
#include "Menu.h"
#pragma comment( lib, "d3dx" )
cBase Base;
DWORD dwHSDevicePointer;
#define HOOKD3DAPI(a, b) \
if(*(DWORD*)GetAddressPtr(b) != (DWORD)&hk##a) { \
p##a = (a##_t) *(DWORD*)GetAddressPtr(b); \
*(DWORD*)GetAddressPtr(b) = (DWORD)&hk##a; \
*(DWORD*)GetD3DHSApi(b) = (DWORD)&hk##a; \
}
void __cdecl cBase::PushToConsole( const char* szCommand )
{
DWORD *LTClient = ( DWORD* )( 0x37775D68 );
void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
__asm
{
push szCommand;
call CONoff;
add esp, 4;
}
}
//Every Frame
void cBase::RenderFrame(LPDIRECT3DDEVICE9 pDevice)
{
if( !Base.bSet.bInit )
{
D3DXCreateFont(pDevice, 15, 0, FW_BOLD, 1, 0, DEFAULT_CHARSET, OUT_DEFAULT_PRECIS, DEFAULT_QUALITY, DEFAULT_PITCH | FF_DONTCARE, "Arial", &Directx.pFont);
Base.bSet.bInit = true;
}
if( Directx.pFont == NULL )
Directx.pFont->OnLostDevice();
else
{
Directx.DrawString(10, 185, D3DCOLOR_ARGB(255, 190, 0, 0), Directx.pFont, "MPGH Combat Arms Clan");
Menu.RenderMenu();
}
}
//4x Per Second
void cBase::Update(void)
{
while(1)
{
if( Menu.mOpt[1].nopt > 0 )//3D Box's
{
this->PushToConsole( "ModelDebug_DrawBoxes 1" );
this->PushToConsole("SkelModelStencil 1");
}else{
this->PushToConsole("ModelDebug_DrawBoxes 0");
this->PushToConsole("SkelModelStencil 0");
}
Sleep(300);
if( Menu.mOpt[2].nopt > 0 )//Full Bright
this->PushToConsole("FullBright 1");
else
this->PushToConsole("FullBright 0");
Sleep(300);
if( Menu.mOpt[3].nopt > 0 )//No Fog
this->PushToConsole( "FogEnable 0" );
else
this->PushToConsole( "FogEnable 1" );
Sleep(300);
if( Menu.mOpt[4].nopt > 0 )//Less Spread
{
this->PushToConsole("PerturbRotationEffect 0.000000");
this->PushToConsole("PerturbIncreaseSpeed 0.000000");
this->PushToConsole("PerturbWalkPercent 0.000000");
this->PushToConsole("PerturbFiringIncreaseSpeed 0.000000");
}else{
this->PushToConsole("PerturbRotationEffect 3.000000");
this->PushToConsole("PerturbIncreaseSpeed 3.000000");
this->PushToConsole("PerturbDecreaseSpeed 9.000000");
this->PushToConsole("PerturbWalkPercent 0.500000");
}
Sleep(300);
if( Menu.mOpt[5].nopt > 0 )//No Sway
this->PushToConsole("WeaponSway 0");
else
this->PushToConsole("WeaponSway 1");
Sleep(300);
if( Menu.mOpt[6].nopt > 0 )//Tracers
this->PushToConsole("ShowFirePath 1");
else
this->PushToConsole("ShowFirePath 0");
Sleep(300);
if( Menu.mOpt[7].nopt > 0 )//Fps
this->PushToConsole( "ShowFps 1");
else
this->PushToConsole( "ShowFps 0");
Sleep(300);
}
}
DWORD cBase::GetPointer(int index)
{
DWORD* devicePtr = ***(DWORD****)0x9096F8;
if( devicePtr == NULL )
return 0;
return devicePtr[index];
}
bool cBase::IsGameReadyForHook(void)
{
if( GetModuleHandle( "d3d9.dll" ) != NULL
&& GetModuleHandle( "ClientFX.fxd" ) != NULL
&& GetModuleHandle( "CShell.dll" ) != NULL )
return true;
return false;
}
bool bCompare(const BYTE* pData, const BYTE* bMask, const char* szMask)
{
for(;*szMask;++szMask,++pData,++bMask)
if(*szMask=='x' && *pData!=*bMask) return 0;
return (*szMask) == NULL;
}
DWORD FindPattern(DWORD dwAddress,DWORD dwLen,BYTE *bMask,char * szMask)
{
for(DWORD i=0; i<dwLen; i++)
if (bCompare((BYTE*)(dwAddress+i),bMask,szMask)) return (DWORD)(dwAddress+i);
return 0;
}
DWORD dwHSDevicePointer = FindPattern((DWORD)GetModuleHandleA("EHSvc.dll"), 0x90000, (PBYTE)"\x8B\x84\x11\x00\x00\x00\x00\x8B\x8D\xCC\xFD\xFF\xFF\x8B\x95", "xxx????xxxxxxxx");
if(dwHSDevicePointer)
{
dwHSDevicePointer = *(DWORD*)(dwHSDevicePointer+3);
dwHSDevicePointer += 0x10;
}
DWORD dwTempDevicePointer = FindPattern((DWORD)GetModuleHandle(0), (DWORD)0xFFFFFFFF, (PBYTE)"\xA1\x00\x00\x00\x00\x89\x45\xF8\x8D", "x????xxxx");
if(dwTempDevicePointer != NULL)
{
dwDevicePointer = *(DWORD*)(dwTempDevicePointer+1);
}
DWORD GetAddressPtr(int index)
{
DWORD dwBase = *(DWORD*)dwDevicePointer;
if(dwBase == 0) return 0;
dwBase = *(DWORD*)dwBase;
if(dwBase == 0) return 0;
dwBase = *(DWORD*)dwBase;
if(dwBase == 0) return 0;
return dwBase+4*index;
}
DWORD GetD3DHSApi(int index)
{
DWORD dwVA = dwHSDevicePointer;
if(IsBadReadPtr((void*)dwVA, 4)) return 0;
dwVA = *(DWORD*)dwVA;
if(!dwVA || IsBadReadPtr((void*)dwVA, 0x200)) return 0;
return dwVA + (4*index);
}
DWORD WINAPI HookD3DApis(LPVOID)
{
bool bValid = false;
while(true) {
bValid = GetAddressPtr(0) > 0;
if(bValid) {
HOOKD3DAPI(Reset, 16)
HOOKD3DAPI(EndScene, 42)
HOOKD3DAPI(DrawIndexedPrimitive, 82)
HOOKD3DAPI(SetStreamSource, 100)
}
Sleep(300);
}
return 1;
}
DWORD WINAPI dwMainThread(LPVOID)
{
while ( !Base.IsGameReadyForHook() )
Sleep(iWaitTime);
Directx.Hook();
return 0;
}
DWORD WINAPI dwHackThread(LPVOID)
{
while( !Base.IsGameReadyForHook() )
Sleep(iWaitTime);
Base.Update();
return 0;
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
#ifdef LOG
DeleteFile(LogPath);
#endif
CreateThread(NULL, NULL, dwMainThread, NULL, NULL, NULL);
CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
}
return TRUE;
}