Advertisement
Guest User

flame preview thing

a guest
Dec 17th, 2012
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.57 KB | None | 0 0
  1. <?php
  2. $data = $_POST["url"];
  3. $data = str_replace("&", "=", $data);
  4. $data = explode("=", $data);
  5.  
  6. ?>
  7. <b>Linux</b>
  8. <ol>
  9. <li>Go to <font face="Courier New">/home/yourname/.wine/drive_c/games/Toribash-x.xx/custom/</font>.</li>
  10. <li>Open the folder of the player you want to preview the flame on.</li>
  11. <li>Open <font face="Courier New">item.dat</font>.</li>
  12. <li>Follow the instructions in the "Finishing" section.</li>
  13. </ol>
  14. <b>Mac</b>
  15. <ol>
  16. <li>Sorry, I don't know the directory. Maybe someone can tell me?</li>
  17. </ol>
  18. <b>Windows</b>
  19. <ol>
  20. <li>Go to <font face="Courier New">C:\Program Files\Games\Toribash-x.xx\custom\</font>.</li>
  21. <li>Open the folder of the player you want to preview the flame on.</li>
  22. <li>Open <font face="Courier New">item.dat</font>.</li>
  23. <li>Follow the instructions in the "Finishing" section.</li>
  24. </ol>
  25. <b>Finishing</b>
  26. <ol>
  27. <li>Find the line beggining with "FLAME".</li>
  28. <li>If this line already has values instead of zeros, go to the next "FLAME" line that does have zeros and replace "FLAME 0" with "FLAME 1" (or whatever the number is)</li>
  29. <li>Paste this in there:</li>
  30. </ol>
  31.  
  32. FLAME 0;
  33.  
  34. <?php
  35.  
  36. for ($i = 5; $i < 110; $i = $i + 2)
  37. {
  38. echo "$data[$i] ";
  39. }
  40. ?>
  41. <br>
  42. <br>
  43. <b>box's flame preview thingy</b><br>
  44. <ol>
  45. <li>Edit your flame in the in-game Flame Forge.</li>
  46. <li>Click on "create".</li>
  47. <li>Copy the entire, un-edited URL of the page that appears.</li>
  48. <li>Paste it in the box below.</li>
  49. </ol>
  50. <form action="" method="POST">
  51. <textarea name="url" rows="4" cols="50"></textarea><br>
  52. <input type="submit" value="Submit">
  53. </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement