gfxgfx
 
Please login or register.

Login with username, password and session length
 
gfx gfx
gfx
75436 Posts in 13210 Topics by 2646 Members - Latest Member: Birchy65 December 15, 2017, 10:21:13 am
*
gfx*gfx
gfx
WinMX World :: Forum  |  Metis Scripts and Help  |  Games  |  Nascar Game - 1 works, 1 doesn't
gfx
gfxgfx
 

Author Topic: Nascar Game - 1 works, 1 doesn't  (Read 1748 times)

0 Members and 1 Guest are viewing this topic.

Offline Bielzebub

  • MX Hosts
  • *****
Nascar Game - 1 works, 1 doesn't
« on: January 03, 2008, 06:56:52 pm »
Host {ß{¥}£} Kîñg ÑµT M¢ßîe£ze> !race
{ß{¥}£} Kîñg ÑµT M¢ßîe£ze starts engine
{ß{¥}£} Kîñg ÑµT M¢ßîe£ze follows pace car
{ß{¥}£} Kîñg ÑµT M¢ßîe£ze waits on green flag
{ß{¥}£} Kîñg ÑµT M¢ßîe£ze sees green flag drop
{ß{¥}£} Kîñg ÑµT M¢ßîe£ze leads first lap
Todd Bodine in car number 4 leads lap 2
Brian Vickers in car number 83 leads lap 3
Reed Sorenson in car number 41 leads lap 4
Matt Kenseth in car number 17 blows a tyre and brings out a caution
Joe Nemechek in car number 78 takes on 4 new tyres, some fuel and a trackbar adjustment
Paul Menard in car number 15 comes out leader after a caution
Kasey Kahne in car number 9 leads lap 6
John Andretti in car number 49 leads lap 7
Clint Bowyer in car number 07 leads lap 8
Jeff Gordon in car number 24 leads lap 9
Due to rough driving, Martin Truex Jr. in car number 1 has been black flagged
Joe Nemechek in car number 78 has won

No matter how hard i try using a copy of a script that works fine below, the above one won't run preoperly and always generates the same outputs even though it is set on random

Offline Bielzebub

  • MX Hosts
  • *****
Re: Nascar Game - 1 works, 1 doesn't
« Reply #1 on: January 03, 2008, 06:59:58 pm »
Ugh dammit, on review, neither of these versions work properly, but game - nascar.xml (15.19 KB) used to so I have no idea what is wrong and it is annoying me now

Offline reef

  • WMW Volunteer
  • *****
  • ***
Re: Nascar Game - 1 works, 1 doesn't
« Reply #2 on: January 03, 2008, 11:34:40 pm »
hey Bielzebub.... just mucked around with this... all u have to do is change:

Code: [Select]
<command type="script" mode="thread">
                       to

Code: [Select]
<command type="script">
and it wiorks fine (or did for me anyways)   

nice mod of the game.... looks good   :)


Offline p2p rules

  • Forum Member
Re: Nascar Game - 1 works, 1 doesn't
« Reply #3 on: July 23, 2008, 08:45:04 am »
Thanks for posting the script.It's nice version Bielzebub & thanks to Reef for the tip on how to fix it.

I edited this script to work in ZCS , I removed all the /hidecmd because the nascar game doesn't work right in ZCS with /hidecmd /privnotice %NAME% in the script.  I also changed the words tyre & tyres to tire & tires.

Copy and paste the below script to a  new .txt file, then rename it nascar and change the extension to .xml. Copy the nascar.xml to your Metis plugins folder. Add <include file="nascar.xml"/> to your MXC.xml file. Reload MXC.xml in your bot & enjoy Nascar racing. :)


Code: [Select]
<config>

