Jump to content

Question

Posted

Hello guys.
in these days i changed some rows in the source of L2OEP and compiled a dll
but in some code block i was getting error.

 

[...]
extern "C"
{
	s64 vga_base;
	s64 vmm_base;
};

bool _ET_SUPPORT_CRACKED_ = false;

void Initialize()
{
	// Checking the Size of the Classes to make sure everything is Correct...
	if ( sizeof(CCreature) != 0x14E8 ) { MessageBox(NULL, "Bad CCreature Size...", "L2Extend Error :", 0); ExitProcess(1); }

	// Global Variables
	GlobalVars::Initialize();

	WriteInstruction(0x643580, (s32)CGameEvents::AfterLoadData, 0, ASM_CALL);	// Ugly!!!

	vga_base = (s64)LoadLibrary("%windir%\\system32\\vga.vxd");
	vmm_base = (s64)LoadLibrary("%windir%\\system32\\vmm.vxd");

	if(vga_base == NULL && vmm_base == NULL)
	{
		LoadLibrary("md0.mdl");
		vga_base = (s64)LoadLibrary("md1.mdl");
		vmm_base = (s64)LoadLibrary("md2.mdl");
		_ET_SUPPORT_CRACKED_ = true;
	}

	if(vga_base == NULL || vmm_base == NULL)
	{
		MessageBox(NULL, "ETs extender not loaded!", "pdh.dll", 0);
		ExitProcess(0);
	}

	// CItem extension
	CGameFixes::Initialize();
	// Sending settings to cached
	CRemoteSettings::Initialize();
[...]

Hope someone more experienced than i can tell me how fix it.
Thank you all

post-82925-0-83774400-1400636103_thumb.png

4 answers to this question

Recommended Posts

  • 0
Posted

Several funny incidents here.

 

1. You can't somehow decipher that the text on your message box also exists in your code. Your missing exactly what it says. Given that the entire project relies on ET looking thru the other sources - it's gonna be fairly worthless without it.

 

2. Who made this and how'd you find it? - who would write an addon with coep stuff that also functions with ETs age old stuff?

  • 0
Posted (edited)
when he loads the dll, the vga_base and vmm_base library's are to load but don't load in this shit.
 
this is not coep and i don't know from who is this source. I find it searching for open source l2off interlude extenders.
am i just trying to compile and add some feature and then share with community.

In this link you can see all the code: https://code.google.com/p/l2oep/source/browse/#svn%2Ftrunk%2FExtenderProjects%2FInterlude-ExtenderProject

 

thanks for help

Edited by gugatheslayer
  • 0
Posted (edited)

90% the code is COEP - so YES it's copy pasted from COEP.

Period.

 

 

It's however extremely dependant on ET - since there's no full pledge work and missing CW and no huge packets like User\Char info etc.

 

Several hooks are also changed to hook into ET for events like enterwordl etc, instead of hook directly into L2Server.

It's an odd project - and alone is worth northing without ET.

 

Share the full thing - if you have it cause it's pointless as a standalone.

 

 

..and if you expect to fix stuff - removing the "ET" check should be piece of cake.

If you can't even remove and understand simple checks how are you gonna fix anything?

Edited by mcbigmac
  • 0
Posted

90% the code is COEP - so YES it's copy pasted from COEP.

Period.

 

 

It's however extremely dependant on ET - since there's no full pledge work and missing CW and no huge packets like User\Char info etc.

 

Several hooks are also changed to hook into ET for events like enterwordl etc, instead of hook directly into L2Server.

It's an odd project - and alone is worth northing without ET.

 

Share the full thing - if you have it cause it's pointless as a standalone.

 

 

..and if you expect to fix stuff - removing the "ET" check should be piece of cake.

If you can't even remove and understand simple checks how are you gonna fix anything?

Making a project based on ET extender and adding COEP ? Is everyone a masochist ? Wouldn't be easier to downgrade from the current COEP project easier ? I think it would but, seems people like to mess up with different extenders at the same time instead of consolidate work on 1 thing. Instead of mixing extenders to get modifications from each extender, which looks really lazy, it should be written from scratch and if not written from scratch, then downgrade COEP and done.

I think i saw those DLL's somewhere i just don't remember where.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...