| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 46 online users. » 0 Member(s) | 45 Guest(s) Bing
|
| 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: 611
|
All in One Exporter
Forum: Tools
Last Post: Kain88
01-25-2026, 07:04 AM
» Replies: 4
» Views: 430
|
HELP! ReZasCashServer It ...
Forum: Ep4 Support
Last Post: Kain88
01-24-2026, 03:24 PM
» Replies: 2
» Views: 165
|
Hi, does anyone know the ...
Forum: Help
Last Post: Desarija
01-21-2026, 11:29 AM
» Replies: 1
» Views: 113
|
LastChaos Nemesis
Forum: Server Advertising
Last Post: Desarija
01-20-2026, 04:06 PM
» Replies: 3
» Views: 236
|
Looking for EP4 Guidance
Forum: General Discussion
Last Post: xHypnosiaa
01-19-2026, 08:33 AM
» Replies: 1
» Views: 171
|
We're in need of creative...
Forum: Project Recruitment
Last Post: RGT
01-16-2026, 12:48 AM
» Replies: 0
» Views: 119
|
Last Chaos build deployme...
Forum: Ep4 Guides
Last Post: xHypnosiaa
01-08-2026, 11:14 AM
» Replies: 0
» Views: 75
|
Last Chaos global server ...
Forum: Ep4 Guides
Last Post: xHypnosiaa
01-07-2026, 07:01 PM
» Replies: 0
» Views: 33
|
EP-2/EP-3 Mixed files
Forum: Archived General Server Releases
Last Post: TeKnodE
01-06-2026, 09:53 PM
» Replies: 1
» Views: 297
|
|
|
| Change startzone for chars |
|
Posted by: rondo157 - 01-03-2021, 06:25 PM - Forum: Ep4 Guides
- No Replies
|
 |
Server side:
GameServer/DBProcess_SelectChar.cpp
Line: 215
if (!bValidZone)
{
// АЯёшµИ Бё №шИЈАП¶§
nZone = ZONE_START; //For all chars besides ns
if(pChar->m_job == JOB_NIGHTSHADOW)
nZone = ZONE_EGEHA; // for ns
pZone = gserver->FindZone(nZone);
// ЅГАЫ БёА» ГЈѕЖј
bValidZone = true;
}
Full names zones:
#define ZONE_START 0 // ЅГАЫ ё¶А»
#define ZONE_DUNGEON1 1 // ґшАь 1
#define ZONE_SINGLE_DUNGEON1 2 // ЅМ±Ы ґшАь 1
#define ZONE_DUNGEON2 3 // ґшАь 2
#define ZONE_DRATAN 4 // ЗКµе 2 µе¶уЕє
#define ZONE_SINGLE_DUNGEON2 5 // ЅМ±Ы ґшАь 2
#define ZONE_SINGLE_DUNGEON_TUTORIAL 6 // ЅМ±Ы ґшАь 1 Ж©Едё®ѕуЖЗ
#define ZONE_MERAC 7 // ёЮ¶уЕ©
#define ZONE_GUILDROOM 8 // ±жµе·л
#define ZONE_DUNGEON3 9 // ґшАь 3
#define ZONE_SINGLE_DUNGEON3 10 // ЅМ±Ы ґшАь 3
#define ZONE_SINGLE_DUNGEON4 11 // ЅМ±Ы ґшАь 4
#define ZONE_DUNGEON4 12 // ґшАь 4: µе¶уЕє
#define ZONE_FREE_PK_DUNGEON 13 // PK ґшАь
#define ZONE_OXQUIZROOM 14 // OX ДыБо№ж
#define ZONE_EGEHA 15 // їЎ°ФЗП
#define ZONE_EGEHA_PK 16 // їЎДЙЗП PKБё
#define ZONE_EGEHA_DUNGEON_1 17 // їЎ°ФЗП ґшАь 1F~7F
#define ZONE_EGEHA_DUNGEON_8 18 // їЎ°ФЗП ґшАь 8F
#define ZONE_EGEHA_DUNGEON_9 19 // їЎ°ФЗП ґшАь 9F
#define ZONE_EGEHA_DUNGEON_10 20 // їЎ°ФЗП ґшАь 10F
#define ZONE_DRATAN_CASTLE_DUNGEON 21 // µе¶уЕє °шјє єё»у ґшАь
#define ZONE_COMBO_DUNGEON 22 // ёуЅєЕН ДЮєё ґшАь
#define ZONE_STREIANA 23 // ЅєЖ®·№АМѕЖіЄ
#define ZONE_PK_TOURNAMENT 24 // єУАєёр·Ў№Щ¶ч Ех±вАе
#define ZONE_EXTREME_CUBE 25 // ЕҐєк
#define ZONE_SPRIT_CAVE 26 // їµИҐАЗ µї±ј
#define ZONE_QUANIAN_CAVE 27 // ДвґПѕИАЗ µї±ј
#define ZONE_GOLEM_CAVE 28 // °с·ЅАЗ µї±ј
#define ZONE_EBONY_MINE 29 // їЎєёґПЕє±¤
#define ZONE_MISTY_CANYON 30 // №МЅєЖјЗщ°о
#define ZONE_FLORAIM_CAVE 31 // ЗГ·О¶уАУ µї±ј
#define ZONE_MONDSHINE 32 // ёуµе»юАО
#define ZONE_CAPPELLA_1 33 // ї№№иґз 1Вч
#define ZONE_CAPPELLA_2 34 // ї№№иґз 2Вч
#define ZONE_ALTER_OF_DARK 35 // ѕПИжАЗ Б¦ґЬ
#define ZONE_AKAN_TEMPLE 36 // ѕЖД»зїш Бё
#define ZONE_TRIVIA_CANYON 37 // Ж®ё®єсѕЖ
#define ZONE_ROYAL_RUMBLE 38 // ·Оѕв·ієн Бё
#define ZONE_TARIAN 39 // Еёё®ѕИ
#define ZONE_BLOODYMIR 40 // єн·Їµр№МёЈ
#define ZONE_TARIAN_DUNGEON 41 // ¶чЅє·ОАЗ БцЗПґшАь - Еёё®ѕИ ґшАь
#define ZONE_RVR 42 // RVR Test ґшАь
|
|
|
| Change merchant setting |
|
Posted by: rondo157 - 01-03-2021, 06:22 PM - Forum: Ep4 Guides
- No Replies
|
 |
Server side:
GameServer/doFuncExSubJob.cpp
#include "stdhdrs.h"
#include "Log.h"
#include "Character.h"
#include "Server.h"
#include "CmdMsg.h"
#include "doFunc.h"
#ifdef ENABLE_SUBJOB
void do_ExFuncSubJob( CPC* ch, CNetMsg::SP& msg )
{
unsigned char subtype;
RefMsg(msg) >> subtype;
switch(subtype)
{
case MSG_EX_SUBJOB_REGIST:
do_ExSubJobRegist( ch, msg );
break;
}
}
void do_ExSubJobRegist( CPC* ch, CNetMsg::SP& msg )
{
int subjob = 0;
RefMsg(msg) >> subjob;
int needMinLevel = 0; // min lvl
int needMaxLevel = 999; // max lvl
int needFame = 0; // fame
int needSP = 0 * 10000 ; //Skill Points
LONGLONG needMoney = 1; // gold
if( !ch )
return;
if( ch->m_level < needMinLevel || ch->m_level > needMaxLevel )
{
CNetMsg::SP rmsg(new CNetMsg);
SubJobErrorMsg(rmsg, 1 ); // ·№є§АМ ёВБц ѕКАЅ
SEND_Q( rmsg, ch->m_desc );
return;
}
if( ch->m_skillPoint < needSP )
{
CNetMsg::SP rmsg(new CNetMsg);
SubJobErrorMsg(rmsg, 3 ); // јч·Гµµ ёрАЪ¶ч
SEND_Q( rmsg, ch->m_desc );
return;
}
if( ch->m_fame < needFame )
{
CNetMsg::SP rmsg(new CNetMsg);
SubJobErrorMsg(rmsg, 2 ); // ёнјєДЎ ёрАЪ¶ч
SEND_Q( rmsg, ch->m_desc );
return;
}
// µ· Вч°Ё
if (ch->m_inventory.getMoney() < needMoney)
{
CNetMsg::SP rmsg(new CNetMsg);
SubJobErrorMsg(rmsg, 4 ); // іЄЅєєОБ·
SEND_Q( rmsg, ch->m_desc );
return ;
}
else
{
ch->m_inventory.decreaseMoney(needMoney);
}
// јч·Гµµ Вч°Ё
ch->m_skillPoint -= needSP ;
// ёнјєДЎ Вч°Ё
ch->m_fame -= needFame;
// »уАОµо·П
ch->m_jobSub |= subjob ;
ch->CalcStatus(true);
// јє°шёЮјјБц
CNetMsg::SP rmsg(new CNetMsg);
SubJobMsg(rmsg, MSG_EX_SUBJOB_ERROR_SUCESS );
RefMsg(rmsg) << subjob;
SEND_Q( rmsg, ch->m_desc );
return;
}
#endif // ENABLE_SUBJOB
//
|
|
|
| Edit max lvl |
|
Posted by: rondo157 - 01-03-2021, 06:21 PM - Forum: Ep4 Guides
- No Replies
|
 |
Server side:
GameServer/Exp.h
#ifndef __EXP_H__
#define __EXP_H__
#define MAX_LEVEL 195 // level what you want
void InitExp();
LONGLONG GetLevelupExp(int level);
#endif //__EXP_H__
//
|
|
|
| Copypaste function |
|
Posted by: rondo157 - 01-03-2021, 06:19 PM - Forum: Ep4 Guides
- Replies (1)
|
 |
