PVP Map

i need help to define it <.<

it should be as simple as including mhMap.h and then typing in
Code:
MAP->
if nothing else points to functions from MAP, then it sounds like your source code is corrupt, a different version, or restricting access to the file.
 
im using the source provided in your post "Video tutorials"
Facts:
That source code is a re-upload of Memikos.
Downloads can be corrupted if the connection times out.
Its Video Guides, not Video tutorials.


Now I've asked you to provide me with certain information, whether or not its for the client or the server. I can't help you if you can't give me the details; somebody else will have to help you then.
 
Last edited:
oh sorry, i was defining it in map...

Thanks, I needed to know that because the map server and clients mhMap.h are a lot different. For mapserver you need to add this:
Code:
#include "GridTable.h"
After that you should be able to use this to define specific maps:
Code:
MAP->GetMapNum == map#

Hope that helps.
 
i have this:
if( MAP->GetMapNum() == 201 ) //PVP MAP 201
{
NoPKModeDiePanelty( pDiePlayer );
}

but I keep getting the same errors and "#include "GridTable.h"" is added u.u
Error
PKManager.cpp(114): error C2065: 'MAP' : undeclared identifier
PKManager.cpp(114): error C2227: left of '->GetMapNum' must point to class/struct/union type is ''unknown-type''
PKManager.cpp(154): error C2227: left of '->GetMapNum' must point to class/struct/union type is ''unknown-type''
PKManager.cpp(154): error C3861: 'MAP': identifier not found, even with argument-dependent lookup
 
Well I certainly know how to mess up stuff, and give perfectly good nonsense answer's.

Change:
Code:
 MAP->GetMapNum()
to
Code:
g_pServerSystem->GetMapNum()

Your probably going to get the pDiePlayer is an undeclared identifier message just change pDiePlayer to pPlayer.
 
Last edited:
Nope, no more errors... thx you :3

I can't guarantee that the code I provided in my previous post about disabling penalties will work, just a thought of concept. If that doesn't work, then you may want to look more into the code, I haven't tested it out. Let me know if it works for ya!
 
Back