• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

[MOD] Coppis Additions (NEW)

Update!

Version 4.7 (2018.05.06)

Changed:

- pblock: accepting rotation parameter again so botman doesnt have to change code. Warning: the rotation parameter will do absolutely nothing but command will accept it anyways.

Fixed:

- pblock: 2 blocks differential on negative qnt parameters (Thanks Spectral Force and RagnarokPVP for finding and reporting)

Enjoy!

Cheers

 
Last edited by a moderator:
HelloYou have a Discord channel where i can geht info about your mod faster? I use Discord everytime that where a big help for Updates or Support
I dont want to let this turn into a job, but i recon it might be easier to get support/update info easier.

So i made a subchannel on my servers discord.

https://discord.gg/Mbd2TNM

Cheers

 
Last edited by a moderator:
Update!

Version 4.8 (2018.05.20)

Added:

- console command playsound: play any ingame sound on any server/player position

Changed:

- advanced claims: added accesLevel for claims. Define which admin levels can enter a claim. Existing claims will get accessLevel 0 by default.

Console command playsound:

Play an ingame sound on any server/ player position.

Usage:

1. playsound <steamId/playerName/entityId> <soundName>

2. playsound <x> <y> <z> <soundName>

3. playsound listloops

4. playsound stop <x> <y> <z> <soundName>

5. playsound <searchString>

6. playsound

1. Play a sound on the current postion of a player

2. Play a sound on position x,y,z

3. List all sounds that are playing in a loop

4. Stop a sound that is played in loop (check listloops)

5. Search for a soundname by (partial) string

6. List all available sounds

Added an advice to OP to disable location tracking (loctrack enabled false) when running Botman and/or Ravenhearst mod on your server.

Enjoy!

Cheers

 
Update!

Version 4.9 (2018.05.21)

Added:

- console command cp-help: list only coppis commands in console.

Introducing CoppisAdditions_Light -> see next post.

Enjoy!

Cheers

 
CoppisAdditions_Light Release 1.3

Introducing a "back to basic" light version of CoppisAdditions.

If you use a servermanager like CSMM, ServerTools, RAT or Botman etc. and you have no need for the extra functionality in CoppisAdditons (as servermanagers have the functionality allready) you now have a choice to install the light version. Or if you run a heavy mod like Ravenhearst and want to save serverresources, this is the version for you.

No embedded dll's, no heartbeat thread, no NighttimeAnnouncer, no Location recording, no chatcommands, no advanced claims. Just good old and new consolecommands (including namecolors, groupcolors, overridechatname, playsound, pblock, prender, unlockall, safe etc etc)

Download:

Download latest light edition (When having full version of CoppisAdditions installed : While server is off please delete the full version of CoppisAdditions from your \Mods folder and install CoppisAdditions_Light into \Mods folder. After that delete \Saves\Random Gen\mapname\CoppisPersistentdata.bin before starting it again.)

Cheers

 
Last edited by a moderator:
Um.. you know how you removed the rotation component of pblock? Well you didn't. Its still in prepblock.

If you were intending to remove rotation of blocks completely, you definitely missed that one. At least the command is complaining that I haven't added it (since I stripped it out). Let me know if rotation is meant to stay or not.

Thanks.

Also thanks for doing the lite version. I'll check it out.

 
Um.. you know how you removed the rotation component of pblock? Well you didn't. Its still in prepblock.
If you were intending to remove rotation of blocks completely, you definitely missed that one. At least the command is complaining that I haven't added it (since I stripped it out). Let me know if rotation is meant to stay or not.

Thanks.

Also thanks for doing the lite version. I'll check it out.
Well i did. pblock and prepblock are two different commands. :)

But i thougt i had removed functionality for prepblock too. Just checked and indeed it seems old code is still active there.

Will be the same solution as pblock. The rot parameter will be accepted but is not mandatory. If feeding it to command it will do nothing.

All other prefabcommands will retain the rot parameters.

Cheers

-edit- brewing the patch right now. So today will be small release 4.91

 
Last edited by a moderator:
Update!

Version 4.91 (Light version 1.1) (2018.05.24)

Changed (Thanks Smegzor for reporting):

- prepblock: removed obsolete rot parameter. Servermanagers dont need to change anything. Parameter still accepted but does nothing.

- prepblock <block_name> <qnt> <qnt> <qnt> not accepting 0 for qnt anymore and y length being one to high when using qnt.

- prepblock: fixed null ref exception on block 17 when displaying all blocks.

- prepblock: x, z being off 2 blocks on negative qnt parameters

Enjoy!

Cheers

 
Last edited by a moderator:
Update!

Version 4.92 (Light version 1.2) (2018.06.23)

Light version and Full version:

- ocn (overridechatname): explicit save to persistent data on command use data change

- tcch (togglechatcommandhide): support hiding multiple chatcommand prefixes

Full version only:

- new command ccp (chatcommandpermissions): set permission level on admin chatcommands (ft, ftw, mv, mvw, listwp, setwp, selwp, bubble)

- new command hcc (hostileschatcommand): enable/disable the /hostiles chatcommand

- command ccc (claimcontrolcommand): added making whitelisting of offline players possible

