Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Release] JUVER SOURCE with In Game Functionalities [NO MORE SELLING]

Junior Spellweaver
Joined
Feb 17, 2022
Messages
177
Reaction score
8
In the source, just refer the original code XXX->AddText to edit it.

where i try to find but no luck which here i will edit? i try to search the keyword but still no luck



In the source, just refer the original code XXX->AddText to edit it.


this is in the itemshopwindow.h
#pragma once

#include "UIWindowEx.h"
#include "GLCharDefine.h"
#include "../../Lib_Client/G-Logic/GlogicEx.h"

class GLInventory;
struct SINVENITEM;
class CItemShopPage;
class CBasicTextBox;
class CBasicTextButton;
class CItemShopWindowMenu;
class CBasicComboBox;
class CBasicComboBoxRollOver;
class CItemShopWindow : public CUIWindowEx
{
protected:
enum
{
ITEMSHOP_REFRESH_BUTTON = ET_CONTROL_NEXT,
ITEMSHOP_PAGE,
ITEMSHOPCURRENCY_COMBO_OPEN,
ITEMSHOPCURRENCY_COMBO_ROLLOVER,
};

CItemShopPage* m_pPage;
private:
static const int nOUTOFRANGE;
CBasicComboBox* m_pComboBoxOpen;
CBasicComboBoxRollOver* m_pComboRollOver;
CBasicTextBox* m_pPPoints;
CBasicTextBox* m_pVPoints;
UIGUID m_RollOverID;
BOOL m_bFirstLBUP;
public:
CItemShopWindow ();
virtual ~CItemShopWindow ();

public:
void CreateSubControl ();

public:
virtual void SetVisibleSingle ( BOOL bVisible );
virtual void TranslateUIMessage ( UIGUID ControlID, DWORD dwMsg );
virtual VOID Update( INT x, INT y, BYTE LB, BYTE MB, BYTE RB, INT nScroll, FLOAT fElapsedTime, BOOL bFirstControl );

void SetData( const GLCHARLOGIC& sCharData );

void GetPosItem ( int* pnPosX, int* pnPosY );
void SetPosItem ( int nPosX, int nPosY );
SINVENITEM& GetItem ( int nPosX, int nPosY );
public:
CItemShopWindowMenu* m_pMenu;
WORD m_wType;
int m_nPosX;
int m_nPosY;
int m_nPageIndex;
int m_nPageCurrency;
int GetPageIndex ();
int GetPageCurrency ();
void InitItemShop ( WORD wType , WORD wCurrency );
void ClearItemShop();
private:
CBasicTextBox* CreateStaticControl ( const char* szControlKeyword, CD3DFontPar* pFont, int nAlign, const UIGUID& cID = NO_ID );
CBasicTextButton* CreateTextButton ( char* szButton, UIGUID ControlID, char* szText );

};




itemshoowindows.cpp

#include "StdAfx.h"

#include "../Lib_ClientUI/Interface/IngameItemMall/ItemShopWindow.h"
#include "../Lib_ClientUI/Interface/IngameItemMall/ItemShopPage.h"
#include "BasicButton.h"
#include "BasicButtonText.h"
#include "GLGaeaClient.h"
#include "BasicTextBox.h"
#include "InnerInterface.h"
#include "ModalCallerID.h"
#include "BasicLineBox.h"
#include "BasicLineBoxEx.h"
#include "../Lib_Engine/DxCommon/DxFontMan.h"
#include "ModalWindow.h"
#include "UITextControl.h"
#include "GameTextControl.h"
#include "BasicTextButton.h"
#include "../Lib_ClientUI/Interface/IngameItemMall/ItemShopWindowMenu.h"
#include "d3dfont.h"
#include "OuterInterface.h"

#include "BasicComboBox.h"
#include "BasicComboBoxRollOver.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
const int CItemShopWindow::nOUTOFRANGE = -1;
CItemShopWindow::CItemShopWindow () :
m_pPage ( NULL )
, m_pMenu( NULL )
, m_RollOverID ( NO_ID )
, m_pComboBoxOpen ( NULL )
, m_pComboRollOver( NULL )
, m_nPageIndex ( nOUTOFRANGE )
{
}

