|
|
(93 intermediate revisions by 6 users not shown) |
Line 21: |
Line 21: |
| == Projets en cours == | | == Projets en cours == |
| *[[guilds/Les diamants du Nil/Hadès | Hadès]] <br> | | *[[guilds/Les diamants du Nil/Hadès | Hadès]] <br> |
− | *[[guilds/Les diamants du Nil/Puits de pétrole | Puits de pétrole]] <br>
| + | |
− | *[[guilds/Les diamants du Nil/Four Raeli | Four Raeli]] <br>
| |
− | *[[guilds/Les diamants du Nil/acqueduct | Branche d'acqueduct chez nous]] <br>
| |
| *[[guilds/Les diamants du Nil/phoenix | phoenix]] <br> | | *[[guilds/Les diamants du Nil/phoenix | phoenix]] <br> |
| | | |
Line 51: |
Line 49: |
| | | |
| = Informations utiles = | | = Informations utiles = |
| + | |
| + | == Acqueduc près de chez nous == |
| + | |
| + | *[[guilds/Les diamants du Nil/acqueduct | Branche d'acqueduct chez nous]] <br> |
| + | |
| + | == Liste des fours Raeli == |
| + | |
| + | *[[guilds/Les diamants du Nil/Four Raeli | Four Raeli]] <br> |
| + | |
| + | == Vigil == |
| + | |
| + | *[[Guilds/Les_Diamants_du_Nil/Vigil | Vigil]] <br> |
| | | |
| == Recettes traitement métal == | | == Recettes traitement métal == |
− | Recettes de T5 (a vérifier)
| |
| | | |
− | * '''Copper Hard Stainless''':<br> | + | *[[Guilds/Les_Diamants_du_Nil/Traitement du métal]] <br> |
− | 120 cactus, 48 potash
| |
− | * '''Moon steel Hard Insulative Non-toxic''':<br>
| |
− | 170 cactus
| |
− | * '''Pewter Hard Corrosion resitant Insulative Non-toxic''':<br>
| |
− | 230 cactus, 5 gravel
| |
− | * '''Titanium Hard Corrosion-resistant Non-toxic''':<br>
| |
− | 106 cactus, 4 gravel
| |
− | * '''Titanium Hard stainless''':<br>
| |
− | 60 coal, 10 cactus sap, 10 gravel, 15 potash
| |
− | * '''Sun Steel Hard Stainless Insulative''':<br/>
| |
− | 130 cactus sap, 10 gravel, 8 arsenic <br>
| |
− | ou 140 cactus sap, 30 arsenic, 5 catus sap
| |
− | * '''Sun Steel Stainless Insulative''':<br/>
| |
− | 50 cactus sap, 10 gravel, 6 arsenic
| |
| | | |
| == Recettes pour le traitement du bois == | | == Recettes pour le traitement du bois == |
− | Recettes de T5 à vérifier
| |
| | | |
− | '''Black, Rotproof, Termite-resistant, Volatile:'''<br>
| |
− | T6: 185 petrole <br>
| |
| | | |
− | '''Non-toxic, Rotproof, Termite-prone:''' <br>
| + | *[[Guilds/Les_Diamants_du_Nil/Traitement du Bois]] <br> |
− | T6: 240 beeswax, 170 water <br>
| |
− | | |
− | '''Pliable, soft, non-toxic, white:''' <br>
| |
− | 120 salpetre, 10 potasse <br>
| |
− | | |
− | '''Pliable, soft, fireproof, blonde:''' <br>
| |
− | 140 ash, 110 salpêtre, 5 ash, 20 salpêtre
| |
| | | |
| == Recettes de cuisine == | | == Recettes de cuisine == |
Line 103: |
Line 88: |
| === Veines === | | === Veines === |
| | | |
− | <googlemap lat=1200 lon=-1300 zoom=5 width=512 height=512 | + | <googlemap lat=1200 lon=-1300 zoom=5 width=512 height=512 iconlabels="A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,0,1,2,3,4,5,6,7,8,9, Ball,Cir,Dot,DP,Pin,PP,bee,beetle,camel,cobra,drink,fire,fish,flower,GH,grape,plus,pyramid,sheep,tick, Ag,Al,An,Au,Co,Cu,Fe,Go,Ir,Le,Li,Ma,Mg,Pb,Pl,Pt,Sb,Si,Sn,Sr,St,Ti,Tn,Tu,W,Zi,Zn" type=game> |
− | icon="http://www.divineu.com/markers/marker.png" icons="http://www.divineu.com/markers/marker{label}.png" iconsize="32x32" iconanchor'"9x32" iconlabels="A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,0,1,2,3,4,5,6,7,8,9, Ball,Cir,Dot,DP,Pin,PP,bee,beetle,camel,cobra,drink,fire,fish,flower,GH,grape,plus,pyramid,sheep,tick, Ag,Al,An,Au,Co,Cu,Fe,Go,Ir,Le,Li,Ma,Mg,Pb,Pl,Pt,Sb,Si,Sn,Sr,St,Ti,Tn,Tu,W,Zi,Zn" type=game>
| |
| | | |
| (MtCu) 4246, -1634, Cuivre, 4246 -1634 | | (MtCu) 4246, -1634, Cuivre, 4246 -1634 |
Line 115: |
Line 99: |
| === Mines === | | === Mines === |
| | | |
− | <googlemap lat=1600 lon=-1200 zoom=3 width=512 height=512 | + | <googlemap lat=1600 lon=-1200 zoom=3 width=512 height=512 iconlabels="A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,0,1,2,3,4,5,6,7,8,9, Ball,Cir,Dot,DP,Pin,PP,bee,beetle,camel,cobra,drink,fire,fish,flower,GH,grape,plus,pyramid,sheep,tick, Ag,Al,An,Au,Co,Cu,Fe,Go,Ir,Le,Li,Ma,Mg,Pb,Pl,Pt,Sb,Si,Sn,Sr,St,Ti,Tn,Tu,W,Zi,Zn" type=game> |
− | icon="http://www.divineu.com/markers/marker.png" icons="http://www.divineu.com/markers/marker{label}.png" iconsize="32x32" iconanchor'"9x32" iconlabels="A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,0,1,2,3,4,5,6,7,8,9, Ball,Cir,Dot,DP,Pin,PP,bee,beetle,camel,cobra,drink,fire,fish,flower,GH,grape,plus,pyramid,sheep,tick, Ag,Al,An,Au,Co,Cu,Fe,Go,Ir,Le,Li,Ma,Mg,Pb,Pl,Pt,Sb,Si,Sn,Sr,St,Ti,Tn,Tu,W,Zi,Zn" type=game>
| |
| | | |
| (MtCu) 2069, -1465, Cuivre Publique, 2069 -1465 | | (MtCu) 2069, -1465, Cuivre Publique, 2069 -1465 |
Line 128: |
Line 111: |
| <br> | | <br> |
| | | |
− | == Bieres == | + | == Pièges à fennec == |
| + | crée le 26/10/2014 |
| | | |
− | 1130 -911<br>
| + | <googlemap lat=1000 lon=0 zoom=1 width=512 height=512 |
− | Poten dry Muddled : 100H 30MW<br>
| + | iconlabels="A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,0,1,2,3,4,5,6,7,8,9, Ball,Cir,Dot,DP,Pin,PP,bee,beetle,camel,cobra,drink,fire,fish,flower,GH,grape,plus,pyramid,sheep,tick, Ag,Al,An,Au,Co,Cu,Fe,Go,Ir,Le,Li,Ma,Mg,Pb,Pl,Pt,Sb,Si,Sn,Sr,St,Ti,Tn,Tu,W,Zi,Zn" type=game> |
− | Vp dry Brown Muddled : 120H 30MW 10BW<br>
| |
| | | |
− | == Sculptures==
| |
− | <br>
| |
− |
| |
− | == Abeilles Indonésiennes ==
| |
− |
| |
− | groupe de 14 ruches 1106, -1027 (dans la colline près de chez Aseto)
| |
− | <br>
| |
− |
| |
− |
| |
− | {|border="1" cellpadding="5"
| |
− | ! Varieties !!Species !!Color !!Sweet !!Size !!Length
| |
− | |-
| |
− | | Flat
| |
− | | Citron
| |
− | | 486
| |
− | | 320
| |
− | | 642
| |
− | | 747
| |
− | |-
| |
− | |
| |
− | | Coralfruit
| |
− | |
| |
− | |
| |
− | |
| |
− | |
| |
− | |-
| |
− | | Reddish
| |
− | | Corian
| |
− | | 486
| |
− | | 748
| |
− | | 642
| |
− | | 347
| |
− | |-
| |
− | | Long
| |
− | | Corian
| |
− | | 325
| |
− | | 748
| |
− | | 589
| |
− | | 621
| |
− | |-
| |
− | | Tangy
| |
− | | Grapefruit
| |
− | | 515
| |
− | | 304
| |
− | | 762
| |
− | | 451
| |
− | |-
| |
− | | Tangy
| |
− | | Grapefruit
| |
− | | 547
| |
− | | 304
| |
− | | 762
| |
− | | 533
| |
− | |-
| |
− | | Greenish
| |
− | | Lemon
| |
− | | 325
| |
− | | 311
| |
− | | 408
| |
− | | 621
| |
− | |-
| |
− | | Reddish
| |
− | | Lemon
| |
− | | 547
| |
− | | 304
| |
− | | 434
| |
− | | 533
| |
− | |-
| |
− | |
| |
− | | Lenat
| |
− | |
| |
− | |
| |
− | |
| |
− | |
| |
− | |-
| |
− | |
| |
− | | Lime
| |
− | |
| |
− | |
| |
− | |
| |
− | |
| |
− | |-
| |
− | |
| |
− | | Mandarin
| |
− | |
| |
− | |
| |
− | |
| |
− | |
| |
− | |-
| |
− | | Tangy
| |
− | | Orange
| |
− | | 715
| |
− | | 748
| |
− | | 642
| |
− | | 533
| |
− | |-
| |
− | | Greenish
| |
− | | Orange
| |
− | | 676
| |
− | | 783
| |
− | | 642
| |
− | | 533
| |
− | |-
| |
− | |
| |
− | | Pummelo
| |
− | |
| |
− | |
| |
− | |
| |
− | |
| |
− | |-
| |
− | |
| |
− | | Sumerbell
| |
− | |
| |
− | |
| |
− | |
| |
− | |
| |
− | |-
| |
− | | Greenish
| |
− | | Tangelo
| |
− | | 515
| |
− | | 783
| |
− | | 408
| |
− | | 533
| |
− | |-
| |
− | | Greenish
| |
− | | Tangerine
| |
− | | 676
| |
− | | 783
| |
− | | 642
| |
− | | 284
| |
− | |-
| |
− | | Greenish
| |
− | | Tangerine
| |
− | | 715
| |
− | | 748
| |
− | | 575
| |
− | | 347
| |
− | |-
| |
− |
| |
− | |}
| |
| | | |
| + | (L)200, 6100 |
| + | (L)400, 6100 |
| + | (L)600, 6100 |
| + | (L)200, 5800 |
| + | (L)-200, 5800 |
| + | (L)0, 5800 |
| + | (L)400, 5800 |
| + | (L)600, 5800 |
| + | (L)200, 5600 |
| + | (L)-200, 5600 |
| + | (L)0, 5600 |
| + | (L)400, 5600 |
| + | (L)600, 5600 |
| + | (L)200, 5400 |
| + | (L)-200, 5400 |
| + | (L)0, 5400 |
| + | (L)400, 5400 |
| + | (L)600, 5400 |
| + | (L)200, 5200 |
| + | (L)-200, 5200 |
| + | (L)0, 5200 |
| + | (L)400, 5200 |
| + | (L)600, 5200 |
| + | (L)200, 5000 |
| + | (L)-200, 5000 |
| + | (L)0, 5000 |
| + | (L)400, 5000 |
| + | (L)600, 5000 |
| + | (M)600, 4600 |
| + | (M)400, 4600 |
| + | (M)200, 4600 |
| + | (M)0, 4600 |
| + | (M)600, 4000 |
| + | (M)800, 4000 |
| + | (M)400, 4000 |
| + | (M)200, 4000 |
| + | (M)0, 4000 |
| + | (M)600, 4400 |
| + | (M)718, 4400 |
| + | (M)400, 4400 |
| + | (M)200, 4400 |
| + | (M)0, 4400 |
| + | (M)600, 4200 |
| + | (A)200, -700 |
| + | (A)0, -700 |
| + | (A)-200, -700 |
| + | (A)-400, -700 |
| + | (A)-600, -700 |
| + | (A)-600, -880 |
| + | (A)-200, -900 |
| + | (A)0, -900 |
| + | (A)-400, -900 |
| + | (A)200, -900 |
| + | (A)-1900, -860 |
| + | (A)-200, -1100 |
| + | (A)200, -1100 |
| + | (A)0, -1100 |
| + | (A)-400, -1100 |
| + | (A)-600, -1100 |
| + | (A)-800, -1100 |
| + | (A)-1815, -1110 |
| + | (A)-800, -1300 |
| + | (A)-600, -1300 |
| + | (A)-400, -1300 |
| + | (A)-200, -1300 |
| + | (A)0, -1300 |
| + | (A)200, -1300 |
| + | (A)200, -1500 |
| + | (A)-200, -1500 |
| + | (A)-400, -1500 |
| + | (A)-600, -1500 |
| + | (A)-800, -1500 |
| + | (A)-1000, -1500 |
| + | (A)-1200, -1540 |
| + | (A)-1408, -1540 |
| + | (A)-1624, -1500 |
| + | (A)0, -1500 |
| + | (A)-1000, -1300 |
| + | (A)-1200, -1300 |
| + | (A)-1800, -1300 |
| + | (A)-1400, -1300 |
| + | (A)-1540, -1300 |
| + | (A)-1600, -1100 |
| + | (A)-1400, -1100 |
| + | (A)-1200, -1100 |
| + | (A)-1000, -1100 |
| + | (A)-1400, -900 |
| + | (A)-1800, -900 |
| + | (A)-1600, -900 |
| + | (A)-1200, -900 |
| + | (A)-1000, -900 |
| + | (A)-1945, -700 |
| + | (A)-1400, -700 |
| + | (A)-1600, -700 |
| + | (A)-1200, -700 |
| + | (A)-1000, -700 |
| + | (A)-800, -700 |
| + | (A)-400, -520 |
| + | (A)-600, -508 |
| + | (A)-800, -500 |
| + | (A)-1000, -500 |
| + | (A)-1200, -500 |
| + | (A)-1400, -500 |
| + | (A)-1600, -510 |
| + | (A)-1800, -520 |
| + | (B)-1600, -300 |
| + | (B)-1400, -300 |
| + | (B)-1200, -300 |
| + | (B)-1000, -300 |
| + | (B)-600, -300 |
| + | (B)-800, -300 |
| + | (B)-400, -300 |
| + | (B)-1600, -100 |
| + | (B)-1400, -100 |
| + | (B)-1200, -100 |
| + | (B)-1000, -100 |
| + | (B)-800, -100 |
| + | (B)-600, -88 |
| + | (B)-400, -100 |
| + | (B)-400, 100 |
| + | (B)-600, 100 |
| + | (B)-800, 100 |
| + | (B)-1000, 100 |
| + | (B)-1400, 100 |
| + | (B)-1400, 300 |
| + | (B)-1200, 300 |
| + | (B)-1000, 300 |
| + | (B)-820, 300 |
| + | (B)-600, 300 |
| + | (B)-400, 300 |
| + | (B)-200, 100 |
| + | (B)-200, -100 |
| + | (B)-200, -300 |
| + | (B) (C) (D) |
| + | </googlemap> |
| <br> | | <br> |
− |
| |
− | = Outils =
| |
− | == Macros ==
| |
− | // This currently works for my screen resolution 1024:768 with ATITD in full screen
| |
− | // Pin the crematory window in the upper left of the screen as far into the corner as possible
| |
− | // Load with stuff manually and make sure the window is fully refreshed so that the
| |
− | // "fire crematory" button appears and there is no slider bar!
| |
− |
| |
− | // Start the macro - it will click the fire button which will also bring ATITD to the top
| |
− | // Once the crematory has finished go back to ACTOOL and stop the macro - it currently just
| |
− | // has a huge crude loop - it would be relatively easy to monitor the progress bar but I
| |
− | // haven't done that yet
| |
− |
| |
− | // For different screen resolutions I guess use "pixie" or something similar to get coords
| |
− | // Need to change slider and button numbers under slider control for your particular crematory
| |
− | // (The wiki explains how to analyse your crematory)
| |
− |
| |
− | //SACFAR:
| |
− | //Sliders numbered left-to-right 1-7.
| |
− | //Buttons labeled left-to-right 1-5.
| |
− |
| |
− | //Button 1 -> 3, 7
| |
− | //Button 2 -> 1
| |
− | //Button 3 -> 2
| |
− | //Button 4 -> 5, 6
| |
− | //Button 5 -> 4
| |
− |
| |
− |
| |
− |
| |
− | Constants
| |
− |
| |
− |
| |
− |
| |
− | //Make sure the "Take..." option is NOT in the pinup menu or else this script will fail (burn your loaded resources).
| |
− | //Make sure the crematory is completely empty before pinning up the menu, in the upper left corner.
| |
− | //More instructions/screenshots at http://www.atitd.org/wiki/tale4/User:Cegaiel/Macros/Crematory
| |
− |
| |
− | //These settings will work on 1024x768. Only change these it you want it work at a different resolution.
| |
− |
| |
− | // Vertical position of middle of slider bar
| |
− | midSlider = 278
| |
− |
| |
− |
| |
− | // Vertical position of button centres
| |
− | vrtButton = 360
| |
− |
| |
− |
| |
− |
| |
− | // Horizontal positions of seven slider bars
| |
− | hrzSlider1 = 29
| |
− | hrzSlider2 = 65
| |
− | hrzSlider3 = 101
| |
− | hrzSlider4 = 138
| |
− | hrzSlider5 = 173
| |
− | hrzSlider6 = 209
| |
− | hrzSlider7 = 245
| |
− |
| |
− |
| |
− |
| |
− |
| |
− | // Horizontal positions of five button centres
| |
− | hrzButton1 = 57
| |
− | hrzButton2 = 97
| |
− | hrzButton3 = 137
| |
− | hrzButton4 = 177
| |
− | hrzButton5 = 217
| |
− |
| |
− |
| |
− | // Position of left most point of red line
| |
− | hrzRed = 34
| |
− | verRed = 188
| |
− |
| |
− |
| |
− |
| |
− |
| |
− | //Leave these alone
| |
− | count = 0
| |
− | counthi = 0
| |
− | countlo = 0
| |
− | clickflag = 0
| |
− | flag = 1
| |
− | posSlider1 = 0
| |
− | posSlider2 = 0
| |
− | posSlider3 = 0
| |
− | posSlider4 = 0
| |
− | posSlider5 = 0
| |
− | posSlider6 = 0
| |
− | posSlider7 = 0
| |
− | comSlider1 = 0
| |
− | comSlider2 = 0
| |
− | comSlider1old = 0
| |
− | comSlider2old = 0
| |
− | posSlider1old = 0
| |
− | posSlider2old = 0
| |
− | posSlider3old = 0
| |
− | posSlider4old = 0
| |
− | posSlider5old = 0
| |
− | posSlider6old = 0
| |
− | posSlider7old = 0
| |
− | END
| |
− |
| |
− |
| |
− |
| |
− | //Click the top of menu to refresh the menu
| |
− | //MousePos 104, 44
| |
− | MousePos 115, 55
| |
− | delay 200
| |
− | LeftClick
| |
− |
| |
− |
| |
− | // Clicks to fire the crematory (need to specify centre of fire button)
| |
− | MousePos 79, 106
| |
− | delay 200
| |
− | LeftClick
| |
− |
| |
− | // First call to obtain initial positions of sliders
| |
− | call GETSLIDERPOS
| |
− | Compute posSlider1old = $posSlider1
| |
− | Compute posSlider2old = $posSlider2
| |
− | Compute posSlider3old = $posSlider3
| |
− | Compute posSlider4old = $posSlider4
| |
− | Compute posSlider5old = $posSlider5
| |
− | Compute posSlider6old = $posSlider6
| |
− | Compute posSlider7old = $posSlider7
| |
− |
| |
− | // Crude loop at the moment. Should really monitor the progress bar.
| |
− |
| |
− | loop 500
| |
− |
| |
− |
| |
− | //Credit to Daniels for this sniplet of code to watch the red progress bar
| |
− | //and exit script when the bar disappears (when done).
| |
− |
| |
− | // Checks whether the batch is done, breaks loop if so
| |
− | LoadRGB $hrzRed,$verRed
| |
− | delay 100
| |
− | if {RGBRed} < 250
| |
− | break
| |
− | END
| |
− |
| |
− |
| |
− |
| |
− |
| |
− | call GETSLIDERPOS
| |
− |
| |
− | // One slider per button control
| |
− | // Need to alter slider and button numbers for particular crematory
| |
− |
| |
− |
| |
− | //1st single slider/button combo:
| |
− |
| |
− | if $posSlider2 > 0
| |
− | if $posSlider2 > $posSlider2old
| |
− | mousepos $hrzButton2,$vrtButton
| |
− | delay 200
| |
− | LeftClick
| |
− | END
| |
− | END
| |
− | if $posSlider2 < 0
| |
− | if $posSlider2 < $posSlider2old
| |
− | mousepos $hrzButton2,$vrtButton
| |
− | delay 200
| |
− | LeftClick
| |
− | END
| |
− | END
| |
− |
| |
− |
| |
− | //2nd single slider/button combo:
| |
− |
| |
− | if $posSlider4 > 0
| |
− | if $posSlider4 > $posSlider4old
| |
− | mousepos $hrzButton3,$vrtButton
| |
− | delay 200
| |
− | LeftClick
| |
− | END
| |
− | END
| |
− | if $posSlider4 < 0
| |
− | if $posSlider4 < $posSlider4old
| |
− | mousepos $hrzButton3,$vrtButton
| |
− | delay 200
| |
− | LeftClick
| |
− | END
| |
− | END
| |
− |
| |
− |
| |
− | //3rd single slider/button combo:
| |
− |
| |
− | if $posSlider3 > 0
| |
− | if $posSlider3 > $posSlider3old
| |
− | mousepos $hrzButton5,$vrtButton
| |
− | delay 200
| |
− | LeftClick
| |
− | END
| |
− | END
| |
− | if $posSlider3 < 0
| |
− | if $posSlider3 < $posSlider3old
| |
− | mousepos $hrzButton5,$vrtButton
| |
− | delay 200
| |
− | LeftClick
| |
− | END
| |
− | END
| |
− |
| |
− | // Two sliders per button control (use centre of mass, i.e. average)
| |
− | // Need to alter slider and button numbers for particular crematory
| |
− | //Note Editing a slider number is $posSlider#, not comSlider#. Do not change the 1 or 2 on $comSlider1 and $comSlider2
| |
− |
| |
− | //1st two slider/one button combo:
| |
− |
| |
− | Compute comSlider1 = MAX(ABS($posSlider1),ABS($posSlider6))
| |
− | Compute comSlider1old = MAX(ABS($posSlider1old),ABS($posSlider6old))
| |
− |
| |
− | if $comSlider1 > $comSlider1old
| |
− | mousepos $hrzButton1,$vrtButton
| |
− | delay 200
| |
− | LeftClick
| |
− | END
| |
− |
| |
− | //2nd two slider/one button combo:
| |
− |
| |
− | Compute comSlider2 = MAX(ABS($posSlider5),ABS($posSlider7))
| |
− | Compute comSlider2old = MAX(ABS($posSlider5old),ABS($posSlider7old))
| |
− | if $comSlider2 > $comSlider2old
| |
− | mousepos $hrzButton4,$vrtButton
| |
− | delay 200
| |
− | LeftClick
| |
− | END
| |
− |
| |
− |
| |
− |
| |
− | Compute posSlider1old = $posSlider1
| |
− | Compute posSlider2old = $posSlider2
| |
− | Compute posSlider3old = $posSlider3
| |
− | Compute posSlider4old = $posSlider4
| |
− | Compute posSlider5old = $posSlider5
| |
− | Compute posSlider6old = $posSlider6
| |
− | Compute posSlider7old = $posSlider7
| |
− |
| |
− | END
| |
− |
| |
− | // Procedure to find slider positions
| |
− |
| |
− | Procedure GETSLIDERPOS
| |
− |
| |
− | Compute counthi = $midSlider
| |
− | Compute countlo = $midSlider
| |
− | Compute flag = 1
| |
− | IsBlack $hrzSlider1, $midSlider
| |
− | Compute posSlider1 = 0
| |
− | Compute flag = 0
| |
− | END
| |
− | while $flag > 0
| |
− | Compute counthi = $counthi + 6
| |
− | IsBlack $hrzSlider1, $counthi
| |
− | Compute posSlider1 = $midSlider - $counthi
| |
− | Compute flag = 0
| |
− | END
| |
− | Compute countlo = $countlo - 6
| |
− | IsBlack $hrzSlider1, $countlo
| |
− | Compute posSlider1 = $midSlider - $countlo
| |
− | Compute flag = 0
| |
− | END
| |
− | END
| |
− |
| |
− | Compute counthi = $midSlider
| |
− | Compute countlo = $midSlider
| |
− | Compute flag = 1
| |
− | IsBlack $hrzSlider2, $midSlider
| |
− | Compute posSlider2 = 0
| |
− | Compute flag = 0
| |
− | END
| |
− | while $flag > 0
| |
− | Compute counthi = $counthi + 6
| |
− | IsBlack $hrzSlider2, $counthi
| |
− | Compute posSlider2 = $midSlider - $counthi
| |
− | Compute flag = 0
| |
− | END
| |
− | Compute countlo = $countlo - 6
| |
− | IsBlack $hrzSlider2, $countlo
| |
− | Compute posSlider2 = $midSlider - $countlo
| |
− | Compute flag = 0
| |
− | END
| |
− | END
| |
− |
| |
− | Compute counthi = $midSlider
| |
− | Compute countlo = $midSlider
| |
− | Compute flag = 1
| |
− | IsBlack $hrzSlider3, $midSlider
| |
− | Compute posSlider3 = 0
| |
− | Compute flag = 0
| |
− | END
| |
− | while $flag > 0
| |
− | Compute counthi = $counthi + 6
| |
− | IsBlack $hrzSlider3, $counthi
| |
− | Compute posSlider3 = $midSlider - $counthi
| |
− | Compute flag = 0
| |
− | END
| |
− | Compute countlo = $countlo - 6
| |
− | IsBlack $hrzSlider3, $countlo
| |
− | Compute posSlider3 = $midSlider - $countlo
| |
− | Compute flag = 0
| |
− | END
| |
− | END
| |
− |
| |
− | Compute counthi = $midSlider
| |
− | Compute countlo = $midSlider
| |
− | Compute flag = 1
| |
− | IsBlack $hrzSlider4, $midSlider
| |
− | Compute posSlider4 = 0
| |
− | Compute flag = 0
| |
− | END
| |
− | while $flag > 0
| |
− | Compute counthi = $counthi + 6
| |
− | IsBlack $hrzSlider4, $counthi
| |
− | Compute posSlider4 = $midSlider - $counthi
| |
− | Compute flag = 0
| |
− | END
| |
− | Compute countlo = $countlo - 6
| |
− | IsBlack $hrzSlider4, $countlo
| |
− | Compute posSlider4 = $midSlider - $countlo
| |
− | Compute flag = 0
| |
− | END
| |
− | END
| |
− |
| |
− | Compute counthi = $midSlider
| |
− | Compute countlo = $midSlider
| |
− | Compute flag = 1
| |
− | IsBlack $hrzSlider5, $midSlider
| |
− | Compute posSlider5 = 0
| |
− | Compute flag = 0
| |
− | END
| |
− | while $flag > 0
| |
− | Compute counthi = $counthi + 6
| |
− | IsBlack $hrzSlider5, $counthi
| |
− | Compute posSlider5 = $midSlider - $counthi
| |
− | Compute flag = 0
| |
− | END
| |
− | Compute countlo = $countlo - 6
| |
− | IsBlack $hrzSlider5, $countlo
| |
− | Compute posSlider5 = $midSlider - $countlo
| |
− | Compute flag = 0
| |
− | END
| |
− | END
| |
− |
| |
− | Compute counthi = $midSlider
| |
− | Compute countlo = $midSlider
| |
− | Compute flag = 1
| |
− | IsBlack $hrzSlider6, $midSlider
| |
− | Compute posSlider6 = 0
| |
− | Compute flag = 0
| |
− | END
| |
− | while $flag > 0
| |
− | Compute counthi = $counthi + 6
| |
− | IsBlack $hrzSlider6, $counthi
| |
− | Compute posSlider6 = $midSlider - $counthi
| |
− | Compute flag = 0
| |
− | END
| |
− | Compute countlo = $countlo - 6
| |
− | IsBlack $hrzSlider6, $countlo
| |
− | Compute posSlider6 = $midSlider - $countlo
| |
− | Compute flag = 0
| |
− | END
| |
− | END
| |
− |
| |
− | Compute counthi = $midSlider
| |
− | Compute countlo = $midSlider
| |
− | Compute flag = 1
| |
− | IsBlack $hrzSlider7, $midSlider
| |
− | Compute posSlider7 = 0
| |
− | Compute flag = 0
| |
− | END
| |
− | while $flag > 0
| |
− | Compute counthi = $counthi + 6
| |
− | IsBlack $hrzSlider7, $counthi
| |
− | Compute posSlider7 = $midSlider - $counthi
| |
− | Compute flag = 0
| |
− | END
| |
− | Compute countlo = $countlo - 6
| |
− | IsBlack $hrzSlider7, $countlo
| |
− | Compute posSlider7 = $midSlider - $countlo
| |
− | Compute flag = 0
| |
− | END
| |
− | END
| |
− |
| |
− | END
| |
− |
| |
− | <br>
| |
− | = Tests =
| |
− | *[[guilds/Les diamants du Nil/vigie | vigie]] <br>
| |
− | *[[guilds/Les diamants du Nil/pélérinage | pélérinage]] <br>
| |
− | <br>
| |
− |
| |
− |
| |
− | [[Category:Guilds]]
| |
− | {{DEFAULTSORT:Les Diamants du Nil}}
| |