Ok then, use ModWarfare, There is a config in mod folder that you have to edit..
After editing the cfg, I guess you have to recompile the mod
Ok then, use ModWarfare, There is a config in mod folder that you have to edit..
After editing the cfg, I guess you have to recompile the mod
Thank you for your reply
Do you have a mode that you know. For perk blocking
What is your server's main mod ?
Its normal or promod or something like that ?
You can modify mods, All you need is edit the mod config file, you should find something like this:
// perks
set perk_allow_specialty_parabolic 1
set perk_allow_specialty_gpsjammer 1
set perk_allow_specialty_holdbreath 1
set perk_allow_specialty_quieter 1
set perk_allow_specialty_longersprint 1
set perk_allow_specialty_detectexplosive 1
set perk_allow_specialty_explosivedamage 1
set perk_allow_specialty_pistoldeath 1
set perk_allow_specialty_grenadepulldeath 1
set perk_allow_specialty_bulletdamage 1
set perk_allow_specialty_bulletpenetration 1
set perk_allow_specialty_bulletaccuracy 1
set perk_allow_specialty_rof 1
set perk_allow_specialty_fastreload 1
set perk_allow_specialty_extraammo 1
set perk_allow_specialty_armorvest 1
set perk_allow_specialty_fraggrenade 1
set perk_allow_specialty_specialgrenade 1
set perk_allow_c4_mp 1
set perk_allow_claymore_mp 1
set perk_allow_rpg_mp 1
Alles anzeigen
Also if u wanna use GSManager on a modded server, u have to add g_logSync 2 to the server config.
Hi,
thanks for the report, I'll look into this problem.
Hey, No Problem
I also tried it with my friend, with both PID and a Part of the name... Same result, with same log
Alles anzeigenIs perk blocked in MAM?
[weaponrestrictions]
enabled = 1
weapons = "gl,frag_grenade_short"
warnstokick = 2
mode = "tempban"
kickreason = "Used a restricted weapon: <WEAPON>"
Wipe gsmanager and install mam ?
What is the recommendation?
It doesn't block perks,
u can kick people who using a restricted weapon in your server with this code
Im not sure if it can kick players cause of perks or not
Can you post the part of the logfile when the crash occured?
[02.07.17 13:43:31] Info: Player 'n2L.oxygenz' executed command: 'yell oxygen Hi', PID: 2, GUID: 02aa15fbfbc088b5718ccb0b0cd69bd9
[02.07.17 13:43:31] Notice: Notice in root/cod4/GSMs/Pub_28960/daemon/engines/quake3/commands.php:562 => Undefined offset: 1
[02.07.17 13:43:31] Error: Error in root/cod4/GSMs/Pub_28960/daemon/engines/quake3/commands.php:562 => Call to a member function getPID() on null
[02.07.17 11:13:32] Info: =========================
[02.07.17 11:13:32] Info: GSManager (Version 1.2.2)
[02.07.17 11:13:32] Info: =========================
[02.07.17 11:13:32] Info: Config loaded: basics.json
[02.07.17 11:13:32] Info: Config loaded: plugins/statistics.json
[02.07.17 11:13:32] Info: Config loaded: plugins/censor.json
[02.07.17 11:13:32] Info: Config loaded: plugins/balancer.json
Here you are
Hello, I'm not sure if it's a bug or it's my configuration problem,
But when ever I send "!yell oxy Hi" GSManager restarts it self!
since my name was oxygenz in the server, I was trying it on my self, not other players, Also It works okay when I put "All" instead of "oxy"..
Thanks to GSM Developers for developing GSM, It made server managing really easier.
Hello.
I used "m" as an aliase for "map change"
So when an admin or an operator types "!m Crash SD" or everything else
It changes Map And it shows the gametype changing ( In Server Say ) But It Just Changes the Map and Gametype is the same.
I mean:
If It's Crash ( Serach And Destroy ) And u want to change it to Killhouse ( Teamdeath Match )
!m killhouse war
Server: Map Changing To Killhouse ( Teamdeath Match )
'
But In the map Loading Its Killhouse SD :))
I think its because of No delay after "!Map change" Command
I using Cod4x17a_dedrun On Debian 7 x64
Failed Again
It don't show all chats =))
Someone help me
@Mirko911
Can u help me again ?
Im editing this one => https://github.com/Zinglish/CoD4X17a-WonderlandX
I made many changes in my forked version. Maybe I haven't pulled the latest version and the Scr_PlayerCmd function got removed?
Thanks For Your Helps
Finally i do it.
I replaced that line with " SV_ExecuteRemoteCmd(ent->s.number, textptr); " and made exe file
Im going to test it
In a forum it's always nice to share solutions. So if you would say how you did it, that possibly is highly pleased by other users
But: Great that's working for you now.
I'll share.
but for now
I have a problem with the source @Mirko911 shared.
I attached my g_say functions.
highlighted is the source that @Mirko911 Shared
I've got an error in Line 450
Compiler gives me this:
bin/g_sv_cmds.o: In function `G_Say':
E:\CoD4X17a-WonderlandX-master\bin/../src/g_sv_cmds.c:450: undefined reference to `Scr_PlayerCmd'
collect2.exe: error: ld returned 1 exit status
Cleaning up...
Creating plugin export lib...
stat: No such file or directory
pexports: cod4x17a_dedrun.exe: could not load PE image
The system cannot find the file specified.
dlltool: Syntax error in def file cod4x17a_dedrun.def:0
The system cannot find the file specified.
Done!
so it dont exist any exe file for me
it hasn't anything todo with the mod. I made the changes directly in the server files (CoD4x 1.7a). You have to compile the sources to get the hidden command feature.
I tried to decompile it by many apps But they couldn't detect it compiled by what...
can you help me at this ?
**
Update
**
I found something
I edited " g_sv_cmds.c ".
now what is next step ?
**
Update
**
I found the solution
Thanks For Helping @Mirko911
I read that but it wans't clear enough for me
where i should use that source ?
and i replied your post but nothing
I using cod4x1.7a
Hello
Someone has posted about it before me and Mirko Answered him
But I didn't get it.
I want to no one see the messages starts with a " ! ".
What i have to do ?
If i have to edit server files, then where is server files ?
My server is moded. and its running on 1.7a
Hello
I think there is nothing called fast_restart or something like this in GSManager.
I added "rcon fast_restart" as an alias in aliases.json
But as you know admins has no power to use rcon.
It's good
but is there a way to add a command for fast_restart without rcon and let admins use it?
Solved.
Hey,
it's possible if you modify the serverfiles or write a plugin for it. We compiled it directly in the serverfiles.
Take a look in the G_Say function in the g_sv_cmds.c file.
We added this near line 449Ctextptr[0] = '!'; G_LogPrintf( "hidden;%s;%d;%s;%s\n", SV_GetGuid(ent->s.number), ent->s.number, name, ++textptr ); Scr_PlayerCmd(ent, textptr); Com_Printf( "Hidden CMD Invoked by: %s Message: %s \n", name, textptr); //Scr_PlayerSay(ent, mode, textptr -1); return;
I created an extra logprint with "hidden" instead of "say". So it's possible for me to detect hidden messages with gsm. Also I wrote a plugin for admins which allows to identify the player behind a cmd, because some people use hidden cmds to spam fun messages. It's very hard to identify them if you don't know who executed the cmd
I decompiled promodlive220
how can i use this source to hide all messages with " ! " prefix ?