CItemShopWindow::~CItemShopWindow ()
{
}
CBasicTextButton* CItemShopWindow::CreateTextButton ( char* szButton, UIGUID ControlID, char* szText )
{
const int nBUTTONSIZE = CBasicTextButton::SIZE22;
CBasicTextButton* pTextButton = new CBasicTextButton;
pTextButton->CreateSub ( this, "BASIC_TEXT_BUTTON22", UI_FLAG_XSIZE, ControlID );
pTextButton->CreateBaseButton ( szButton, nBUTTONSIZE, CBasicButton::CLICK_FLIP, szText );
RegisterControl ( pTextButton );

return pTextButton;
}
CBasicTextBox* CItemShopWindow::CreateStaticControl ( const char* szControlKeyword, CD3DFontPar* pFont, int nAlign, const UIGUID& cID )
{
CBasicTextBox* pStaticText = new CBasicTextBox;
pStaticText->CreateSub ( this, szControlKeyword, UI_FLAG_DEFAULT, cID );
pStaticText->SetFont ( pFont );
pStaticText->SetTextAlign ( nAlign );
RegisterControl ( pStaticText );

return pStaticText;
}
void CItemShopWindow::CreateSubControl ()
{
CD3DFontPar* pFont = DxFontMan::GetInstance().LoadDxFont ( _DEFAULT_FONT, 9, _DEFAULT_FONT_FLAG );

{
CBasicLineBoxEx* m_pLineBoxBottomWhite1 = new CBasicLineBoxEx;
m_pLineBoxBottomWhite1->CreateSub ( this, "BASIC_LINE_BOX_EX_DIALOGUE_WHITE", UI_FLAG_XSIZE | UI_FLAG_YSIZE );
m_pLineBoxBottomWhite1->CreateBaseBoxDialogueBlackBack ( "ITEMSHOP_LINEBOX_01_W" );
m_pLineBoxBottomWhite1->SetVisibleSingle ( TRUE );
RegisterControl ( m_pLineBoxBottomWhite1 );

CBasicLineBoxEx* m_pLineBoxBottomWhite3 = new CBasicLineBoxEx;
m_pLineBoxBottomWhite3->CreateSub ( this, "BASIC_LINE_BOX_EX_DIALOGUE_WHITE", UI_FLAG_XSIZE | UI_FLAG_YSIZE );
m_pLineBoxBottomWhite3->CreateBaseBoxDialogueBlackBack ( "ITEMSHOP_LINEBOX_03_W" );
m_pLineBoxBottomWhite3->SetVisibleSingle ( TRUE );
RegisterControl ( m_pLineBoxBottomWhite3 );
}
m_pPPoints = CreateStaticControl ( "ITEMSHOP_WINDOW_PPOINTS", pFont, TEXT_ALIGN_LEFT );
m_pVPoints = CreateStaticControl ( "ITEMSHOP_WINDOW_VPOINTS", pFont, TEXT_ALIGN_LEFT );
{
CItemShopWindowMenu* pMenu = new CItemShopWindowMenu;
pMenu->CreateSub ( this, "ITEMSHOP_MENU" );
pMenu->CreateSubControl();
pMenu->SetVisibleSingle(TRUE);
RegisterControl ( pMenu );
m_pMenu = pMenu;
}

{
CItemShopPage* pItemShopPage = new CItemShopPage;
pItemShopPage->CreateSub ( this, "ITEMSHOP_PAGE", UI_FLAG_DEFAULT, ITEMSHOP_PAGE );
pItemShopPage->CreateSubControl ();
RegisterControl ( pItemShopPage );
m_pPage = pItemShopPage;
}

{
CBasicComboBox *pComboBox = new CBasicComboBox;
pComboBox->CreateSub ( this, "BASIC_COMBOBOX", UI_FLAG_XSIZE, ITEMSHOPCURRENCY_COMBO_OPEN );
pComboBox->CreateBaseComboBox ( "ITEMSHOPCURRENCY_COMBO_OPEN" );
RegisterControl ( pComboBox );
m_pComboBoxOpen = pComboBox;
}

{
CBasicComboBoxRollOver *pComboBoxRollOver = new CBasicComboBoxRollOver;
pComboBoxRollOver->CreateSub ( this, "BASIC_COMBOBOX_ROLLOVER", UI_FLAG_XSIZE | UI_FLAG_YSIZE, ITEMSHOPCURRENCY_COMBO_ROLLOVER );
pComboBoxRollOver->CreateBaseComboBoxRollOver ( "ITEMSHOPCURRENCY_COMBO_ROLLOVER", FALSE );
pComboBoxRollOver->SetVisibleSingle ( FALSE );
RegisterControl ( pComboBoxRollOver );
m_pComboRollOver = pComboBoxRollOver;
}

//InitItemShop (0,0);
}


