Register for your free account! | Forgot your password?

You last visited: Today at 12:40

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

Advertisement



Web Shop

Discussion on Web Shop within the Flyff PServer Guides & Releases forum part of the Flyff Private Server category.

Closed Thread
 
Old   #1



 
Sedrika's Avatar
 
elite*gold: 18
The Black Market: 103/0/0
Join Date: Sep 2009
Posts: 20,174
Received Thanks: 14,475
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
44 Users
Old 10/06/2014, 15:57   #2

 
Chyukαsame's Avatar
 
elite*gold: 0
Join Date: Oct 2012
Posts: 1,102
Received Thanks: 564
Gute Arbeit Sago
Chyukαsame is offline  
Old 10/06/2014, 16:07   #3
 
Marc~'s Avatar
 
elite*gold: 0
Join Date: Sep 2011
Posts: 677
Received Thanks: 390
Wirklich guter Einfall und sehr gute Ausführung.
Marc~ is offline  
Old 10/06/2014, 16:25   #4
 
elite*gold: 115
Join Date: Jan 2012
Posts: 1,156
Received Thanks: 894
Great Thanks
Rhyder` is offline  
Old 10/06/2014, 16:30   #5



 
Sedrika's Avatar
 
elite*gold: 18
The Black Market: 103/0/0
Join Date: Sep 2009
Posts: 20,174
Received Thanks: 14,475
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

 
™Dryad's Avatar
 
elite*gold: 380
Join Date: Oct 2008
Posts: 2,262
Received Thanks: 382
Sehr geile sache *Danke*
™Dryad is offline  
Old 10/06/2014, 19:05   #7
 
elite*gold: 0
Join Date: Mar 2008
Posts: 665
Received Thanks: 230
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



 
Sedrika's Avatar
 
elite*gold: 18
The Black Market: 103/0/0
Join Date: Sep 2009
Posts: 20,174
Received Thanks: 14,475
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: 365
Join Date: Jan 2012
Posts: 1,232
Received Thanks: 215
Kriege diese Errors

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



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

Das andere müsste 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: 365
Join Date: Jan 2012
Posts: 1,232
Received Thanks: 215
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



 
Sedrika's Avatar
 
elite*gold: 18
The Black Market: 103/0/0
Join Date: Sep 2009
Posts: 20,174
Received Thanks: 14,475
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: 365
Join Date: Jan 2012
Posts: 1,232
Received Thanks: 215
Bleiben die beiden über :

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



 
Sedrika's Avatar
 
elite*gold: 18
The Black Market: 103/0/0
Join Date: Sep 2009
Posts: 20,174
Received Thanks: 14,475
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
 
banktakung's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 306
Received Thanks: 59
item not send to ITEM_SEND_TBL
banktakung is offline  
Closed Thread

Tags
flyff, sedrika, shop, system, web


Similar Threads Similar Threads
[SHOP] Steam E*Gold Shop [SHOP] ***100% Garantie***100% Qualität***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 verfügung und biete diese mit 100% Garantie für die Lebenszeit an! Besondere Angebote werden hier in diesem Thread dargestellt, Anfragen nehme ich jedoch auch gerne per PN, Post (Thread) oder Skype (akaCube) an. Als Bezahlung nehme ich E*Gold und Paysafecard an.
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 güter und goldpard.com auch villeicht könnt ihr euch die seiten mal ansehen und ob es so ein cms gibt muss nicht gleich sein nur so ähnlich



All times are GMT +1. The time now is 12:42.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.