how to force run launcher using main.dll anyone?
- - - Updated - - -
Muahahahahaha i just found the freaking solution:
https://i.imgur.com/s5crpVE.jpg
Printable View
how to force run launcher using main.dll anyone?
- - - Updated - - -
Muahahahahaha i just found the freaking solution:
https://i.imgur.com/s5crpVE.jpg
This step dont gives me nothing, its same like enable it on MAIN_INFO function [MainInfo]
LauncherType = 0 ---->1
After this changes game stop opens from launcer to!
Who have solution to make work launcher like only way how enter in game? I mean when opening main.exe and request will redirect to Launcher, first will update game client , second game opens. How to fix this?
you should make LauncherType = 0 (not 1) in MainInfo.ini then //that string from main.dll
it works so fine look here: https://www.youtube.com/watch?v=uYh0yt0GUDU
uhm guys does anyone know how to fix this xD, i am playing with the source code but can't get it right
- - - Updated - - -
Ok just got some freaking workaround but i think this is not just it. It somehow works but not really the original:
hope someone cleans that up xD.Code:bool CFruit::UseFruitResetPoint(LPOBJ lpObj,int type,int amountrf) // OK
{
PMSG_FRUIT_RESULT_SEND pMsg;
pMsg.header.set(0x2C,sizeof(pMsg));
if(lpObj->Level < 10)
{
pMsg.result = 5;
DataSend(lpObj->Index,(BYTE*)&pMsg,pMsg.header.size);
return 0;
}
if(type == 4 && lpObj->Class != CLASS_DL)
{
pMsg.result = 5;
DataSend(lpObj->Index,(BYTE*)&pMsg,pMsg.header.size);
return 0;
}
for(int n=0;n < INVENTORY_WEAR_SIZE;n++)
{
if(lpObj->Inventory[n].IsItem() != 0)
{
pMsg.result = 16;
DataSend(lpObj->Index,(BYTE*)&pMsg,pMsg.header.size);
return 0;
}
}
int* stat;
switch(type)
{
case 0:
stat = &lpObj->Strength;
break;
case 1:
stat = &lpObj->Dexterity;
break;
case 2:
stat = &lpObj->Vitality;
break;
case 3:
stat = &lpObj->Energy;
break;
case 4:
stat = &lpObj->Leadership;
break;
default:
pMsg.result = 38;
DataSend(lpObj->Index,(BYTE*)&pMsg,pMsg.header.size);
return 0;
}
if((*stat) <= gDefaultClassInfo.GetCharacterDefaultStat(lpObj->Class,type))
{
pMsg.result = 38;
DataSend(lpObj->Index,(BYTE*)&pMsg,pMsg.header.size);
return 0;
}
amountrf = (100);
//[original code]((((*stat)-amount)<gDefaultClassInfo.GetCharacterDefaultStat(lpObj->Class,type))?((*stat)-gDefaultClassInfo.GetCharacterDefaultStat(lpObj->Class,type)):amount);
if((*stat) <= gDefaultClassInfo.GetCharacterDefaultStat(lpObj->Class,type))
{
pMsg.result = 38;
DataSend(lpObj->Index,(BYTE*)&pMsg,pMsg.header.size);
return 0;
}
(*stat) -= amountrf;
if((*stat) <= gDefaultClassInfo.GetCharacterDefaultStat(lpObj->Class,type))
{
pMsg.result = 38;
DataSend(lpObj->Index,(BYTE*)&pMsg,pMsg.header.size);
return 0;
}
lpObj->LevelUpPoint += amountrf;
pMsg.result = 6;
pMsg.value = amountrf;
pMsg.type = ((type<4)?(3-type):type);
#if(GAMESERVER_EXTRA==1)
pMsg.ViewValue = amountrf;
pMsg.ViewPoint = lpObj->LevelUpPoint;
pMsg.ViewStrength = lpObj->Strength;
pMsg.ViewDexterity = lpObj->Dexterity;
pMsg.ViewVitality = lpObj->Vitality;
pMsg.ViewEnergy = lpObj->Energy;
pMsg.ViewLeadership = lpObj->Leadership;
#endif
DataSend(lpObj->Index,(BYTE*)&pMsg,pMsg.header.size);
gObjectManager.CharacterCalcAttribute(lpObj->Index);
return 1;
}
Hello FOlks!
Uhm how to configure maximum zen deposit on vault? I think its stucks around 90 million?
how to add minimap to s6 files? Where to look for "Offset.h"?
Without open source not sure you can do much :) but for vault, read the comment above :) and for inventory open User.h and modify this ammount
You can also change ammount of zen in trade, open Trade.h and look for that below.Quote:
#define MAX_MONEY 2000000000
p.s. you using these source files? dont want to look stupid :$:Quote:
#define MAX_TRADE_MONEY 1000000000
Party.h
Then in Party.cpp add new m_PartyInfo with ascending index number, you can find that in bool CParty::Create in line 119Quote:
#define MAX_PARTY_USER 5
- - - Updated - - -Quote:
gObj[aIndex].PartyNumber = count;
this->m_PartyInfo[count].Count = 1;
this->m_PartyInfo[count].Index[0] = aIndex;
this->m_PartyInfo[count].Index[1] = -1;
this->m_PartyInfo[count].Index[2] = -1;
this->m_PartyInfo[count].Index[3] = -1;
this->m_PartyInfo[count].Index[4] = -1;
Question: Why all get likes and me not? :(:
Added your deserving like thumb ^_^.
The party leader get kick out when adding the 6th character.
This is what i did within the source:
https://i.imgur.com/YJiSuGQ.png
https://i.imgur.com/JWcpMYd.png
Party.cpp change this->GCPartyResultSend(aIndex,4);
With thisQuote:
if(this->IsParty(lpTarget->PartyNumber) != 0)
{
this->GCPartyResultSend(aIndex,4);
return;
}
Q: Do you have any error logs in GS when adding 6th member to the party? did you checked server CFG files for any party settings?Quote:
if(this->IsParty(lpTarget->PartyNumber) != 0)
{
this->GCPartyResultSend(aIndex,9);
return;
}
Q: Did you try changing MAX_PARTY_DISTANCE ?