| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 3,901
» Latest member: JasonBoN
» Forum threads: 5,152
» Forum posts: 41,374
Full Statistics
|
| Online Users |
There are currently 24 online users. » 1 Member(s) | 22 Guest(s) Bing, Emilioorgak
|
| Latest Threads |
Last Chaos Server Sale
Forum: The Black Market (Buy, Sell, Trade)
Last Post: XWrongX2
01-26-2026, 11:07 PM
» Replies: 3
» Views: 605
|
All in One Exporter
Forum: Tools
Last Post: Kain88
01-25-2026, 07:04 AM
» Replies: 4
» Views: 424
|
HELP! ReZasCashServer It ...
Forum: Ep4 Support
Last Post: Kain88
01-24-2026, 03:24 PM
» Replies: 2
» Views: 152
|
Hi, does anyone know the ...
Forum: Help
Last Post: Desarija
01-21-2026, 11:29 AM
» Replies: 1
» Views: 110
|
LastChaos Nemesis
Forum: Server Advertising
Last Post: Desarija
01-20-2026, 04:06 PM
» Replies: 3
» Views: 231
|
Looking for EP4 Guidance
Forum: General Discussion
Last Post: xHypnosiaa
01-19-2026, 08:33 AM
» Replies: 1
» Views: 166
|
We're in need of creative...
Forum: Project Recruitment
Last Post: RGT
01-16-2026, 12:48 AM
» Replies: 0
» Views: 114
|
Last Chaos build deployme...
Forum: Ep4 Guides
Last Post: xHypnosiaa
01-08-2026, 11:14 AM
» Replies: 0
» Views: 68
|
Last Chaos global server ...
Forum: Ep4 Guides
Last Post: xHypnosiaa
01-07-2026, 07:01 PM
» Replies: 0
» Views: 30
|
EP-2/EP-3 Mixed files
Forum: Archived General Server Releases
Last Post: TeKnodE
01-06-2026, 09:53 PM
» Replies: 1
» Views: 293
|
|
|
| Cash Server error |
|
Posted by: Stormax - 01-02-2023, 11:38 PM - Forum: Ep4 Support
- Replies (5)
|
 |
Hello guys,
When i connect my connector i got this error in my cash server
2
I use november files.
Someone can help me ?
Thx.
|
|
|
| Quest Collection Modifcation |
|
Posted by: dethunter12 - 12-25-2022, 03:18 PM - Forum: Ep4 Guides
- Replies (6)
|
 |
