ÃËœÂÃËœÂØ Posted April 12, 2010 Author Share Posted April 12, 2010 Hi this is Billy Mays with another fantastic fix, if you get an error on an empty shop page when you press "next" (aka ">") and you crash? :( got a little bit tired of that? wait no more, here's the fixIT ALL CLIENT SIDED1) Open your client source2) Find this piece of sh*t, i.. i mean code```'If numItems / 5 - (pageIndex * 5) > 1 ThenIf page < maxpages Then```3) And replace it to this:```If numItems / 5 - (pageIndex * 5) > 1 Then'If page < maxpages Then```That's it :DCompile it and no more errors and NO MORE empty pages, thus, if theres an empty page, you won't even see the button to go to it.~Three Smiley Faced Link to comment Share on other sites More sharing options...
Dennys Posted April 12, 2010 Share Posted April 12, 2010 I dont get an error going to an empty page on a shop. Link to comment Share on other sites More sharing options...
ÃËœÂÃËœÂØ Posted April 12, 2010 Author Share Posted April 12, 2010 Yeah, but click it a few more times, you will get an error.This will also confuse your players, and why would you even need an empty page for??~Three Smiley Faced Link to comment Share on other sites More sharing options...
Dennys Posted April 13, 2010 Share Posted April 13, 2010 I tried to "click it a few more times" but the next button disappears after clicking the next button once. No error anywhere in sight. Link to comment Share on other sites More sharing options...
ÃËœÂÃËœÂØ Posted April 14, 2010 Author Share Posted April 14, 2010 Really? Well you're in luck then i guess, but still this removes any empty pages anyway, better than having a few empty ones :) Link to comment Share on other sites More sharing options...
Dennys Posted April 14, 2010 Share Posted April 14, 2010 Yes your right but it makes me wonder, since it only shows the Next button once, will i be able to have more than 2 pages in a shop? Link to comment Share on other sites More sharing options...
ÃËœÂÃËœÂØ Posted April 17, 2010 Author Share Posted April 17, 2010 ```If numItems / 5 - (pageIndex * 5) > 1 Then```This is the line for how many pages and stuff.So yeah you will be able to :) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now