![]() |
House System
1 Attachment(s)
About
This house system allows players to click Enter House and get warped to their own personal house. Yuu can also click Invite friends to invite players to your house. How to use it? Attached is the House System I am currently working on. To use it add this right to yourself rw levels/houses*.nw then upload the default_house.nw file and the default_house_inside.nw to there, next add rw levels/houses*.nw to the NPC-Servers rights. Now all you need to do is add the HouseSystem (WEAPON).txt file as a weapon script to your'e server and add the Furniture (CLASS).txt file as a class. If there are problems with the script or any bugs, please post here. Future Additions 1. Improvements on the furniture system. Updated It now features two levels, an inside and outside level for each player. It also has a furniture button, which isn't working yet, but I will release an update here when I script it. It also now has a furniture system, Enter you're house and click Furniture. To add furniture to youre self add clientr.furniture.chair=chair.png etc etc. To place furniture left click, to remove it right click. Credits 1. Gunderak (Gunderak) - The outside level and scripts. 2. TNC (fight4life) - The inside level. -Enjoy |
Can you make a quick list of features? I want to see what it can do. I've never seen a house system before other than Era's so it'll be cool to see what you've done.
|
One it allows you to enter you're house.
Two it allows you to invite other players to you're house. Three when you exit you get warped right back where you were. |
Quote:
|
Quote:
|
Quote:
|
Bump :3
-Updated |
Quote:
|
Read Updated bit lol
It now features two levels, an inside and outside level for each player. It also has a furniture button, which isn't working yet, but I will release an update here when I script it. It also now has a furniture system, Enter you're house and click Furniture. To add furniture to youre self add clientr.furniture.chair=chair.png etc etc. To place furniture left click, to remove it right click. EDIT You have to also add folder config. level houses/*.nw |
It wont freakin work and its kinda making me mad ;(
|
I'm really excited for when servers implement Gunderak's scripts, so I can exploit all their security flaws and become a Graal God.
|
Quote:
Also you should tell us what exactly is not working. Are the buttons not showing up? Won´t it warp you? Also what kind of computer you got? MAC? Windows? And what Graal version are you using? |
Quote:
And how would you exploit them? you probably don't even know the first thing about hacking. |
Quote:
|
Quote:
I took a minute to look over your code and found quite a few things he could exploit. He could generate all the house levels he wanted with a trigger, warp into people's houses and drag in their owner's without permission, place furniture in any level he wanted, use your furniture placer to display naughty images (this can be done without exploiting a script though), destroy people's furniture without permission. |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Your system is horrid, and there's more problems with it then the obvious security ones but I don't care enough to tell you how to fix everything.
Pretty much all the problems stem from no server-side validation whatsoever. Problem: He could generate all the house levels he wanted with a trigger. Solution: Only allow levels to be generated when the player enters the house. If the levels don't exist when player's are invited to them have an error appear instead. Force the player to enter their house before even allowing them to invite people to it. Problem: Warp into people's houses and drag in their owner's without permission. Solution: Your invite system needs to be re-designed so there's an actual invite on the server-side the owner has to accept. If people aren't supposed to be in the house when the owner's not there, don't let them warp to it. Problem: Place furniture in any level he wanted. Solution: Make sure the player is in his house or has permission to lay furniture in the level. You should also make sure they actually have that piece of furniture as well. Problem: Use your furniture placer to display naughty images (this can be done without exploiting a script though). Solution: There's a server option you can use, it's a disable-all allow only a few solution though. Just display the image to client only by using 200 or above instead. Quote:
Solution: Add a check to confirm the player has permission to destroy the furniture. I.e: If they're the actual owner of the house. |
Thanks for the informative post, I will try to fix all issues when I am home.
|
one glitch within your house script is if a player is in jail they can enter their house and exit their house and easily get out of jail
|
Quote:
A generic check like this could be added to prevent warping: PHP Code:
|
from what ive heard hezzy is a pretty notorious hacker lol.
|
Quote:
red dragons |
Bumped much? lol
And bahahaha this is my old script. |
Quote:
I honestly hate when people post of a script "To help help the Graal community" then when people give suggestions how to make them better or more efficient they 'brush them to the side' and the script is never actually finished. In my opinion those type of "helping community posts" should be deleted since they aren't too great. Or put into a template section.. You should go back and fix up your old script so it can be once again considered good. :] If I were you I'd remake the thread once it is finished and delete this one so it stays on the first page / post. |
Quote:
|
David, I have fixed it up and added new features.
But it's in use on Corinthia and I will not be releasing it. |
| All times are GMT +2. The time now is 04:50 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.