| Blockland Forums > Modification Help |
| survivalRP - holywtf bump! and maybe finishing up some loose ends?? |
| << < (262/347) > >> |
| AGlass0fMilk:
--- Code: ---if(!isObject(HUD_SRPStats)) { //Add the HUD to the Play GUI exec("./HUD.gui"); PlayGUI.add(HUD_SRPStats); HUD_SRPStats.setVisible(0); } --- End code --- I understand the resolution error. And this part should work. The "!" in the "isObject" Statement basically means "If is not object", "!" being the not operator. When it loads up, if the hud is not an object, it executes the HUD gui file, and add's it to the PlayGUI (using the ".add" method) and then it sets it to be invisible. The invisible part is necessary because if it were visible, you would be able to see it on any server. Whereas when you join a server hosting the Survival RP mod, it does some client to server, server to client magic and tells it to turn visible. tl;dr That's probably not the problem, make sure you are hosting the mod, and have the client hud (the separate one that's not part of the mod) out of your add-ons. |
| AGlass0fMilk:
Ok, when you download the new one, don't be handicapped, delete all old instances of the file. I'm not going to code hundreds of lines of code to protect you from your own stupidity. You must take the incentive to delete all other files of this when a new version is released. It turns out, that the HUD is working fine, as people who have recently downloaded it, including Blastdown, Clockturn, and Tom the Polymer said. It also works for me. People must remember that once they download the newest version DELETE ALL OLDER VERSIONS OF IT I am not going to idiot-proof this add-on as I don't want to waste my time doing so. The HUD works perfectly. I am going to put up the new download here. Also, people who actually have the mod (not many of you do, I mean the Survival RP mod as a whole), don't need to have the Client Sided HUD in their add-ons, as it comes with the Gamemode. ANY OTHER INSTANCES WILL BREAK THE HUD Please continue to smack your face against the desk for not deleting the file, causing me to go crazy. I will do it too, as I am supposed to give you the instructions to do so, but I failed to, so technically, it's my fault. I hope this gets through to all of you idiots out there, otherwise, don't use the HUD, as it's not necessary, but I like it. _____________________________ _____________________________ _______________________ Ok, I'm just going to post this again, so people can download it, the right way. |
| LegoEggo:
--- Quote from: Tom on July 28, 2009, 11:54:07 PM ---EDIT: Lego, I don't think I'm gonna give you the files until me and milk have tested them. The beat would be a lot more useful ran by the scripters, because if something goes wrong we can troubleshoot it ourselves. --- End quote --- Ya I agree, no point in getting lots of people to test it - after all, the less we test it, the better it'll turn out! |
| Digmaster:
but 200 people running around a server richarding around leads to a much worst test experience then ten guys who are working; trust me, after you become a number you stop sending bug reports, and the people working on it get mroe suggestions then bugs. Keep it small. |
| Tom:
Beta server up. |
| Navigation |
| Message Index |
| Next page |
| Previous page |