Advertisement
EnerG218

Untitled

May 21st, 2013
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.65 KB | None | 0 0
  1. ~Orivexes: so this is gonna be a bit of an experiment
  2. ~Orivexes: be sure to tell your users that you may have to wipe the data at some point
  3. ~Orivexes: anyways
  4. ~Orivexes: http://hastebin.com/bojepikoqu.pas
  5. +EnerG218: ok
  6. ~Orivexes: that should all be copy-pasted into a file to be called pokemon.mysql
  7. +EnerG218: thanks :)
  8. ~Orivexes: they're called stored procedures
  9. ~Orivexes: now... i don't remember exactly how to run them lol
  10. ~Orivexes: sorry, it's been a really long time
  11. +EnerG218: lol its ok
  12. ~Orivexes: but once you feed them into mysql, it's like a bunch of functions to run the league
  13. ~Orivexes: so like
  14. ~Orivexes: my javascript only tells mysql to execute these things
  15. ~Orivexes: a lot of the stuff is done through here
  16. ~Orivexes: it does some neat things, like detects for unique names so you won't end up with like, some loser having two gyms
  17. ~Orivexes: you'll need a database called pokemon probably
  18. ~Orivexes: and a user with full access to the database
  19. ~Orivexes: you'll also want to make sure your computer is pretty darn secure
  20. ~Orivexes: once you get that running and stuff, um... try executing a few of the procedures purely in mysql to make sure it works
  21. +EnerG218: do i just name it pokemon and a mySQL file or do i name it pokemon.mysql
  22. ~Orivexes: again, i kinda forgot how to do it
  23. ~Orivexes: name it pokemon.mysql
  24. +EnerG218: where do i put it, just in pokemon-showdown ?
  25. ~Orivexes: uh literally anywhere?
  26. ~Orivexes: mysql is kinda
  27. ~Orivexes: in a different place
  28. ~Orivexes: it's like a big excel spreadsheet, sorta
  29. ~Orivexes: 'cept more for programming and stuff
  30. +EnerG218: so what format?
  31. +EnerG218: like as a notepad?
  32. ~Orivexes: yeah
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement