Jump to content

L2PTS Files High Five 273


Dection

Recommended Posts

27 minutes ago, menma said:

I used run.bat ai.nasc from cmd console.

 

I try to make it by using l2npc.exe -c -e ai.nasc and have same result.

 

Did you get it to compile? What version of Windows server do you have? I am using windows 2016 but the compiler for Gracia worked fine.

 

UPD: The problem is solved, need to compile with standard scripts. The problem with re-login to the account remains.

that is correct.... I did no test relog, i'm still working in the ai and npcpos, Then I do a test and post

Link to comment
Share on other sites

3 minutes ago, Mechas said:

that is correct.... I did no test relog, i'm still working in the ai and npcpos, Then I do a test and post

void CAuthD::SaveUserDataAndLogout(int nAccountID,int nUnk1,int nUnk2)
{
	typedef void (CAuthD::*t)(int,int,int);
	SET_INSTANCE_METHOD_ADDR(t, 0x45C00CL);
	CALL_INSTANCE_METHOD(nAccountID,nUnk1,nUnk2);
}

void CAuthD::RequestLogout(int nAccountID,int nUnk1,int nUnk2)
{
	typedef void (CAuthD::*t)(int,int,int);
	SET_INSTANCE_METHOD_ADDR(t, 0x45BE50L);
	CALL_INSTANCE_METHOD(nAccountID,nUnk1,nUnk2);
}

bool CAuthD::OnRequestLogin(wchar_t * sAccountName,int nAccountID,int nGameSessionID,int nAccountID2,int nAuthSessionID,CUserSocket *pSocket)
{
	TLS_TRACE_FUNCTION;	

	if(nGameSessionID == 0 || nAuthSessionID == 0 || nAccountID != nAccountID2)
	{	
		CLog::Add(CLog::red,L"Wrong account session! account_id(%d) GameSessionID[%d] AccountID2[%d] AuthSessionID[%d]",nAccountID,nGameSessionID,nAccountID2,nAuthSessionID);
		pSocket->ForceClose(6);
		return false;
	}

	g_AuthSessionLock->WriteLock(__WFILE__,__LINE__);
	bool bSessionError = false;
	IntIntMap::iterator iter = g_AuthAccountSessionMap->find(nAccountID);
	if(iter != g_AuthAccountSessionMap->end())
	{		
		if (nGameSessionID != iter->second)
		{
			bSessionError = true;		
			CLog::Add(CLog::red,L"Wrong account session! account_id(%d) session[%d] != [%d]",nAccountID,nGameSessionID,iter->second);
		}
	}
	else
	{
		bSessionError = true;
		CLog::Add(CLog::red,L"Account session not found! account_id(%d) session[%d]",nAccountID,nGameSessionID);
	}
	g_AuthSessionLock->WriteUnlock();

	if(bSessionError)
	{
		pSocket->ForceClose(6);
		return false;
	}

	CPremiumService::I()->RequestPremiumState(pSocket->GetSocketUID(), nAccountID);

	typedef bool (CAuthD::*t)(wchar_t *,int,int,int,int,CUserSocket *);
	SET_INSTANCE_METHOD_ADDR(t, 0x45B648L);
	return CALL_INSTANCE_METHOD(sAccountName,nAccountID,nGameSessionID,nAccountID2,nAuthSessionID,pSocket);
}

 

hfdll.dll have this

Link to comment
Share on other sites

2 minutes ago, menma said:

void CAuthD::SaveUserDataAndLogout(int nAccountID,int nUnk1,int nUnk2)
{
	typedef void (CAuthD::*t)(int,int,int);
	SET_INSTANCE_METHOD_ADDR(t, 0x45C00CL);
	CALL_INSTANCE_METHOD(nAccountID,nUnk1,nUnk2);
}

void CAuthD::RequestLogout(int nAccountID,int nUnk1,int nUnk2)
{
	typedef void (CAuthD::*t)(int,int,int);
	SET_INSTANCE_METHOD_ADDR(t, 0x45BE50L);
	CALL_INSTANCE_METHOD(nAccountID,nUnk1,nUnk2);
}

bool CAuthD::OnRequestLogin(wchar_t * sAccountName,int nAccountID,int nGameSessionID,int nAccountID2,int nAuthSessionID,CUserSocket *pSocket)
{
	TLS_TRACE_FUNCTION;	

	if(nGameSessionID == 0 || nAuthSessionID == 0 || nAccountID != nAccountID2)
	{	
		CLog::Add(CLog::red,L"Wrong account session! account_id(%d) GameSessionID[%d] AccountID2[%d] AuthSessionID[%d]",nAccountID,nGameSessionID,nAccountID2,nAuthSessionID);
		pSocket->ForceClose(6);
		return false;
	}

	g_AuthSessionLock->WriteLock(__WFILE__,__LINE__);
	bool bSessionError = false;
	IntIntMap::iterator iter = g_AuthAccountSessionMap->find(nAccountID);
	if(iter != g_AuthAccountSessionMap->end())
	{		
		if (nGameSessionID != iter->second)
		{
			bSessionError = true;		
			CLog::Add(CLog::red,L"Wrong account session! account_id(%d) session[%d] != [%d]",nAccountID,nGameSessionID,iter->second);
		}
	}
	else
	{
		bSessionError = true;
		CLog::Add(CLog::red,L"Account session not found! account_id(%d) session[%d]",nAccountID,nGameSessionID);
	}
	g_AuthSessionLock->WriteUnlock();

	if(bSessionError)
	{
		pSocket->ForceClose(6);
		return false;
	}

	CPremiumService::I()->RequestPremiumState(pSocket->GetSocketUID(), nAccountID);

	typedef bool (CAuthD::*t)(wchar_t *,int,int,int,int,CUserSocket *);
	SET_INSTANCE_METHOD_ADDR(t, 0x45B648L);
	return CALL_INSTANCE_METHOD(sAccountName,nAccountID,nGameSessionID,nAccountID2,nAuthSessionID,pSocket);
}

 

