.txt

 Forum Forum rules Search FAQ
BunnyTrack Training
.txt
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
EsToKe
USER: ESTOKE

PlayerPlayer
PostPosted: Wed Jul 27, 2005 14:27    Post subject: .txt
Reply with quote

Hi, I´m trying to install BT training mutator but I have some issues.

1- Could some one give a example of a .txt file ?

2-Do I need MySQL to use BT trainigmutator? if so, How do I use it? where are the .sql entries?

3-In the instructions it is said as a requeriment a web server. It must be on same computer or it can be any webserver? It is correct to use:
FetchURL=http://www.example.com/example_fetch.php?
SetURL=http://www.example.com/example_seturl.php?
or it must be:
FetchURL=www.example.com/example_fetch.php?
SetURL=www.example.com/example_seturl.php?
like in other ut mutators ???


Thx in advance.


[i4g]Medic
USER: MEDIC

i4Games Head Admini4Games Head Admin
PostPosted: Wed Jul 27, 2005 14:43    Post subject: Re: .txt
Reply with quote

EsToKe wrote:
1- Could some one give a example of a .txt file ?


I don't have any within hand reach. But it should look like this:

Code:
say CTF-BT-MapFile
mutate btraw 0 0 0.0 0.0 0.0 16384 1.0 1.0 1.0 16384
mutate btraw 0 1 0.0 0.0 0.0 16384 1.0 1.0 1.0 16384
mutate btraw 1 0 0.0 0.0 0.0 16384 1.0 1.0 1.0 16384
mutate btraw 1 1 0.0 0.0 0.0 16384 1.0 1.0 1.0 16384


Basically, the txt file contains console commands you can call back with "exec filename.txt" while being in a local session.

EsToKe wrote:
2-Do I need MySQL to use BT trainigmutator? if so, How do I use it? where are the .sql entries?


You don't need MySQL. And if you use it, you also need the webserver with the PHP scripts which take care of the SQL queries.
You can use the .txt files directly as I explained above.

EsToKe wrote:
3-In the instructions it is said as a requeriment a web server. It must be on same computer or it can be any webserver?


It can be on any server. Adapt the host in the config accordingly.
The webserver (MySQL/PHP) is needed for a production server. Because otherwise, you need the txt files and to do the exec command all the time.

EsToKe wrote:
It is correct to use:
FetchURL=http://www.example.com/example_fetch.php?
SetURL=http://www.example.com/example_seturl.php?
or it must be:
FetchURL=www.example.com/example_fetch.php?
SetURL=www.example.com/example_seturl.php?
like in other ut mutators ???


Don't include the http://. Simply start with the host name.


EsToKe
USER: ESTOKE

PlayerPlayer
PostPosted: Wed Jul 27, 2005 14:53    Post subject: Reply with quote

First of all thx for your answer.

English is not my native languaje, could u explain this better?

Quote:
Because otherwise, you need the txt files and to do the exec command all the time.


Thx again.


[i4g]Medic
USER: MEDIC

i4Games Head Admini4Games Head Admin
PostPosted: Wed Jul 27, 2005 15:12    Post subject: Reply with quote

I mean that without a webserver to manage the coordinates database, you will have to play with txt files only.
And it will require you to use the "exec ctf-bt-mapname.txt" console command every time a map starts (in admin mode).


EsToKe
USER: ESTOKE

PlayerPlayer
PostPosted: Wed Jul 27, 2005 15:24    Post subject: Reply with quote

Rolling Eyes

Ok, I have a webserver (MySQL/PHP) , so how do I setup? so I can forgot the exec .txt command every time I load a map


Thx Wink


EsToKe
USER: ESTOKE

PlayerPlayer
PostPosted: Wed Jul 27, 2005 19:24    Post subject: Reply with quote

Now I have everythig setup properly (I hope so).I have 2 more Qs:


1-The mapnames must be "CTF-BT" prefix, or it can be "BT" ?

2-

Code:
say CTF-BT-MapFile
mutate btraw 0 0 0.0 0.0 0.0 16384 1.0 1.0 1.0 16384
mutate btraw 0 1 0.0 0.0 0.0 16384 1.0 1.0 1.0 16384
mutate btraw 1 0 0.0 0.0 0.0 16384 1.0 1.0 1.0 16384
mutate btraw 1 1 0.0 0.0 0.0 16384 1.0 1.0 1.0 16384


"btraw" it´s not in the console commands in the README.txt, what it does ?

"16384" what´s the meaning of this ?

Thx again Wink


DanBennett
USER: DANOMANUK

Wicked Sick!!Wicked Sick!!
PostPosted: Wed Jul 27, 2005 21:07    Post subject: Reply with quote

EsToKe wrote:

1-The mapnames must be "CTF-BT" prefix, or it can be "BT" ?



It is fully up to you, But with (if u use it) The map vote you must specify that CTF-BT- for BT- is for Bunnytrack Smile


[i4g]Medic
USER: MEDIC

i4Games Head Admini4Games Head Admin
PostPosted: Thu Jul 28, 2005 07:33    Post subject: Reply with quote

EsToKe wrote:
1-The mapnames must be "CTF-BT" prefix, or it can be "BT" ?


It doesn't matter. But if you want to send us files, use the CTF-BT prefix though.

EsToKe wrote:

2-

Code:
say CTF-BT-MapFile
mutate btraw 0 0 0.0 0.0 0.0 16384 1.0 1.0 1.0 16384
mutate btraw 0 1 0.0 0.0 0.0 16384 1.0 1.0 1.0 16384
mutate btraw 1 0 0.0 0.0 0.0 16384 1.0 1.0 1.0 16384
mutate btraw 1 1 0.0 0.0 0.0 16384 1.0 1.0 1.0 16384


"btraw" it´s not in the console commands in the README.txt, what it does ?

"16384" what´s the meaning of this ?


You asked for a txt file example... These are raw data and you don't want/need to know their exact meaning. Wink That's why this command is not documented as you will never need it in game.

Basicallly, the btraw command creates a teleporter AND a destination with raw coordinates data. 16384 is some orientation value.


EsToKe
USER: ESTOKE

PlayerPlayer
PostPosted: Fri Aug 05, 2005 13:44    Post subject: Reply with quote

Thx for your answers. Wink

No I´ll make a need post with the bugs I found.


Display posts from previous:   
Post new topic   Reply to topic All times are GMT
Page 1 of 1

 


Powered by phpBB © phpBB Group