Guest Posted September 20, 2011 Share Posted September 20, 2011 I was thinking that is there anyway on making a building system?Like you build things and can tear it down?If someone greatful enough to share your version of the building system then PM me .I'll give credit :) -Kindly, Night~ Link to comment Share on other sites More sharing options...
Scott Posted September 20, 2011 Share Posted September 20, 2011 I think there is an outdated player map editor tutorial some where, other than that your on your own. Link to comment Share on other sites More sharing options...
erkro1 Posted September 21, 2011 Share Posted September 21, 2011 http://www.touchofdeathforums.com/smf/index.php/topic,65616.0.html Link to comment Share on other sites More sharing options...
Alatar Posted September 21, 2011 Share Posted September 21, 2011 Hmmm, do not use that. Link to comment Share on other sites More sharing options...
Chukillz Posted September 21, 2011 Share Posted September 21, 2011 i would use it if it worked with EOv2 hahaha Link to comment Share on other sites More sharing options...
Guest Posted September 21, 2011 Share Posted September 21, 2011 Hmmm. Any fix anyways? Link to comment Share on other sites More sharing options...
Justn Posted September 26, 2011 Share Posted September 26, 2011 It does work with eo2.0 but there is one problem players can buy houses already owned by other players i'm not sure how to add a check to prevent that. The manager npc allows the owenr to sell his map but the npc just sells the map to whoever comes and talks to it if they got gold =) and the map can be edited by anyone. If you can find another way of giving your houses to people or doing it manually it works fine. :P Link to comment Share on other sites More sharing options...
RyokuHasu Posted September 26, 2011 Share Posted September 26, 2011 >.> Im assuming you are using regular map files and the map rec.In Private Type MapRecadd to the bottom "owner as Long"an upon buying the map SET the owner to the MapRecthen check for an owner when another person tries to buy it.If they sell the home, either remove the owner from the rec OR change the owner if your allowing player to player Home sales. Link to comment Share on other sites More sharing options...
Justn Posted September 26, 2011 Share Posted September 26, 2011 If i did that could i get rid of the .ini file? Link to comment Share on other sites More sharing options...
RyokuHasu Posted September 26, 2011 Share Posted September 26, 2011 O.o… it uses an .ini file? ....FOR WHAT!? XD just wondering...Scratch that.. it looks like it already has an owner storage... FOR THE LOVE OF GOD HOW HARD CAN IT BE TO CHECK FOR AN OWNER OF SOMTHING!?!?! XD Link to comment Share on other sites More sharing options...
Justn Posted September 26, 2011 Share Posted September 26, 2011 When a player creates a new character it places the the players name in an ini file like so```{Server Options}Justn=0Ryoku=0ect..```The '0' means the player currently doesn't own a map/house.When the player interacts with the 'manager npc' it will check to see if the player ownership is 0 if so it will allow a player to purchase a map/house.Then it writes the map number by the players name```Justn=3Ryoku=0```Now if i go back to the npc and talk it will see that i already own map number 3 so it will ask me if i want to sell it back to the npc and it changes my number back to 0\. The problem is when Ryoku comes to the 'manger npc' for map/house #3 it will check to see if you own a house since you dont it will allow you to buy the same house as me```Justn=3Ryoku=3```Allowing both players to edit and destroy the house =pEdit: This is the only check it does```If MapOwner = 0 Then HType = "Buy" HGold = HBuy Else If MapOwner = HMapNum Then HType = "Sell" HGold = HSell``` Link to comment Share on other sites More sharing options...
erkro1 Posted September 26, 2011 Share Posted September 26, 2011 Thats a very bad way of doing it, do it like Ryoku said, its way easier. ;) 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