void CItemShopWindow::InitItemShop ( WORD wType , WORD wCurrency )
{
m_pPage->UnLoadItemPage ();
GLCharacter* pCharacter = GLGaeaClient::GetInstance().GetCharacter();
m_pPage->LoadItemPage ( wType , wCurrency );
m_pMenu->SetButtonOn( wType );

}

void CItemShopWindow::ClearItemShop()
{
m_pPage->UnLoadItemPage ();
}
void CItemShopWindow::Update( INT x, INT y, BYTE LB, BYTE MB, BYTE RB, INT nScroll, FLOAT fElapsedTime, BOOL bFirstControl )
{

const GLCHARLOGIC& sCharData = GLGaeaClient::GetInstance().GetCharacterLogic ();
SetData ( sCharData );

WORD wType = m_pMenu->GetType();
WORD wCurrency = GetPageCurrency();
if ( wType != m_wType )
{
InitItemShop( wType , wCurrency );
m_wType = wType;
m_nPageCurrency = wCurrency;
m_pMenu->SetButtonOn( wType );
}

if ( m_RollOverID == NO_ID )
{
CUIWindowEx::Update ( x, y, LB, MB, RB, nScroll, fElapsedTime, bFirstControl );
}else{
ResetMessageEx ();

CUIControl::Update ( x, y, LB, MB, RB, nScroll, fElapsedTime, bFirstControl );

CUIControl* pControl = m_ControlContainer.FindControl ( m_RollOverID );
if ( !pControl )
{
GASSERT ( 0 && "½É°¢ÇÑ ¿À·ù, ³ëµå°¡ ³ÎÀÔ´Ï´Ù." );
return ;
}

pControl->Update ( x, y, LB, MB, RB, nScroll, fElapsedTime, bFirstControl );

DWORD dwControlMsg = pControl->GetMessageEx ();
NS_UIDEBUGSET::BlockBegin ();
if ( dwControlMsg ) TranslateUIMessage ( m_RollOverID, dwControlMsg );
NS_UIDEBUGSET::BlockEnd ();

// ½ºÅ©·Ñ¹Ù¿¡ °ü°èµÈ ¸Þ½ÃÁö°¡ ¾Æ´Ï°í
if ( !(dwControlMsg & UI_MSG_COMBOBOX_ROLLOVER_SCROLL) )
{
DWORD dwMsg = GetMessageEx ();
if ( dwMsg & UIMSG_LB_UP )
{
if ( !m_bFirstLBUP )
{
m_RollOverID = NO_ID;
pControl->SetVisibleSingle ( FALSE );
}
m_bFirstLBUP = FALSE;
}
}
}

}
void CItemShopWindow::SetData( const GLCHARLOGIC& sCharData )
{
m_pPPoints->ClearText();
m_pVPoints->ClearText();

CString strText1;
CString strText2;
strText1.Format("E-Points: (%d) | V-Points: (%d)",sCharData.m_dwPPoints, sCharData.m_dwVPoints);
m_pPPoints->SetText(strText1);
//strText2.Format("GT. Points (%d)",sCharData.m_dwVPoints);
//m_pVPoints->SetText(strText2);
}
void CItemShopWindow::SetVisibleSingle ( BOOL bVisible )
{
CUIWindowEx::SetVisibleSingle ( bVisible );

if ( bVisible )
{
m_pComboRollOver->ClearText();


CString strTemp1, strTemp2, strTemp3;

strTemp1 = ID2GAMEWORD( "ITEM_SHOP_CURRENCY_ALL" );
m_pComboRollOver->AddText( strTemp1 );

m_pComboBoxOpen->SetText ( strTemp1 );

for( int i = 0; i < 2; i++ )
{
strTemp2 = ID2GAMEWORD ( "ITEM_SHOP_CURRENCY_TYPE", i );
m_pComboRollOver->AddText ( strTemp2 );
}
}
}
void CItemShopWindow::TranslateUIMessage ( UIGUID ControlID, DWORD dwMsg )
{
CUIWindowEx::TranslateUIMessage ( ControlID, dwMsg );


if ( ET_CONTROL_TITLE == ControlID || ET_CONTROL_TITLE_F == ControlID )
{
if ( (dwMsg & UIMSG_LB_DUP) && CHECK_MOUSE_IN ( dwMsg ) )
{
CInnerInterface::GetInstance().SetDefaultPosInterface( ITEMSHOP_WINDOW );
return;
}
}
else if ( ITEMSHOP_PAGE == ControlID )
{
if ( CHECK_MOUSE_IN ( dwMsg ) )
{
int nPosX, nPosY;
m_pPage->GetItemIndex ( &nPosX, &nPosY );
if ( nPosX < 0 || nPosY < 0 ) return ;
SINVENITEM sInvenItem = m_pPage->GetItem ( nPosX, nPosY );
if ( sInvenItem.sItemCustom.sNativeID != NATIVEID_NULL () )
{
CInnerInterface::GetInstance().SHOW_ITEM_INFO ( sInvenItem.sItemCustom, FALSE, FALSE, FALSE, sInvenItem.wPosX, sInvenItem.wPosY );
}
}
}else if ( ITEMSHOPCURRENCY_COMBO_OPEN == ControlID )
{
if ( CHECK_MOUSE_IN ( dwMsg ) )
{
if ( dwMsg & UIMSG_LB_DOWN )
{
m_pComboRollOver->SetVisibleSingle(TRUE);
m_RollOverID = ControlID + 1;
m_bFirstLBUP = TRUE;
}
}
}else if ( ITEMSHOPCURRENCY_COMBO_ROLLOVER == ControlID )
{
if ( dwMsg & UI_MSG_COMBOBOX_ROLLOVER_SCROLL )
{
DWORD dwMsg = GetMessageEx ();
dwMsg &= ~UI_MSG_COMBOBOX_ROLLOVER_SCROLL;
ResetMessageEx ();
AddMessageEx ( dwMsg );
}

if ( CHECK_MOUSEIN_LBUPLIKE ( dwMsg ) )
{
int nIndex = m_pComboRollOver->GetSelectIndex ();
if ( nIndex < 0 ) return ;
m_nPageCurrency = nIndex;
CString strText;
CString strTemp = m_pComboRollOver->GetSelectText ( nIndex );
m_pComboBoxOpen->SetText( strTemp );
WORD wType = m_pMenu->GetType();
WORD wCurrency = GetPageCurrency();
InitItemShop( wType , wCurrency );
}
}
}
void CItemShopWindow::GetPosItem ( int* pnPosX, int* pnPosY )
{
*pnPosX = m_nPosX;
*pnPosY = m_nPosY;
}
SINVENITEM& CItemShopWindow::GetItem ( int nPosX, int nPosY )
{
return m_pPage->GetItem ( nPosX, nPosY );
}
void CItemShopWindow::SetPosItem ( int nPosX, int nPosY )
{
m_nPosX = nPosX;
m_nPosY = nPosY;
}
int CItemShopWindow::GetPageIndex ()
{
m_nPageIndex = m_wType;
return m_nPageIndex;
}
int CItemShopWindow::GetPageCurrency ()
{
m_nPageCurrency = m_nPageCurrency;
return m_nPageCurrency;
}
 