Engine/Interface/UIEditBox.cpp
Line:134
void CUIEditBox::initialize()
{
m_nTextSY = ( m_nHeight - _pUIFontTexMgr->GetFontHeight() ) / 2;
m_nShowCharCount = ( m_nWidth + _pUIFontTexMgr->GetFontSpacing() ) /
( _pUIFontTexMgr->GetFontWidth() + _pUIFontTexMgr->GetFontSpacing() );
m_nShowCharSize = m_nWidth;
if (m_nMaxCharCount > 0)
{
SAFE_ARRAY_DELETE(m_pInputBuffer);
SAFE_ARRAY_DELETE(m_pTempBuffer);
m_pInputBuffer = new char[m_nMaxCharCount + 1];
m_pInputBuffer[0] = NULL;
m_pTempBuffer = new char[m_nMaxCharCount + 1];
m_pTempBuffer[0] = NULL;
if (m_bIsPWEditBox)
{
SAFE_ARRAY_DELETE(m_pPWBuffer);
m_pPWBuffer = new char[m_nShowCharCount + 1];
m_pPWBuffer[0] = NULL;
}
}
//#ifdef VER_TEST //Remove VER_TEST here
m_bCopyAndPaste = true;
//#endif // VER_TEST
m_pImgSelText = new CUIImage;
addChild((CUIBase*)m_pImgSelText);
m_pImgSelText->setTexString("CommonBtn.tex");
UIRectUV uv;
uv.SetUV(158, 59, 165, 66);
m_pImgSelText->SetUV(uv);
m_pImgSelText->SetColor(0x0000FFCC);
m_pImgSelText->Hide(TRUE);
}
Result: 2
|
|
|
| Buff limit |
|
Posted by: rondo157 - 01-03-2021, 07:57 AM - Forum: Ep4 Guides
- Replies (8)
|
 |
Engine/Interface/UIBuff.h
Line: 61
// Buff size
#define BUFF_SIZE_BIG 20
#define BUFFOUT_SIZE_BIG 22
#define BUFF_SIZE_SMALL 16
#define BUFFOUT_SIZE_SMALL 18
// Buff count
#define BUFF_MAX_COUNT 70
#define BUFF_GOOD_COUNT 60
#define BUFF_BAD_COUNT 8
// Define max char and line of buff informaion
#define MAX_BUFFINFO_CHAR 30
#define MAX_BUFFINFO_LINE 20
#define MAX_BUFF_COL 8
#define MAX_BUFF_ROW 7
|
|
|
| sl.dta remove |
|
Posted by: rondo157 - 01-03-2021, 07:54 AM - Forum: Ep4 Guides
- Replies (5)
|
 |
Engine/Network/CommunicationInterface.cpp
int CCommunicationInterface::ReadInfo( LoginServer* stLogin )
{
{
sprintf(stLogin[0].szAddress, "your ip"); //edit to your server port/ip
sprintf(stLogin[0].szPort, "%d", port); //pwesty sl.dta removal
}
return 1;
}
Credits: pwesty
Dont forget to change ip here:
Line: 784
{
TempIP.SetIP( 127, 0, 0, 1, USA);
m_vecIPFilter.push_back( TempIP );
}
|
|
|
| Chat memory count |
|
Posted by: rondo157 - 01-03-2021, 07:51 AM - Forum: Ep4 Guides
- No Replies
|
 |
Engine/Contents/Base/ChattingUI.h
Line:45
#define MAX_WHISPER_SAVE 100 // was 5
#define CHAT_MEMORY_COUNT 100 // was 5
Result:2
|
|
|
| How to properly export animation from .ba? |
|
Posted by: Agility - 01-03-2021, 12:12 AM - Forum: Ep4 Support
- Replies (2)
|
 |
Yesterday I started writing binary animset (.ba) exporting tool and I'm currently stuck at nearly end as everything seems to be done correctly but ..it's shaking?
from original FBX format to AA
2
from BA to AA
2
As you can see animation exported from .ba is shaking (especially at the beginning), if there is anyone with knowledge I'd be glad for any idea how can I correct that
I will share it all when I'll fix this issue
|
|
|
| How to display online player count on server section |
|
Posted by: cooldude - 12-30-2020, 06:08 PM - Forum: Ep4 Guides
- Replies (7)
|
 |
Set 1: Open client soruce file UIServerSelect.cpp. You will find this in Engine\Contents\Login.
Set 2: find this code:
else
{
pText->SetText(CTString(_S( 371, "¿øÈ°" )));
pText->setFontColor(0xCCCCCCFF);
}
}
Step 3 add this underneath.
else
{
CTString strTmp;
strTmp.PrintF("%d", pChannelInfo->iPlayerNum);
pText->SetText(strTmp);
pText->setFontColor(0xFF9533FF);
}
If added cuorrectly this will be the result:
/monthly_2020_12/image.png.1d8d718f97cf1415affd00db70bf0a78.png">
Enjoy. Found this code on my computer not sure who made it
|
|
|
|