• 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.

[Release] PT Source 2012 (Visual Studio 2013) Fixed

Junior Spellweaver
Joined
Jul 13, 2013
Messages
139
Reaction score
1
Last edited:
Junior Spellweaver
Joined
Jul 13, 2013
Messages
139
Reaction score
1
You can't run 3d games in that VM...

You need to copy the client to your PC and run it from there. the vm is only for running the server.
@@thanks for your answer,but it still something wrong with me.it got error

error:lpD3D->creatDevice
error:Failed InitD3D<>
 
Last edited:
Junior Spellweaver
Joined
May 30, 2009
Messages
190
Reaction score
61
Code:
if ( ( abs( ( long )dwPlayTime - ( long )dwLastMouseMoveTime ) > 1024 * 60 * 3 ||
		abs( ( long )dwPlayTime - ( long )dwLastCharMoveTime ) > 1024 * 60 * 3 ||
		abs( ( long )dwFuncChkTime - ( long )dwPlayTime ) > 14 * 60 * 1024 ) ||
		 RestartPlayCount!=0 ) 
	{
		//Attack invalid when no mouse movement more than a few minutes (bots automatically play defense)
		//Invalid attacks when standing in place for more than a few minutes characters (bots automatically play defense)
		return FALSE;
	}

After some time without move the mouse and char, the default damage is canceled by this code..
 
Experienced Elementalist
Joined
Jan 1, 2009
Messages
217
Reaction score
61
hey,drz,glad to meet u,i am still working with the source and i am interesting on it。how can i find u?
 

drz

Junior Spellweaver
Joined
Jun 7, 2013
Messages
145
Reaction score
71
Its possible. Maybe you have to Change some libs or something. But generally the source Works for vs2015
 
Newbie Spellweaver
Joined
Mar 5, 2012
Messages
13
Reaction score
0
I'm getting this error while compiling

drz - [Release] PT Source 2012 (Visual Studio 2013) Fixed - RaGEZONE Forums
 

drz

Junior Spellweaver
Joined
Jun 7, 2013
Messages
145
Reaction score
71
The error Message is very correctly. You have to change the Plattform sdk to Version 150, because you are miss old sdk...
 
Newbie Spellweaver
Joined
Mar 5, 2012
Messages
13
Reaction score
0
c:\arquivos\projeto\ptsourcedx7\src\smpacket.h(6): fatal error C1083: Cannot open include file: 'atltime.h': No such file or directory
1> checkdll.cpp
 

drz

Junior Spellweaver
Joined
Jun 7, 2013
Messages
145
Reaction score
71
You have to copy the files into standard include path of your Visual Studio installation. Maybe it works to if you copy the files into project lib directory and add addinonal include path.
 

drz

Junior Spellweaver
Joined
Jun 7, 2013
Messages
145
Reaction score
71
Just english.

what is the problem. Just copy the atlmfc into your "Microsoft Visual Studio 14.0\VC" directory...
 

drz

Junior Spellweaver
Joined
Jun 7, 2013
Messages
145
Reaction score
71
Second Post this topic

nettype.hpp
#define _W_SERVER (if this flag is set, the project will build as server)
#define _USE_DYNAMIC_ENCODE (flag is set, the AttackPacketEncode will be use, but crash the client)
#define _USE_NEW_MSSQL_CLASS (if this flag is set, MSSQL2008 class will be used)
 
Back
Top