Register for your free account! | Forgot your password?

You last visited: Today at 06:26

  • Please register to post and access all features, it's quick, easy and FREE!


[NEW] Core Downer

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Nov 2013
Posts: 27
Received Thanks: 48
[NEW] Core Downer

I and the other servers' author are having a strange problem which crashes the game file. I solved the problem in a few days. I won't tell you how to do it because most people will try to do it.

The problem is starting with accessing invalid address in the memory. It might cause lag or something else. The game file can't access m_stCurQuest (because it's invalid). The problem only happens when the quest contains select at least I have that problem. I just added a string variable in QuestState called quest_name. If quest_name is not empty, the game file will use quest_name of QuestState instead of GetCurrentQuestName().

Open "quest.h" file, search "int st;" and under;
Quote:
std::string quest_name;
Open "questlua.cpp" file, search "qs.suspend_state = SUSPEND_STATE_SELECT; and under;
Quote:
qs.quest_name = GetCurrentPC() ? GetCurrentPC()->GetCurrentQuestName() : "no_quest";
Open "questlua_quest.cpp" file, search "QuestState* pQS = pPC->GetRunningQuestState();" and under;
Quote:
std::string stQuestName = pPC->GetCurrentQuestName();
if (pQS->quest_name.length() != 0)
stQuestName = pQS->quest_name;



cBaraN is offline  
Old 10/14/2018, 23:37   #2


 
elite*gold: 3
Join Date: May 2014
Posts: 1,693
Received Thanks: 714
Code:
			if (NULL == pQS || NULL == q.GetQuestStateName(pPC->GetCurrentQuestName(), pQS->st))
			{
				sys_err("	... WHO AM I? WHERE AM I? I only know QuestName(%s)...", pPC->GetCurrentQuestName().c_str());
			}


xSaito is offline  
Old 11/01/2018, 11:29   #3
 
elite*gold: 0
Join Date: May 2013
Posts: 350
Received Thanks: 611
Quote:
Originally Posted by cBaraN View Post
I and the other servers' author are having a strange problem which crashes the game file. I solved the problem in a few days. I won't tell you how to do it because most people will try to do it.

The problem is starting with accessing invalid address in the memory. It might cause lag or something else. The game file can't access m_stCurQuest (because it's invalid). The problem only happens when the quest contains select at least I have that problem. I just added a string variable in QuestState called quest_name. If quest_name is not empty, the game file will use quest_name of QuestState instead of GetCurrentQuestName().

Open "quest.h" file, search "int st;" and under;


Open "questlua.cpp" file, search "qs.suspend_state = SUSPEND_STATE_SELECT; and under;


Open "questlua_quest.cpp" file, search "QuestState* pQS = pPC->GetRunningQuestState();" and under;
Seems like you want to let them install a CoreDowner, huh?

Your last step. You are not even checking if pQS is null and your stQuestName is never used.

Can you please tell me, how the heck this should fix anything?
.Sanii is offline  
Thanks
2 Users
Reply



« [Release] Truhen-Quest[-Generator] mit einstellbaren Chancen | Minecraft head for metin2 »

Similar Threads
[Release] Core Downer
02/03/2012 - Metin2 PServer Guides & Strategies - 30 Replies
Hallo. Hier Release ich euch nen Core Downer. Wo ist der Haken ? Wurde mit nem Archiver Gepackt den keiner kennt Muhahahahah. Ihr müsst selber schaffen das Teil zu entpacken sonst Pech oO



All times are GMT +1. The time now is 06:26.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.