Welcome!

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!

[Release] zTeam Season 8 Episode 2 (Source)

Newbie Spellweaver
Joined
Apr 29, 2015
Messages
38
Reaction score
3
Who has the MuServer with ALL working? I buuuuuuuuuuyyy . ( only buy if is unlocked for new items )
Skype: viking.mu
 
Junior Spellweaver
Joined
Sep 13, 2013
Messages
127
Reaction score
36
Hi Guys, Plis Helpme Command /gg Not Workin! Error Compile

log VS2008

1> c: \ users \ Callejero \ desktop \ project - 1 \ gameserver \ source \ protocol.cpp (1746): error C3861: 'SendAllUserAnyMsg2': identifier not found
1> c: \ users \ Callejero \ desktop \ project - 1 \ gameserver \ source \ protocol.cpp (1750): error C2601: 'SendAllUserAnyMsg2': the definitions of local functions are invalid
1> c: \ users \ Callejero \ desktop \ project - 1 \ gameserver \ source \ protocol.cpp (1730): This line contains an element '{' and was not found closure
1> c: \ users \ Callejero \ desktop \ project - 1 \ gameserver \ source \ protocol.cpp (1762): error C2065: 'tmpCommandText': undeclared identifier

case '/gg': // Global Announcement
if ( slen > 2 )
{
if (CheckAuthority(34,lpObj) == 1) {
/*MSG_SYS_BROADCAST res = { 0 };
res.h.set((LPBYTE)&res, 0xCD, sizeof(res));
res.btSize = lpChat->h.size;
CopyMemory(res.szMessage, lpChat->chatmsg, lpChat->h.size);
cDBSMng.Send((char*)&res, sizeof(MSG_SYS_BROADCAST));
AllSendServerMsg(&lpChat->chatmsg[1]);
BroadCastMessageInfo lpRequest = { 0 };
lpRequest.h.set((LPBYTE)&lpRequest, 0xCD, sizeof(lpRequest));
lpRequest.Type = 0;
CopyMemory(lpRequest.Text, lpChat->chatmsg, lpChat->h.size);
DataSend(aIndex, (LPBYTE)lpChat, lpChat->h.size);
wsJServerCli.DataSend((PCHAR)&lpRequest, sizeof(BroadCastMessageInfo));*/

PMSG_NOTICE pNotice;
TNotice::MakeNoticeMsgEx(&pNotice, 0, "[%s]: %s", lpObj->Name, &lpChat->chatmsg[1]);
SendAllUserAnyMsg2((BYTE *)&pNotice, pNotice.h.size);
//Log
LogAddTD(lMsg.Get(MSGGET(1, 215)), gObj[aIndex].AccountID, gObj[aIndex].Name, &lpChat->chatmsg[1]);
void SendAllUserAnyMsg2(LPBYTE lpMsg,int size)
{
for(int i = OBJ_STARTUSERINDEX; i < OBJMAX; i++)
{
if( gObj.Connected == PLAYER_PLAYING &&
gObj.Type == OBJ_USER)
{
DataSend(i,lpMsg,size);
}
}
}
//Log
LogAddTD(lMsg.Get(MSGGET(1, 215)), gObj[aIndex].AccountID, gObj[aIndex].Name, &lpChat->chatmsg[1]);
g_CommandManager.Run(lpObj, tmpCommandText);
return;
}
}
break;

 
Newbie Spellweaver
Joined
Aug 11, 2014
Messages
19
Reaction score
2
someone could help me find the solution to collect, use visual studio 2010, I have everything set up correctly !!

-=DarkSim=- - [Release] zTeam Season 8 Episode 2 (Source) - RaGEZONE Forums



config

-=DarkSim=- - [Release] zTeam Season 8 Episode 2 (Source) - RaGEZONE Forums


-=DarkSim=- - [Release] zTeam Season 8 Episode 2 (Source) - RaGEZONE Forums

-=DarkSim=- - [Release] zTeam Season 8 Episode 2 (Source) - RaGEZONE Forums
 
Skilled Illusionist
Joined
Jun 6, 2011
Messages
330
Reaction score
43
Solution properties
-> Expand C/C++
-> You'll see at the end a Command Line.
Now add /Zc:auto- inside the box.

btw. Soumyxorp

Do you know the code uhhh.

Like Player1 and Player2 duel in Room 1
and if Player1 wins there would be a pop-up message like
Player1 defeated Player2 in score of 10-0
or just Player 1 defeated Player2 in a duel.

Yeah, I have that too. I'll be home around 30 minutes.
 
Skilled Illusionist
Joined
Jun 6, 2011
Messages
330
Reaction score
43
Here:

NewPVP.cpp
add this again after include stuff
void SendAllUserAnyMsg3(LPBYTE lpMsg,int size)
{
for(int i = OBJ_STARTUSERINDEX; i < OBJMAX; i++)
{
if( gObj.Connected == PLAYER_PLAYING &&
gObj.Type == OBJ_USER)
{
DataSend(i,lpMsg,size);
}
}
}


Add this:
PMSG_NOTICE pNotice;
TNotice::MakeNoticeMsgEx(&pNotice, 0,lMsg.Get(MSGGET(13,181)), obj.Name, target.Name);
SendAllUserAnyMsg3((BYTE *)&pNotice, pNotice.h.size);
Right before:
LogAdd("[NewPVP] [%s][%s] Win Duel, Loser [%s][%s]", obj.AccountID, obj.Name, target.AccountID, target.Name);

Then go to /Data/Message.xml
add this line after the reserved_arka
<message index="181">%s has defeated %s in a duel.</message>

4hK5Pyl - [Release] zTeam Season 8 Episode 2 (Source) - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Newbie Spellweaver
Joined
Jun 28, 2014
Messages
74
Reaction score
16
Duel Broadcast Message NewPvP.cpp

Find
LogAddTD("[NewPVP] [%s][%s] Duel Started [%s][%s]",responsor.AccountID,responsor.Name,requester.AccountID, requester.Name);

Add this

AllSendServerMsg("[Duel Started]");

char Text[256];
ZeroMemory(Text, sizeof(Text));
sprintf(Text, " %s Versus %s ",responsor.Name, requester.Name);
AllSendServerMsg(Text);
 
Skilled Illusionist
Joined
Jun 6, 2011
Messages
330
Reaction score
43
uhh not quite sure about the score but i think it's requester.m_btDuelScore and responsor.mb_btDuelScore
haven't tested it out yet
 
Junior Spellweaver
Joined
Sep 13, 2013
Messages
127
Reaction score
36
Here:

NewPVP.cpp
add this again after include stuff


Add this:

Right before:


Then go to /Data/Message.xml
add this line after the reserved_arka


-=DarkSim=- - [Release] zTeam Season 8 Episode 2 (Source) - RaGEZONE Forums

Español
1>c:\users\callejero\desktop\proyecto - 1\gameserver\source\newpvp.cpp(566) : error C2601: 'SendAllUserAnyMsg3' : las definiciones de funciones locales no son válidas

ingles
1>c:\users\callejero\desktop\proyecto - 1\gameserver\source\newpvp.cpp(566) : error C2601: 'SendAllUserAnyMsg3' :the definitions of local functions are invalid

Can anyone help with this?
 
Newbie Spellweaver
Joined
Jun 28, 2014
Messages
74
Reaction score
16
I try to set Duel up to 3 rounds only

broadcast winner and score
-=DarkSim=- - [Release] zTeam Season 8 Episode 2 (Source) - RaGEZONE Forums


Find
LogAdd("[NewPVP] [%s][%s] Win Duel, Loser [%s][%s]", obj.AccountID, obj.Name, target.AccountID, target.Name);

Add this

char Text[256];
ZeroMemory(Text, sizeof(Text));
sprintf(Text, "[%s] Winner %d -- [%s] Loser %d", obj.Name,obj.m_btDuelScore, target.Name,target.m_btDuelScore);
AllSendServerMsg(Text);

P.S Just correct me If I'm wrong I'm not pro in C++ just learning as beginner



Español
1>c:\users\callejero\desktop\proyecto - 1\gameserver\source\newpvp.cpp(566) : error C2601: 'SendAllUserAnyMsg3' : las definiciones de funciones locales no son válidas

ingles
1>c:\users\callejero\desktop\proyecto - 1\gameserver\source\newpvp.cpp(566) : error C2601: 'SendAllUserAnyMsg3' :the definitions of local functions are invalid

Can anyone help with this?


Try my simple fix

Open NewPVP.cpp

Find
LogAdd("[NewPVP] [%s][%s] Win Duel, Loser [%s][%s]", obj.AccountID, obj.Name, target.AccountID, target.Name);

Add this


char Text[256];
ZeroMemory(Text, sizeof(Text));
sprintf(Text, "[%s] Winner %d -- [%s] Loser %d", obj.Name,obj.m_btDuelScore, target.Name,target.m_btDuelScore);
AllSendServerMsg(Text);

 
Joined
Jun 16, 2013
Messages
1,109
Reaction score
179
I try to set Duel up to 3 rounds only

broadcast winner and score
-=DarkSim=- - [Release] zTeam Season 8 Episode 2 (Source) - RaGEZONE Forums


Find
LogAdd("[NewPVP] [%s][%s] Win Duel, Loser [%s][%s]", obj.AccountID, obj.Name, target.AccountID, target.Name);

Add this



P.S Just correct me If I'm wrong I'm not pro in C++ just learning as beginner


Holy cow. XD
x100 thanks man. :eek:tt1::eek:tt1:

-=DarkSim=- - [Release] zTeam Season 8 Episode 2 (Source) - RaGEZONE Forums
 
Junior Spellweaver
Joined
Sep 13, 2013
Messages
127
Reaction score
36
add the two lines?

char Text[256];

ZeroMemory(Text, sizeof(Text));
sprintf(Text, "[%s] Winner %d -- [%s] Loser %d", obj.Name,obj.m_btDuelScore, target.Name,target.m_btDuelScore);
AllSendServerMsg(Text);

char Text[256];
ZeroMemory(Text, sizeof(Text));
sprintf(Text, "[%s] Winner %d -- [%s] Loser %d", obj.Name,obj.m_btDuelScore, target.Name,target.m_btDuelScore);
AllSendServerMsg(Text);

so you stay?

solved attachment for those who want

View attachment NewPVP.rar
 

Attachments

You must be registered for see attachments list
Last edited:
Joined
Mar 25, 2010
Messages
527
Reaction score
43
thanks for this release ^_^
done downloading VS2013 T_T but i read here there's so much error.
can anyone give me full download of VS compatible in source. i cant see any VS2010/2008 in microsoft site only 2013. Thanks

hope someone fix the visual bug of FO ANCIENT SET hidden yellow options. but if not full option. you can see the yellow option :D

share please mumaker support season8 items or lazaroxp can you share your MuMaker?

Thanks in Advanced
 
Last edited:
Back
Top