How to change Update Path or News Path
Forum rules
This forum houses many years of development, tracing back to some of the earliest posts that exist on the board.
Its current use is for the continued development of the server and game it has always served: TMW Classic.
How to change Update Path or News Path
Hi all,
ive got a few questions. Hoe i can change the default update path? i found some entry in the config.xml i my private folders. but if i change the news or update path the game said that theire is an error etc. hoe i can add my own news or change that the updates are put in the main folder of TMW?
ive got a few questions. Hoe i can change the default update path? i found some entry in the config.xml i my private folders. but if i change the news or update path the game said that theire is an error etc. hoe i can add my own news or change that the updates are put in the main folder of TMW?
When you change the updatehost and the updater isn't working it is most likely because your new updatehost isn't set up correctly. The directory where the updatehost points to must contain:
-news.txt: the newstext
-resources2.txt: a text file listing all updates and their adler32 checksums (we use a php script to auto-generate this)
-all the updates as zip archives
When you post your update URL I could take a look at it and try to find out what you did wrong.
-news.txt: the newstext
-resources2.txt: a text file listing all updates and their adler32 checksums (we use a php script to auto-generate this)
-all the updates as zip archives
When you post your update URL I could take a look at it and try to find out what you did wrong.
- former Manasource Programmer
- former TMW Pixel artist
- NOT a game master
Please do not send me any inquiries regarding player accounts on TMW.
You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
- Bjørn
- Manasource
- Posts: 1438
- Joined: 09 Dec 2004, 18:50
- Location: North Rhine-Westphalia, Germany
- Contact:
We do not use PHP to auto-generate this, but instead rely on errors in the client log to show us the values they should be, and then enter this in the resources2.txt file (one at a time). Nice idea about the PHP script though.Crush wrote:-resources2.txt: a text file listing all updates and their adler32 checksums (we use a php script to auto-generate this)
then what is the resource2.php doing in the updatehost folder?
- former Manasource Programmer
- former TMW Pixel artist
- NOT a game master
Please do not send me any inquiries regarding player accounts on TMW.
You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
hmm. i think nobody understand what i want
The Installation of TMW creates a folder in my privtae dokuments where the updates and the config.xml where placed in.
I dont want that the TMW Installation do this. i want a Update folder in the main installation folder of TMW where the exe was.
How can i do such things?
The Installation of TMW creates a folder in my privtae dokuments where the updates and the config.xml where placed in.
I dont want that the TMW Installation do this. i want a Update folder in the main installation folder of TMW where the exe was.
How can i do such things?
- ElvenProgrammer
- Founder
- Posts: 2526
- Joined: 13 Apr 2004, 19:11
- Location: Italy
- Contact:
For what do you need a compiled tmwserv?
It isn't developed far enough to host a game worth playing. When you want to help with the development you should be able to compile it yourself. When you don't want to help with the development tmwserv has no use for you yet.
We will provide precompiled packages of tmwserv as soon as it becomes useful.
It isn't developed far enough to host a game worth playing. When you want to help with the development you should be able to compile it yourself. When you don't want to help with the development tmwserv has no use for you yet.
We will provide precompiled packages of tmwserv as soon as it becomes useful.
- former Manasource Programmer
- former TMW Pixel artist
- NOT a game master
Please do not send me any inquiries regarding player accounts on TMW.
You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
- Bjørn
- Manasource
- Posts: 1438
- Joined: 09 Dec 2004, 18:50
- Location: North Rhine-Westphalia, Germany
- Contact:
Sending a set of headers to make sure the thing isn't cached by evil proxies:Crush wrote:then what is the resource2.php doing in the updatehost folder?
Code: Select all
$ cat resources2.php
[?php
header("Content-type: text/plain");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
print file_get_contents ("resources2.txt");
?]