Author Topic: ulx/sourceban question  (Read 5690 times)

0 Members and 1 Guest are viewing this topic.

Offline matt.b

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
ulx/sourceban question
« on: October 14, 2010, 06:06:07 PM »
garrysmod/addons/ulx/lua/ulx/modules/sbans.lua

In chat I type !sban <player> 5 other

it writes back <player has been banned for 5(minutes) reason other.

but hes still in game? I read the post for sban integration but it doesnt say anything about installing sourcemod or sourcebans on the server could someone help?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: ulx/sourceban question
« Reply #1 on: October 14, 2010, 07:01:21 PM »
You didn't install sourcebans? I'm pretty sure that's required to use this module.
Experiencing God's grace one day at a time.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ulx/sourceban question
« Reply #2 on: October 14, 2010, 07:58:53 PM »
SourceBans must be installed on the Gmod server.
And perhaps second most importantly, as I've stated in the release thread, it's currently not written for SVN of ULib/ULX.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline matt.b

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
Re: ulx/sourceban question
« Reply #3 on: October 15, 2010, 07:19:40 AM »
How can I install sourcebans it's not like css or any other server.

game_upload folder
addons\sourcemod\configs\sourcebans\sourcebans.cfg
addons\sourcemod\plugins\sourcebans.smx
addons\sourcemod\scripting\sourcebans.sp
addons\sourcemod\scripting\sourcebans_sample.sp
addons\sourcemod\scripting\include\sourcebans.inc
addons\sourcemod\translations\sourcebans.phrases

even tried making a folder in addons sourcebans ulx integration\lua\ulx\modules\sban.lua didn't work.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: ulx/sourceban question
« Reply #4 on: October 15, 2010, 09:09:51 AM »
Do the sourceban commands work?
Experiencing God's grace one day at a time.

Offline matt.b

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
Re: ulx/sourceban question
« Reply #5 on: October 15, 2010, 09:18:13 AM »
addons\sourcebans ulx integration\lua\ulx\modules\sban.lua !sban did not work

addons\sourcemod\configs\sourcebans\sourcebans.cfg
addons\sourcemod\plugins\sourcebans.smx
addons\sourcemod\scripting\sourcebans.sp
addons\sourcemod\scripting\sourcebans_sample.sp
addons\sourcemod\scripting\include\sourcebans.inc
addons\sourcemod\translations\sourcebans.phrases

Not use to install of of this there is no sourcemod installed so .smx wouldn't work and also .sp

Also my motd won't show I installed cstrike folder in orangebox/cstrike I have sandbox gamemode and need cstrike items and the motd came up ulx but with the css motd in that folder?? not garry's mod motd using ulx.
« Last Edit: October 15, 2010, 03:14:30 PM by matt.b »

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: ulx/sourceban question
« Reply #6 on: October 15, 2010, 03:51:57 PM »
Ask questions about motd in a new topic, please.

As far as sourceban, do the sourceban commands themselves (not the ulx module) work?
Experiencing God's grace one day at a time.

Offline matt.b

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
Re: ulx/sourceban question
« Reply #7 on: October 16, 2010, 07:02:21 AM »
ulx commands work.


sourcebans do not, since i moved the lua file showing it didn't ban anyone just the commands work before.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: ulx/sourceban question
« Reply #8 on: October 16, 2010, 08:56:41 AM »
You need to get sourcebans working before the ulx module will be able to work. If you need further help installing sourcebans, you should ask in the sourcebans forums/contact.
Experiencing God's grace one day at a time.

Offline matt.b

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
Re: ulx/sourceban question
« Reply #9 on: October 17, 2010, 01:50:39 AM »
I know how to install sourcebans and it works on my css servers I just don't get it on gmod I have ulx admin, but on my css servers I use sourcemod/sourcebans ulx I don't get do I have to put a file path?

It's useless to install the sourcebans game_upload files because those are just for sourcemod itself not made for ulx. Sourcebans1.4.7 install has 2 folders we_upload for your webhost and game_upload for what I described in the previous post.

I had the lua file working fine but it did not work !sban messages types out but nothing happens

Quote
Simply create a file called sban.lua in addons\Sourcebans ULX Integration\lua\ulx\modules and paste this code inside.

I don't get that file path I installed the lua file in addons/ulx/lua/ulx/modules

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ulx/sourceban question
« Reply #10 on: October 17, 2010, 10:06:42 AM »
I just don't get it on gmod I have ulx admin, but on my css servers I use sourcemod/sourcebans ulx I don't get do I have to put a file path?
I had the lua file working fine but it did not work !sban messages types out but nothing happens
I don't get that file path I installed the lua file in addons/ulx/lua/ulx/modules

matt,
I don't know how many times we have to say it.
You have to have Sourcebans installed and working on your Gmod server before the ulx lua sourceban code would ever work.
Go use google, Sourcebans forums  or website to find out how to get sourcebans working for Gmod.

Then, and only then, this ulx lua script might work.

As for the path, the way you did it should work fine.
Though the actual instructions for the sourceban release for ULX use a different folder structure to separate it from the actual /addons/ulx folder physically, there would be no info.txt file. Gmod won't load any addon if there isn't a info.txt.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Pantho

  • Newbie
  • *
  • Posts: 39
  • Karma: 2
Re: ulx/sourceban question
« Reply #11 on: October 22, 2010, 05:38:06 AM »
There is a really shiny sourebans.lua module over on the facepunch forums made by Lexi :)

I believe it works well. If you do decided to go for the actuall sourcebans make sure to remove the stupid plugins (unsure for current release). Some plugins for SM used to cras gmod, even default plugins.

I just keep kick/ban plugin for SM on our servers.