- Joined
- Apr 10, 2013
- Messages
- 231
- Reaction score
- 148
Peoples are awesome. If nobody cares my work - GTFO!
Last edited:
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!amazing man, congrats!
Hammerpoint can't do this and you make this with most of the things working!
Because they use fairfight...lol.
I think he mean that Hammerpoint NEED Fairfight to add a Report Function.
You can report Players in Official Client since Dezember 2012......
if(strncmp(cmd, "/report", 3) == 0)
return Cmd_Report(plr, cmd);
int ServerGameLogic::Cmd_Report(obj_ServerPlayer *plr, const char *cmd){
r3dAddReport("%s: %s \n", plr->userName, cmd);
return 0;
}
int Cmd_Report(obj_ServerPlayer* plr, const char* cmd);
Hi There!
Great this command, but a little bit recoded...
in the servergamelogic.cpp
Code:if(strncmp(cmd, "/report", 3) == 0) return Cmd_Report(plr, cmd);
Code:int ServerGameLogic::Cmd_Report(obj_ServerPlayer *plr, const char *cmd){ r3dAddReport("%s: %s \n", plr->userName, cmd); return 0; }
and into the servergamelogic.h
Code:int Cmd_Report(obj_ServerPlayer* plr, const char* cmd);
everything else what you do in the r3d.h and r3d.cpp is good
dont need modify anything else in the servergamelogic.cpp
When i dont have right, we need a new return rule, like yours (but yours make something wrong, i tried /sv and the core says: player reported or i implemented wrong)
I look this later, im trying to recode this commands and implementing new commands, teleport to player, give item to player etc.
I also changed command from "/gi itemid" to "/gi itemid amount"
Or Added command like: /give itemid amount to give an item to a player.
iKaSu and about GodMod ( off course for DEV ) because if u put /sv 999999 ( life % ) 0 ( Food and drink ) 0 ( infection ) 0 ( i dont know ) they give 999999 of life but when you shoot on head u die....
You know if this can be fixed?