<command type="script">
<in>!race</in>
<out delay="3000">/privnotice %NAME% #c1#%NAME%#c51# starts engine</out>
<out delay="2000">/privnotice %NAME% #c1#%NAME%#c51# follows pace car</out> 
<out delay="2000">/privnotice %NAME% #c1#%NAME%#c51# waits on green flag</out>
<out delay="2000">/privnotice %NAME% #c1#%NAME%#c51# sees green flag drop</out>
<out delay="2000">/privnotice %NAME% #c1#%NAME%#c51# leads first lap</out>
<out type="push" extdata="4"><operator type="+" lvalue="%RANDOMNUM[10]%" rvalue="1"/></out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="1">/privnotice %NAME% #c1#%NAME%#c51# leads lap 2</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="2">/privnotice %NAME% #c8#Earnhardt#c51# leads lap 2</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="3">/privnotice %NAME% #c8#Gordon#c51# leads lap 2</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="4">/privnotice %NAME% #c8#Johnson#c51# leads lap 2</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="5">/privnotice %NAME% #c8#Kenseth#c51# leads lap 2</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="6">/privnotice %NAME% #c8#Hamlin#c51# leads lap 2</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="7">/privnotice %NAME% #c1#%NAME%#c51# leads lap 2</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="8">/privnotice %NAME% #c8#Stewart#c51# leads lap 2</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="9">/privnotice %NAME% #c8#Petty#c51# leads lap 2</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="10">/privnotice %NAME% #c8#Sadler#c51# leads lap 2</out>
<out type="push" extdata="4"><operator type="+" lvalue="%RANDOMNUM[10]%" rvalue="1"/></out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="1">/privnotice %NAME% #c1#%NAME%#c51# leads lap 3</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="2">/privnotice %NAME% #c8#Earnhardt#c51# leads lap 3</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="3">/privnotice %NAME% #c8#Gordon#c51# leads lap 3</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="4">/privnotice %NAME% #c8#Johnson#c51# leads lap 3</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="5">/privnotice %NAME% #c8#Kenseth#c51# leads lap 3</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="6">/privnotice %NAME% #c8#Hamlin#c51# leads lap 3</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="7">/privnotice %NAME% #c1#%NAME%#c51# leads lap 3</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="8">/privnotice %NAME% #c8#Stewart#c51# leads lap 3</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="9">/privnotice %NAME% #c8#Petty#c51# leads lap 3</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="10">/privnotice %NAME% #c8#Sadler#c51# leads lap 3</out>
<out type="push" extdata="4"><operator type="+" lvalue="%RANDOMNUM[10]%" rvalue="1"/></out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="1">/privnotice %NAME% #c1#%NAME%#c51# leads lap 4</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="2">/privnotice %NAME% #c8#Earnhardt#c51# leads lap 4</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="3">/privnotice %NAME% #c8#Gordon#c51# leads lap 4</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="4">/privnotice %NAME% #c8#Johnson#c51# leads lap 4</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="5">/privnotice %NAME% #c8#Kenseth#c51# leads lap 4</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="6">/privnotice %NAME% #c8#Hamlin#c51# leads lap 4</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="7">/privnotice %NAME% #c1#%NAME%#c51# leads lap 4</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="8">/privnotice %NAME% #c8#Stewart#c51# leads lap 4</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="9">/privnotice %NAME% #c8#Petty#c51# leads lap 4</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="10">/privnotice %NAME% #c8#Sadler#c51# leads lap 4</out>
<out type="push" extdata="4"><operator type="+" lvalue="%RANDOMNUM[9]%" rvalue="1"/></out> 
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="1">/privnotice %NAME% #c1#%NAME%#c51# scrapes wall and brings out a caution</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="2">/privnotice %NAME% #c8#Earnhardt#c51# blows a tire and brings out a caution</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="3">/privnotice %NAME% #c8#Gordon#c51# blows a tire and brings out a caution</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="4">/privnotice %NAME% #c8#Johnson#c51# blows a tire and brings out a caution</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="5">/privnotice %NAME% #c8#Kenseth#c51# scrapes wall and brings out a caution</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="6">/privnotice %NAME% #c8#Hamlin#c51# blows a tire and brings out a caution</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="7">/privnotice %NAME% #c51#Debris on track ... #c8#Caution</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="8">/privnotice %NAME% #c8#Stewart#c51# scrapes wall and brings out a caution</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="9">/privnotice %NAME% #c8#Debris on track brings out a caution</out>
<out type="push" extdata="4"><operator type="+" lvalue="%RANDOMNUM[4]%" rvalue="1"/></out> 
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="1">/privnotice %NAME% #c1#%NAME%#c51# takes 2 tires and gets track bar adjustment</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="2">/privnotice %NAME% #c1#%NAME%#c51# takes 4 tires and gets track bar adjustment</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="3">/privnotice %NAME% #c1#%NAME%#c51# takes 2 tires</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="4">/privnotice %NAME% #c1#%NAME%#c51# takes 2 tires and splash of gas</out>
<out type="push" extdata="4"><operator type="+" lvalue="%RANDOMNUM[10]%" rvalue="1"/></out> 
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="1">/privnotice %NAME% #c1#%NAME%#c51# comes out leader after caution</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="2">/privnotice %NAME% #c8#Earnhardt#c51# comes out leader after caution</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="3">/privnotice %NAME% #c8#Gordon#c51# comes out leader after caution</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="4">/privnotice %NAME% #c8#Johnson#c51# comes out leader after caution</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="5">/privnotice %NAME% #c8#Kenseth#c51# comes out leader after caution</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="6">/privnotice %NAME% #c8#Hamlin#c51# comes out leader after caution</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="7">/privnotice %NAME% #c1#%NAME%#c51# comes out leader after caution</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="8">/privnotice %NAME% #c8#Stewart#c51# comes out leader after caution</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="9">/privnotice %NAME% #c8#Petty#c51# comes out leader after caution</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="10">/privnotice %NAME% #c8#Sadler#c51# comes out leader after caution</out>
<out type="push" extdata="4"><operator type="+" lvalue="%RANDOMNUM[10]%" rvalue="1"/></out> 
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="1">/privnotice %NAME% #c1#%NAME%#c51# leads lap 6</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="2">/privnotice %NAME% #c8#Earnhardt#c51# leads lap 6</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="3">/privnotice %NAME% #c8#Gordon#c51# leads lap 6</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="4">/privnotice %NAME% #c8#Johnson#c51# leads lap 6</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="5">/privnotice %NAME% #c8#Kenseth#c51# leads lap 6</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="6">/privnotice %NAME% #c8#Hamlin#c51# leads lap 6</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="7">/privnotice %NAME% #c1#%NAME%#c51# leads lap 6</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="8">/privnotice %NAME% #c8#Stewart#c51# leads lap 6</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="9">/privnotice %NAME% #c8#Petty#c51# leads lap 6</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="10">/privnotice %NAME% #c8#Sadler#c51# leads lap 6</out>
<out type="push" extdata="4"><operator type="+" lvalue="%RANDOMNUM[10]%" rvalue="1"/></out> 
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="1">/privnotice %NAME% #c1#%NAME%#c51# leads lap 7</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="2">/privnotice %NAME% #c8#Earnhardt#c51# leads lap 7</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="3">/privnotice %NAME% #c8#Gordon#c51# leads lap 7</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="4">/privnotice %NAME% #c8#Johnson#c51# leads lap 7</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="5">/privnotice %NAME% #c8#Kenseth#c51# leads lap 7</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="6">/privnotice %NAME% #c8#Hamlin#c51# leads lap 7</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="7">/privnotice %NAME% #c1#%NAME%#c51# leads lap 7</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="8">/privnotice %NAME% #c8#Stewart#c51# leads lap 7</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="9">/privnotice %NAME% #c8#Petty#c51# leads lap 7</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="10">/privnotice %NAME% #c8#Sadler#c51# leads lap 7</out>
<out type="push" extdata="4"><operator type="+" lvalue="%RANDOMNUM[10]%" rvalue="1"/></out> 
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="1">/privnotice %NAME% #c1#%NAME%#c51# leads lap 8</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="2">/privnotice %NAME% #c8#Earnhardt#c51# leads lap 8</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="3">/privnotice %NAME% #c8#Gordon#c51# leads lap 8</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="4">/privnotice %NAME% #c8#Johnson#c51# leads lap 8</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="5">/privnotice %NAME% #c8#Kenseth#c51# leads lap 8</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="6">/privnotice %NAME% #c8#Hamlin#c51# leads lap 8</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="7">/privnotice %NAME% #c1#%NAME%#c51# leads lap 8</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="8">/privnotice %NAME% #c8#Stewart#c51# leads lap 8</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="9">/privnotice %NAME% #c8#Petty#c51# leads lap 8</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="10">/privnotice %NAME% #c8#Sadler#c51# leads lap 8</out>
<out type="push" extdata="4"><operator type="+" lvalue="%RANDOMNUM[10]%" rvalue="1"/></out> 
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="1">/privnotice %NAME% #c1#%NAME%#c8# #c8# leads lap 9</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="2">/privnotice %NAME% #c8#Earnhardt#c51# leads lap 9</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="3">/privnotice %NAME% #c8#Gordon#c51# leads lap 9</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="4">/privnotice %NAME% #c8#Johnson#c51# leads lap 9</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="5">/privnotice %NAME% #c8#Kenseth#c51# leads lap 9</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="6">/privnotice %NAME% #c8#Hamlin#c51# leads lap 9</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="7">/privnotice %NAME% #c1#%NAME%#c51# leads lap 9</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="8">/privnotice %NAME% #c8#Stewart#c51# leads lap 9</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="9">/privnotice %NAME% #c8#Petty#c51# leads lap 9</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="10">/privnotice %NAME% #c8#Sadler#c51# leads lap 9</out>
<out type="push" extdata="4"><operator type="+" lvalue="%RANDOMNUM[3]%" rvalue="1"/></out> 
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="1">/privnotice %NAME% #c51#Due to rough driving, #c8#Earnhardt#c51# is black flagged</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="2">/privnotice %NAME% #c51#Due to rough driving, #c8#Gordon#c51# is black flagged</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="3">/privnotice %NAME% #c51#Due to rough driving, #c8#Stewart#c51# is black flagged</out>
<out type="push" extdata="4"><operator type="+" lvalue="%RANDOMNUM[7]%" rvalue="1"/></out> 
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="1">#c1#%NAME%#c51# spins across finish line to win</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="2">#c8#Johnson#c51# goes high to win</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="3">#c8#Kenseth#c51# goes low to win</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="4">#c8#Hamlin#c51# goes high to win</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="5">#c1#%NAME%#c51# goes low to win</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="6">#c8#Petty#c51# goes high to win</out>
<out delay="2000" condition="==" lvalue="%USERVAR[4]%" rvalue="7">#c8#Sadler#c51# goes high to win</out>
</command>

</config>

WinMX World :: Forum  |  Metis Scripts and Help  |  Games  |  Nascar Game - 1 works, 1 doesn't
 

gfxgfx
gfx
©2005-2017 WinMXWorld.com. All rights reserved.
SMF 2.0.15 | SMF © 2017, Simple Machines
Page created in 0.032 seconds with 17 queries.
Helios Multi © Bloc
gfx
Powered by MySQL Powered by PHP Valid XHTML 1.0! Valid CSS!