Banned
Banned
Joined
Nov 6, 2020
Messages
113
Reaction score
21
where i try to find but no luck which here i will edit? i try to search the keyword but still no luck



...
:huh:
Simply replace those codes.
CString strTemp1, strTemp2, strTemp3;

strTemp1 = ID2GAMEWORD( "ITEM_SHOP_CURRENCY_ALL" );
m_pComboRollOver->AddText( strTemp1 );

m_pComboBoxOpen->SetText ( strTemp1 );

for( int i = 0; i < 2; i++ )
{
strTemp2 = ID2GAMEWORD ( "ITEM_SHOP_CURRENCY_TYPE", i );
m_pComboRollOver->AddText ( strTemp2 );
}

to
m_pComboRollOver->AddText ( "Point 1" );
m_pComboRollOver->AddText ( "Point 2" );
m_pComboRollOver->SetText ( "Point 1" );
 
Newbie Spellweaver
Joined
Mar 26, 2020
Messages
37
Reaction score
2
What cpp do I need to edit to create new type of weapon?
 
Banned
Banned
Joined
Sep 5, 2011
Messages
411
Reaction score
10
like i told you . hp multiplier on juver occur on tw buff inside the map. and you should edit it on skill editor .

hahah im sorry now i understand.



hi guys anyone knows how to hide/remove cannot be seen gm account from lg-7 ranking? thanks
 
