Custom AI on a dedicated server

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

Post Reply
Chico008
Traffic Manager
Traffic Manager
Posts: 143
Joined: 05 Mar 2008 10:56
Location: France

Custom AI on a dedicated server

Post by Chico008 »

Hi

I've downloader the Citylife AI with some grf for it to be used (eyecandy vehicle and generic vehicle)

when i'm creating a solo game, on hosting a server game, this AI works fine.
but when i try to run a dedicated server, AI crash

Code: Select all

dbg: [script] No suitable AI found, loading 'dummy' AI.
dbg: [script] The script died unexpectedly.
Can't find out why,
Custom AI are not available for dedicated servers ?
User avatar
jfs
Tycoon
Tycoon
Posts: 1763
Joined: 08 Jan 2003 23:09
Location: Denmark

Re: Custom AI on a dedicated server

Post by jfs »

You need to make sure the AI is downloaded and installed on the server too. The game log you pasted says it could not find the AI and used the "dummy" one instead, which is a built-in do-nothing one.
Chico008
Traffic Manager
Traffic Manager
Posts: 143
Joined: 05 Mar 2008 10:56
Location: France

Re: Custom AI on a dedicated server

Post by Chico008 »

AI has been installed on the server too

launching standard command to run the dedicated with the Ai failed
but, if i make a new game from my computer, save the game, copy to server, and launch the dedicated with this save, Ai works

it's a weird situation.
Eddi
Tycoon
Tycoon
Posts: 8272
Joined: 17 Jan 2007 00:14

Re: Custom AI on a dedicated server

Post by Eddi »

most likely a wrong path in the config file. like using \ instead of /, or missing a subdirectory.
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: No registered users and 13 guests