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] Titanium® Zone Protector Free Edition for 2.2.3.2

Newbie Spellweaver
Joined
Apr 13, 2009
Messages
6
Reaction score
0
[Imgur]( )
HELP ERRO



pHPatK9 - [Release] Titanium® Zone Protector Free Edition for 2.2.3.2 - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Last edited:
Newbie Spellweaver
Joined
May 13, 2012
Messages
51
Reaction score
4
i have 2 answers for you
1. Check your config again
2. My zone name is TitaniumZone_x64.exe and the dll is TitaniumModule_x64.dll

if you ask about error when you still setup your server you may ask in other subforum not in my thread. :grr:
 
Newbie Spellweaver
Joined
Jan 14, 2011
Messages
57
Reaction score
7
May you can explain how to active chip HP clientside? its just a detail but this would make ur post different to the other 10+ :D
 
Joined
Apr 9, 2012
Messages
2,359
Reaction score
442
here we go please read note bellow
potion to give dallant/pvp (New Potion Effect (Money/Gold/CPT/PVP)) :
GoldPotionSystem.cpp
Code:
#pragma once#include "stdafx.h"
#include "GoldPotionSystem.h"
#include "memory.h"
#include "GlobalStaticData.h"


CGoldPotionSystem g_GoldPotionSystem;


typedef void(WINAPI* CPlayer__AddDalant2)(CPlayer *_this, unsigned int dwPush, bool bApply);
CPlayer__AddDalant2 AddDalant2 = (CPlayer__AddDalant2)0x140055B00;


typedef void(WINAPI* CPlayer__AddGold2)(CPlayer *_this, unsigned int dwPush, bool bApply);
CPlayer__AddGold2 AddGold2 = (CPlayer__AddGold2)0x140055D30;


 typedef void(WINAPI* CPlayer__AlterPvPCashBag2)(CPlayer *_this, long double dAlter, PVP_MONEY_ALTER_TYPE IOCode);
CPlayer__AlterPvPCashBag2 AlterPvPCashBag2 = (CPlayer__AlterPvPCashBag2)0x14005F990;


typedef int(WINAPI* Emb_AlterDurPoint)(CPlayer *_this, char byStorageCode, char byStorageIndex, int nAlter, bool bUpdate, bool bSend);
Emb_AlterDurPoint AlterDurPoint = (Emb_AlterDurPoint)0x140058A80;


typedef bool(WINAPI* CPlayer__SendMsg_AlterMoneyInform2)(CPlayer *_this, char byReasonCode);
CPlayer__SendMsg_AlterMoneyInform2 SendMsg_AlterMoneyInform2 = (CPlayer__SendMsg_AlterMoneyInform2)0x1400DF070;


typedef void(WINAPI* p_UsePotionItem)(CPlayer *_this, CPlayer *pTargetPlayer, _STORAGE_POS_INDIV *pItem);
p_UsePotionItem UsePotionItem = (p_UsePotionItem)0x1400AD4D0;


void CGoldPotionSystem::Initialize()
{
	int LootNum,i;
	char* LootStr="PotIndex%d";
	char* MoneyMinStr="MoneyMin%d";
	char* MoneyMaxStr="MoneyMax%d";
	char* MoneyTypeStr="MoneyType%d";
	char str[255];
	INode2 tempStr;
	this->Loot.clear();
	LootNum = GetPrivateProfileIntA("Pot", "PotNum", 0, ".\\DLL\\GoldPotionSystem.ini");
	for(i=0;i<LootNum;i++)
	{
		sprintf(str,LootStr,i);
		tempStr.ItemIndex=GetPrivateProfileIntA("Pot", str, 0, ".\\DLL\\GoldPotionSystem.ini");
		
		sprintf(str,MoneyMinStr,i);
		tempStr.MoneyMin=GetPrivateProfileIntA("Pot", str, 0, ".\\DLL\\GoldPotionSystem.ini");


		sprintf(str,MoneyMaxStr,i);
		tempStr.MoneyMax=GetPrivateProfileIntA("Pot", str, 0, ".\\DLL\\GoldPotionSystem.ini");


		sprintf(str,MoneyTypeStr,i);
		tempStr.MoneyType=GetPrivateProfileIntA("Loot", str, 0, ".\\DLL\\GoldPotionSystem.ini");
		
		this->Loot.push_back(tempStr);
	}
	WriteInstruction(0x140012ED6,(INT64)CPlayer__pc_UsePotionItem,0,0xE9);
}


int CGoldPotionSystem::SearchItem(unsigned int ItemIndex)
{
	for(int i=0;i<this->Loot.size();i++)
	{
			if(this->Loot[i].ItemIndex==ItemIndex)
				return i;
	}
	return -1;
}
#define RAND_MAX 2000000000


