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!

Error From National GunZ Source... Please help me about ColorName

Junior Spellweaver
Joined
Dec 22, 2012
Messages
171
Reaction score
9
I got error....

this is my mmatchobject.h

{
if ((nGrade == MMUG_VIP1) ||
(nGrade == MMUG_VIP2) ||
(nGrade == MMUG_VIP3) ||
(nGrade == MMUG_VIP4) ||
(nGrade == MMUG_VIP5) ||
(nGrade == MMUG_VIP6) ||
(nGrade == MMUG_VIP7) ||
(nGrade == MMUG_VIP8) ||
(nGrade == MMUG_VIP9) ||
(nGrade == MMUG_VIP10) ||
(nGrade == MMUG_VIP11) ||
(nGrade == MMUG_VIP12) ||
(nGrade == MMUG_VIP13) ||
(nGrade == MMUG_VIP14))
return true;

return false;
}


This is the image i attach
 

Attachments

You must be registered for see attachments list
Initiate Mage
Joined
Feb 21, 2013
Messages
24
Reaction score
2
I got error....this is my mmatchobject.hThis is the image i attach
Did you define it in zgame.cpp and all that or did you just put it in there . You didn't define it by looking at the error. visit the gunz 1.5 snippets library ( its sticked ) and look in there under other at qet123's unmasking and adding colors . do all those steps
 
Upvote 0
Initiate Mage
Joined
Sep 4, 2012
Messages
63
Reaction score
0
I have a bug in the client on that I can not enter that ahy Gunz.exe something wrong with the related to MD5, Sha1 this in main.cpp I have to delete it from told me something like system.mrs but donot use CRS someone help me?
 
Upvote 0
Junior Spellweaver
Joined
Dec 22, 2012
Messages
171
Reaction score
9
Did you define it in zgame.cpp and all that or did you just put it in there . You didn't define it by looking at the error. visit the gunz 1.5 snippets library ( its sticked ) and look in there under other at qet123's unmasking and adding colors . do all those steps


still error this is my zgame.cpp

else if(gid == MMUG_VIP4) {
UserNameColor = MCOLOR(102,0,255);
return true;
}
else if(gid == MMUG_VIP5) {
UserNameColor = MCOLOR(255,0,0);
return true;
}
else if(gid == MMUG_VIP6) {
UserNameColor = MCOLOR(0,102,255);
return true;
}
else if(gid == MMUG_VIP7) {
UserNameColor = MCOLOR(255,0,187);
return true;
}
else if(gid == MMUG_VIP8) {
UserNameColor = MCOLOR(250,147,217);
return true;
}
else if(gid == MMUG_VIP9) {
UserNameColor = MCOLOR(24,7,255);
return true;
}
else if(gid == MMUG_VIP10) {
UserNameColor = MCOLOR(0,255,255);
return true;
}
else if(gid == MMUG_VIP11) {
UserNameColor = MCOLOR(253,253,30);
return true;
}
else if(gid == MMUG_VIP12) {
UserNameColor = MCOLOR(30,253,146);
return true;
}
else if(gid == MMUG_VIP13) {
UserNameColor = MCOLOR(123,253,30);
return true;
}
else if(gid == MMUG_VIP14) {
UserNameColor = MCOLOR(132,38,87);
return true;
}
This is the vip 1 to 3 it is okey

else if(gid == MMUG_VIP1) {
UserNameColor = MCOLOR(220,20,60);
return true;
}
else if(gid == MMUG_VIP2) {
UserNameColor = MCOLOR(65,105,225);
return true;
}
else if(gid == MMUG_VIP3) {
UserNameColor = MCOLOR(255,215,0);
return true;
}

VIP 1 to 3 it is okey bcoz it is national source then i continue to 4 to 14 but i got this error
sorry for my bad english
 
Upvote 0
Junior Spellweaver
Joined
Nov 7, 2009
Messages
111
Reaction score
16
I do not see who did this

Always look for IsAdminName, copy paste the fucntion and change the "FunctionName,ColorName" like the examples above!
The files you gonna edit them:
ZCombatInterface.cpp (6 Function's, 2 already done)
ZMiniMap.cpp (1 Function)
ZObserver.cpp (1 Function)
 
Upvote 0
Back
Top