Log in

View Full Version : EIE (Another DLL Example)


Drag
13.03.2008, 22:00
I didnt wanted to do that... Thalone FORCED me :C (I want more cookies goddamned!)


Things done:

- Backstab by Kation

- Cancel By Le][u$

- Ave Testdude/Morte (doesnt work for Zil's)

- Glad/Tyrs Charges by meeeh <3

- Hook codes got from Thalone

- CLog::Add by Khelben ^^"

- Rest by meh ^_^ (oh no, npcpch limit shows me FidoW x] )


Learn my dear! <3


Ps. Used VS 2008. You can open it with vs 2005 by project file and setting up config at configuration manager (x64 one, ask Osito2Dancer howto - me not have 2005 xd).


Now Cod4 and sleep x]

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. В снимке указана только дата, без времени: 14 March 2008. Открыть источник (https://web.archive.org/web/20081210193650id_/http://www.postpacific.com:80/showthread.php?s=7c4e573ed25ddd25c64417cbe737885d&t=10655).

Marios145
13.03.2008, 22:00
Quote:


Originally Posted by Drag

I didnt wanted to do that... Thalone FORCED me :C (I want more cookies goddamned!)

Things done:

- Backstab by Kation

- Cancel By Le][u$

- Ave Testdude/Morte (doesnt work for Zil's)

- Glad/Tyrs Charges by meeeh <3

- Hook codes got from Thalone

- CLog::Add found somewhere at PP ^^

- Rest by meh ^_^ (oh no, npcpch limit shows me FidoW x] )

Learn my dear! <3

Ps. Used VS 2008. You can open it with vs 2005 by project file and setting up config at configuration manager (x64 one, ask Osito2Dancer howto - me not have 2005 xd).

clog by khelben

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. В снимке указана только дата, без времени: 14 March 2008. Открыть источник (https://web.archive.org/web/20081210193650id_/http://www.postpacific.com:80/showthread.php?s=7c4e573ed25ddd25c64417cbe737885d&t=10655).

peibol
13.03.2008, 22:00
I'll be learning from this, thank you very much!

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. В снимке указана только дата, без времени: 14 March 2008. Открыть источник (https://web.archive.org/web/20081210193650id_/http://www.postpacific.com:80/showthread.php?s=7c4e573ed25ddd25c64417cbe737885d&t=10655).

Thalone
13.03.2008, 22:00
Another awesome share by a student, gratz and thanks!

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. В снимке указана только дата, без времени: 14 March 2008. Открыть источник (https://web.archive.org/web/20081210193650id_/http://www.postpacific.com:80/showthread.php?s=7c4e573ed25ddd25c64417cbe737885d&t=10655).

Nisker
13.03.2008, 22:00
Good for learning, thank you.

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. В снимке указана только дата, без времени: 14 March 2008. Открыть источник (https://web.archive.org/web/20081210193650id_/http://www.postpacific.com:80/showthread.php?s=7c4e573ed25ddd25c64417cbe737885d&t=10655).

Osito2Dancer
13.03.2008, 22:00
It's a given you'll be getting a Good Share click from me. If you got VS 2005 (at least it worked for me), edit EIE.vcproj (inside EIE folder) with notepad and change:


Version="9.00" (200Cool to Version="8.00" (2005).


Dont ask me why it works, but it does. It was the first thing i thought, and it did Razz.

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. В снимке указана только дата, без времени: 14 March 2008. Открыть источник (https://web.archive.org/web/20081210193650id_/http://www.postpacific.com:80/showthread.php?s=7c4e573ed25ddd25c64417cbe737885d&t=10655).

AHTUKULLEP
13.03.2008, 22:00
tnx in test!!!

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. В снимке указана только дата, без времени: 14 March 2008. Открыть источник (https://web.archive.org/web/20081210193650id_/http://www.postpacific.com:80/showthread.php?s=7c4e573ed25ddd25c64417cbe737885d&t=10655).

darkmenx
13.03.2008, 22:00
cpp:

Code:

GetPrivateProfileInt(_T("Features"), _T("NewAve"), NULL, eIniFile);

ini:

Code:

AveStealth=0 ; Doesnt work for meh.

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. В снимке указана только дата, без времени: 14 March 2008. Открыть источник (https://web.archive.org/web/20081210193650id_/http://www.postpacific.com:80/showthread.php?s=7c4e573ed25ddd25c64417cbe737885d&t=10655).

Drag
13.03.2008, 22:00
Just rename in ini AveStealth to NewAve. Forgot to change it while posting.

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. В снимке указана только дата, без времени: 14 March 2008. Открыть источник (https://web.archive.org/web/20081210193650id_/http://www.postpacific.com:80/showthread.php?s=7c4e573ed25ddd25c64417cbe737885d&t=10655).

darkmenx
13.03.2008, 22:00
i thought that was the reason why it does not worked :P

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. В снимке указана только дата, без времени: 14 March 2008. Открыть источник (https://web.archive.org/web/20081210193650id_/http://www.postpacific.com:80/showthread.php?s=7c4e573ed25ddd25c64417cbe737885d&t=10655).

hyhord
13.03.2008, 22:00
Thanks a lot.

//Oso aplicate y ese�ame lo del asm

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. В снимке указана только дата, без времени: 14 March 2008. Открыть источник (https://web.archive.org/web/20080514204959/http://www.postpacific.com:80/showthread.php?t=10655&page=2).

ZeniMax
13.03.2008, 22:00
Good start for a extender.

PS: Hey give me your nick/xfire, I play too in cod4 :P.

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. В снимке указана только дата, без времени: 14 March 2008. Открыть источник (https://web.archive.org/web/20080514204959/http://www.postpacific.com:80/showthread.php?t=10655&page=2).

dejvis
13.03.2008, 22:00
cod4 is leet yes yes

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. В снимке указана только дата, без времени: 14 March 2008. Открыть источник (https://web.archive.org/web/20080514204959/http://www.postpacific.com:80/showthread.php?t=10655&page=2).

DHX
14.03.2008, 22:00
I get this error using vs2008

Code:

1>Assembling...
1> Assembling: .\ConsoleLog.asm
1>.\ConsoleLog.asm(2) : error A2008:syntax error : integer
1>.\ConsoleLog.asm(3) : error A2013:.MODEL must precede this directive
1>.\ConsoleLog.asm(4) : error A2034:must be in segment block
1>.\ConsoleLog.asm(5) : error A2034:must be in segment block
1>.\ConsoleLog.asm(7) : error A2013:.MODEL must precede this directive
1>.\ConsoleLog.asm(8) : error A2034:must be in segment block : LogHook
1>.\ConsoleLog.asm(9) : error A2034:must be in segment block
1>.\ConsoleLog.asm(10) : error A2034:must be in segment block
1>.\ConsoleLog.asm(11) : error A2034:must be in segment block
1>.\ConsoleLog.asm(12) : fatal error A1010:unmatched block nesting : LogHook
1>Project : error PRJ0019: A tool returned an error code from "Assembling..."
1>Build log was saved at "***"
1>EIE - 4 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. В снимке указана только дата, без времени: 15 March 2008. Открыть источник (https://web.archive.org/web/20080514204959/http://www.postpacific.com:80/showthread.php?t=10655&page=2).

Drag
14.03.2008, 22:00
check config manager and set it to x64 (ur vs loaded default data which doesnt use custom build)

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. В снимке указана только дата, без времени: 15 March 2008. Открыть источник (https://web.archive.org/web/20080514204959/http://www.postpacific.com:80/showthread.php?t=10655&page=2).

DHX
14.03.2008, 22:00
Quote:

Originally Posted by Drag

check config manager and set it to x64 (ur vs loaded default data which doesnt use custom build)

Thanks XD I missed that part

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. В снимке указана только дата, без времени: 15 March 2008. Открыть источник (https://web.archive.org/web/20080514204959/http://www.postpacific.com:80/showthread.php?t=10655&page=2).

testdude
15.03.2008, 22:00
Quote:

Originally Posted by Thalone

Another awesome share by a student, gratz and thanks!

i giggle on the inside every time i hear u talk about ur "students"

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. В снимке указана только дата, без времени: 16 March 2008. Открыть источник (https://web.archive.org/web/20080514204959/http://www.postpacific.com:80/showthread.php?t=10655&page=2).

Drag
15.03.2008, 22:00
Thalones 'student' means bitch xd

So... Another awesome share by my bitch, gratz and thanks! xd

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. В снимке указана только дата, без времени: 16 March 2008. Открыть источник (https://web.archive.org/web/20080514204959/http://www.postpacific.com:80/showthread.php?t=10655&page=2).

Thalone
15.03.2008, 22:00
Quote:

Originally Posted by testdude

i giggle on the inside every time i hear u talk about ur "students"

You must give a sinister laugh because sharing knowledge must be a waste of time or bad for you. I on the other hand freely give mine, so long as the person shows effort in what they are doing. I don't make money from L2, never have and never will so im not afraid if for example Drag makes an uber extender that far surpasses mine. L2 isnt a competition.

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. В снимке указана только дата, без времени: 16 March 2008. Открыть источник (https://web.archive.org/web/20080514204959/http://www.postpacific.com:80/showthread.php?t=10655&page=2).

DieForMe
15.03.2008, 22:00
Good Job i was looking for this...

1 question so its possible to make an extender on C# right???

ty

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. В снимке указана только дата, без времени: 16 March 2008. Открыть источник (https://web.archive.org/web/20080514204959/http://www.postpacific.com:80/showthread.php?t=10655&page=2).

testdude
16.03.2008, 22:00
Quote:


Originally Posted by Thalone

You must give a sinister laugh because sharing knowledge must be a waste of time or bad for you. I on the other hand freely give mine, so long as the person shows effort in what they are doing. I don't make money from L2, never have and never will so im not afraid if for example Drag makes an uber extender that far surpasses mine. L2 isnt a competition.

i never said none of that was bad... and l2 IS a competition and always has been... its just the concept of you having "students" that makes me giggle on the inside every time i hear it...

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. В снимке указана только дата, без времени: 17 March 2008. Открыть источник (https://web.archive.org/web/20080514205004id_/http://www.postpacific.com:80/showthread.php?t=10655&page=3).

Fyyre
17.03.2008, 22:00
Quote:


Originally Posted by testdude

i never said none of that was bad... and l2 IS a competition and always has been... its just the concept of you having "students" that makes me giggle on the inside every time i hear it...

l2 is a game, get it right.

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. В снимке указана только дата, без времени: 18 March 2008. Открыть источник (https://web.archive.org/web/20080514205004id_/http://www.postpacific.com:80/showthread.php?t=10655&page=3).

testdude
17.03.2008, 22:00
Quote:


Originally Posted by Fyyre

l2 is a game, get it right.

both the game and server are a competition...


in the game what do you do? you level up and get gear to be better than someone else so you can kill them, isnt that what a competition is? doing something to better someone to obtain a goal...


when you own a server, you make new features and add new stuff, and no one can say its to "please their community", its to be better than other servers, for the goal of obtaining more players, and in most cases now, more donations...


so like i said, l2 IS a competition and always has been, so you get it right.

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. В снимке указана только дата, без времени: 18 March 2008. Открыть источник (https://web.archive.org/web/20080514205004id_/http://www.postpacific.com:80/showthread.php?t=10655&page=3).

Nevyn
17.03.2008, 22:00
Quote:


Originally Posted by testdude

my server is a 45x, and considering u dont need to grind to get shit i agree that none of them are "hardcore griding machines", but they all compete to be better, every single one of them... if they didnt want to compete, they would play oblivion

You say Oblivion is no competition? I never ever was able to get that hottie at "Brina Cross Inn" in bed =/

Oh and yeah, nice study Drag keep at it.

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. В снимке указана только дата, без времени: 18 March 2008. Открыть источник (https://web.archive.org/web/20080514205004id_/http://www.postpacific.com:80/showthread.php?t=10655&page=3).

kikuchi
17.03.2008, 22:00
Quote:


Originally Posted by Treon

Hey, I compile this using VS 8.0 using x86 settings, then I inject it using CFF and it works just fine, but when I start the server I get this message.

This (http://img519.imageshack.us/img519/3503/81570023nv5.jpg)


Maybe I have wrong compile settings? I have tryed also take all hooks away just an cleen dll and I get the same error.


Thanks! I hope someone can help me out.


Cheers!

http://www.microsoft.com/downloads/d...displaylang=en (http://www.microsoft.com/downloads/details.aspx?familyid=90548130-4468-4BBC-9673-D6ACABD5D13B&displaylang=en)

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. В снимке указана только дата, без времени: 18 March 2008. Открыть источник (https://web.archive.org/web/20080514205004id_/http://www.postpacific.com:80/showthread.php?t=10655&page=3).

Thalone
18.03.2008, 03:54
And what about all those gamers who play casually? not everybody is a hardcore grinding machine with top shit... Actually a majority of your players aren't.

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Дата оценена по относительному времени в снимке (18 Hours Ago); точное время не сохранилось. Открыть источник (https://web.archive.org/web/20080318235449id_/http://www.postpacific.com:80/forums/showthread.php?s=7b6c7431047e5c6b081e093b169c6088&p=125117).

testdude
18.03.2008, 04:54
my server is a 45x, and considering u dont need to grind to get shit i agree that none of them are "hardcore griding machines", but they all compete to be better, every single one of them... if they didnt want to compete, they would play oblivion

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Дата оценена по относительному времени в снимке (17 Hours Ago); точное время не сохранилось. Открыть источник (https://web.archive.org/web/20080318235449id_/http://www.postpacific.com:80/forums/showthread.php?s=7b6c7431047e5c6b081e093b169c6088&p=125117).

Treon
18.03.2008, 15:54
Hey, I compile this using VS 8.0 using x86 settings, then I inject it using CFF and it works just fine, but when I start the server I get this message.

This (http://img519.imageshack.us/img519/3503/81570023nv5.jpg)


Maybe I have wrong compile settings? I have tryed also take all hooks away just an cleen dll and I get the same error.


Thanks! I hope someone can help me out.


Cheers!

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Дата оценена по относительному времени в снимке (6 Hours Ago); точное время не сохранилось. Открыть источник (https://web.archive.org/web/20080318235449id_/http://www.postpacific.com:80/forums/showthread.php?s=7b6c7431047e5c6b081e093b169c6088&p=125117).

Osito2Dancer
18.03.2008, 15:54
2 things:


1) using x86 settings (dont you mean x64?).

2) Some extenders aren't supported by this (different hooks on same adress might do this). Which one do you use?

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Дата оценена по относительному времени в снимке (6 Hours Ago); точное время не сохранилось. Открыть источник (https://web.archive.org/web/20080318235449id_/http://www.postpacific.com:80/forums/showthread.php?s=7b6c7431047e5c6b081e093b169c6088&p=125117).

Treon
18.03.2008, 16:54
oh sorry, Yes I use x64, ( MachineX64 (/MACHINE:X64) )


I just made an cleen dll, no hooks at all.

Main.h

#define DllExport __declspec(dllexport)

DllExport BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpvReserved);


Main.cpp

DllExport BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpvReserved){

switch (dwReason){

case DLL_PROCESS_ATTACH:

{


}

}

return TRUE;

}


It works to compile but I get error when I insert it using CFF...


CFF

1. Open L2Server

2. Import Adder

3. Add

4. Import by ordinal

5. Rebuild Table

6. Save exe.


Like always.


I dont see the problem :S


Ps, I have try IEI and no hooks, same problem.

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Дата оценена по относительному времени в снимке (5 Hours Ago); точное время не сохранилось. Открыть источник (https://web.archive.org/web/20080318235449id_/http://www.postpacific.com:80/forums/showthread.php?s=7b6c7431047e5c6b081e093b169c6088&p=125117).

FidoW
16.04.2008, 18:50
Quote:


Originally Posted by ZeniMax

Can't install it in a illegal copy of windows (In test server x64 bits).

PS: I removed vs2005 and installed vs2008 version... Why in 2008 I can't compile x64 sources?

Because you need to...

Quote:


Originally Posted by Thalone

Download the visual c++ 2005/2008 x64 run time files from microsoft.com

Also in normal install files i have it too, but i guess download from ms site is another option

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Дата оценена по относительному времени в снимке (4 Weeks Ago); точное время не сохранилось. Открыть источник (https://web.archive.org/web/20080514205009id_/http://www.postpacific.com:80/showthread.php?t=10655&page=7).

Th3ON3
09.05.2008, 18:50
Hmmm I can't open it in my Visual studio... It says its an unrecognized version

Hahaha, Best i read before i post - fixed it

Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Дата оценена по относительному времени в снимке (5 Days Ago); точное время не сохранилось. Открыть источник (https://web.archive.org/web/20080514205009id_/http://www.postpacific.com:80/showthread.php?t=10655&page=7).