cato-a / codam_miscmod Goto Github PK
View Code? Open in Web Editor NEWOfficial MiscMod for CoDaM in Call of Duty 1.1
License: BSD 3-Clause "New" or "Revised" License
Official MiscMod for CoDaM in Call of Duty 1.1
License: BSD 3-Clause "New" or "Revised" License
Hello
There is no creturn()
equivalent in libcod since the client commands are handled a bit differently
When a player gets muted he is still able to chat, I guess the anti-badword muting is affected too
I don't know how this should be fixed
Regards
Hello
At the end of some custom maps, the scores and the mapvote doesn't appear, but the game directly loads next map.
MiscModversion = 3.0.9 (server being set up using cod.pm, I'm using codextended v20)
Does someone thinks where the issue could come from ?
Here are maps where the problem occurs :
Here are maps where the problem doesn't occurs :
Please help me
Hello
Leaving the default value, or using the value "20"
A wait time of around 4 minutes is required for the 999 clone to disappear
I don't know if other servers are experiencing the same situation
Am I missing something ?
Please help me
Hello
Sometimes my server crash, I think it's at the end of maps (I use custom maps), I also think it happens only when there are more than 1 player in the server/when there are scores... but not sure about that.
I struggle to reproduce the issue...
Here is a screenshot of what I've been able to get from logs, I will try to get more, if someone has and idea about how to, please share.
Does someone knows why I have this crash sometimes ?
Please help me
Hello
The _loadBans()
function is not loading all the entries of miscmod_bans.dat
I think it's because its gsc fread
function returns max 256 chars (see https://github.com/cod1dev/libcod1/blob/077359ab24f7f78e493836f88fabb32006cbc4c5/src/gsc_utils.cpp#L330)
I guess cmd_reportlist
is affected too
I guess this fread
function from zk_libcod was intended to be used in a loop
Do you think it would be better to use it in a loop or to modify it?
I remember having heard about some "max 1GB/chunk issue" with codextended, it seems to me it's related and a solution would be to use fread
in a loop
Regards
Hello
When I set a map to scr_mm_emptymap
, I start server, (default map is the same as the one I set in emptymap), then I switch to another map, then disconnect.
After about 1 minute, I get the following error:
******* script runtime error *******
exitlevel already called: (file 'codam\compat.gsc', line 125)
return( map_restart( a0 ) );
Do you have an idea about how to prevent this issue?
edit:
After commenting out L241, the error is gone, but according to the game's server list, the map did not change to the emptymap.
Hello
A map is included twice in the mapRotation
of my server, with different gametype
On this map, mapvote
displays twice "replay this map" without indicating gametype
, as you could see on the following screenshot :
On other maps, mapvote
displays twice the map, indicating gametype
.
Could you do something for that please ?
Hello
My scr_mm_meleefight_winner
is enabled but winner is not getting rewarded
I can't find in the code where winner gets rewarded
I remember seeing a winner getting a M1 carbine on a server once
Did this feature got removed ?
Hello
Since I started using MiscMod a year ago, i always struggled to understand how to make a freshly installed server not to crash when sending a chat message
I just noticed it crashes when using developer "1"
and not defining any account with permissions
It crashes even when scr_mm_commands
is not enabled
Here is the log part:
clientCommand: raph : 8 : say "t"
******* script runtime error *******
undefined is not a function pointer: (file 'callback.gsc', line 3)
[[ level.command ]](str);
*
called from:
(file 'callback.gsc', line 1)
CodeCallback_PlayerCommand(str) // add to callback.gsc
*
************************************
********************
ERROR: script runtime error
(see console for details)
********************
----- Server Shutdown -----
==== ShutdownGame ====
What do you think about it? It sounds really problematic to me, but maybe i didn't pay enough attention to the log and the reason for this crash is obvious for the people
But in any case i think would be nice if MiscMod can run with developer "1"
without the need to figure this out/modify the .cfg
I'm sorry not to propose a solution right now, I will maybe try later
Regards
Hello
When 2 players shoot each other at the same time, they don't both die, one does but the other one loses some health.
Noticed when doing melee and using bolt weapon
scr_mm_instantkill
, scr_mm_pistolkill
and scr_mm_meleekill
are enabled in this case.
I didn't have this effect when taking over finishPlayerDamage
before, when using the (a bit modified to re-enable instantkill) misaligned hitmarker from vcodmods website.
(hoping this information could help identifying the cause)
Is this effect intended ? Is it caused by eAttacker thread _showHitm
... ?
I can't find in there code where this is managed.
Or is it that they don't shoot at the exact same time ?
Hello
Adding custom commands to MiscMod using CoDaM_MiscMod_CustomCommands_v0.23
3 commands added, only the first one from code works, and appears after entering !help
as default group user.
Here is the part of the code :
commands(level.prefix + "crosshair", ::cmd_crosshair, "Enable crosshair. ["+ level.prefix + "crosshair <on|off>]");
commands(level.prefix + "lagometer", ::cmd_lagometer, "Enable lagometer. ["+ level.prefix + "lagometer <on|off>]");
commands(level.prefix + "drawfps", ::cmd_drawfps, "Draw FPS. ["+ level.prefix + "drawfps <on|off>]");
}
commands(cmd, func, desc, id)
{
if(!isDefined(id))
id = level.commands.size;
level.commands[cmd]["func"] = func;
level.commands[cmd]["desc"] = desc;
level.commands[cmd]["id"] = id;
level.help[level.commands[cmd]["id"]]["cmd"] = cmd;
}
MM version is 3.1.1
The 3 commands appears and works when logged as Staff group user.
(please help)
Hello
After opening the game for the first time (obtained at cod.pm), when I join a server that uses miscmod, some texts are "surrounded/accompanied" by errors/warnings as you can see on the attached screenshot.
I tried on a public server and on mine (both using 3.0.8 version)
Does someone knows why this is happening ? Do you know how to fix that ?
These errors/warnings do not appear anymore after restarting the game.
Basically adding 56 to this:
-level.perms["default"] = codam\_mm_mmm::strTok("0-4:25:26", ":"); // pff xD
+level.perms["default"] = codam\_mm_mmm::strTok("0-4:25:26:56", ":"); // pff xD
:)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.