Welcome, Guest. Please login or register.
Did you miss your activation email?
November 26, 2024, 04:11:25 AM
Home Help Login Register
News: Trouble in Terrorist Town? Site here, forum here.

Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: fresh install Lua error/TTT mod wont load
Pages: [1] 2
Author Topic: fresh install Lua error/TTT mod wont load  (Read 11254 times)
wesker
Poster

Posts: 17


« on: May 23, 2010, 01:26:10 AM »

here is the error

Lua initialized (Lua 5.1)
Couldn't include file 'terrortown/gamemode/cl_init.lua' (File not found)
**********************************************
**********************************************
********** COULDN'T LOAD GAMEMODE!! **********
**********************************************
**********************************************

There was a problem opening the gamemode file 'terrortown/gamemode/cl_init.lua'

This is a brand new install off my ranted box. I had another server owner try and help me but nothing she suggested worked.
scriptenforcer is set to 0 and i downloaded the newest version yesterday. I unziped and put all the files in the matching folders two times.
My folders are this /orangebox/garrysmod/ then all my other folders and there isnt another gmod folder within that as I was told there usually is.
this what I have in my server cfg right now


fretta_voting "0"
sv_scriptenforcer "0"
ttt_detective_min_players "8"
ttt_postround_dm "1"
ttt_no_nade_during_prep "1"
ttt_karma "1"
ttt_karma_kill_penalty "50"
sv_gamemode "terrortown"

what am i doing wrong?

UnInvincible
Build Tester
*
Posts: 4841


SANTA SHAMBLER SEIZURE!


« Reply #1 on: May 23, 2010, 01:30:54 AM »

Do you have Counter-Strike: Source installed?

my game keeps crashing as it loads, (i have all the expansion packs including the apartment life) and i am hearing that it might possibly be a custom content problem? how do i remove custom content?
wesker
Poster

Posts: 17


« Reply #2 on: May 23, 2010, 01:32:29 AM »

yes i do, cstrike, dod, hl2, ep2, all have their folders in the orangebox folder
« Last Edit: May 23, 2010, 01:40:48 AM by wesker »
wesker
Poster

Posts: 17


« Reply #3 on: May 23, 2010, 02:05:09 AM »

bump?
wesker
Poster

Posts: 17


« Reply #4 on: May 23, 2010, 03:15:15 AM »

please someone?
Meta-Stick
Poster

Posts: 481


it contains, a daisy box


« Reply #5 on: May 23, 2010, 06:00:51 AM »

Good thing you bumped it, it was on page 4 within the first 30 minutes.
« Last Edit: May 23, 2010, 06:02:48 AM by Meta-Stick »

Just grab some bottles and stick them in girls...
wesker
Poster

Posts: 17


« Reply #6 on: May 23, 2010, 06:49:46 AM »

yay for sarcasm...

A helpful post would be awesome
Bad King Urgrain
Administrator
*****
Posts: 12276



« Reply #7 on: May 23, 2010, 07:58:13 AM »

Please don't spam bumps. I am not awake 24 hours a day.

The error occurs on the client. It can't load the main client script for some reason. My first guess would be that it is not downloading the scripts properly from the server. Are you using sv_downloadurl? (I see it's not in the config, but I don't know if you have stuff in your commandline)
wesker
Poster

Posts: 17


« Reply #8 on: May 23, 2010, 08:21:39 AM »

here is a picture of my main FTP page. http://img193.imageshack.us/img193/8114/tttnn.png

please note the folder set up, /orangebox/garrysmod. there is no second garrysmod folder, this is the way it was when it was set up

my command line is this:
-console -game garrysmod +ip 69.90.189.91 -port 27015 +maxplayers 32 +exec server.cfg -gamemode terrortown +map cs_office

DLurl isnt on (havn't set up my fast download yet).

sorry for the bumps... just getting frustrated because this shouldn't be this hard
Bad King Urgrain
Administrator
*****
Posts: 12276



« Reply #9 on: May 23, 2010, 10:34:23 AM »

I just replicated your setup, with commandline and server.cfg, and everything worked, so the problem isn't those things at least.

The folder thing is not an issue, it's normal for a dedicated server (my own install has it that exact same way).

When you connected to the server, did it show the game downloading a bunch of Lua files?

Do you have a way of viewing the server console output to see if it shows any errors?

And just to check things are in the right place: you have a /garrysmod/gamemodes/terrortown/gamemode/ directory with a bunch of .lua scripts in there, right?


PS. I just noticed the readme has ttt_no_nade_throw_during_prep written wrongly as "ttt_no_nade_during_prep" instead, I've fixed that for next version. Not really of importance, but just so you can fix it in the server.cfg once things are working.
« Last Edit: May 23, 2010, 10:37:24 AM by Bad King Urgrain »
phoenixf129
Poster

Posts: 476


I Rise from the Ashes.


« Reply #10 on: May 23, 2010, 11:13:08 AM »

He might want to add -condebug to the commandline so he can see the server console.log at the root of garrysmod/ for serverside errors.

Software Upgrade Paradox - If you improve a piece of software enough times, you eventually ruin it.
wesker
Poster

Posts: 17


« Reply #11 on: May 23, 2010, 03:33:31 PM »

I have access to my server but not the box so there might be some options I can't access but I will see about getting an output log.

Yes /orangebox/garrysmod/gamemodes/terrortown/gamemode is full of lua files and a vgui folder

Since i don't have access to the box, i wasn't the one who set it up but my clan leader did. In TCadmin, its callled GmodPlus, may this be the error? I have never seen it called that

Ill add the -condebug to the line and post the outcome in a few hours.
wesker
Poster

Posts: 17


« Reply #12 on: May 23, 2010, 03:48:24 PM »

after adding -condebug to the server and joining/leaving, this is what I got

Mounting hl2.. OK
Mounting ep2.. OK
Mounting tf.. OK
Mounting cstrike.. OK
Mounting dod.. OK
Mounting episodic.. OK
Mounting hl2mp.. Failed
Mounting portal.. OK
Mounting lostcoast.. Failed
Mounting hl1.. Failed
Mounting hl1mp.. Failed
Mounting zeno_clash.. Failed
Parent cvar in server.dll not allowed (sk_apc_missile_damage)
Garry's Mod server.dll Build #080 [May 12 2010 14:05:12]
maxplayers set to 32
Unknown command "cl_interp"
maxplayers set to 32
Unknown command "fretta_voting"
Unknown command "ttt_detective_min_players"
Unknown command "ttt_postround_dm"
Unknown command "ttt_no_nade_during_prep"
Unknown command "ttt_karma"
Unknown command "ttt_karma_kill_penalty"
Network: IP 69.90.189.91, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
Unknown command "sv_rollangle"
Unknown command "sv_unlag_fixstuck"
Lua initialized (Lua 5.1)
Registering gamemode 'sandbox' derived from 'base'
ScriptEnforce is disabled
Executing dedicated server config file
Attempted to create unknown entity type hostage_entity!
Can't init hostage_entity
Attempted to create unknown entity type hostage_entity!
Can't init hostage_entity
Attempted to create unknown entity type hostage_entity!
Can't init hostage_entity
Attempted to create unknown entity type hostage_entity!
Can't init hostage_entity
Attempted to create unknown entity type func_buyzone!
Can't init func_buyzone
Attempted to create unknown entity type func_buyzone!
Can't init func_buyzone
Attempted to create unknown entity type func_hostage_rescue!
Can't init func_hostage_rescue
Attempted to create unknown entity type func_hostage_rescue!
Can't init func_hostage_rescue
Unknown command "fretta_voting"
Unknown command "ttt_detective_min_players"
Unknown command "ttt_postround_dm"
Unknown command "ttt_no_nade_during_prep"
Unknown command "ttt_karma"
Unknown command "ttt_karma_kill_penalty"
Adding master server 216.207.205.98:27011
Adding master server 216.207.205.99:27011
Connection to Steam servers successful.
   VAC secure mode is activated.
Client "<SK> | Wesker (AkA GoD)" connected (98.246.94.149:27005).
Dropped <SK> | Wesker (AkA GoD) from server (Disconnect by user.)
Bad King Urgrain
Administrator
*****
Posts: 12276



« Reply #13 on: May 23, 2010, 06:25:42 PM »

Odd, it's loading sandbox:
Quote
Registering gamemode 'sandbox' derived from 'base'


It should be saying something like:
Quote
Registering gamemode 'fretta' derived from 'base'
Registering gamemode 'terrortown' derived from 'fretta'


Try changing the "-gamemode terrortown" part of the commandline to "+sv_defaultgamemode terrortown".
wesker
Poster

Posts: 17


« Reply #14 on: May 23, 2010, 08:17:24 PM »

Yep that did it. I knew it was something stupid like that. This is why I build PC's and repair broken parts instead of doing HTML lol.

Thank you so much for your help. I will be donating 10$ to this cause.

I would like to request a script where it will kicked and temp ban someone for their karma for going to low if there isnt one already made.

and one last question for now, is the suicide bomber built in to the game do I have to find it somewhere else?

Charles445
Build Tester
*
Posts: 2338


I LOVE THIS AVATAR


« Reply #15 on: May 24, 2010, 04:07:11 AM »

Yep that did it. I knew it was something stupid like that. This is why I build PC's and repair broken parts instead of doing HTML lol.

Thank you so much for your help. I will be donating 10$ to this cause.

I would like to request a script where it will kicked and temp ban someone for their karma for going to low if there isnt one already made.

and one last question for now, is the suicide bomber built in to the game do I have to find it somewhere else?



You need to PM me for the suicide bomber.

del>Ok, so Bad King, you are just going to wait for Garry to fix?
What an idiotic thing to ask. Dammit weed.

Bookcases, Bookcases Everywhere
phoenixf129
Poster

Posts: 476


I Rise from the Ashes.


« Reply #16 on: May 24, 2010, 05:16:10 PM »

Maybe:

if karma > 500 then player gets kicked with message "Disconnect: Karma too low!"

Would decrease on the RDMing quite a bit, and people will make sure their karma doesn't get too low... or make it a variable like... ttt_minkarma_kick value , would be pretty useful.

Software Upgrade Paradox - If you improve a piece of software enough times, you eventually ruin it.
Bad King Urgrain
Administrator
*****
Posts: 12276



« Reply #17 on: May 24, 2010, 06:07:34 PM »

I'll put a karma kick/kickban on my list.
wesker
Poster

Posts: 17


« Reply #18 on: May 24, 2010, 09:02:24 PM »

yes ttt_minkarma_kick value would be perfect. thanks king
KevGuy378
Poster

Posts: 8


« Reply #19 on: May 27, 2010, 12:31:47 AM »

I have the same problem, I don't know what to do to fix it. I don't really understand the posts that are here? Thanks.
Pages: [1] 2
Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: fresh install Lua error/TTT mod wont load « previous next »
Jump to:  


Login with username, password and session length

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines
Page created in 0.011 seconds with 18 queries.