• PERP server Modules LINUX
    29 replies, posted
Ok, I had a problem with my perp server, i cant figure out the solution: Well it seems that the modules arent working on my perp linux server, it says [CODE]Timer Error: [addons/PhoenixDawn/lua/plugins/ass_security.lua:116] attempt to index global 'tmysql' (a nil value) Temperature changed to 34.42. ( Change: 0.33 ) 03/02/2012 - 14:57:28: Lua Error: Timer Error: [addons/PhoenixDawn/lua/plugins/ass_security.lua:116] attempt to index global 'tmysql' (a nil value) Timer Error: [addons/PhoenixDawn/lua/plugins/ass_security.lua:116] attempt to index global 'tmysql' (a nil value) 03/02/2012 - 14:57:30: Lua Error: Timer Error: [gamemodes/PERP3/gamemode/sv_hooks.lua:16] attempt to index global 'tmysql' (a nil value) Timer Error: [gamemodes/PERP3/gamemode/sv_hooks.lua:16] attempt to index global 'tmysql' (a nil value) 03/02/2012 - 14:57:33: Lua Error: Timer Error: [addons/PhoenixDawn/lua/plugins/ass_security.lua:116] attempt to index global 'tmysql' (a nil value) Timer Error: [addons/PhoenixDawn/lua/plugins/ass_security.lua:116] attempt to index global 'tmysql' (a nil value) 03/02/2012 - 14:57:38: Lua Error: Timer Error: [addons/PhoenixDawn/lua/plugins/ass_security.lua:116] attempt to index global 'tmysql' (a nil value) Timer Error: [addons/PhoenixDawn/lua/plugins/ass_security.lua:116] attempt to index global 'tmysql' (a nil value) 03/02/2012 - 14:57:40: Lua Error: Timer Error: [gamemodes/PERP3/gamemode/sv_hooks.lua:16] attempt to index global 'tmysql' (a nil value) Timer Error: [gamemodes/PERP3/gamemode/sv_hooks.lua:16] attempt to index global 'tmysql' (a nil value) 03/02/2012 - 14:57:43: Lua Error: Timer Error: [addons/PhoenixDawn/lua/plugins/ass_security.lua:116] attempt to index global 'tmysql' (a nil value) Timer Error: [addons/PhoenixDawn/lua/plugins/ass_security.lua:116] attempt to index global 'tmysql' (a nil value) 03/02/2012 - 14:57:49: Lua Error: Timer Error: [addons/PhoenixDawn/lua/plugins/ass_security.lua:116] attempt to index global 'tmysql' (a nil value) Timer Error: [addons/PhoenixDawn/lua/plugins/ass_security.lua:116] attempt to index global 'tmysql' (a nil value) 03/02/2012 - 14:57:50: Lua Error: Timer Error: [gamemodes/PERP3/gamemode/sv_hooks.lua:16] attempt to index global 'tmysql' (a nil value) Timer Error: [gamemodes/PERP3/gamemode/sv_hooks.lua:16] attempt to index global 'tmysql' (a nil value) 03/02/2012 - 14:57:54: Lua Error: Timer Error: [addons/PhoenixDawn/lua/plugins/ass_security.lua:116] attempt to index global 'tmysql' (a nil value) Timer Error: [addons/PhoenixDawn/lua/plugins/ass_security.lua:116] attempt to index global 'tmysql' (a nil value) 03/02/2012 - 14:57:59: Lua Error: Timer Error: [addons/PhoenixDawn/lua/plugins/ass_security.lua:116] attempt to index global 'tmysql' (a nil value) Timer Error: [addons/PhoenixDawn/lua/plugins/ass_security.lua:116] attempt to index global 'tmysql' (a nil value) 03/02/2012 - 14:58:00: Lua Error: Timer Error: [gamemodes/PERP3/gamemode/sv_hooks.lua:16] attempt to index global 'tmysql' (a nil value) Timer Error: [gamemodes/PERP3/gamemode/sv_hooks.lua:16] attempt to index global 'tmysql' (a nil value) 03/02/2012 - 14:58:04: Lua Error: Timer Error: [addons/PhoenixDawn/lua/plugins/ass_security.lua:116] attempt to index global 'tmysql' (a nil value) Timer Error: [addons/PhoenixDawn/lua/plugins/ass_security.lua:116] attempt to index global 'tmysql' (a nil value) 03/02/2012 - 14:58:09: Lua Error: Timer Error: [addons/PhoenixDawn/lua/plugins/ass_security.lua:116] attempt to index global 'tmysql' (a nil value) Timer Error: [addons/PhoenixDawn/lua/plugins/ass_security.lua:116] attempt to index global 'tmysql' (a nil value) 03/02/2012 - 14:58:10: Lua Error: Timer Error: [gamemodes/PERP3/gamemode/sv_hooks.lua:16] attempt to index global 'tmysql' (a nil value) Timer Error: [gamemodes/PERP3/gamemode/sv_hooks.lua:16] attempt to index global 'tmysql' (a nil value) 03/02/2012 - 14:58:14: Lua Error: Timer Error: [addons/PhoenixDawn/lua/plugins/ass_security.lua:116] attempt to index global 'tmysql' (a nil value) Timer Error: [addons/PhoenixDawn/lua/plugins/ass_security.lua:116] attempt to index global 'tmysql' (a nil value) 03/02/2012 - 14:58:19: Lua Error: Timer Error: [addons/PhoenixDawn/lua/plugins/ass_security.lua:116] attempt to index global 'tmysql' (a nil value) Timer Error: [addons/PhoenixDawn/lua/plugins/ass_security.lua:116] attempt to index global 'tmysql' (a nil value) 03/02/2012 - 14:58:20: Lua Error: Timer Error: [gamemodes/PERP3/gamemode/sv_hooks.lua:16] attempt to index global 'tmysql' (a nil value) Timer Error: [gamemodes/PERP3/gamemode/sv_hooks.lua:16] attempt to index global 'tmysql' (a nil value) 03/02/2012 - 14:58:24: Lua Error: Timer Error: [addons/PhoenixDawn/lua/plugins/ass_security.lua:116] attempt to index global 'tmysql' (a nil value) Timer Error: [addons/PhoenixDawn/lua/plugins/ass_security.lua:116] attempt to index global 'tmysql' (a nil value) 03/02/2012 - 14:58:29: Lua Error: Timer Error: [addons/PhoenixDawn/lua/plugins/ass_security.lua:116] attempt to index global 'tmysql' (a nil value) Timer Error: [addons/PhoenixDawn/lua/plugins/ass_security.lua:116] attempt to index global 'tmysql' (a nil value) 03/02/2012 - 14:58:30: Lua Error: Timer Error: [gamemodes/PERP3/gamemode/sv_hooks.lua:16] attempt to index global 'tmysql' (a nil value) Timer Error: [gamemodes/PERP3/gamemode/sv_hooks.lua:16] attempt to index global 'tmysql' (a nil value) 03/02/2012 - 14:58:34: Lua Error: Timer Error: [addons/PhoenixDawn/lua/plugins/ass_security.lua:116] attempt to index global 'tmysql' (a nil value) Timer Error: [addons/PhoenixDawn/lua/plugins/ass_security.lua:116] attempt to index global 'tmysql' (a nil value) 03/02/2012 - 14:58:39: Lua Error: Timer Error: [addons/PhoenixDawn/lua/plugins/ass_security.lua:116] attempt to index global 'tmysql' (a nil value) Timer Error: [addons/PhoenixDawn/lua/plugins/ass_security.lua:116] attempt to index global 'tmysql' (a nil value) 03/02/2012 - 14:58:40: Lua Error: Timer Error: [gamemodes/PERP3/gamemode/sv_hooks.lua:16] attempt to index global 'tmysql' (a nil value) Timer Error: [gamemodes/PERP3/gamemode/sv_hooks.lua:16] attempt to index global 'tmysql' (a nil value) 03/02/2012 - 14:58:44: Lua Error: Timer Error: [addons/PhoenixDawn/lua/plugins/ass_security.lua:116] attempt to index global 'tmysql' (a nil value) Timer Error: [addons/PhoenixDawn/lua/plugins/ass_security.lua:116] attempt to index global 'tmysql' (a nil value) 03/02/2012 - 14:58:49: Lua Error: Timer Error: [addons/PhoenixDawn/lua/plugins/ass_security.lua:116] attempt to index global 'tmysql' (a nil value) Timer Error: [addons/PhoenixDawn/lua/plugins/ass_security.lua:116] attempt to index global 'tmysql' (a nil value) 03/02/2012 - 14:58:50: Lua Error: Timer Error: [gamemodes/PERP3/gamemode/sv_hooks.lua:16] attempt to index global 'tmysql' (a nil value) Timer Error: [gamemodes/PERP3/gamemode/sv_hooks.lua:16] attempt to index global 'tmysql' (a nil value) 03/02/2012 - 14:58:54: Lua Error: Timer Error: [addons/PhoenixDawn/lua/plugins/ass_security.lua:116] attempt to index global 'tmysql' (a nil value) Timer Error: [addons/PhoenixDawn/lua/plugins/ass_security.lua:116] attempt to index global 'tmysql' (a nil value) 03/02/2012 - 14:58:59: Lua Error: Timer Error: [addons/PhoenixDawn/lua/plugins/ass_security.lua:116] attempt to index global 'tmysql' (a nil value) Timer Error: [addons/PhoenixDawn/lua/plugins/ass_security.lua:116] attempt to index global 'tmysql' (a nil value) 03/02/2012 - 14:59:00: Lua Error: Timer Error: [gamemodes/PERP3/gamemode/sv_hooks.lua:16] attempt to index global 'tmysql' (a nil value) Timer Error: [gamemodes/PERP3/gamemode/sv_hooks.lua:16] attempt to index global 'tmysql' (a nil value) 03/02/2012 - 14:59:04: Lua Error: Timer Error: [addons/PhoenixDawn/lua/plugins/ass_security.lua:116] attempt to index global 'tmysql' (a nil value) Timer Error: [addons/PhoenixDawn/lua/plugins/ass_security.lua:116] attempt to index global 'tmysql' (a nil value) 03/02/2012 - 14:59:09: Lua Error: Timer Error: [addons/PhoenixDawn/lua/plugins/ass_security.lua:116] attempt to index global 'tmysql' (a nil value) Timer Error: [addons/PhoenixDawn/lua/plugins/ass_security.lua:116] attempt to index
That's not the entire log, but i've had a similar problem myself and what it runs down to is that the mysql database is not connecting.
[QUOTE=Tessius;34958286]That's not the entire log, but i've had a similar problem myself and what it runs down to is that the mysql database is not connecting.[/QUOTE] The problem is the modules, how can i fix them?
you need gm_tmysql_linux.dll and you need the boost modules as well and you need libmysqlclient.so.16 too. If you have all those files and a mysql database you should be able to get it working I say should as I haven't quite gotten it to work myself, but that's mostly a 64-bit problem on my end apparently.
Sorry for delay, my server is LINUX and it is 64-bit, is there anyway to put them working? [editline]6th March 2012[/editline] BTW when i join it gives me this unknowned command Unknown command: perp_rsl
Which Linux Distro?
linux ubuntu
Alright well as far as the gm_bass.dll or the gm_slog.dll there are no linux binaries for that, there are linux binaries for the others though you might have to look around for them. I could probably uplaod them for you. Alright so here's what you need to do. 1. [code]apt-get or aptitude install -y ia32-libs[/code] Now you should have the necessary libraries to run 32-bit programs. (Note: If you have already installed ia32-libs skip to 2. 2. [code]wget -c http://security.ubuntu.com/ubuntu/pool/main/m/mysql-dfsg-5.1/libmysqlclient16_5.1.41-3ubuntu12.7_i386.deb mkdir mysql32 dpkg --extract libmysqlclient*deb mysql32 sudo mv mysql32/usr/lib/* /usr/lib32/ ldconfig[/code] Now this should get libmysqlclient16 installed to use 32-bit programs it's a pain in the ass but this works for the latest Debian/Ubuntu builds. 3. Download this. [code]wget http://dl.dropbox.com/u/33249643/boost.zip unzip boost.zip cd boost mv * /usr/lib32/ ldconfig[/code] 4. Download this as well, linux libraries. [code]wget http://dl.dropbox.com/u/33249643/modules.zip unzip modules.zip cd modules mv * /garrysmod/lua/includes/modules/[/code] After you've done all this try it again and see if it works. Note: If you haven't installed it you need to do this. [code]apt-get or aptitude install -y zip unzip[/code]
And for the libmysql.dll do i need to have linux binaries? BTW do i need to remove the _linux and change the file from .dll to .so? [editline]8th March 2012[/editline] Can you upload the binarys (slog and bass)? please
There are no linux binaries for slog or bass either compile them yourself or find someone to do that. I've been looking, but either no one cares or is nice enough to make a linux binary. libmysql.dll you do not need just delete it. For the ones labeled _linux.dll do not rename them, i don't think they'll work if they're renamed.
No offence, but if you purchased a gamemode from someone, shouldn't they be the ones helping you with errors? Either way... Don't rename the binaries, slog and bass don't exist for linux. I would compile them for you but I don't have a linux install of srcds anywhere at the moment.
thanks, well my "shoper" is my host and he is helping me, BTW he doesnt know how to do it for linux
[QUOTE=Sassharkey;35053564]No offence, but if you purchased a gamemode from someone, shouldn't they be the ones helping you with errors? Either way... Don't rename the binaries, slog and bass don't exist for linux. I would compile them for you but I don't have a linux install of srcds anywhere at the moment.[/QUOTE] Granted they should be helping him, but let's be honest not many people who run gmod servers run off of linux, so granted whether or not someone else should help them. I went through and figured it out by myself and if I can help someone else get it semi working then I have made it a little easier for someone else. All that aside, I don't suppose you would give us instructions on how to compile bass and slog in linux?
Hey tessius, Do you think you could help me out be getting perp working on CentOS 6 32-bit?
[QUOTE=Racer;35505924]Hey tessius, Do you think you could help me out be getting perp working on CentOS 6 32-bit?[/QUOTE] No I do not use CentOS, plus srcds really doesn't like CentOS even the folks over at srcds.com have stated this themselves. Try using Ubuntu 10/11 or Debian 6 instead.
Its more stable than Ubuntu, not to mention i use TCAdmin.. :/
It's not more stable than Ubuntu or Debian, Ubuntu and Debian are quite stable and are updated a hell of a lot more often than CentOS is. I personally to manage multiple servers on my server use GamePanelX cause it's Open-Source. Though on the TCAdmin website is says on supported OSes "CentOS 5/6, Debian 6, Fedora 15, Redhat 5, Ubuntu 10/11 (32/64 bit)" Quite honestly I would go with Ubuntu 10/11 64-bit if you don't know much about linux. Though Personally Debian 6 64-bit works just fine for me.
I know deffently enough to get by on linux :), But i can't just reformat the VPS and install ubuntu that easy, And if Ubuntu is so stable, Why was i hacked within a week of having my VPS up? *I am on a different host, but still.*
Did you use secure passwords? disable root login? and use a firewall?
Ha yea on password, Disable root login no, because i needed to log into it, and firewall no... Don't know how to setup a firewall VIA terminal.. Not that advanced
You do realize google can help you find out how to install a firewall in any distro of linux that you want.
Really? That exsists? Alright i am done being a smart ass, I know that, hints why i know what i know about linux so far.
I wasn't trying to insult you, I was just saying that there's more than one firewall option and that you should find one that suits your needs. But either way, have fun trying to get it working in CentOS. You're probably better off just installing wine and running it off of that.
Try using a case-insensitive file system like JFS, or NTFS.
I've been running a server under WINE for months now without issues.
[QUOTE=maurits150;35524946]I've been running a server under WINE for months now without issues.[/QUOTE] maurits are you running a 32 or 64-bit linux os with that wine installation. Maybe you could give instructions or hints at possibly setting up a similar setup for those brave enough to try?
I LOVE wine, but how in the hell do you use wine through terminal? o.O
[URL="http://www.winehq.org/"]http://www.winehq.org/[/URL] You don't, it's all command line based.
I tried using it, and it gave me some random shit.. :/ I am getting an error... ./hldsupdatetool.exe Application tried to create a window, but no driver could be loaded. Make sure that your X server is running and that $DISPLAY is set correctly. err:systray:initialize_systray Could not create tray window Application tried to create a window, but no driver could be loaded. Make sure that your X server is running and that $DISPLAY is set correctly. Ideas?
Ask maurits, I have problems compiling wine in 64-bit linux.
Sorry, you need to Log In to post a reply to this thread.