Axelocke Posted September 13, 2019 Share Posted September 13, 2019 (edited) 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? Edited September 13, 2019 by Axelocke Link to comment Share on other sites More sharing options...
IronHunter Posted September 13, 2019 Share Posted September 13, 2019 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. 1 Link to comment Share on other sites More sharing options...
Axelocke Posted September 13, 2019 Author Share Posted September 13, 2019 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. Link to comment Share on other sites More sharing options...
Thomas Die Posted September 13, 2019 Share Posted September 13, 2019 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, Link to comment Share on other sites More sharing options...
Axelocke Posted September 13, 2019 Author Share Posted September 13, 2019 (edited) 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. Edited September 13, 2019 by Axelocke Link to comment Share on other sites More sharing options...
Thomas Die Posted September 13, 2019 Share Posted September 13, 2019 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 More sharing options...
Axelocke Posted September 13, 2019 Author Share Posted September 13, 2019 59 minutes ago, thomas4845 said: -snip- Oh, I see. I've made the backup, but how should I format the lines? From To this? Link to comment Share on other sites More sharing options...
Thomas Die Posted September 13, 2019 Share Posted September 13, 2019 is it ok if i check your file because right now i'm not sure if i'm proposing the right solution because i don't fully understand your problem Link to comment Share on other sites More sharing options...
Axelocke Posted September 13, 2019 Author Share Posted September 13, 2019 Just now, thomas4845 said: is it ok if i check your file because right now i'm not sure if i'm proposing the right solution because i don't fully understand your problem Sure thing, I'll send it via messages. Link to comment Share on other sites More sharing options...
Thomas Die Posted September 13, 2019 Share Posted September 13, 2019 sorry for the inconvenience rn i'm just thinking that your using global strings for a client but i'm not at all sure Link to comment Share on other sites More sharing options...
Thomas Die Posted September 13, 2019 Share Posted September 13, 2019 i'm sorry mate i'm actually lost with this one sorry i couldn't be any help Link to comment Share on other sites More sharing options...
Ultroman Posted September 13, 2019 Share Posted September 13, 2019 Can I see the code, as well? Link to comment Share on other sites More sharing options...
Axelocke Posted September 14, 2019 Author Share Posted September 14, 2019 Just now, Ultroman said: Can I see the code, as well? Yeah, for sure! Link to comment Share on other sites More sharing options...
Serpens Posted September 14, 2019 Share Posted September 14, 2019 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 More sharing options...
Ultroman Posted September 14, 2019 Share Posted September 14, 2019 Yeah, what Serpens said. The server is all-powerful. Also, your api_version in your modmain.lua is wrong. It should be 10 for DST. Link to comment Share on other sites More sharing options...
Axelocke Posted September 14, 2019 Author Share Posted September 14, 2019 I guess I'll have to settle for replacement lines or simply a server only mod. Thanks for the responses! Link to comment Share on other sites More sharing options...
Hornete Posted September 14, 2019 Share Posted September 14, 2019 Yeah I believe this can only work if you are REPLACING quotes instead of adding them, The client mod that replaces pig quotes with WHERES BASE and the such seem to work perfectly. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now