Garry's Mod

Garry's Mod

Replicator Melons Rereplicated
sharktemplar Jul 27, 2019 @ 12:17am
Bugs/Problems
I will create new comments to this thread each time I find something worth reporting as I play with the addon, to try and efficiently notify you of any problems I encounter.
Here's the first one, not sure what causes it:
https://steamcommunity.com/sharedfiles/filedetails/?id=1816516777
An error in the console, as well as warnings about insane melon velocities. Currently the melons are roaming gm_goldencity_night hunting down and killing vj_base npcs that spawn in random locations via the janky Zombie Invasion+ addon.
< >
Showing 1-15 of 16 comments
sharktemplar Jul 27, 2019 @ 4:57am 
Okay here's an initial report, apologies if I legitimately got something wrong, and thought it was a a problem/oversight but in fact I just misunderstood the functions of a setting or something. Please correct me if you suspect this to be the case.

These will ONLY include what I am relatively convinced is an unintended behavior in your extensive code.

1) Replicator Melon menu in the Utilities tab seems to have all of its settings changed back to default upon a new map load. This should be adjusted so that all changes save, as the amount of malleable new options results in huge benefit to people that meticulously fine-tune their replicator melon-pocalypse, and is frustrating to have to re-adjust each time. This may be simply because the options were changed via the menu and not with console commands, as perhaps changing them with console commands updates that to the new default as it seems to do with certain other addons that add console commands.

2) The bite mechanic of a melon could use a tiny bit of adjusting, or perhaps just an additional setting to let the player decide, because at the moment a replicator melon can actually bite through a solid wall if the wall is thin enough (I'm guessing about 6 to 8 hammer grid units). This could result in unfair deaths on certain maps with interiors.

3) Replicator Melons can occasionally spawn outside of the map, as shown in this screenshot of particle effects caused by melon impact rubbing from out of bounds where the melon model refuses to render:
https://steamcommunity.com/sharedfiles/filedetails/?id=1816682345
I haven't quite confirmed it but I suspect this to be the cause of the "crazy angular velocity" complaint that the console prints, as when you no-collide a prop with any solid world collision and let it drop infinitely, the console eventually complains of a "crazy origin" and auto-deletes that prop. This console-printed error is the same format as that. Combine this hunch with the fact I was almost never able to get the console error to print when I was the only target for the replicator melons (while in noclip) resulting in no melons ever being near a brush to accidentally spawn a new melon on the wrong out-of-bounds side of it, and I am semi-certain this is the culprit. However, it is rather a non-issue as the console claims to delete these melons once they get speedy enough while out of bounds anyway, but combine it with glitch #2 in this report, and it could pose some unfortunate in-game circumstances for people that are really stress-testing the addon with kitten kaboodles of melons and targets all at once, since a melon could spawn out of bounds and bite them through a brush from the world void on the other side.

4) Checking off the "paint leader melon purple" option will paint the leader melons purple as intended, however unchecking it does not unpaint them like one would expect. They stay permanently painted until they are destroyed. Unchecking the option should reset the color of all leader melons in case a player changes their mind and wants the leader melon hidden from them in-game after having it revealed.

5) Edit: Discovered I misunderstood that having both bite and assimilate enabled was the cause of the inconsistency. The true glitch here is that melons which have been no-collided with each other seem to also have been no-collided with players, resulting in some being capable of instant-touch-assimilation and others only being capable of biting.

6) Replicator melons sometimes target props they aren't actually capable of consuming, such as a prop_dynamic as seen in this screenshot:
https://steamcommunity.com/sharedfiles/filedetails/?id=1816695459

7) Replicator melons will not abandon pursuit of a target if their target conditions change mid-pursuit, and will instead continue to pursue even if their settings for the specific target-type are set to -1 before the target is successfully assimilated/destroyed:
https://steamcommunity.com/sharedfiles/filedetails/?id=1816694170