hfdll.dll have this

No problem with relog, try no use dll russian shit, use only eressea extender, and diferent auth, try use clean system client.

Link to comment
Share on other sites

9 minutes ago, Mechas said:

No problem with relog, try no use dll russian shit, use only eressea extender, and diferent auth, try use clean system client.

I used eressea extender and hint auth. Clean system 273p.

Link to comment
Share on other sites

2 hours ago, menma said:

what authd are you using?I download 

 

but it did not help.

error.jpg

EDIT: Scratch that, I'm using the patched hauthD too. What's happening when you use it?

Edited by Bumble
Link to comment
Share on other sites

20 minutes ago, Bumble said:

EDIT: Scratch that, I'm using the patched hauthD too. What's happening when you use it?

It looks like the server is not sending a packet to the login that I have logged out. The client closes, but the login server shows that I am still online.

 

How are you with logging out and logging in to one account, is everything okay?

Edited by menma
Link to comment
Share on other sites

15 minutes ago, zconll said:

I am using too HAuthd , all work good, i can reloging, i can to send you my HAuthd if you need.

If you can, send all your binary. I try to watch what is this. Ty.

Bacause i dont khow, change l2server dll name and import dll in other binary its all what i do.

Edited by menma
Link to comment
Share on other sites

7 hours ago, menma said:

what authd are you using?I download 

 

but it did not help.

error.jpg

Sorry i'm working, I can see you resolve the problem, really what happend, i do not know, I use russian pack, and last ver. eressea extender.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   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.




  • Posts

    • Hi, my client version is Classic Kamael.   I build up the story line gradually with the option to turn different parts of the story on and off.   I mean you start a server and you only have The Kamael classic. As an admin, you will be able to gradually enable additional zones, RBs, items, instances, etc. through configs, up to Hi5 (I only have hi5 for now). Sometime in the future I want to add the GoD stuff as well because the new RB is strong and the regular S grade stuff is weak. Of course, there are some limitations of the game client, which I will not remove yet.   For example, I couldn't put Rafforty NPC on hi5 position because you can't get it here and there in the Classic client, so I put it on others.   It's a change that I like.   I'm most looking forward to coming up with zones, quests and instances for Gracia.
    • Hello. If you are looking for a reliable writing company that can provide a high level of service and high quality writing, then I recommend you to visit Essay Pro review https://nocramming.com/essaypro-review, where you can make sure for yourself that this company can be the best assistant in your difficult studies. The company's review is objective and easy to understand, which will help any user to quickly understand the information.
    • Why not making hi5 files to support login/play at the client and only make some client parts for the rest? Isnt it more easy?
    • Powerful Spells Caster & Spiritual Healer Web: lovespellsafrika.com Phone: +27780802727 WhatsApp +27789121499 Email: bbaantu@gmail.com Real Magic Spells | How To Get Back Ex-Boyfriend or Ex-Girlfriend. Real Magic Spells for all purpose; Now you can benefit through the use of spells like Love Spells, Money Spells, Talismans, Charms, Prayers, Curses and Chants. Magic Spells can be spell cast for many purposes. Talismans and Charms work as powerful Ingredients. If you need any spiritual knowledge on the power of Spells and Magic you can always Powerful Magic Rings Love Spells                     Casting of Simple and Effective Love Spells Easy Love Spells Spells for Attraction between two Lovers Binding Love Spells Get back Lost Lover Spells Spells to Strengthen Love Relation Lost Love Spells Soul Mate Spells Marriage Spell for a happy Married Life. Retrieve a Lost Love Spells Bring Back Your Love Spells Gay Love Spells, Lesbian Love Spells Anti-Love Spells, Divorce Spells, Break up Spells How to Get Back Ex-Boyfriend, or Ex-Girlfriend Casting Spells to Get Rid of Your Husband, Wife or Partner without Fights or them hating you Magic Rings, Powerful Love Rings Spells to stop a divorce Voodoo Spells for Love Love Return Spells Money & Prosperity Spells Phone: +27780802727 WhatsApp +27789121499 How to Cast Magic Money Spells Lottery Spells or Lotto Spells Voodoo Spells for Money Black Magic Spell for Money Protection & Banishing Spells Black Magic Spells and Curses to Destroy Enemy or Evil People Protection from Black Magic Spells and Curses Dark Magic Spells Voodoo Spells for Revenge Spells to win court cases &legal matters Healing spells for all purpose Stroke Diabetics Lottery Spells Phone: +27780802727 WhatsApp: +27789121499 Web: lovespellsafrika.com
  • Topics

×
×
  • Create New...