Advertisement
Guest User

Untitled

a guest
May 24th, 2016
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.49 KB | None | 0 0
  1. 22:16 - Noob: looks like this http://i.imgur.com/RYZQgbv.jpg
  2. 22:16 - IzNoGoD #noticket: u didnt center the route name?
  3. 22:16 - IzNoGoD #noticket: wot
  4. 22:16 - Noob: I didn't make it
  5. 22:16 - IzNoGoD #noticket: prev/next have different fontscale compared to names/times
  6. 22:17 - Noob: yeah, they should be smaller
  7. 22:17 - Noob: If you see any poptential bugs, I would aprreciate if you told me xd
  8. 22:18 - IzNoGoD #noticket: oh im seeing so much shitty code lol
  9. 22:18 - IzNoGoD #noticket: 9999999 as a number
  10. 22:18 - IzNoGoD #noticket: and as a string
  11. 22:18 - Noob: xd
  12. 22:18 - IzNoGoD #noticket: *shivers
  13. 22:18 - Noob: lol
  14. 22:18 - IzNoGoD #noticket: ugh not using undefined for anything
  15. 22:18 - Noob: this is the guy
  16. 22:18 - Noob: https://www.youtube.com/user/paap15/videos
  17. 22:18 - IzNoGoD #noticket: its there for a reason
  18. 22:18 - Noob: I didn't write it
  19. 22:19 - Noob: I am just happy it works
  20. 22:21 - IzNoGoD #noticket: wtf is this
  21. 22:21 - IzNoGoD #noticket: he's using 999999 where he should be using undefined
  22. 22:21 - IzNoGoD #noticket: using undefined where he should be using false
  23. 22:21 - Noob: All I know is it works
  24. 22:21 - IzNoGoD #noticket: istouching() isntead of waittill on triggers
  25. 22:21 - Noob: Not saying it's perfect
  26. 22:21 - Noob: but works
  27. 22:22 - Noob: Is any of it exploitable? Or crash-causing?
  28. 22:22 - IzNoGoD #noticket: crash causing ye
  29. 22:22 - Noob: Which
  30. 22:23 - IzNoGoD #noticket: oh god
  31. 22:23 - IzNoGoD #noticket: race condition
  32. 22:23 - IzNoGoD #noticket: ugh
  33. 22:23 - Noob: ?
  34. 22:23 - IzNoGoD #noticket: line 906 for excample
  35. 22:23 - IzNoGoD #noticket: theres a notify easy_stop
  36. 22:23 - IzNoGoD #noticket: and on 907 theres checkpointreset
  37. 22:23 - IzNoGoD #noticket: checkpointreset also fires a easy_stop
  38. 22:23 - IzNoGoD #noticket: thats no biggy though
  39. 22:24 - Noob: Is any of it actually crash-causing?
  40. 22:24 - IzNoGoD #noticket: ye
  41. 22:24 - IzNoGoD #noticket: if i connect a few times to it and disconnect
  42. 22:24 - IzNoGoD #noticket: then theres too many variables in use
  43. 22:24 - IzNoGoD #noticket: cause nothing ends on disconnect
  44. 22:24 - Noob: That will actually crash?
  45. 22:24 - IzNoGoD #noticket: dunno how many connects itll take
  46. 22:24 - IzNoGoD #noticket: but eventually itll crash
  47. 22:25 - Noob: Shit
  48. 22:25 - IzNoGoD #noticket: and
  49. 22:25 - IzNoGoD #noticket: for example
  50. 22:25 - IzNoGoD #noticket: look at line 1014
  51. 22:25 - IzNoGoD #noticket: thread checkpointreset()
  52. 22:25 - IzNoGoD #noticket: followed on 1017 by interpluschk
  53. 22:25 - IzNoGoD #noticket: ()
  54. 22:25 - IzNoGoD #noticket: checkpointreset fires a notify interplus_stop
  55. 22:25 - IzNoGoD #noticket: which interpluschk ends on
  56. 22:26 - IzNoGoD #noticket: race condition
  57. 22:26 - IzNoGoD #noticket: cant tell which one will execute first
  58. 22:26 - IzNoGoD #noticket: if it reads the endon first, interpluschk will not actually run
  59. 22:26 - IzNoGoD #noticket: same for all other routes
  60. 22:27 - IzNoGoD #noticket: and
  61. 22:27 - IzNoGoD #noticket: if you get all records filled
  62. 22:27 - IzNoGoD #noticket: with players of the max name length
  63. 22:27 - IzNoGoD #noticket: which is 32 iirc
  64. 22:27 - IzNoGoD #noticket: maybe its 16 though
  65. 22:27 - IzNoGoD #noticket: not entirely sure
  66. 22:27 - Noob: think 16
  67. 22:27 - Noob: 3xP'FirsbeeSky is limit so
  68. 22:27 - IzNoGoD #noticket: ah
  69. 22:28 - Noob: it won't go too far
  70. 22:28 - IzNoGoD #noticket: anyway you're way too close to the 1024 char limit in your scores_mapname dvar
  71. 22:28 - IzNoGoD #noticket: 16 chars per name
  72. 22:28 - IzNoGoD #noticket: +1 char for the ,
  73. 22:28 - IzNoGoD #noticket: +8 for guid
  74. 22:28 - IzNoGoD #noticket: + 1 for ,
  75. 22:28 - IzNoGoD #noticket: +idk for time, lets say 6 chars
  76. 22:28 - IzNoGoD #noticket: + the ;
  77. 22:28 - IzNoGoD #noticket: times 5 routes times 6 records
  78. 22:29 - IzNoGoD #noticket: thats 30*33 chars
  79. 22:29 - IzNoGoD #noticket: 990
  80. 22:29 - IzNoGoD #noticket: too close to 1024 for comfort.
  81. 22:29 - IzNoGoD #noticket: lets say everyone takes forever to finish
  82. 22:29 - IzNoGoD #noticket: so youll have 8 chars in your time part
  83. 22:30 - Noob: Ok well thanks for the input
  84. 22:30 - IzNoGoD #noticket: and wtf is this shit
  85. 22:30 - IzNoGoD #noticket: lol
  86. 22:30 - Noob: Any suggestions on fix?
  87. 22:30 - IzNoGoD #noticket: its not bugging but
  88. 22:30 - IzNoGoD #noticket: first he resets scores_mapname dvar
  89. 22:30 - IzNoGoD #noticket: then he uses addtodvar(scores_mapname, something)
  90. 22:30 - IzNoGoD #noticket: addtodvar reads the current value of scores_mapname (which is an empty string) and adds the something to it
  91. 22:30 - IzNoGoD #noticket: why not use setdvar instead
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement