PtokaX forum

Lua 5.3/5.2/5.1 Scripts (for PtokaX 0.4.0.0 and newer) => Grimoire => AllInOne Scripts => Grimoire - Support => Topic started by: Azurious on 04 November, 2008, 12:22:04

Title: Custom Rotating Main Message
Post by: Azurious on 04 November, 2008, 12:22:04
I have made some custom rotating main messages & its show automatically after every 10mins as per time set but when i manually tried to view my custom messages from right click "adverts in main" option i got this message & other grimoire defaults are shown [I use latest ptokax & grimoire]

[16:44:21] <???X???????> 'counter-strike' is not an available ascii file. The following files are available for viewing;
         1) hub
         2) Antivirus - custom message
         3) Counter-Strike - custom message
         4) 3cardmonty
         5) anagram
         6) commands
         7) Diwali - custom message
         8) network
         9) numbers
         10) roulette
         11) slotmachine
         12) spellsofchanging
         13) trivia
Title: Re: Custom Custom Rotating Main Message
Post by: Rincewind on 04 November, 2008, 14:00:13
What is in the tRotatingMainMessageFiles table (...\scripts\Rincewind's Grimoire\Settings\Communication\RotatingMainMessage)?
Title: Re: Custom Custom Rotating Main Message
Post by: Azurious on 04 November, 2008, 14:16:34
/RotatingMainMessageSettings.tbl
/RotatingMainMessageFiles.tbl
/Files/trivia.asc
/Files/anagram.asc
/Files/3cardmonty.asc
/Files/Antivirus.asc
/Files/commands.asc
/Files/Counter-Strike.asc
/Files/Diwali.asc
/Files/hub.asc
/Files/network.asc
/Files/numbers.asc
/Files/roulette.asc
/Files/slotmachine.asc
/Files/spellsofchanging.asc

In RotatingMainMessageFiles.tbl

tRotatingMainMessageFiles = {
   "hub",
   "Antivirus",
   "Counter-Strike",
   "3cardmonty",
   "anagram",
   "commands",
   "Diwali",
   "network",
   "numbers",
   "roulette",
   "slotmachine",
   "spellsofchanging",
   "trivia",
}

Title: Re: Custom Custom Rotating Main Message
Post by: Rincewind on 04 November, 2008, 18:57:53
counter-strike is not a valid file but Counter-Strike would be.

Did you use the GUI to add these files or did you add them manually?
Title: Re: Custom Custom Rotating Main Message
Post by: Azurious on 04 November, 2008, 20:33:22
I added them from gui & not even Counter-Strike - Counter-Strike.asc i have tried Diwali - Diwali.asc & Antivirus - Antivirus.asc

i have changed thier names to smaller case & now they r working fine thxx... for helping
Title: Re: Custom Rotating Main Message
Post by: Rincewind on 09 November, 2008, 15:34:10
I'll have a look at this because all file names should be stored in lower case in Grimoire.