Register for your free account! | Forgot your password?

You last visited: Today at 13:27

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


Web Shop

Closed Thread
 
Old   #1

 
elite*gold: 18
The Black Market: 103/0/0
Join Date: Sep 2009
Posts: 20,157
Received Thanks: 14,369
Web Shop


Download








Epilogue:

I will gradually integrate new functions and make them more user friendly.
I hope you enjoy using this shop system i've created from the original design used by Webzen.

Credits:
- Webzen - Design
- Sedrika - Everytihing else



Sedrika is offline  
Thanks
42 Users
Old 10/06/2014, 15:57   #2

 
elite*gold: 134
Join Date: Oct 2012
Posts: 1,081
Received Thanks: 547
Gute Arbeit Sago


Chyukαsame is offline  
Old 10/06/2014, 16:07   #3
 
elite*gold: 0
Join Date: Sep 2011
Posts: 685
Received Thanks: 389
Wirklich guter Einfall und sehr gute Ausfhrung.
Marc~ is offline  
Old 10/06/2014, 16:25   #4
 
elite*gold: 115
Join Date: Jan 2012
Posts: 1,144
Received Thanks: 876
Great Thanks


Rhyder` is offline  
Old 10/06/2014, 16:30   #5

 
elite*gold: 18
The Black Market: 103/0/0
Join Date: Sep 2009
Posts: 20,157
Received Thanks: 14,369
If you guys still have questions feel free to ask me here
Sedrika is offline  
Thanks
1 User
Old 10/06/2014, 16:37   #6


 
elite*gold: 209
Join Date: Oct 2008
Posts: 2,236
Received Thanks: 378
Sehr geile sache *Danke*
Dryad is offline  
Old 10/06/2014, 19:05   #7
 
elite*gold: 0
Join Date: Mar 2008
Posts: 650
Received Thanks: 207
The function OnBuyingInfo of Worldserver is a big security issue, if you want to make it safe use the OnBuyingInfo of Accountserver which is internal network only.
alfredico is offline  
Thanks
1 User
Old 10/06/2014, 19:08   #8

 
elite*gold: 18
The Black Market: 103/0/0
Join Date: Sep 2009
Posts: 20,157
Received Thanks: 14,369
Thats the reason i've aded 2 checks. If they dont match you can't do anything.
Sedrika is offline  
Old 10/06/2014, 19:35   #9

 
elite*gold: 0
Join Date: Jan 2012
Posts: 1,186
Received Thanks: 211
Kriege diese Errors

FunkyJustice is offline  
Old 10/06/2014, 19:51   #10

 
elite*gold: 18
The Black Market: 103/0/0
Join Date: Sep 2009
Posts: 20,157
Received Thanks: 14,369
Das wird wohl die Funktion CDbManager::LogSMItem sein.
Kommentier alles bis auf das return aus.

Das andere msste void CDPAdbill::UserMessageHandler sein. Dort nach
g_dpDbSrvr.SendBuyingInfo( (PBUYING_INFO2)pbi3 ); alles entfernen oder auskommentieren.

#Edit:

Download

Fixed a bug with sending packets to the servers.
Sedrika is offline  
Thanks
2 Users
Old 10/06/2014, 20:18   #11

 
elite*gold: 0
Join Date: Jan 2012
Posts: 1,186
Received Thanks: 211
So?

Code:
void CDbManager::LogSMItem( CQuery & qryLog, LPDB_OVERLAPPED_PLUS lpDbOverlappedPlus )
{
	/*CAr arRead( lpDbOverlappedPlus->lpBuf, lpDbOverlappedPlus->uBufSize );*/
	
	/*
	bi2.szBxaid		//  ȣ
	bi2.dwItemId	//  ε
	bi2.dwItemNum	//  
	bi2.dwServerIndex	// * ε
	bi2.dwPlayerId		// ÷̾ ĺ
	bi2.dwRetVal	//   ,  : 1,  : 0
	sn		// ø ȣ
	*/
	/*BUYING_INFO2	bi2;
	SERIALNUMBER iSerialNumber;
	arRead.Read( (void*)&bi2, sizeof(BUYING_INFO2) );
	arRead >> iSerialNumber;
	
	// Źȣ : pszGetidPlayer
	// ε : dwGold // ItemName Ŀ ȸ
	LOG_SM_ITEM_INFO qi( "L3" );
	if( bi2.dwRetVal )
		qi.pszState = "3";		// 
	else
		qi.pszState = "4";		// 
	qi.nserverindex = bi2.dwServerIndex;
	char szPlayerId[128] = {0,};
	sprintf( szPlayerId, "%07d", bi2.dwPlayerId );
	qi.pszkilled_szName = szPlayerId;
	qi.nItem_UniqueNo = iSerialNumber;
	qi.nItem_count = bi2.dwItemNum;
	qi.pszGetidPlayer = bi2.szBxaid;
	qi.dwGold = bi2.dwItemId;*/
	
	//DBQryLogSMItem( lpDbOverlappedPlus->szQuery, qi);
	
	//if( FALSE == qryLog.Exec( lpDbOverlappedPlus->szQuery ) )
	//{
		//WriteLog( "%s, %d\r\n\t%s", __FILE__, __LINE__, //lpDbOverlappedPlus->szQuery );
		//m_pDbIOData->Free( lpDbOverlappedPlus );
		return;
	//}
	//m_pDbIOData->Free( lpDbOverlappedPlus );
}
FunkyJustice is offline  
Old 10/06/2014, 20:28   #12

 
elite*gold: 18
The Black Market: 103/0/0
Join Date: Sep 2009
Posts: 20,157
Received Thanks: 14,369
Entfern da ruhig alles drin lieber und lass nur das return da. Sollte dann halt gehen. Und lad dir das kleine Update herunter Sonst wunderst du dich das Ingame nichts mehr ankommt
Sedrika is offline  
Old 10/06/2014, 20:56   #13

 
elite*gold: 0
Join Date: Jan 2012
Posts: 1,186
Received Thanks: 211
Bleiben die beiden ber :

FunkyJustice is offline  
Old 10/06/2014, 21:03   #14

 
elite*gold: 18
The Black Market: 103/0/0
Join Date: Sep 2009
Posts: 20,157
Received Thanks: 14,369
Ersetz die funktion mit dieser:

Code:
void CDPDBSrvr::OnBuyingInfo( CAr & ar, DPID dpid, LPBYTE lpBuf, u_long uBufSize )
{
	BUYING_INFO2	bi2;
	SERIALNUMBER iSerialNumber;
	ar.Read( (void*)&bi2, sizeof(BUYING_INFO2) );
	ar >> iSerialNumber;

	CBuyingInfoMng::GetInstance()->m_AddRemoveLock.Enter();
	PBUYING_INFO3 pbi3	= CBuyingInfoMng::GetInstance()->Get( bi2.dwKey );
	if( pbi3 )
	{
		//static char lpOutputString[260]	= { 0, };
		//sprintf( lpOutputString, "ACCOUNTSERVER.EXE\t// Recv from trans\t// dwRetVal = %d", bi2.dwRetVal );
		//OutputDebugString( lpOutputString );

		CDPAdbill::GetInstance()->Send( &bi2, sizeof(BUYING_INFO), bi2.dpid );
		CBuyingInfoMng::GetInstance()->Remove( bi2.dwKey );
		safe_delete( pbi3 );
		/*
		bi2.szBxaid		// 구매 번호
		bi2.dwItemId	// 아이템 인덱스
		bi2.dwItemNum	// 아이템 개수
		bi2.dwServerIndex	// 서버 인덱스
		bi2.dwPlayerId		// 플레이어 식별자
		bi2.dwRetVal	// 지급 성공 여부, 성공 : 1, 실패 : 0
		iSerialNumber		// 시리얼 번호
		*/

		LPDB_OVERLAPPED_PLUS lpDbOverlappedPlus		= g_DbManager.m_pDbIOData->Alloc();
		memcpy( lpDbOverlappedPlus->lpBuf, (LPBYTE)lpBuf + sizeof(DWORD), uBufSize - sizeof(DWORD) );
		lpDbOverlappedPlus->uBufSize	= uBufSize - sizeof(DWORD);
		lpDbOverlappedPlus->nQueryMode	= LOG_SM_ITEM;
		PostQueuedCompletionStatus( g_DbManager.m_hDbCompletionPort, 1, NULL, &lpDbOverlappedPlus->Overlapped );
	}
	else
	{
		// 치명적 오류 : 어카운트 서버에는 지급 명령에 대한 정보가 없다.
	}
	CBuyingInfoMng::GetInstance()->m_AddRemoveLock.Leave();
	TRACE( "RECV PACKETTYPE_BUYING_INFO FROM TRANS\n" );
}
Ich verbesser mal das Tutorial nacher.

#edit:

Updated thread
Sedrika is offline  
Old 10/07/2014, 03:57   #15
 
elite*gold: 0
Join Date: Dec 2008
Posts: 300
Received Thanks: 56
item not send to ITEM_SEND_TBL


banktakung is offline  
Closed Thread

Tags
flyff, sedrika, shop, system, web



« [How To] Add new Map | [Release] Verbesserte Blessed Files + Source + Client »

Similar Threads
[SHOP] Steam E*Gold Shop [SHOP] ***100% Garantie***100% Qualitt***100% Preis***
02/02/2014 - elite*gold Trading - 10 Replies
Steam Account Shop Ein Design wird gesucht(einfach per pn anschreiben) Ich habe viele Steam accounts zur verfgung und biete diese mit 100% Garantie fr die Lebenszeit an! Besondere Angebote werden hier in diesem Thread dargestellt,...
GameKey shop oder gold shop yang shop
06/23/2013 - Web Development - 5 Replies
Hi leute ich bin ein fauler mensch und kenne mich mit http oder php 0% aus ich suche so ein script das so sein soll wie mmoga.de oder online-gold.de igpard.com alles was ich gefunden hab war sowas wie ebay oderso also nicht virtuelle gter und...



All times are GMT +2. The time now is 13:27.


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.