- new advanced claim type hostilefree: create an advanced claim where all hostiles will despawn

- new advanced claim type openhours: create an advanced claim that allows access during ingame opening hours

- new advanced claim type portal: create an advanced claim that acts as a portal. Permission levels for admins and whitelisting for players that can trigger the portal (public access possible)

For muliple chatcommands prefix hiding, use comma as delimiter for multiple commands. If you want to hide both commands that start with / and with $, do "tcch /,$"

Syntax new claims:

- openhours: type = openhours:<openFrom>-<openTo>. Example of cliaim that allows access between 2200 and 0400: openhours:22-4

- portal: type = portal:<portalstepheight>:<x>,<y>,<z>. portalstepheight is the y value of the portal trigger within claim boundaries. x,y,z is the portal destination (use y=-1 to always land on highest point on x,z). Admin permission level on the claim determines which admin levels get teleported by portal. Whitelist on claim determines which normal players get teleported by portal. Add "public" to the claim whitelist to teleport every player by portal.

Enjoy!

Cheers

 
Last edited by a moderator:
Found a fun bug that I think creates a race condition? It might not be one of those. If you use Server Tools to add a tag to a player's name and you use ocn to do the same thing, the server will crash seconds after the player uses chat.

Is there any way you can break that cycle? Can you detect when another mod has altered the chat name and abort your mod touching it?

Here's a log snippet

2018-06-26T23:28:12 11696.442 INF GameMessage handled by mod 'Coppis command additions Light': Chat: '[1DDD33](ADMIN) [1E90FF][bot Master] Smegz0r[-][-]': hi guys! I need to test a bug fix in the bot

2018-06-26T23:28:12 11696.443 INF GameMessage handled by mod 'Server Tools': Chat: '[1E90FF][bot Master] Smegz0r[-]': hi guys! I need to test a bug fix in the bot

2018-06-26T23:28:12 11696.443 INF GameMessage handled by mod 'Coppis command additions Light': Chat: '[1DDD33](ADMIN) [1E90FF][bot Master] Smegz0r[-][-]': hi guys! I need to test a bug fix in the bot

2018-06-26T23:28:12 11696.444 INF GameMessage handled by mod 'Server Tools': Chat: '[1E90FF][bot Master] Smegz0r[-]': hi guys! I need to test a bug fix in the bot

 
Last edited by a moderator:
Found a fun bug that I think creates a race condition? It might not be one of those. If you use Server Tools to add a tag to a player's name and you use ocn to do the same thing, the server will crash seconds after the player uses chat.
Is there any way you can break that cycle? Can you detect when another mod has altered the chat name and abort your mod touching it?

Here's a log snippet

2018-06-26T23:28:12 11696.442 INF GameMessage handled by mod 'Coppis command additions Light': Chat: '[1DDD33](ADMIN) [1E90FF][bot Master] Smegz0r[-][-]': hi guys! I need to test a bug fix in the bot

2018-06-26T23:28:12 11696.443 INF GameMessage handled by mod 'Server Tools': Chat: '[1E90FF][bot Master] Smegz0r[-]': hi guys! I need to test a bug fix in the bot

2018-06-26T23:28:12 11696.443 INF GameMessage handled by mod 'Coppis command additions Light': Chat: '[1DDD33](ADMIN) [1E90FF][bot Master] Smegz0r[-][-]': hi guys! I need to test a bug fix in the bot

2018-06-26T23:28:12 11696.444 INF GameMessage handled by mod 'Server Tools': Chat: '[1E90FF][bot Master] Smegz0r[-]': hi guys! I need to test a bug fix in the bot
Yeah this is known. Any mod suppressing chatmessage and send a msg of its own gets thrown back in the chathook cycle. I discussed this with OC and we implemented a fix. Just looked at his code and i see why its still interfering.

Code:
&& _secondaryName != "Coppis"
I use "coppis" as a secondary so no match. Will give my secondary name a capital. That will prevent the infinite loop but has a consequence. Coppis is loaded first so if a player has colored name or overidden chatname by coppis it will NOT get handled by servertools. They just simply cant be both in effect. So its on the admin/owner to decide which mod he wants to use for the colloring/tagging/namechanging.

Going to put out 4.93 (and light 1.3) today which will fix this.

Cheers

 
Last edited by a moderator:
Update!

Version 4.93 (Light version 1.3) (2018.06.26)

- fixed Servertools compatibility

Just a small patch to restore compatibility with ServerTools.

Enjoy!

Cheers

 
It seems like the download link to the Light Version is not working. Getting a 404 on the GitHub

 
It seems like the download link to the Light Version is not working. Getting a 404 on the GitHub
What do you want with it? It crashes your server 10 times a day and gives your players pings of tens of thousands.

Cheers

 
Easy, I have two days of server downtime and wanted to run it to create logfiles you can use to hunt down the problem

 
Easy, I have two days of server downtime and wanted to run it to create logfiles you can use to hunt down the problem
Out of luck then. Coppis goes exclusive or private. Or maybe ill drop it completely. Still deciding. No need to investigate anymore. You can stick with 3.6.

Cheers

 
Back
Top