Most visitors online was 8830 , on 6 Feb 2024
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!server:You must be registered to see links
client:You must be registered to see links
no changes, this is other link because the links of post are offlinewhat new here ?
My old server files + source)
Trailer: ^^
Customs:
- Golden Fenrir Mix (Chaos Machine)
- Added Jewel Of Wind
- Changed trade + warehouse zen limit (999 999 999 Zen)
- Guild System
- Stone Exchanger(exchange Stone to credits)
- Drop Rena from Golden Soldier,Vepar,Wheel
- AddZen
SERVER+SOURCE
CLIENT
new links please
here
client
You must be registered to see links
files
You must be registered to see links
source
You must be registered to see links
you may want to use the dataservers for the ones from p4f files since this ones have the bug with the items in the warehouse (not sure if i changed them in this ones, test it)
i dont see CustomItemDrop in source code?
anyone can help?
how to set max stat in source??
bool CheckMaxPoints(BYTE type, OBJECTSTRUCT* lpObj)
{
bool bResult = false;
int MaxPoints = 32000;
int Stats;
switch (type)
{
case 0x00:
Stats = lpObj->Strength;
break;
case 0x01:
Stats = lpObj->Dexterity;
break;
case 0x02:
Stats = lpObj->Vitality;
break;
case 0x03:
Stats = lpObj->Energy;
break;
case 0x04:
Stats = lpObj->Leadership;
MaxPoints = 32000;
break;
}
if(MaxPoints > 32767)
MaxPoints = -32768 + (MaxPoints - 32767);
if((MaxPoints > 0) && (Stats >= MaxPoints || Stats < 0))
bResult = true;
else if ((MaxPoints < 0) && (Stats < 0) && (Stats >= MaxPoints))
bResult = true;
return bResult;
}
void gObjLevelUpPointAddEx(BYTE type, OBJECTSTRUCT* lpObj)
{
bool Error = false;
if(CheckMaxPoints(type, lpObj))
Error = true;
if (Error == true)
{
BYTE cShowAddPointError[0x30] ={0xC1,0x30,0x0D,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 } ;
sprintf((char *)&cShowAddPointError[0x0D], "Error in Stats adding");
}
else
gObjLevelUpPointAdd(type, lpObj);
}
i dont see CustomItemDrop in source code?
anyone can help?
how to set max stat in source??
в StdAfx.h добавь MaxPoints.h далее создай MaxPoints.cpp + MaxPoints.hгде я могу поместить этот код?
bool CheckMaxPoints (тип BYTE, OBJECTSTRUCT * lpObj)
{
bool bResult = false;
int MaxPoints = 32000;
int Stats;
переключатель (тип)
{
случай 0x00:
Stats = lpObj-> Сила;
ломать;
случай 0x01:
Stats = lpObj-> Ловкость;
ломать;
случай 0x02:
Stats = lpObj-> Vitality;
ломать;
случай 0x03:
Stats = lpObj-> Энергия;
ломать;
случай 0x04:
Stats = lpObj-> Лидерство;
MaxPoints = 32000;
ломать;
}
if (MaxPoints> 32767)
MaxPoints = -32768 + (MaxPoints - 32767);
if ((MaxPoints> 0) && (Stats> = MaxPoints || Stats <0))
bResult = true;
else if ((MaxPoints <0) && (Stats <0) && (Stats> = MaxPoints))
bResult = true;
return bResult;
}
void gObjLevelUpPointAddEx (тип BYTE, OBJECTSTRUCT * lpObj)
{
bool Error = false;
if (CheckMaxPoints (тип, lpObj))
Error = true;
if (Error == true)
{
BYTE cShowAddPointError [0x30] = {0xC1,0x30,0x0D, 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 , 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 , 0x00};
sprintf ((char *) & cShowAddPointError [0x0D], «Ошибка при добавлении статистики»);
}
еще
gObjLevelUpPointAdd (тип, lpObj);
HookThis((DWORD)&gObjLevelUpPointAddEx,0x004052C7);
в MaxPoints.cpp добавьvoid gObjLevelUpPointAddEx(BYTE type, OBJECTSTRUCT* lpObj);bool CheckMaxPoints(BYTE type, OBJECTSTRUCT* lpObj);
в StdAfx.h добавь MaxPoints.h далее создай MaxPoints.cpp + MaxPoints.h
в InitDll.cpp добавь
в MaxPoints.h добавь
в MaxPoints.cpp добавь
#include "StdAfx.h"
bool CheckMaxPoints(BYTE type, OBJECTSTRUCT* lpObj)
{
bool bResult = false;
int MaxPoints = 32000;
int Stats;
switch (type)
{
case 0x00:
Stats = lpObj->Strength;
break;
case 0x01:
Stats = lpObj->Dexterity;
break;
case 0x02:
Stats = lpObj->Vitality;
break;
case 0x03:
Stats = lpObj->Energy;
break;
case 0x04:
Stats = lpObj->Leadership;
MaxPoints = 32000;
break;
}
if(MaxPoints > 32767)
MaxPoints = -32768 + (MaxPoints - 32767);
if((MaxPoints > 0) && (Stats >= MaxPoints || Stats < 0))
bResult = true;
else if ((MaxPoints < 0) && (Stats < 0) && (Stats >= MaxPoints))
bResult = true;
return bResult;
}
void gObjLevelUpPointAddEx(BYTE type, OBJECTSTRUCT* lpObj)
{
bool Error = false;
if(CheckMaxPoints(type, lpObj))
Error = true;
if (Error == true)
{
BYTE cShowAddPointError[0x30] ={0xC1,0x30,0x0D,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 } ;
sprintf((char *)&cShowAddPointError[0x0D], "Error in Stats adding");
}
else
gObjLevelUpPointAdd(type, lpObj);
}
все готово )