Ulysses

General => Off-Topic => Topic started by: Undercover Orange on April 25, 2017, 09:39:46 PM

Title: need help with custom commands and pointshop
Post by: Undercover Orange on April 25, 2017, 09:39:46 PM
so I was helping someone fix point shop player models on their server. can't figure out why that's not working basically after you buy a model its supposed to be your permanent model.but what happens is, you buy it, it stays on you for one round then disappears.


and then I ask if she wants a few custom commands (link to the custom commands below) and when she said "yeah that would be great" I followed the instructions on how to put the commands in. no new commands. tried adding the commands directly to addons/ulx/lua/ulx/modules/sh/chat.lua. nothing

any particular reason why these don't work. also, anyone know how to fix the player model thing?
https://forums.ulyssesmod.net/index.php/topic,7268.0.html

My ULib/ULX versions (run "ulx version" in console):
ULib v.. 2.6
ULX v..3.70

game mode: murder
Title: Re: need help with custom commands and pointshop
Post by: iViscosity on April 26, 2017, 04:24:36 AM
Did you put the CustomCommands folder in /addons/ folder with the server running or offline?
Title: Re: need help with custom commands and pointshop
Post by: Undercover Orange on April 26, 2017, 08:18:38 AM
ill get you on discord
Title: Re: need help with custom commands and pointshop
Post by: Bytewave on April 26, 2017, 09:10:43 AM
ill get you on discord

Just a protip for the future: Don't be DenverCoder9

(https://imgs.xkcd.com/comics/wisdom_of_the_ancients.png) (https://xkcd.com/979/)

If you need help, discuss details publicly. Only move to private chats if you need to deal with sensitive data, and post your results afterwards! And, please, never post "nvm fixed it" without providing the solution as well.
Title: Re: need help with custom commands and pointshop
Post by: Undercover Orange on April 26, 2017, 09:28:44 AM
ok. I put it in while the server was running and did a map change. cause unless it has to do anything with core server files the server does not need to be restarted, you just need to do a map change. then I did end up restarting the server. still nothing.

with the model. the owner and I both agreed it was sv_player.lua cause this same problem happened on another server I was helping out on. I deleted a few lines of code and bam it worked. not this server. all we know is its the game mode, not printshop
Title: Re: need help with custom commands and pointshop
Post by: Undercover Orange on April 26, 2017, 04:51:51 PM
it was fixed. it was the game mode itself. so if your having the same problem try using a different version of the game mode but we still need the commands