gfxgfx
 
Please login or register.

Login with username, password and session length
 
gfx gfx
gfx
76774 Posts in 13500 Topics by 1651 Members - Latest Member: insider4ever March 28, 2024, 11:19:57 am
*
gfx*gfx
gfx
WinMX World :: Forum  |  Metis Scripts and Help  |  Games  |  Trivia Stats 1.1 by ®êêf
gfx
gfxgfx
 

Author Topic: Trivia Stats 1.1 by ®êêf  (Read 5874 times)

0 Members and 1 Guest are viewing this topic.

Offline reef

  • WMW Volunteer
  • *****
  • ***
Trivia Stats 1.1 by ®êêf
« on: November 11, 2008, 05:53:30 am »
Script must go into a seperate bot from the 1 running trivia

Install Instructions:

Unzip "triv stats.xml" and Trivia Stats folder to your bots "Plugins"
folder.

Edit "triv stats.xml" changing trivia on/off triggers (to match
your own).

Edit directory to match your own.

Add this line to your
MXC.xml (or another appropriate place) <include file="triv stats.xml"/>


Commands

 !mytrivia                   [look up your 1st 2nd and 3rd place finishes]
       
 !triviastats param      [look up another players stats] - param is           
                                 players name (colour codes needed if exist - do not use players rawname)
                         
 !trivia HS                  [displays player with most 1st place finishes]


Enjoy :)

Offline reef

  • WMW Volunteer
  • *****
  • ***
Re: Trivia Stats 1.1 by ®êêf
« Reply #1 on: November 11, 2008, 08:02:55 am »
Found a rather large flaw in this that i over looked lol    player does  RANKING    all top 3 players are credited with a win.  :oops:  will update it when/if i get it sorted out.

Offline gypsyroadhog

  • Forum Member
Re: Trivia Stats 1.1 by ®êêf
« Reply #2 on: November 11, 2008, 02:13:43 pm »
Looks very prommising and something i been after for months
Hope you can sort it Reef...Fingers crossed here  :-D

Offline reef

  • WMW Volunteer
  • *****
  • ***
Re: Trivia Stats 1.1 by ®êêf
« Reply #3 on: November 11, 2008, 08:57:31 pm »
Script updated.... download from same place. Haven't had much chance to test it since updating... any more problems/bugs let me know... thanks  :)

Offline gypsyroadhog

  • Forum Member
Re: Trivia Stats 1.1 by ®êêf
« Reply #4 on: November 11, 2008, 10:04:13 pm »
Cheers Reef
Will try it out pronto
Well Done.....i think alot of Trivia hosts have been wanting something like this :-D

Offline reef

  • WMW Volunteer
  • *****
  • ***
Re: Trivia Stats 1.1 by ®êêf
« Reply #5 on: November 11, 2008, 10:54:32 pm »
Cheers gypsyroadhog

it's not too pretty, there will be heaps of files created in the Trivia Stats folder,with a possibilty of 3 files per name (no greater than 1 or 2 KB in size).... possibly some bugs as well, but my metis scripting skills are pretty limited compared to some. Just thought i'd give it a go and try and produce something new for trivia hosts to use until something better comes along. Any improvements to this would be welcomed. :)

Offline reef

  • WMW Volunteer
  • *****
  • ***
Re: Trivia Stats 1.1 by ®êêf
« Reply #6 on: November 12, 2008, 11:02:59 am »
Fixed inactive players from gaining wins - players with (00 points)

Edit: Attachment Deleted

Offline reef

  • WMW Volunteer
  • *****
  • ***
Re: Trivia Stats 1.1 by ®êêf
« Reply #7 on: November 12, 2008, 11:52:51 am »
Just fixed some "goto"s that were out of range... no feature changes

last 1 for awhile hopefully     lol

Offline gypsyroadhog

  • Forum Member
Re: Trivia Stats 1.1 by ®êêf
« Reply #8 on: November 12, 2008, 07:18:13 pm »
Hi
I'm having a bit of trouble getting it to work
can you tell me what bot you used the script with
i'm trying with Metis 2.6
sorry to be a pain.

Offline reef

  • WMW Volunteer
  • *****
  • ***
Re: Trivia Stats 1.1 by ®êêf
« Reply #9 on: November 12, 2008, 08:14:05 pm »
The Metis bot i'm running it in is:   RoboMX207 Metis270Test6

i just tried it in metis 2.6 as well and it wouldnt work either

Offline gypsyroadhog

  • Forum Member
Re: Trivia Stats 1.1 by ®êêf
« Reply #10 on: November 12, 2008, 08:56:47 pm »
Thankyou for your quick reply Reef
I think with metis 2.6 it reads the addon not the plugin folder...i may be wrong
Thanks anyways  :-D

Offline reef

  • WMW Volunteer
  • *****
  • ***
Re: Trivia Stats 1.1 by ®êêf
« Reply #11 on: November 12, 2008, 09:17:43 pm »
I don't think it has anything to do with add-ons folder gypsyroadhog. I think the problem is the way 2.6 reads uservars. Anyways, tested on a bare bones fresh install of RoboMX 2.08 Metisb1m4 and it worked correctly on there as well, so if you want it to work you'll have to throw it into something later than 2.6 :)

Offline gypsyroadhog

  • Forum Member
Re: Trivia Stats 1.1 by ®êêf
« Reply #12 on: November 12, 2008, 09:53:06 pm »
Thanks Reef
my last question (i hope lol)
what bot are you using for the trivia(and what are your start/end for it)....im using metis 2.8
but cannot find the trigger to start and end the game
the info will display but not record eg
<gypsyroadhog_> !mytrivia
<Metis..>  
<Metis..>      gypsyroadhog_ Trivia Stats:
<Metis..>      ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
 
<Metis..>      First Place Finishes: 
<Metis..>      Second Place Finishes: 
<Metis..>      Third Place Finishes: 

Offline reef

  • WMW Volunteer
  • *****
  • ***
Re: Trivia Stats 1.1 by ®êêf
« Reply #13 on: November 13, 2008, 08:26:22 am »
Well i guess i assumed that anybody runnin a trivia type room would already have room triggers to start and stop trivia.... should never assume!  lol        i run trivia in  RoboMX206 Metis270Test6 and use this script for starting and stopping trivia in the room

Code: [Select]
<config>

<command type="script">
<in type="exact">!trivia start</in>
<in type="exact">!trivia</in>
<in type="exact">!trivia on</in>
<in type="exact">!start trivia</in>
<out>#c2#Trivia Loading#c1#......</out>
<out delay="5000">#c2#Please Wait#c1#...</out>
<out type="control">/mxc trivia start</out>
<out>#c4#Trivia Ready Let's Play!</out>
</command>

<command type="script">
<in type="exact">!trivia stop</in>
<in type="exact">!stop trivia</in>
<in type="exact">!trivia off</in>
<out>#c2#Trivia Closing Down#c8#..... </out>
<out type="control">/mxc trivia stop</out>
<out delay="5000">#c8#..... </out>
<out>#c4#Trivia is Now Stopped! #c6#Thanks For Turning Trivia Off ;)</out>
</command>

</config>

That enables anybody in the room to start or stop a game of trivia (and is needed for the triv stats script to work correctly).

Cheerz


Offline gypsyroadhog

  • Forum Member
Re: Trivia Stats 1.1 by ®êêf
« Reply #14 on: November 13, 2008, 12:28:23 pm »
Thanks Reef
and thats new to me, ive always started the game by right clicking in the bot and clicking "start endless game"
then activate my timer bot...which makes each game last 20 mins....and trivia is running endlessly...soon as 1 game ends a new 1 starts
How long does your games last then...or do you have to manually start/ finish them?
Thanks again for your help  :-D

Offline gypsyroadhog

  • Forum Member
Re: Trivia Stats 1.1 by ®êêf
« Reply #15 on: November 13, 2008, 05:00:05 pm »
I cant believe this now
every RoboMX206 ive downloaded today has an empty Plugin folder
Can any1 help me with a copy that has that folder intact with its contents...b4 i rip my hair out.

WinMX World :: Forum  |  Metis Scripts and Help  |  Games  |  Trivia Stats 1.1 by ®êêf
 

gfxgfx
gfx
©2005-2024 WinMXWorld.com. All Rights Reserved.
SMF 2.0.19 | SMF © 2021, Simple Machines | Terms and Policies
Page created in 0.02 seconds with 24 queries.
Helios Multi © Bloc
gfx
Powered by MySQL Powered by PHP Valid XHTML 1.0! Valid CSS!