Forums

Discussions of the easy to use open source game control panel.

You are not logged in.

Announcement

Welcome on board ! We are very proud to present you our forums powered by FluxBB ! Please Register, do not forget to read carefully Forum Rules and feel free to Contact Us if you see any problems. Finally, take part in site life !

#1 2013-12-07 23:00:56

chewbaka
Member
Registered: 2013-12-07
Posts: 3

Gamerepo CSS Config

Hey,

I contact you because i have read the forum and in do not find a reply to my problems.

When i want to validate my server there an error:

Error!
Impossible to find /home/******/css/css_server

I tried all suggested on the forum and no response has helped me solve the problem. If someone could help me.


Thanks,
Chewbaka

Offline

#2 2013-12-08 04:59:27

ThunderGod
Member
Registered: 2013-11-30
Posts: 56

Re: Gamerepo CSS Config

Try to add "~" before the path
Ex:
"~/path/to/files/"
- This is if you are trying to validate the game cache.

- If you want to validate a server the path must be
"/path/to/game/executable.ext" (If the server files exist in the directory.)
"/path/to/game/" (If the server files doesn't exist in the directory.)

Last edited by ThunderGod (2013-12-08 05:06:53)


FirmaHatsuneMikuCRabling-1.png

Offline

#3 2013-12-08 12:34:34

chewbaka
Member
Registered: 2013-12-07
Posts: 3

Re: Gamerepo CSS Config

Hey and thanks for your reply.

But I tried your solution but the problem persists.
I have modified the cache of the game in Configuration -> Game -> Counter Strike Source, like that:
~/home/*******/css/css_server/

And the path of the of the game is like that:
/home/******/css/css_server/srcds_run

Offline

#4 2013-12-08 15:15:01

ThunderGod
Member
Registered: 2013-11-30
Posts: 56

Re: Gamerepo CSS Config

You must click to "build" the cache , go to boxgamefile.php?id={id} and click the "download icon", wait a bit and try again.

Last edited by ThunderGod (2013-12-08 15:15:54)


FirmaHatsuneMikuCRabling-1.png

Offline

#5 2013-12-09 18:38:07

warhawk
Administrator
From: France
Registered: 2013-05-29
Posts: 256
Website

Re: Gamerepo CSS Config

Counter Strike Source is currently not supported by the game-installer.

Offline

#6 2013-12-09 19:21:23

ThunderGod
Member
Registered: 2013-11-30
Posts: 56

Re: Gamerepo CSS Config

warhawk wrote:

Counter Strike Source is currently not supported by the game-installer.

oh right I forgot about that.

How to add it :
1.Edit libs/gameinstaller/games.ini and un-comment ;css by removing the ";" -> save
2.Go to : libs/gameinstaller/games/
3.Make a folder: named "css"
4.Make a new file inside it with a name "manifest.xml" , open it and edit it for your server preference
Example:

[== XML ==]
<?xml version="1.0" encoding="utf-8"?>

<!-- Game Manifest -->
<game>
	<name>css</name>

	<actions>
		<!-- Make Game Repository -->
		<repository>
			<!-- Download required files -->
			<get>local://path/to/repo/css</get>
		</repository>

		<!-- Install Game Server From Game Repository -->
		<installgame>
			<!-- Copy Game Server Files -->
			<rsync_c></rsync_c>
			<chmodx>srcds_run</chmodx>
		</installgame>

		<!-- Update Game Server From Game Repository -->
		<updategame>
			<!-- Update Game Server Files -->
			<rsync_u></rsync_u>
			<chmodx>srcds_run</chmodx>
		</updategame>
	</actions>
</game>

Check what xml commands are available in libs/gameinstaller/actions.list.txt.

5.Then go to includes and edit "func.gameinstaller.inc.php"
6.Add this line:
"Counter-Strike: Source"            => "srcds_run",  to $binaries so it looks like that:

[== PHP ==]
	$binaries = array(
		"Counter-Strike: Source"            => "srcds_run",
         /** .. Other games .. **/
        );

7.Save it.
8.Then go to boxgamefile.php?id={id} // {id} the box id
9.Find CSS and click the refresh cache or download cache button.

If you did everything right you must be ready to go.

Last edited by ThunderGod (2013-12-09 21:54:27)


FirmaHatsuneMikuCRabling-1.png

Offline

#7 2013-12-09 21:52:55

chewbaka
Member
Registered: 2013-12-07
Posts: 3

Re: Gamerepo CSS Config

Sorry to reply later.
Thanks for your answer and i go try that.

Offline

#8 2013-12-10 17:12:58

warhawk
Administrator
From: France
Registered: 2013-05-29
Posts: 256
Website

Re: Gamerepo CSS Config

Very useful post ThunderGod ! Thank you !  ]:D

Offline

Board footer

Powered by FluxBB