Hey people !
I'm trying to add a code in my source where the creation of shops are blocked in every world but not in my Market world.
I've tried to add this code to my DPSrvr.cpp
&
In my VersionCommon.h of WorldServer
But players can still create shops everywhere.
Can anyone tell me what I'm doing wrong? I think I have to add something to Neuz?
Thanks!
Minotaurr
I'm trying to add a code in my source where the creation of shops are blocked in every world but not in my Market world.
I've tried to add this code to my DPSrvr.cpp
Code:
#ifdef __SHOP_BLOCK
if (pWorld && pWorld->GetID() != WI_WORLD_MARKET);
{
pUser->AddText("Travel to the Market to open a shop !");
return;
}
#endif //__SHOP_BLOCK
In my VersionCommon.h of WorldServer
Code:
#define __SHOP_BLOCK
Can anyone tell me what I'm doing wrong? I think I have to add something to Neuz?
Thanks!
Minotaurr