8) Forget behavior seems to be utterly non-functional. A melon refuses to recognize it is stuck and change targets OR default to wander behavior, even when a target with a higher priority is available to switch to within range:
https://steamcommunity.com/sharedfiles/filedetails/?id=1816698756
NPC priority was default at 5, prop priority was default at 0.
Replicator Melons should give up pursuit of a stuck-target even if it results in having no targets to choose from and they have nothing left to do but go into wander mode, even if this means separating from a group entirely and losing the buffs from it.

I'll make another comment if I find more. Excellent work so far, this is already loads of fun and I'm just messing with it in singleplayer, not even trying yet to establish a real setting or build an objective that the melons threaten me over, but all this new functionality opens up a ton of options.
Last edited by sharktemplar; Jul 27, 2019 @ 7:28am
小スライム  [developer] Jul 27, 2019 @ 9:31am 
Thanks for the report and suggestions. Once I recover a bit I'll start trying to fix these (wasn't lying about doing nothing but this for three days, lol)
sharktemplar Jul 27, 2019 @ 9:33am 
Originally posted by nikki:
Thanks for the report and suggestions. Once I recover a bit I'll start trying to fix these (wasn't lying about doing nothing but this for three days, lol)
lol oh yeah take your time for sure
小スライム  [developer] Jul 27, 2019 @ 10:10pm 
Quick update, slowly working on fixing these. The melon group target bug took me four hours to solve, lmao.
sharktemplar Jul 27, 2019 @ 10:35pm 
Originally posted by nikki:
Quick update, slowly working on fixing these. The melon group target bug took me four hours to solve, lmao.
damn thanks for your dedication, if there's anything specific you want me to spend a few hours playtesting and trying to nail down in-game behavior of, lemme know. I'd love to be of help if you want certain mechanics thoroughly tested and toyed with for functionality issues.
小スライム  [developer] Jul 30, 2019 @ 3:39pm 
#4, 7 and 8 should be fixed in today's update
Last edited by 小スライム; Jul 30, 2019 @ 3:39pm
sharktemplar Jul 30, 2019 @ 11:48pm 
Originally posted by nikki:
#4, 7 and 8 should be fixed in today's update
awesome, thank you for the fixes!
The G-Man Aug 8, 2019 @ 12:20pm 
this happens sometimes
[Replicator Melons Rereplicated] lua/entities/neo_replicator_melon/shared.lua:675: Tried to use a NULL entity!
1. GetPos - [C]:-1
2. unknown - lua/entities/neo_replicator_melon/shared.lua:675
76561198859040341 Jan 11, 2020 @ 2:04am 
help the melon particles are errors
sharktemplar Jan 15, 2020 @ 9:46pm 
Originally posted by CrowdieTheGamer:
help the melon particles are errors
Kind of sounds like something went wrong with the addon installation. Perhaps try removing the addon entirely and then re-downloading and re-installing it.
76561198859040341 Jan 16, 2020 @ 9:21am 
yeah that worked
Kittens For Life Nov 3, 2020 @ 2:06am 
[Replicator Melons Rereplicated] lua/entities/neo_replicator_melon/shared.lua:337: bad argument #2 to 'EmitSound' (number expected, got userdata)
1. EmitSound - [C]:-1
2. PlayPopSound - lua/entities/neo_replicator_melon/shared.lua:337
3. unknown - lua/entities/neo_replicator_melon/shared.lua:523
4. Spawn - [C]:-1
5. SpawnFunction - lua/entities/neo_replicator_melon/shared.lua:292
6. Spawn_SENT - gamemodes/sandbox/gamemode/commands.lua:758
7. unknown - gamemodes/sandbox/gamemode/commands.lua:823
8. unknown - lua/includes/modules/concommand.lua:54


[Replicator Melons Rereplicated] lua/entities/neo_replicator_melon/shared.lua:337: bad argument #2 to 'EmitSound' (number expected, got userdata)
1. EmitSound - [C]:-1
2. PlayPopSound - lua/entities/neo_replicator_melon/shared.lua:337
3. unknown - lua/entities/neo_replicator_melon/shared.lua:523


[Replicator Melons Rereplicated] lua/entities/neo_replicator_melon/shared.lua:664: Tried to use a NULL physics object!
1. EnableGravity - [C]:-1
2. unknown - lua/entities/neo_replicator_melon/shared.lua:664 (x2)