Hello just wanted to share some code i wrote last year.
Normal quest collect.
-Allows you to collect only 1 item of whatever is in the production list for the monster
Modified Code:
- allows you to collect up to 5 items of whatever is in the production list for the monster
-item count between 1-10 randomly each collect
Files you'll need to modify
-Config_Localize_USA.h
doFuncQuest.cpp
in Config_Localize_usa.h
at the end add this :
#define QUEST_COLLECT_MOD_10162021
in DoFuncQuest.cpp replace the function do_QuestCollect
void do_QuestCollect(CPC* ch, CNetMsg::SP& msg)
{
int nNPCIndex;
int nItemIndex = -1;
int nItemAmount = 1;
RefMsg(msg) >> nNPCIndex;
if (gserver->m_pulse - ch->m_nLastCollectRequest < PULSE_PRODUCE_DELAY - PULSE_HACK_ATTACK_THRESHOLD)
return ;
CNPC* pNPC = (CNPC*)ch->m_pArea->FindCharInCell(ch, nNPCIndex, MSG_CHAR_NPC);
if (!pNPC)
return ;
if (GetDistance(ch, pNPC) >= pNPC->m_proto->m_attackArea + 0.5)
return ;
#ifdef QUEST_COLLECT_MOD_10162021
bool isBoxCollectNpc = false;
if (pNPC->m_idNum == 1702 || pNPC->m_idNum == 1703 || pNPC->m_idNum == 1711)
isBoxCollectNpc = true;
#endif
if (ch->m_nCollectRequestNPCIndex != nNPCIndex)
ch->m_nCollectRequestCount = 0;
if( pNPC->m_proto->m_family > 0 )
FindFamilyInNear( ch, pNPC );
ch->m_nLastCollectRequest = gserver->m_pulse;
ch->m_nCollectRequestNPCIndex = nNPCIndex;
ch->m_nCollectRequestCount++;
if (ch->m_nCollectRequestCount >= 4)
{
ch->m_nLastCollectRequest = 0;
int nMaxRandom = MAX_NPC_PRODUCT - 1;
int itemIndexProduct[MAX_PRODUCTS_FROM_NPC];
while (nMaxRandom >= 0 )
{
int nProb = GetRandom(0, nMaxRandom);
if (pNPC->m_proto->m_product[nProb] <= 0)
nMaxRandom--;
else
{
nItemIndex = pNPC->m_proto->m_product[nProb];
break ;
}
}
CItem* pItem = NULL;
if (nItemIndex > 0)
{
#ifdef QUEST_COLLECT_MOD_10162021
if (isBoxCollectNpc)
{
for (int i = 0; i < MAX_PRODUCTS_FROM_NPC; i++)
{
itemIndexProduct[i] = pNPC->m_proto->m_product[i];
nItemAmount = GetRandom(1, 10);
pItem = gserver->m_itemProtoList.CreateItem(itemIndexProduct[i], -1, 0, 0, nItemAmount);
if(itemIndexProduct[i] == 0)
continue;
if (pItem)
{
if (pItem->m_itemProto->getItemIndex() != itemIndexProduct[i])
{
GAMELOG << init("Hack Character", ch) << "Invalid Item" << end;
return;
}
if (ch->m_inventory.addItem(pItem) == false)
{
GAMELOG << init("Create Item Fail", ch) << end;
delete pItem;
pItem = NULL;
nItemIndex = 0;
GAMELOG << init("QUEST COLLECT FAIL", ch)
<< "FULL INVEN"
<< end;
}
}
}
}
#endif
if (!isBoxCollectNpc)
pItem = gserver->m_itemProtoList.CreateItem(nItemIndex, -1, 0, 0, nItemAmount);
if (pItem && !isBoxCollectNpc)
{
if (ch->m_inventory.addItem(pItem) == false)
{
delete pItem;
pItem = NULL;
nItemIndex = 0;
GAMELOG << init("QUEST COLLECT FAIL" , ch)
<< "FULL INVEN"
<< end;
}
}
else
{
nItemIndex = 0;
}
}
else
{
nItemIndex = 0;
}
{
CNetMsg::SP rmsg(new CNetMsg);
QuestCollectMsg(rmsg, nNPCIndex, ch->m_index, nItemIndex);
pNPC->m_pArea->SendToCell(rmsg, pNPC, true);
}
DelAttackList(pNPC);
ch->m_pArea->CharFromCell(pNPC, true);
ch->m_pArea->DelNPC(pNPC);
pNPC = NULL;
}
else
{
CNetMsg::SP rmsg(new CNetMsg);
QuestCollectMsg(rmsg, nNPCIndex, ch->m_index, nItemIndex);
pNPC->m_pArea->SendToCell(rmsg, pNPC, true);
}
}
In the code you'll notice :
bool isBoxCollectNpc = false;
//replace where it says m_idNum == with your npc id
//replace here
if (pNPC->m_idNum == 1702 || pNPC->m_idNum == 1703 || pNPC->m_idNum == 1711)
isBoxCollectNpc = true;
you'll also notice item amount is random between 1,10 you can modify this to be different for each npc if you want or set your own custom range .
//modify the following value to get more or less items when collecting.
nItemAmount = GetRandom(1, 10);
Instead of only collecting 1 item from a monster you can do 5 items.
you'll have to set the flag of the npc to the following. add the Quest Collect flag
Youll see the Product 0-5 filled out you can add up to 5 items for the drop .
replace the id's with the item you want them to drop
Once you collect from one of the NPCs it will look like the following as example.
If you think this code is useful, give it a thumbs up.
|
|
|
| The client does not start |
|
Posted by: Tesebo - 12-25-2022, 02:37 PM - Forum: Ep4 Support
- Replies (17)
|
 |
hi
after compiling the client does not start at all, I did everything according to the instructions from this forum, but for some reason the client does not work, I tried to run on different client builds, but nothing happened
|
|
|
| Сompilation errors |
|
Posted by: MLIKE - 12-25-2022, 10:30 AM - Forum: Ep4 Support
- Replies (17)
|
 |
