• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

About Oblivion Potions

Skilled Illusionist
Joined
Jul 13, 2016
Messages
331
Reaction score
11
Is it possible to make Oblivion Potion - E to reset stats only no skill will be changed or removed as is "stats reset only" if possible where will i configure it on source code
 
Chinese Developer
Banned
Joined
Apr 6, 2019
Messages
358
Reaction score
53
Is it possible to make Oblivion Potion - E to reset stats only no skill will be changed or removed as is "stats reset only" if possible where will i configure it on source code

can , just add a new type of this potion on your source that just reset your stats point.
 
Upvote 0
Newbie Spellweaver
Joined
Dec 27, 2021
Messages
35
Reaction score
0
try search SNET_INVEN_RESET_SKST or ReqResetSkillStats and read about it.

I'm really sorry to bump this old THREAD but.
I really am looking for days on where I can find the script of the OBLI E .
So I could remove the spheres being returned

I found where the ReqResetSkillStats but what Ive red or my newbie understanding of the script
it just makes sure that you are using the OBLI E or an OBLI E is PRESENT in your inventory.
I cant see where the script is calling the spheres.

Can someone clarify or is there a source separated to the OBLI E LOGIC?
 
Upvote 0
Master Summoner
Joined
Feb 6, 2019
Messages
575
Reaction score
159
glcharinvenmsg.cpp

look for:
MsgReqInvenResetSkSt


I'm really sorry to bump this old THREAD but.
I really am looking for days on where I can find the script of the OBLI E .
So I could remove the spheres being returned

I found where the ReqResetSkillStats but what Ive red or my newbie understanding of the script
it just makes sure that you are using the OBLI E or an OBLI E is PRESENT in your inventory.
I cant see where the script is calling the spheres.

Can someone clarify or is there a source separated to the OBLI E LOGIC?
 
Upvote 0
Joined
Apr 22, 2010
Messages
816
Reaction score
83
Thank you so MUCH sir now I can sleep in peace. FINALLY
I now have OBLI E that doesnt give any spheres
What did you do to remove spheres?

Found it :)

/* if ( !bINSERT )
{
MsgFB.wITEM_NUM = wNUM;
MsgFB.emFB = EMREQ_RESET_SKST_FB_NOINVEN;
GLGaeaServer::GetInstance().SENDTOCLIENT(m_dwClientID,&MsgFB);
return E_FAIL;
}

for ( int i=EMGRADE_MIN; i<EMGRADE; ++i )
for ( int j=0; j<wGRADE; ++j )
{
SITEM *pITEM_SKILL = GLItemMan::GetInstance().GetItem ( pINVENITEM->sItemCustom.sNativeID );
if ( !pITEM_SKILL ) continue;

SITEMCUSTOM sITEM_NEW;
CTime cTIME = CTime::GetCurrentTime();

// ������ �߻�.
sITEM_NEW.sNativeID = SNATIVEID(EMMARBLE_MID,i);
sITEM_NEW.tBORNTIME = cTIME.GetTime();

// �������� ��� Ƚ�� ǥ��. ( �Ҹ�ǰ�� ��� x ��, �Ϲ� ��ǰ 1 )
sITEM_NEW.wTurnNum = pITEM_SKILL->GETAPPLYNUM();

// �߻��� ���� ���.
sITEM_NEW.cGenType = EMGEN_INIT;
sITEM_NEW.cChnID = (BYTE)GLGaeaServer::GetInstance().GetServerChannel();
sITEM_NEW.cFieldID = (BYTE)GLGaeaServer::GetInstance().GetFieldSvrID();
sITEM_NEW.lnGenNum = GLITEMLMT::GetInstance().RegItemGen ( sITEM_NEW.sNativeID, EMGEN_INIT );

BOOL bOK;
WORD wPosX(0), wPosY(0);
bOK = m_cInventory.FindInsrtable ( pITEM_SKILL->sBasicOp.wInvenSizeX, pITEM_SKILL->sBasicOp.wInvenSizeY, wPosX, wPosY );
if ( !bOK ) continue;

bOK = m_cInventory.InsertItem ( sITEM_NEW, wPosX, wPosY );
if ( !bOK ) continue;

SINVENITEM *pInvenItem = m_cInventory.GetItem ( wPosX, wPosY );
if (!pInvenItem) continue;

// ������ ȹ�� �α� ����.
GLITEMLMT::GetInstance().ReqItemRoute ( sITEM_NEW, ID_CHAR, 0, ID_CHAR, m_dwCharID, EMITEM_ROUTE_CHAR, sITEM_NEW.wTurnNum );

// [�ڽſ���] �޽��� �߻�.
GLMSG::SNETPC_INVEN_INSERT NetMsg_Inven;
NetMsg_Inven.Data = *pInvenItem;
GLGaeaServer::GetInstance().SENDTOCLIENT(m_dwClientID,&NetMsg_Inven);

}*/
 
Upvote 0
Experienced Elementalist
Joined
Nov 8, 2023
Messages
245
Reaction score
36
How about making obli e resetting stats but not the skill ? anyone have it ?
 
Upvote 0
Back
Top