View Single Post
  #11  
Old 09-27-2019, 01:26 AM
Rogean Rogean is offline
¯\_(ツ)_/¯

Rogean's Avatar

Join Date: Oct 2009
Location: Massachusetts
Posts: 5,393
Default

Quote:
Originally Posted by soronil [You must be logged in to view images. Log in or Register.]
pretty sure this is just a macro

/sit
/viewport 0 0 0 0

and

/stand
/viewport 0 0 1920 1080 (or whatever)

You can play this way if you want!
It wasn't. It was fully functional code. I could show you the same functionality clicking the spell book on the Default UI if I wanted.

It did utilize the viewport code to accomplish it though.

Part of it:

Code:
	if (GameState == 5 && *(UIWnd **)0x850C30) {
		if ((*(UIWnd **)0x850C30)->Visible) {
			*(DWORD *)0x923780 = 1;
			*(DWORD *)0x923784 = 1;
		} else {
			*(DWORD *)0x923780 = 1920;
			*(DWORD *)0x923784 = 1080;
		}
	}
The variables being adjusted there are the Client's Viewport settings.
__________________
Sean "Rogean" Norton
Project 1999 Co-Manager

Project 1999 Setup Guide