Hi !
Faced with such an error, when compiling the client, what could be ??
Libraries and dependencies put everything as needed!
2>zlib.lib(compress.obj) : warning LNK4099: PDB 'zlib.pdb' was not found with 'zlib.lib(compress.obj)' or at 'C:\Bin\zlib.pdb'; linking object as if no debug info
2>zlib.lib(uncompr.obj) : warning LNK4099: PDB 'zlib.pdb' was not found with 'zlib.lib(uncompr.obj)' or at 'C:\Bin\zlib.pdb'; linking object as if no debug info
2>zlib.lib(inflate.obj) : warning LNK4099: PDB 'zlib.pdb' was not found with 'zlib.lib(inflate.obj)' or at 'C:\Bin\zlib.pdb'; linking object as if no debug info
2>zlib.lib(deflate.obj) : warning LNK4099: PDB 'zlib.pdb' was not found with 'zlib.lib(deflate.obj)' or at 'C:\Bin\zlib.pdb'; linking object as if no debug info
2>zlib.lib(adler32.obj) : warning LNK4099: PDB 'zlib.pdb' was not found with 'zlib.lib(adler32.obj)' or at 'C:\Bin\zlib.pdb'; linking object as if no debug info
2>zlib.lib(inffast.obj) : warning LNK4099: PDB 'zlib.pdb' was not found with 'zlib.lib(inffast.obj)' or at 'C:\Bin\zlib.pdb'; linking object as if no debug info
2>zlib.lib(crc32.obj) : warning LNK4099: PDB 'zlib.pdb' was not found with 'zlib.lib(crc32.obj)' or at 'C:\Bin\zlib.pdb'; linking object as if no debug info
2>zlib.lib(zutil.obj) : warning LNK4099: PDB 'zlib.pdb' was not found with 'zlib.lib(zutil.obj)' or at 'C:\Bin\zlib.pdb'; linking object as if no debug info
2>zlib.lib(inftrees.obj) : warning LNK4099: PDB 'zlib.pdb' was not found with 'zlib.lib(inftrees.obj)' or at 'C:\Bin\zlib.pdb'; linking object as if no debug info
2>zlib.lib(trees.obj) : warning LNK4099: PDB 'zlib.pdb' was not found with 'zlib.lib(trees.obj)' or at 'C:\Bin\zlib.pdb'; linking object as if no debug info
2>libpng.lib(png.obj) : warning LNK4099: PDB 'libpng.pdb' was not found with 'libpng.lib(png.obj)' or at 'C:\Bin\libpng.pdb'; linking object as if no debug info
2>libpng.lib(pngread.obj) : warning LNK4099: PDB 'libpng.pdb' was not found with 'libpng.lib(pngread.obj)' or at 'C:\Bin\libpng.pdb'; linking object as if no debug info
2>libpng.lib(pngrio.obj) : warning LNK4099: PDB 'libpng.pdb' was not found with 'libpng.lib(pngrio.obj)' or at 'C:\Bin\libpng.pdb'; linking object as if no debug info
2>libpng.lib(pngget.obj) : warning LNK4099: PDB 'libpng.pdb' was not found with 'libpng.lib(pngget.obj)' or at 'C:\Bin\libpng.pdb'; linking object as if no debug info
2>libpng.lib(pngerror.obj) : warning LNK4099: PDB 'libpng.pdb' was not found with 'libpng.lib(pngerror.obj)' or at 'C:\Bin\libpng.pdb'; linking object as if no debug info
2>libpng.lib(pngwrite.obj) : warning LNK4099: PDB 'libpng.pdb' was not found with 'libpng.lib(pngwrite.obj)' or at 'C:\Bin\libpng.pdb'; linking object as if no debug info
2>libpng.lib(pngmem.obj) : warning LNK4099: PDB 'libpng.pdb' was not found with 'libpng.lib(pngmem.obj)' or at 'C:\Bin\libpng.pdb'; linking object as if no debug info
2>libpng.lib(pngtrans.obj) : warning LNK4099: PDB 'libpng.pdb' was not found with 'libpng.lib(pngtrans.obj)' or at 'C:\Bin\libpng.pdb'; linking object as if no debug info
2>libpng.lib(pngrutil.obj) : warning LNK4099: PDB 'libpng.pdb' was not found with 'libpng.lib(pngrutil.obj)' or at 'C:\Bin\libpng.pdb'; linking object as if no debug info
2>libpng.lib(pngset.obj) : warning LNK4099: PDB 'libpng.pdb' was not found with 'libpng.lib(pngset.obj)' or at 'C:\Bin\libpng.pdb'; linking object as if no debug info
2>libpng.lib(pngrtran.obj) : warning LNK4099: PDB 'libpng.pdb' was not found with 'libpng.lib(pngrtran.obj)' or at 'C:\Bin\libpng.pdb'; linking object as if no debug info
2>libpng.lib(pngwio.obj) : warning LNK4099: PDB 'libpng.pdb' was not found with 'libpng.lib(pngwio.obj)' or at 'C:\Bin\libpng.pdb'; linking object as if no debug info
2>libpng.lib(pngwutil.obj) : warning LNK4099: PDB 'libpng.pdb' was not found with 'libpng.lib(pngwutil.obj)' or at 'C:\Bin\libpng.pdb'; linking object as if no debug info
2>libpng.lib(pngwtran.obj) : warning LNK4099: PDB 'libpng.pdb' was not found with 'libpng.lib(pngwtran.obj)' or at 'C:\Bin\libpng.pdb'; linking object as if no debug info
2>tinyxml.lib(tinystr.obj) : warning LNK4099: PDB 'tinyxml.pdb' was not found with 'tinyxml.lib(tinystr.obj)' or at 'C:\Bin\tinyxml.pdb'; linking object as if no debug info
2>tinyxml.lib(tinyxml.obj) : warning LNK4099: PDB 'tinyxml.pdb' was not found with 'tinyxml.lib(tinyxml.obj)' or at 'C:\Bin\tinyxml.pdb'; linking object as if no debug info
2>tinyxml.lib(tinyxmlerror.obj) : warning LNK4099: PDB 'tinyxml.pdb' was not found with 'tinyxml.lib(tinyxmlerror.obj)' or at 'C:\Bin\tinyxml.pdb'; linking object as if no debug info
2>tinyxml.lib(tinyxmlparser.obj) : warning LNK4099: PDB 'tinyxml.pdb' was not found with 'tinyxml.lib(tinyxmlparser.obj)' or at 'C:\Bin\tinyxml.pdb'; linking object as if no debug info
Completes compilation without errors, but the above error constantly causes errors when starting the client!
|
|
|
| Client build error |
|
Posted by: MLIKE - 12-24-2022, 09:45 AM - Forum: Ep4 Support
- Replies (6)
|
 |