Last edited:
Junior Spellweaver
Joined
Feb 17, 2022
Messages
177
Reaction score
8
:huh:
Simply replace those codes.
CString strTemp1, strTemp2, strTemp3;

strTemp1 = ID2GAMEWORD( "ITEM_SHOP_CURRENCY_ALL" );
m_pComboRollOver->AddText( strTemp1 );

m_pComboBoxOpen->SetText ( strTemp1 );

for( int i = 0; i < 2; i++ )
{
strTemp2 = ID2GAMEWORD ( "ITEM_SHOP_CURRENCY_TYPE", i );
m_pComboRollOver->AddText ( strTemp2 );
}

to
m_pComboRollOver->AddText ( "Point 1" );
m_pComboRollOver->AddText ( "Point 2" );
m_pComboRollOver->SetText ( "Point 1" );

still same problem i follow and edit in source but only title is change see still premium points and vote points the currency... what i need to edit or what i missed in source?
 
Junior Spellweaver
Joined
Feb 3, 2022
Messages
187
Reaction score
16
ip param, server and client ok
nport 5000
i used default cfg

"but still reading the server account info"

can you please share sql server and management studio you used

thankyou and advance :love:

my nport is 3141, mya login server and param are the same

use sql server express 2014 and sql server management 2014
 
Banned
Banned
Joined
Sep 5, 2011
Messages
411
Reaction score
10
guys i just want to ask if the source provided here have random buff in tyranny?
 
Newbie Spellweaver
Joined
Mar 11, 2014
Messages
51
Reaction score
0
This Item Mall is Much better and organize :)

ZUuN0kF - [Release] JUVER SOURCE with In Game Functionalities [NO MORE SELLING] - RaGEZONE Forums

how to change item mall like this
 

Attachments

You must be registered for see attachments list
Newbie Spellweaver
Joined
Mar 11, 2014
Messages
51
Reaction score
0
arwekaj09 - [Release] JUVER SOURCE with In Game Functionalities [NO MORE SELLING] - RaGEZONE Forums


how to fix this error popup when mouse point to inventory 2-3slot



arwekaj09 - [Release] JUVER SOURCE with In Game Functionalities [NO MORE SELLING] - RaGEZONE Forums
 
Last edited:
Banned
Banned
Joined
Sep 5, 2011
Messages
411
Reaction score
10
arwekaj09 - [Release] JUVER SOURCE with In Game Functionalities [NO MORE SELLING] - RaGEZONE Forums


how to fix this error popup when mouse point to inventory 2-3slot



arwekaj09 - [Release] JUVER SOURCE with In Game Functionalities [NO MORE SELLING] - RaGEZONE Forums


insert this in gameextext.xml
<SENTENSE Ver="1" Id="ITEM_BLOCK_INFO">
<VALUE Lang="Common">Unused</VALUE>
</SENTENSE>
 
Junior Spellweaver
Joined
Feb 17, 2022
Messages
177
Reaction score
8
anyone have or know how to edit cps ? i grab some files in other client and put to this client... but my problem is that cps is for female only no male thats why everytime i wear it in male... its look like attach in his body... anyone know to adjust it? i try cps editor but no luck no edit x and y in my cps editor
 
Back
Top