0 Members and 1 Guest are viewing this topic.
Installation Simply extract contents of .zip file into scripts folder within the 2.6.3 or more recent version of Soldat Dedicated Server.Creating your own advertisements It may seem a bit odd from there. It would probably be easiest to delete everything.  The first line is how often an advertisement is shown (in ticks, 60 ticks is 1 second).  The second line is how many advertisements there are.  The third line is how many lines in the message of advertisement.  The following lines (number of lines depends on previous line) contains the messages in the advertisement. Be sure to include the command that redirects the player to the server in one of these lines.  After the messages comes the command to redirect the player. Remember that Soldat prevents commands any shorter than three characters in length. This may be used to your advantage if you are advertising something other than a Soldat server.  The IP of the server to redirect the player to. The IP must be in w.x.y.z form (w, x, y, and z are numbers)  The port of the server to redirect the player to.  The next ad (if needed; repeats from line three but with appropriate information) Notes:  Blank lines are ignored.  When the script is expecting a number, do not have a 0.  Passwords are and can not be supported as of server v2.6.3. Save the file. You can either restart the server, recompile Ads (or whatever it may be named), or use the /loadads command.Operating System With line break issues, there has been a constant included at the top of the script with the line break character(s) used to separate lines in data.txt. The example contains \r\n, which is what windows uses, although you may need to change this depending on your OS.
1350031Ever play SoldiBall? Try it out: /soldiballsoldiball67.106.77.193300871Try out the popular Bombski's MultiMode with /multimodemultimode85.14.218.119250731Come and try out MiracleMod using /mmodmmod72.232.225.6623073
nice script, i just dont get why you would use ticks as interval.. seconds would be just fine.
1 question, does it show a random add every interval, or all the ads? i like saike's idea of getting together with a few servers, but i dont want massive server spam