Hi, everyone!
I ran into such a problem when building the November client, everything is in order for all libraries and variables, everything is compiled except Engine.
The error code is attached below!
Creating library \Bin\Engine.lib and object \Bin\Engine.exp
UIWindowDeclare.obj : error LNK2001: unresolved external symbol "public: __thiscall GuildTaxHistoryUI::GuildTaxHistoryUI(void)" (??0GuildTaxHistoryUI@@QAE@XZ)
SessionState.obj : error LNK2001: unresolved external symbol "public: void __thiscall GuildTaxHistoryUI::ResetTakeInfo(void)" (?ResetTakeInfo@GuildTaxHistoryUI@@QAEXXZ)
SessionState.obj : error LNK2001: unresolved external symbol "public: void __thiscall GuildTaxHistoryUI::AddTakeInfo(int,int,__int64)" (?AddTakeInfo@GuildTaxHistoryUI@@QAEXHH_J@Z)
SessionState.obj : error LNK2001: unresolved external symbol "public: void __thiscall GuildTaxHistoryUI::open(void)" (?open@GuildTaxHistoryUI@@QAEXXZ)
\Bin\Engine.dll : fatal error LNK1120: 4 unresolved externals
|
|
|
| Client build error |
|
Posted by: MLIKE - 12-24-2022, 08:41 AM - Forum: Client Side
- Replies (5)
|
 |
Hi, everyone!
I ran into such a problem when building the November client, everything is in order for all libraries and variables, everything is compiled except Engine.
The error code is attached below!
Creating library \Bin\Engine.lib and object \Bin\Engine.exp
UIWindowDeclare.obj : error LNK2001: unresolved external symbol "public: __thiscall GuildTaxHistoryUI::GuildTaxHistoryUI(void)" (??0GuildTaxHistoryUI@@QAE@XZ)
SessionState.obj : error LNK2001: unresolved external symbol "public: void __thiscall GuildTaxHistoryUI::ResetTakeInfo(void)" (?ResetTakeInfo@GuildTaxHistoryUI@@QAEXXZ)
SessionState.obj : error LNK2001: unresolved external symbol "public: void __thiscall GuildTaxHistoryUI::AddTakeInfo(int,int,__int64)" (?AddTakeInfo@GuildTaxHistoryUI@@QAEXHH_J@Z)
SessionState.obj : error LNK2001: unresolved external symbol "public: void __thiscall GuildTaxHistoryUI::open(void)" (?open@GuildTaxHistoryUI@@QAEXXZ)
\Bin\Engine.dll : fatal error LNK1120: 4 unresolved externals
|
|
|
| Power Slave Files |
|
Posted by: Stormax - 12-22-2022, 01:21 PM - Forum: Server Side
- Replies (17)
|
 |
Hello guys,
I publish here the powerslave files ( db + files )
It work properly i use it
Database : 2
Files : 2
Client : 2 ( his name is neferium lc because i use it for my server )
It was a ep2 server with some custom content
|
|
|
| LC cms 4.0.1 problem |
|
Posted by: Stormax - 12-22-2022, 01:16 PM - Forum: ToXiC Support
- Replies (6)
|
 |
Hello guys,
I installed LC CMS 4.0..1 ( thx toxic )
I have a problem with the register ( register work but not appears in bg_user ), login d'ont work and also the rank of players
We can see the guild rank so the sql is connect ...
someone can help me ?
|
|
|
|