Advertisement
Guest User

VSMODE

a guest
Jan 19th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.49 KB | None | 0 0
  1. vsmodeTeee is the init function, it just gets mapped to window.Init so that the rest of the web page can access it.
  2.  
  3. VSMODECODE1 is the current player's GameID, mods normally set this to 1 and it is how the game checks to see if your save code belongs to you. the GameID is used in basically every game with saves/uploads. It is encoded in the same charset the save code is encoded in.
  4.  
  5. VSMODECODE20 is what language should be used for the game, 0 is japanese and 1 is English
  6.  
  7. VSMODECODE17 is the current save file from the player's cookie that is loaded on page load.
  8.  
  9. VSMODECODE2 is the current player's PostID, used in all postings but doesnt do anything to my knowledge. Basically just gets sent to the server when posting. Encoded in the same charset as the savecode.
  10.  
  11. VSMODECODE5 is the enemy's TeamID, just gets sent to the server when the fight is over, not encoded.
  12.  
  13. Lines 1605-7 are supposed to have the enemy team's shorthand save, but instead you have it rewrite a to VSMODECODE1?
  14.  
  15. arguement r is multi use, haven't done too much research on this one but I believe it is set by the server as it is an error handler in every other case.
  16.  
  17. VSMODECODE10 is the player's TeamID, not encoded and does the same thing as VSMODECODE5.
  18.  
  19. VSMODECODE3 is the player's name.
  20.  
  21. VSMODECODE4 is the player's team name.
  22.  
  23. VSMODECODE6 is the enemy's name.
  24.  
  25. VSMODECODE7 is the enemy's team name.
  26.  
  27. VSMODECODE19 is the unencoded VSMODECODE1, used in the save code.
  28.  
  29. line 66 is supposed to be VSMODECODE11
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement