Jump to content

Client Mod not working in servers?


Recommended Posts

Hello! Currently workin' on a mod that adds more strings (quotes) for Lucy. It's intended to be only viewable by the client, but for some reason the new quotes I've added only seem to work on servers that I host. Public servers exclusively display Lucy's default lines, Is there something I'm missing?

 

image.thumb.png.1ed931e5a7de20ef8035192c65e6314f.png

image.png.89516c191a8fe55a1853dd0f253c7933.png

Edited by Axelocke
Link to comment
Share on other sites

7 hours ago, IronHunter said:

Maybe disable server_only_mod? Kind of seems wierd that is true when its a client side mod.

I haven't touched the modinfo for a while so I can't remember what all the features are.

Hmm, I've disabled it, but it didn't seem to do anything. :wilson_worried:

Link to comment
Share on other sites

Just now, thomas4845 said:

i think it's the code itself as if you check the speech for pigs i think it can only save a set amount of dialogue then it doesn't work,

Hmm, that's unfortunate. Does this mean I'll have to replace the original quotes to make room? Oh well. :nightmare:

Edited by Axelocke
Link to comment
Share on other sites

not necessarily (don't delete just case i'm wrong make a backup) 

    --NOTE: Limit to 7 strings per table! (Using net_tinybyte for NPC chatter)
    PIG_TALK_FOLLOWWILSON = { "YOU FRIEND", "I LOVE FRIEND", "YOU IS GOOD", "I FOLLOW!" },
    PIG_TALK_FIND_LIGHT = { "SCARY", "NO LIKE DARK", "WHERE IS SUN?", "STAY NEAR FIRE", "FIRE IS GOOD" },
    PIG_TALK_LOOKATWILSON = { "WHO ARE YOU?", "YOU NOT PIG", "UGLY MONKEY PERSON", "YOU HAS MEAT?" },
    PIG_TALK_RUNAWAY_WILSON = { "TOO CLOSE!", "STAY AWAY!", "YOU BACK OFF!", "THAT MY SPACE." },
    PIG_TALK_FIGHT = { "I KILL NOW!", "YOU GO SMASH!", "RAAAWR!" },
    PIG_TALK_RUN_FROM_SPIDER = { "SPIDER BAD!", "NO LIKE SPIDER!", "SCARY SPIDER!" },
    PIG_TALK_HELP_CHOP_WOOD = { "KILL TREE!", "SMASH MEAN TREE!", "I PUNCH TREE!" },
    PIG_TALK_ATTEMPT_TRADE = { "WHAT YOU GOT?", "BETTER BE GOOD." },
    PIG_TALK_PANIC = { "NOOOOO!", "TOO DARK! TOO DARK!", "AAAAAAAAAH!!" },
    PIG_TALK_PANICFIRE = { "HOT HOT HOT!", "OWWWWW!", "IT BURNS!" },
    PIG_TALK_PANICHOUSEFIRE = { "HOUSE BURNS!", "MY STUFF!", "AAAH! FIRE!", "PANIC!" },
    PIG_TALK_PANICBOSS = { "AHHHH", "UH OH!", "ME SCARED", "BAD!", "OHHH!" },
    PIG_TALK_PANICHAUNT = { "SPOOKY!", "AAAAH!!", "A GHOST! A GHOST!" },
    PIG_TALK_FIND_MEAT = { "ME HUNGRY!", "YUM!", "I EAT FOOD!", "TIME FOR FOOD!" },
    PIG_TALK_EAT_MEAT = { "NOM NOM NOM", "YUM!" },
    PIG_TALK_GO_HOME = { "HOME TIME!", "HOME! HOME!" },
    PIG_TALK_RESCUE = { "I HELP YOU!", "OOH! OOH!", "ME HELP!" },
    PIG_TALK_GIVE_GIFT = { "YOU HAVE THIS", "FOR FRIEND" },
    PIG_TALK_GAME_GOTO = { "IT STARTING!", "THIS MY FAVORITE!", "YAY!"},
    PIG_TALK_GAME_CHEER = { "SMASH! SMASH!", "BASH!", "GO PIGS!", "RAAAWR!", "YOU STINK!", "GET GOLD!", "BASH 'EM IN HEAD!"},
    PIG_GUARD_TALK_TORCH = { "TORCH GET LOW", "MAKE TORCH BRIGHT", "MORE BURNING" },
    PIG_GUARD_TALK_FIGHT = { "FOR KING!", "DEFEND!", "SAVE KING!" },
    PIG_GUARD_TALK_GOHOME = { "MUST DEFEND!", "I PROTECT", "KING! KING!" },
    PIG_GUARD_TALK_LOOKATWILSON = { "YOU LEAVE NOW", "YOU GO AWAY", "YOU NO STAY" },
    PIG_ELITE_SMACK = { "YOU GO SMASH!", "I BASH YOU!", "STAY AWAY!", "FUN!" },
    PIG_ELITE_GOLD = { "MINE!", "MY GOLD!", "I TAKE GOLD!" },
    PIG_ELITE_SALTY = { "CHEATER!", "NO FAIR", "NOT ALLOWED DO THAT!" },

 

Link to comment
Share on other sites

Do you know any other mod that already achieved this as client only?
I'm currently not sure if this is even possible... On the one hand, the server is responsible for triggering the quotes. On the other hand also clients have their own talkable component.
So maybe you need to hook into the trigger from the server that tells the client to play one of the old quotes and then replace it by a new one.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...