[Replicator Melons Rereplicated] lua/entities/neo_replicator_melon/shared.lua:337: bad argument #2 to 'EmitSound' (number expected, got userdata)
1. EmitSound - [C]:-1
2. PlayPopSound - lua/entities/neo_replicator_melon/shared.lua:337
3. unknown - lua/entities/neo_replicator_melon/shared.lua:571


[Replicator Melons Rereplicated] lua/entities/neo_replicator_melon/shared.lua:337: bad argument #2 to 'EmitSound' (number expected, got userdata)
1. EmitSound - [C]:-1
2. PlayPopSound - lua/entities/neo_replicator_melon/shared.lua:337
3. unknown - lua/entities/neo_replicator_melon/shared.lua:571

Kittens For Life Nov 3, 2020 @ 2:07am 
I dunno, neither addon works for me, the original is an error, and this one doesn't move or have collision
func_kenobi Feb 6, 2021 @ 10:06am 
Hello There! I think the mod is broken. I have launched the game with only this mod.
Replicator Melons Rereplicated] lua/entities/neo_replicator_melon/shared.lua:337: bad argument #2 to 'EmitSound' (number expected, got userdata)
1. EmitSound - [C]:-1
2. PlayPopSound - lua/entities/neo_replicator_melon/shared.lua:337
3. unknown - lua/entities/neo_replicator_melon/shared.lua:523
4. Spawn - [C]:-1
5. SpawnFunction - lua/entities/neo_replicator_melon/shared.lua:292
6. Spawn_SENT - gamemodes/sandbox/gamemode/commands.lua:758
7. unknown - gamemodes/sandbox/gamemode/commands.lua:823
8. unknown - lua/includes/modules/concommand.lua:54


[Replicator Melons Rereplicated] lua/entities/neo_replicator_melon/shared.lua:337: bad argument #2 to 'EmitSound' (number expected, got userdata)
1. EmitSound - [C]:-1
2. PlayPopSound - lua/entities/neo_replicator_melon/shared.lua:337
3. unknown - lua/entities/neo_replicator_melon/shared.lua:523


[Replicator Melons Rereplicated] lua/entities/neo_replicator_melon/shared.lua:664: Tried to use a NULL physics object!
1. EnableGravity - [C]:-1
2. unknown - lua/entities/neo_replicator_melon/shared.lua:664
Kittens For Life Feb 7, 2021 @ 7:40am 
Originally posted by Obi-Wan Kenobi:
Hello There! I think the mod is broken. I have launched the game with only this mod.
Replicator Melons Rereplicated] lua/entities/neo_replicator_melon/shared.lua:337: bad argument #2 to 'EmitSound' (number expected, got userdata)
1. EmitSound - [C]:-1
2. PlayPopSound - lua/entities/neo_replicator_melon/shared.lua:337
3. unknown - lua/entities/neo_replicator_melon/shared.lua:523
4. Spawn - [C]:-1
5. SpawnFunction - lua/entities/neo_replicator_melon/shared.lua:292
6. Spawn_SENT - gamemodes/sandbox/gamemode/commands.lua:758
7. unknown - gamemodes/sandbox/gamemode/commands.lua:823
8. unknown - lua/includes/modules/concommand.lua:54


[Replicator Melons Rereplicated] lua/entities/neo_replicator_melon/shared.lua:337: bad argument #2 to 'EmitSound' (number expected, got userdata)
1. EmitSound - [C]:-1
2. PlayPopSound - lua/entities/neo_replicator_melon/shared.lua:337
3. unknown - lua/entities/neo_replicator_melon/shared.lua:523


[Replicator Melons Rereplicated] lua/entities/neo_replicator_melon/shared.lua:664: Tried to use a NULL physics object!
1. EnableGravity - [C]:-1
2. unknown - lua/entities/neo_replicator_melon/shared.lua:664

I've been achieving similar errors, I'm thinking the mod broke with an update at some point
< >
Showing 1-15 of 16 comments
Per page: 1530 50