Jump to content
Sign in to follow this  
zinco

Need help with OFPWatch auto-addon server

Recommended Posts

What happens is whenever I run the server it cannot find the text block

"Addon info block not found, building new from packages"

It will down load one file and stop and not create a udp file. I tested it with an http server with only one @zip and same thing.

If the auto-addon.txt is not in the root of the zip it all works but it installs using the simplified method and will install to regular addons folder on client by default.

Thanks for any help you can give me.

Windows XP

On the server I have on:

E:\auto_addon (this folder is linked to ftp url and has all the @zips with auto-addon.txt in the root of each zip)

E:\auto_addon_program (this folder has autoaddonserver.exe and autoaddon.ini

ofp server addy is hotel.1-8th.com port 2302

ftp is ftp://*******:*******@hotel.1-8th.com/

Here is a copy of autoaddon.ini i am using:

// Any line starting with // is ignored by autoaddonserver.exe

// These settings should reflect the actual OFP game server

password ""

port 2302

// These settings will be displayed in the client OFP Watch

servername "1-8th's Hells Kitchen"

serverinfo "http://www.1-8th.com"

serveradmin "Zinco"

teamspeak "hotel.1-8th.com"

// This line will announce the server to the auto-addon browser server

// If your server is private, just comment the line or change it to "announce off"

announce on

// Here's a list of packages required to play on this server

// You may have as many packages as you like, just line them up

// Packages that are not required like mission packs can be marked

// with the word 'optional' after the url

//

// syntax:

// package <url> [optional]

//

package ftp://********:*******@hotel.1-8th.com/@1_8th_all_1.zip

package ftp://*******:*******@hotel.1-8th.com/@1_8th_all_2.zip

package ftp://*******:*******@hotel.1-8th.com/@1_8th_all_3.zip

package ftp://*******:******@hotel.1-8th.com/@1_8th_all_4.zip

copy of auto-addon.txt

AUTOADDON_START

PACKAGE "@1_8th_all_1"

INFOURL "http://www.1-8th.com"

INSTALL *.pbo

EXTRACT *

AUTOADDON_END

Each zip has its own auto-addon.txt

Share this post


Link to post
Share on other sites

we never use that, since it's a pain when you keep changing mods

also no point in hiding your ftp, it shows where you get it from, i used to like leaching from others ftps, but now we have an alloted 4 teribytes a month i dont care lol

Share this post


Link to post
Share on other sites

gee thanks for all the help mal. gosh you are so smart mal. how did you get to be so smart at this stuff?

Share this post


Link to post
Share on other sites

Now, for some actual help:

Variant 1: all your addons are in a zipped mod folder tree

If your zip files already have the correct mod folder tree (in other words, when you open the zips, you see two things:

1) The auto-addon.txt

2) A mod folder "to be". Inside this you then have the actual addons in a folder "addons", as usual

If so, the auto-addon.txt could look like this:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">AUTOADDON_START

PACKAGE "@1_8th_all_1"

INFOURL "http://www.1-8th.com"

INSTALLPATH *

AUTOADDON_END

Variant 2 Just a bunch of addons and an auto-addon.txt

For this variant, you need to tell OFPWatch where to put the addon .pbo:s and other files after they're downloaded.

Let's assume we want them to go into the "mymod" mod folder. Also, there are readmes included. We'll put those into mymod/docs. The auto-addon.then becomes

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">AUTOADDON_START

PACKAGE "@1_8th_all_1"

INFOURL "http://www.1-8th.com"

INSTALL *.pbo mymod/addons/

EXTRACT *.txt mymod/docs/

AUTOADDON_END

Take extra care to remember to leave the trailing slashes but don't have the leading slash. In other words:

Quote[/b] ]<span style='color:green'>INSTALL *.pbo foo/bar/</span> CORRECT

<span style='color:red'>INSTALL *.pbo /foo/bar</span> BAD! (Leading slash)

<span style='color:red'>INSTALL *.pbo foo/bar</span> BAD (no trailing slash)

Hope that helps!

Share this post


Link to post
Share on other sites

rgr killswitch thanks for the help. smile_o.gif

I will try that and let you know how it goes.

Share this post


Link to post
Share on other sites
gee thanks for all the help mal. gosh you are so smart mal.  how did you get to be so smart at this stuff?

it's just lame that you tried to hide it, clue in

Share this post


Link to post
Share on other sites

what i ment about that is that the auto addon server can be set intune with other auto addon servers, IE they can set to the same FTP as others which saves the leach admin some time, and the host allot of ban width

if any require we can offer free dloads since we have been to lazy to reset up the auto addon server (just running mfcti any ways)

Share this post


Link to post
Share on other sites

BTW Thanks for the help Kill Switch. Worked like a champ whatever it was that I did.........can't remember exactly now.

Mal the server and FTP is passworded. If some lame ass admin wants to use my ftp for his autoaddon server I will deal with that IF it happens. Doesn't make sense to me that a guy would broadcast his username and pass just because it is possible for some kid to figure it out and leach it.

Share this post


Link to post
Share on other sites

maybe you should re-read the directions for FTP use

but your post shows you don't understand how it works any ways so what I have explained seems to be above your Comprehension

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×