PDA

View Full Version : Code for SS replacement


Arkan
7th October 2004, 03:00
Heres some code for SS replacement.

Dont forget to credit

Dawgster
7th October 2004, 06:34
How do you install it? Im a noob :P

I Like Chicken
7th October 2004, 11:22
Ummm... my suggestion would be add them to your .vcproj btw nice stuff Arkan

itwasfunny
7th October 2004, 12:10
Leased offcial server and Cib admins cant get a pbss with pbss.rar???

Arkan
7th October 2004, 15:11
They can, but they get a hidden surprise, when they see it, hehehe, make some interesting pictures.

noob-cheater
7th October 2004, 15:13
They can, but they get a hidden surprise, when they see it, hehehe, make some interesting pictures.

lol, very nice Arkan... thx for releasing it :)

I Like Chicken
7th October 2004, 15:46
This is the time when you put a picture of the yeti as the input file....even when your playing bridge.

Arkan
7th October 2004, 16:36
Instead of putting the pictures in a specific place on your HD, its better to package them as a resource

Dawgster
7th October 2004, 18:20
Errors?

------ Build started: Project: evilhack, Configuration: Release Win32 ------
Compiling...
CAntiPBSS.cpp
CAntiPBSS.cpp(8) : error C2653: 'CAntiPBSS' : is not a class or namespace name
CAntiPBSS.cpp(10) : error C2065: 'TargetDC' : undeclared identifier
CAntiPBSS.cpp(12) : error C2065: 'FakeScreenBmp' : undeclared identifier
CAntiPBSS.cpp(13) : error C2065: 'FakeScreenDC' : undeclared identifier
CAntiPBSS.cpp(15) : error C2065: 'LastTime' : undeclared identifier
CAntiPBSS.cpp(19) : error C2653: 'CAntiPBSS' : is not a class or namespace name
CAntiPBSS.cpp(25) : error C2653: 'CAntiPBSS' : is not a class or namespace name
CAntiPBSS.cpp(31) : error C2653: 'CAntiPBSS' : is not a class or namespace name
CAntiPBSS.cpp(42) : error C2653: 'CAntiPBSS' : is not a class or namespace name
CAntiPBSS.cpp(44) : error C2065: 'iGetScreenshot' : undeclared identifier
CAntiPBSS.cpp(49) : error C3861: 'RestoreVisuals': identifier not found
CAntiPBSS.cpp(54) : error C3861: 'DisableVisuals': identifier not found
CAntiPBSS.cpp(63) : error C2653: 'CAntiPBSS' : is not a class or namespace name
CAntiPBSS.cpp(64) : error C2365: 'DisableVisuals' : redefinition; previous definition was 'formerly unknown identifier'
CAntiPBSS.cpp(66) : error C2065: 'SettingsBackup' : undeclared identifier
CAntiPBSS.cpp(66) : error C2065: 'Settings' : undeclared identifier
CAntiPBSS.cpp(66) : error C2065: 'settings_t' : undeclared identifier
CAntiPBSS.cpp(66) : error C2070: ''unknown-type'': illegal sizeof operand
CAntiPBSS.cpp(73) : error C2653: 'CAntiPBSS' : is not a class or namespace name
CAntiPBSS.cpp(74) : error C2365: 'RestoreVisuals' : redefinition; previous definition was 'formerly unknown identifier'
CAntiPBSS.cpp(76) : error C2070: ''unknown-type'': illegal sizeof operand
Build log was saved at "file://c:\Games\AA Source\DawgsterHack 1.1 Public Source\evilhack\Release\BuildLog.htm"
evilhack - 21 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Arkan
7th October 2004, 20:35
......Wast meant for copy and pasting, was just a base source on how to intercept pb SS, and replace them.

masterof
10th October 2004, 06:49
Heres some code for SS replacement.

Dont forget to credit
wher do i place .bmp a picture and do i place the rar file some where or unpack and place files where do they go i am new to this got pb pictured today noob :( :dead: :(

Arkan
17th October 2004, 00:05
HWND sys_GetForegroundWindow(VOID)
{
//Log("sys_GetForegroundWindow: retAddr: %.8X", (DWORD)_ReturnAddress());

if ((DWORD)_ReturnAddress() == (DWORD) GetModuleHandle("pbcl.dll") + 0x78FD)
AntiPBSS.SetFakeSS();

return orig_GetForegroundWindow();
}

drewpaul86
17th October 2004, 00:36
go wormx, lol.

o well, it's getting him known, jsut give him credit next time k arkan?

Shahrad
17th October 2004, 00:59
lol i think arkan maybe forgot, he might have been in a rush or something

but good to know, thnx for the tut WormX, thnx for the find Arkan

itwasfunny
17th October 2004, 14:54
1) Put PBSB files in Evilconfig or Evilhack folder?
2)Add this in what file and where?
HWND sys_GetForegroundWindow(VOID)
{
//Log("sys_GetForegroundWindow: retAddr: %.8X", (DWORD)_ReturnAddress());

if ((DWORD)_ReturnAddress() == (DWORD) GetModuleHandle("pbcl.dll") + 0x78FD)
AntiPBSS.SetFakeSS();

return orig_GetForegroundWindow();
}

Complete???

Mr_Rain
17th October 2004, 21:52
They can, but they get a hidden surprise, when they see it, hehehe, make some interesting pictures.


they'll ban the GUID anyways probably, LOL