Author Topic: need help with custom commands and pointshop  (Read 2448 times)

0 Members and 1 Guest are viewing this topic.

Offline Undercover Orange

  • Full Member
  • ***
  • Posts: 139
  • Karma: -14
  • Leader of Undercover Gaming Community
need help with custom commands and pointshop
« 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
~ Undercover Orange

Offline iViscosity

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 803
  • Karma: 58
Re: need help with custom commands and pointshop
« Reply #1 on: April 26, 2017, 04:24:36 AM »
Did you put the CustomCommands folder in /addons/ folder with the server running or offline?
I'm iViscosity. I like gaming and programming. Need some help? Shoot me PM.

Offline Undercover Orange

  • Full Member
  • ***
  • Posts: 139
  • Karma: -14
  • Leader of Undercover Gaming Community
Re: need help with custom commands and pointshop
« Reply #2 on: April 26, 2017, 08:18:38 AM »
ill get you on discord
~ Undercover Orange

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: need help with custom commands and pointshop
« Reply #3 on: April 26, 2017, 09:10:43 AM »
ill get you on discord

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



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.
bw81@ulysses-forums ~ % whoami
Homepage

Offline Undercover Orange

  • Full Member
  • ***
  • Posts: 139
  • Karma: -14
  • Leader of Undercover Gaming Community
Re: need help with custom commands and pointshop
« Reply #4 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
~ Undercover Orange

Offline Undercover Orange

  • Full Member
  • ***
  • Posts: 139
  • Karma: -14
  • Leader of Undercover Gaming Community
Re: need help with custom commands and pointshop
« Reply #5 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
~ Undercover Orange