void __cdecl CPlayer__pc_UsePotionItem(CPlayer *_this, CPlayer *pTargetPlayer, _STORAGE_POS_INDIV *pItem)
{
_STORAGE_LIST::_db_con *pPotItem;
pPotItem = GetPtrFromSerial(&_this->m_Param.m_dbInven,pItem->wItemSerial);
		int Index=g_GoldPotionSystem.SearchItem(pPotItem->m_wItemIndex);
		if(Index!=-1)
		{
			srand(static_cast<unsigned>(time(0)));


			//DWORD dwMoney = (GoldPotionSystem.Loot[Index].MoneyMin + (rand() % (GoldPotionSystem.Loot[Index].MoneyMax - GoldPotionSystem.Loot[Index].MoneyMin)))*pBox->m_Item.m_dwDur;
			DWORD dwMoney = ((rand() * rand()) % (g_GoldPotionSystem.Loot[Index].MoneyMax - g_GoldPotionSystem.Loot[Index].MoneyMin)+g_GoldPotionSystem.Loot[Index].MoneyMin);
			switch(g_GoldPotionSystem.Loot[Index].MoneyType)
			{
			case 0:
				{
					AddDalant2(_this,dwMoney,true);
					SendMsg_AlterMoneyInform2(_this,0);break;
				}
			case 1:
				{
					AddGold2(_this,dwMoney,true);
					SendMsg_AlterMoneyInform2(_this,0);break;
				}
			case 2:
				{
					AlterPvPCashBag2(_this,(long double)dwMoney,pm_kill);
					break;
				}


			}
			//AlterDurPoint(_this,pItem->byStorageCode,pItem->wItemSerial,-1,true,true);
			UsePotionItem(_this,pTargetPlayer,pItem);
			
		}
		else
		{
			UsePotionItem(_this,pTargetPlayer,pItem);
		}


}

GoldPotionSystem.h
Code:
#pragma once#ifndef __GoldPotionSytem_H__ 
#define __GoldPotionSytem_H__ 
#include "stdafx.h"
#include <vector>
#include "ItemBox.h"


void __cdecl CPlayer__pc_TakeGroundingItem(CPlayer *_this, CItemBox *pBox, unsigned __int16 wAddSerial);
void __cdecl CPlayer__pc_UsePotionItem(CPlayer *_this, CPlayer *pTargetPlayer, _STORAGE_POS_INDIV *pItem);


struct INode2
{
	unsigned int ItemIndex;
	unsigned int MoneyType;
	unsigned int MoneyMin;
	unsigned int MoneyMax;
};


class CGoldPotionSystem
{
public:
	std::vector <INode2> Loot;
	void Initialize();
	int SearchItem(unsigned int);
};


extern CGoldPotionSystem GoldPotionSystem;
#endif


i write that code based on gold drop system,
it's just an example, and shouldn't be actual code, because you can just use include rather than rewrite it.hahahaha
oh i'm not figured it out yet how to reduce potion after it's being used, so try it out yourself :p:
 
Experienced Elementalist
Joined
Oct 19, 2012
Messages
252
Reaction score
3
can you show me the Zone Server MainLoop Log ?


The last time


Code:
CLogTypeDBTaskManager::ProcThread Except

Code:
MainLoop Exception



Finally tell you that collapsed from the log can not see there is any problem

I don't know why
 
Experienced Elementalist
Joined
Oct 19, 2012
Messages
252
Reaction score
3
give me the Exception_ZoneServer_MainLoop
Code:
==================================================================================
ZoneServer : Exception Program

Exe :         D:\2232Server\2.ZoneServer\RF_Bin\ZoneServerUD_x64.exe
OS :          Windows 6.1(XP), build7601 PlatformId 2 "Service Pack 1"
Time :        2015-04-13 MON, 11:35:17.858 PM
Code :        C0000005 ACCESS_VIOLATION
Address :     4041034A
==================================================================================


------------------------------------------------------------------------
    Call stack
------------------------------------------------------------------------
Address   Frame     Function            SourceFile
4041034A  AB4AFB40  <2>0000:00000000   g:\00_zoneserver_source\03_temp_source\2009_05_13_source_oversea\zoneserver\gamemain\apex system\chinetworkex.cpp line 195
401C1617  AB4AFB80  <2>0000:00000000   g:\00_zoneserver_source\03_temp_source\2009_05_13_source_oversea\zoneserver\gamemain\apex system\mynetwork_apex.cpp line 40
401DF141  AB4AFC80  <2>0000:00000000   g:\00_zoneserver_source\03_temp_source\2009_05_13_source_oversea\zoneserver\gamemain\mynetworking.cpp line 1828
401DB780  AB4AFCB0  <2>0000:00000000   g:\00_zoneserver_source\03_temp_source\2009_05_13_source_oversea\zoneserver\gamemain\mynetworking.cpp line 398
40478A68  AB4AFD90  <2>0000:00000000   g:\00_zoneserver_source\03_temp_source\2009_05_13_source_oversea\network\netprocess.cpp line 887
40477D96  AB4AFDD0  <2>0000:00000000   g:\00_zoneserver_source\03_temp_source\2009_05_13_source_oversea\network\netprocess.cpp line 571
40481CB9  AB4AFE10  <2>0000:00000000   g:\00_zoneserver_source\03_temp_source\2009_05_13_source_oversea\network\networking.cpp line 375
401F4E03  AB4AFE80  <2>0000:00000000   g:\00_zoneserver_source\03_temp_source\2009_05_13_source_oversea\zoneserver\gamemain\mainthread.cpp line 5181
401EE85D  AB4AFEC0  <2>0000:00000000   g:\00_zoneserver_source\03_temp_source\2009_05_13_source_oversea\zoneserver\gamemain\mainthread.cpp line 3170
732D53C5  AB4AFF10  <2>0001:000043C5 C:\Windows\WinSxS\amd64_microsoft.vc80.debugcrt_1fc8b3b9a1e18e3b_8.0.50727.4053_none_9cf5f2ffebeea69a\MSVCR80D.dll
732D538C  AB4AFF50  <2>0001:0000438C C:\Windows\WinSxS\amd64_microsoft.vc80.debugcrt_1fc8b3b9a1e18e3b_8.0.50727.4053_none_9cf5f2ffebeea69a\MSVCR80D.dll
779559ED  AB4AFF80  <2>0001:000149ED C:\Windows\system32\kernel32.dll
77B8C541  AB4AFFD0  <2>0001:0002B541 C:\Windows\SYSTEM32\ntdll.dll


------------------------------------------------------------------------
    Local Variables And Parameters
------------------------------------------------------------------------
Address   Frame     Function            SourceFile
4041034A  AB4AFB40  <2>0000:00000000   g:\00_zoneserver_source\03_temp_source\2009_05_13_source_oversea\zoneserver\gamemain\apex system\chinetworkex.cpp line 195
	Local 'this' = CCCCCCCCCCCC0048
	Parameter 'pOne' = DBC2E14
	Parameter 'wSize' = 62
	Parameter 'pBuf' = CCCCCCCCCCCCCCCC
	Local 'wSendSize' = A078

401C1617  AB4AFB80  <2>0000:00000000   g:\00_zoneserver_source\03_temp_source\2009_05_13_source_oversea\zoneserver\gamemain\apex system\mynetwork_apex.cpp line 40
	Local 'this' = CCCCCCCCCCCCCCCC
	Parameter 'n' = CCCCCCCC
	Parameter 'wSize' = CCCC
	Parameter 'pBuf' = CCCCCCCCCCCCCCCC
	Local 'pOne' = CCCCCCCCCCCC0048

401DF141  AB4AFC80  <2>0000:00000000   g:\00_zoneserver_source\03_temp_source\2009_05_13_source_oversea\zoneserver\gamemain\mynetworking.cpp line 1828
	Local 'this' = 14076AD38
	Parameter 'n' = CCCCCCCC
	Parameter 'pMsgHeader' = AB4AFDD0
	Parameter 'pMsg' = 140477D96

401DB780  AB4AFCB0  <2>0000:00000000   g:\00_zoneserver_source\03_temp_source\2009_05_13_source_oversea\zoneserver\gamemain\mynetworking.cpp line 398
	Local 'this' = DBC2E14
	Parameter 'dwProID' = CCCCCCCC
	Parameter 'dwClientIndex' = CCCCCCCC
	Parameter 'pMsgHeader' = CCCCCCCCCCCCCCCC
	Parameter 'pMsg' = CCCCCCCCCCCCCC01

40478A68  AB4AFD90  <2>0000:00000000   g:\00_zoneserver_source\03_temp_source\2009_05_13_source_oversea\network\netprocess.cpp line 887
	Local 'wPopSize' = CCCC
	Local 'pMsg' = AB4AFE80
	Local 'pHeader' = 1414AC9E0
	Local 'this' = CCCCCCCCCCCCCCCC
	Parameter 'wSocketIndex' = CCCC
	Local 'pSocket' = CCCCCCCCCCCCCCCC
	Local 'bProcessSucc' = 10
	Local 'bMiss' = 1
	Local 'dwAnalysisCount' = CCCCCCCC
	Local 'pNB' = CCCCCCCC00000000
	Local 'dwCurTime' = CCCCCCCC

40477D96  AB4AFDD0  <2>0000:00000000   g:\00_zoneserver_source\03_temp_source\2009_05_13_source_oversea\network\netprocess.cpp line 571
	Local 'i' = CCCC
	Local 'this' = AB4AFE80

40481CB9  AB4AFE10  <2>0000:00000000   g:\00_zoneserver_source\03_temp_source\2009_05_13_source_oversea\network\networking.cpp line 375
	Local 'p' = CCCCCCCC
	Local 'this' = CCCCCCCCCCCCCCCC

401F4E03  AB4AFE80  <2>0000:00000000   g:\00_zoneserver_source\03_temp_source\2009_05_13_source_oversea\zoneserver\gamemain\mainthread.cpp line 5181
	Local 'dwTime' = 1
	Local 'bChangeDay' = CC
	Local 'this' = 9C57B290

401EE85D  AB4AFEC0  <2>0000:00000000   g:\00_zoneserver_source\03_temp_source\2009_05_13_source_oversea\zoneserver\gamemain\mainthread.cpp line 3170
	Parameter 'pv' = 9C57AC30
	Local 'nSleepTimer' = 732D5A42
	Local 'pDoc' = 0

732D53C5  AB4AFF10  <2>0001:000043C5 C:\Windows\WinSxS\amd64_microsoft.vc80.debugcrt_1fc8b3b9a1e18e3b_8.0.50727.4053_none_9cf5f2ffebeea69a\MSVCR80D.dll

732D538C  AB4AFF50  <2>0001:0000438C C:\Windows\WinSxS\amd64_microsoft.vc80.debugcrt_1fc8b3b9a1e18e3b_8.0.50727.4053_none_9cf5f2ffebeea69a\MSVCR80D.dll

779559ED  AB4AFF80  <2>0001:000149ED C:\Windows\system32\kernel32.dll

77B8C541  AB4AFFD0  <2>0001:0002B541 C:\Windows\SYSTEM32\ntdll.dll



------------------------------------------------------------------------
    Global Variables
------------------------------------------------------------------------


------------------------------------------------------------------------
    Load Modules
------------------------------------------------------------------------
40000000  D:\2232Server\2.ZoneServer\RF_Bin\ZoneServerUD_x64.exe
77B60000  C:\Windows\SYSTEM32\ntdll.dll
77940000  C:\Windows\system32\kernel32.dll
FDCF0000  C:\Windows\system32\KERNELBASE.dll
FB980000  C:\Windows\system32\NETAPI32.dll
FB970000  C:\Windows\system32\netutils.dll
FEDF0000  C:\Windows\system32\msvcrt.dll
FD620000  C:\Windows\system32\srvcli.dll
FF060000  C:\Windows\system32\RPCRT4.dll
FB950000  C:\Windows\system32\wkscli.dll
F1550000  C:\Windows\system32\ODBC32.dll
FFC20000  C:\Windows\system32\ADVAPI32.dll
FF020000  C:\Windows\SYSTEM32\sechost.dll
77A60000  C:\Windows\system32\USER32.dll
FFB50000  C:\Windows\system32\GDI32.dll
FEE90000  C:\Windows\system32\LPK.dll
FF820000  C:\Windows\system32\USP10.dll
FEC10000  C:\Windows\system32\WS2_32.dll
FF450000  C:\Windows\system32\NSI.dll
FAB30000  C:\Windows\system32\WINMM.dll
F1140000  C:\Windows\system32\DDRAW.dll
F5650000  C:\Windows\system32\DCIMAN32.dll
FF270000  C:\Windows\system32\SETUPAPI.dll
FDE00000  C:\Windows\system32\CFGMGR32.dll
FF190000  C:\Windows\system32\OLEAUT32.dll
FF4E0000  C:\Windows\system32\ole32.dll
FDB60000  C:\Windows\system32\DEVOBJ.dll
FBBB0000  C:\Windows\system32\dwmapi.dll
00400000  D:\2232Server\2.ZoneServer\RF_Bin\d3dx9_30.dll
72980000  C:\Windows\WinSxS\amd64_microsoft.vc80.debugcrt_1fc8b3b9a1e18e3b_8.0.50727.4053_none_9cf5f2ffebeea69a\MSVCP80D.dll
732D0000  C:\Windows\WinSxS\amd64_microsoft.vc80.debugcrt_1fc8b3b9a1e18e3b_8.0.50727.4053_none_9cf5f2ffebeea69a\MSVCR80D.dll
72430000  C:\Windows\WinSxS\amd64_microsoft.vc80.debugmfc_1fc8b3b9a1e18e3b_8.0.50727.4053_none_a1d5f4f1e8c2d5cd\MFC80D.DLL
FF460000  C:\Windows\system32\SHLWAPI.dll
10000000  D:\2232Server\2.ZoneServer\RF_Bin\AntiCpSvr.dll
001D0000  D:\2232Server\2.ZoneServer\RF_Bin\RFACC.dll
FF6F0000  C:\Windows\system32\WININET.dll
FEEA0000  C:\Windows\system32\urlmon.dll
FDB80000  C:\Windows\system32\CRYPT32.dll
FDB50000  C:\Windows\system32\MSASN1.dll
FF8F0000  C:\Windows\system32\iertutil.dll
EE8B0000  C:\Windows\system32\dbghelp.dll
75380000  C:\Windows\WinSxS\amd64_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4940_none_88df89932faf0bf6\MSVCP80.dll
75490000  C:\Windows\WinSxS\amd64_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4940_none_88df89932faf0bf6\MSVCR80.dll
FFD00000  C:\Windows\system32\comdlg32.dll
F1670000  C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.18201_none_a4d3b9377117c3df\COMCTL32.dll
FDE80000  C:\Windows\system32\SHELL32.dll
30000000  D:\2232Server\2.ZoneServer\RF_Bin\TitaniumFree_x64.dll
F1290000  C:\Windows\system32\MSVCP120.dll
F0940000  C:\Windows\system32\MSVCR120.dll
FFDA0000  C:\Windows\system32\IMM32.DLL
FECE0000  C:\Windows\system32\MSCTF.dll
73280000  C:\Windows\system32\odbcint.dll
75130000  C:\Windows\WinSxS\amd64_microsoft.vc80.mfcloc_1fc8b3b9a1e18e3b_8.0.50727.4027_none_bc19c25d0be3a20f\MFC80CHS.DLL
FD9E0000  C:\Windows\system32\CRYPTBASE.dll
05150000  D:\2232Server\2.ZoneServer\RF_Bin\CHI_NETD.dll
FD320000  C:\Windows\system32\mswsock.dll
FCCD0000  C:\Windows\System32\wshtcpip.dll
FD380000  C:\Windows\system32\CRYPTSP.dll
FD080000  C:\Windows\system32\rsaenh.dll
FC900000  C:\Windows\system32\NLAapi.dll
F52E0000  C:\Windows\system32\napinsp.dll
FD1A0000  C:\Windows\system32\DNSAPI.dll
FABC0000  C:\Windows\System32\winrnr.dll
FBEF0000  C:\Windows\system32\IPHLPAPI.DLL
FBEA0000  C:\Windows\system32\WINNSI.DLL
FBBD0000  C:\Windows\System32\fwpuclnt.dll
F54C0000  C:\Windows\system32\rasadhlp.dll
F3CD0000  C:\Windows\system32\odbccp32.dll
FCC00000  C:\Windows\system32\VERSION.dll
FD950000  C:\Windows\system32\SspiCli.dll
FD4D0000  C:\Windows\system32\bcrypt.dll
FCFC0000  C:\Windows\system32\bcryptprimitives.dll
F0650000  C:\Windows\system32\SQLSRV32.dll
003E0000  C:\Windows\system32\sqlsrv32.rll
F3CA0000  C:\Windows\system32\DBNETLIB.DLL
75120000  C:\Windows\system32\security.dll
FD780000  C:\Windows\system32\SECUR32.DLL
FCF80000  C:\Windows\system32\credssp.dll
FD2B0000  C:\Windows\system32\msv1_0.DLL
FD600000  C:\Windows\system32\cryptdll.dll
F5F60000  C:\Windows\system32\ntdsapi.dll
FD310000  C:\Windows\System32\wship6.dll
FD110000  C:\Windows\system32\schannel.DLL
FD500000  C:\Windows\system32\ncrypt.dll



------------------------------------------------------------------------
    Hardware/Driver Information
------------------------------------------------------------------------
Processor:              0x9
Display :               Unknown
Page Size:              4096
Min App Address:        0x00010000
Max App Address:        0xFFFEFFFF
Processor Mask:         0xFFFF
Number of Processors:   16
Processor Type:         8664
Allocation Granularity: 65536
Processor Level:        6
Processor Revision:     6661

Percent memory used:    43
Physical memory:        1056387072/4285321216
Page file:              1787195392/1037021184
Virtual memory:         205025280/4294836224
 
Back
Top