Commit Graph

4 Commits

Author SHA1 Message Date
cosme12 fea300d397 Update build.php 2015-04-07 21:18:53 -03:00
cosme12 3cec6b5fb9 Building bugs
This bug is a little hard to meet but It's still there. I found it by trying to use NPC merchant while not having a marketplace. It will show an error. The bug happens everytime you type ```build.php?id=5&t=2``` . The problem here is ```t=``` or ```s=```, both are used as tabs in certain buildings, but when it has only 1 page it crash.
For example: market has " Send Resources | Buy | Offer | NPC trading " while clay pit has none. So adding the t= variable to the clay pit would make it display an error.
This is probably not the best way to fix it but it works. Now, there is still another problem, marketplace has 4 tabs, so adding ```&t=5``` will bug it.
It would be better if you can test it again, just in case I broke something :P
2015-04-07 15:47:38 -03:00
Shadowss bea9d93ebb Update build.php 2013-11-01 09:34:27 +02:00
yi12345 98e94af807 finish hero_full.php 2013-06-16 10:38:34 +03:00