ID:173445
 
How do you Make a door so you can walk through it? do i need to make an icon file or somthing?
After looking back on all of your posts, I think I should direct you to a new game creation system:

RPGMaker95

You seem to have the "gimme" attitude to coding. Rather than asking how over and over again until you get a code snippet, which you have been doing, despite the clear answers thrown your way, you should be trying to figure stuff out on your own. Asking for a little help every now and then is alright, but "Can I have the code for my completely original game the likes of which BYOND has never seen before, and will never again see the likes of for all time?" is definitely NOT alright.

The reason people won't answer you is because they will ask you how your guild system is set up, and you respond with three posts repeating EXACTLY what you said in the first. I've got news, the SAME people crawl these forums, and you won't get a different answer if you post the same thread over and over, especially if they are within a day or so of each other.

These questions have simple solutions, and are done very commonly on BYOND, I'm certain you could figure things out on your own if you actually tried.
In response to Ter13
Ter13 wrote:
After looking back on all of your posts, I think I should direct you to a new game creation system:

RPGMaker95

You seem to have the "gimme" attitude to coding. Rather than asking how over and over again until you get a code snippet, which you have been doing, despite the clear answers thrown your way, you should be trying to figure stuff out on your own. Asking for a little help every now and then is alright, but "Can I have the code for my completely original game the likes of which BYOND has never seen before, and will never again see the likes of for all time?" is definitely NOT alright.

The reason people won't answer you is because they will ask you how your guild system is set up, and you respond with three posts repeating EXACTLY what you said in the first. I've got news, the SAME people crawl these forums, and you won't get a different answer if you post the same thread over and over, especially if they are within a day or so of each other.

These questions have simple solutions, and are done very commonly on BYOND, I'm certain you could figure things out on your own if you actually tried.

My guild system is made up so only group members can recruit ppl into the guild which is fine cuz most ppl dont want ppl who can invite themselfs in all i need is a way that so that i can make only guild members enter the house and no one else
In response to Govegtos
Listen, pal. It would be a lot simpler to read what you have to say if you would make an effort to use pausing symbols. You can find these keys in these such places... The period (.) to the bottom-right of the 'L' key. The comma (,) to the bottom-left of the 'L' key. Maybe you should look up some 4th grade grammar classes, they may just be easy enough for you to start out at.


By the way, if you are going to ask for help, specify exactly what you need, not just, "I want a door so you can walk though it." For example, do you want a door so when you bump it it opens, then you get to go through it? Or do you want a door so that when you bump it you automatically get sent to the other side? Or do you want to see the opening animation of your door? I can try to help you if you use some more detail in your posts, but otherwise you are on your own, bud.
In response to Govegtos
Okay, this is not a realtime chatroom.. SLOW DOWN. Write things out fully, don't spell people as ppl. WRITE OUT THE FULL WORDS, at the very least, put in some punctuation. Does this mean that you have a guild system working, or you are planning on making one like you just mentioned.

And I would suggest NOT QUOTING another post if your next one has nothing to do with the one you are quoting.

As a matter of fact, I doubt you even read the post you quoted. Here's my response, which I might add I made YESTERDAY! You even quoted it in your post, but for some reason, you did not comprehend what I said, read it this time.

Ter13 wrote:
You seem to have the "gimme" attitude to coding. Rather than asking how over and over again until you get a code snippet, which you have been doing, despite the clear answers thrown your way, you should be trying to figure stuff out on your own. Asking for a little help every now and then is alright, but "Can I have the code for my completely original game the likes of which BYOND has never seen before, and will never again see the likes of for all time?" is definitely NOT alright.
In response to Ter13
would you guys like to see a screenshot of my guild i dont mind show you guys how its done? all i need is an a place where only guild members only. How can i stop other players enter that guild house if they arent a member?
In response to Govegtos
...Are you absolutely illiterate?

WE ASKED HOW THE SYSTEM WORKS! Not how it looks.

We need specific information on how the code of the system is wired. Such as specific variables, lists, etc. Give us code examples so we can help you.

I swear, I enjoy helping people, but this is like covering your entire body with papercuts, and then bathing in lemonjuice.
In response to Ter13
I have noticed that Ter13, being the "Superior Coder" that he is, spends more time yelling at and insulting people with less knowledge than him than he does actually helping them. I mean dude, this forum is to help others with their problems, and if you don't have anything helpful to say to them about dm, then just lay off their backs and don't reply to their posts. There are many more coders than you that post on these forums and I am sure some of them would be glad to help.
In response to Tolooky
Search for posts made by this guy, you will see why I am irked by him, he has posted this topic at least half a dozen times over the past few days.

There were two helpful posts on this thread before I made my first long post repremanding him for his method of recieving help. They were deleted by administrators, and they left my "insults" alone, I assume they think that it needed saying.

Get the whole story before you start throwing around accusations.

And I have never called myself a "Superior coder", but thank you for the compliment.


And in order to help someone you have to know how to do so, this is what I have been trying to do for about a day and a half now, it's like pulling teeth! He has given me no answers to any of MY questions, he merely restates his original question.
In response to Tolooky
Tolooky wrote:
I have noticed that Ter13, being the "Superior Coder" that he is, spends more time yelling at and insulting people with less knowledge than him than he does actually helping them. I mean dude, this forum is to help others with their problems, and if you don't have anything helpful to say to them about dm, then just lay off their backs and don't reply to their posts. There are many more coders than you that post on these forums and I am sure some of them would be glad to help.

I agree with you, except that this guy really needs some shouting at. He doesn't seem to actually read any posts, and instead just looks for some code to copy&paste.
In response to Jon88
Jon88 wrote:
Tolooky wrote:
I have noticed that Ter13, being the "Superior Coder" that he is, spends more time yelling at and insulting people with less knowledge than him than he does actually helping them. I mean dude, this forum is to help others with their problems, and if you don't have anything helpful to say to them about dm, then just lay off their backs and don't reply to their posts. There are many more coders than you that post on these forums and I am sure some of them would be glad to help.

I agree with you, except that this guy really needs some shouting at. He doesn't seem to actually read any posts, and instead just looks for some code to copy&paste.

heres my guild code i made it myself and it actually works :)


mob/characters
icon='Male.dmi'

world/mob=/mob/characters

world
view = 6
name = "Guild Demo"

turf
grass
icon ='turfs.dmi'
icon_state = ""

mob/Logout()
del(src)

atom/movable
var
Gold = 40000
mob
var
Guild = "N/A" as text

mob
verb
Make_a_guild(var/Guildmaking as text)
set category = "Communication"
if(usr.Guild=="N/A")
if(usr.Gold>= 1000)
alert("This cost 1,000 Gold!","Ok")
alert("Are you sure you want to do this, money is NOT refundable!","Ok")
switch(input("Are you sure you want to make a Guild?","Create Guild",text) in list ("Yes","No"))
if("Yes")
usr<<"Ok!"
usr.Gold -= 20000
usr.Guild = "[Guildmaking]"
usr<<"Your Guild is created!"
usr.verbs+=typesof(/mob/Guild_Basic_Member/verb/)
usr.verbs += /mob/Guild_Leader/verb/Invite_New_Member
usr.verbs += /mob/Guild_Leader/verb/Kick_Guild_Member
usr.verbs += /mob/Guild_Leader/verb/Guild_Leader_Say
usr.verbs += /mob/Guild_Leader/verb/Make_a_new_Leader
world<<"[Guildmaking] Guild has been created by [usr]!"
if("No")
usr.Gold -= 0
usr<<"that is fine"
else
usr<<"Sorry you do not have enough Gold! You need 20,000!"

else
usr<<"Sorry you are already in a Guild!"
mob
Guild_Leader/verb
Invite_New_Member(mob/characters/M in world)
set category = "Guild"
if(M.Guild == "N/A")
switch(input(M,"[usr] wants you to join their Guild, do you want to join [usr]'s guild?","Join [usr]'s guild", text) in list ("Yes", "No"))
if("Yes")
M.Guild = usr.Guild
M.verbs+=typesof(/mob/Guild_Basic_Member/verb)
usr<<"[M] has joined your guild!"
M<<"You have joined [usr]'s guild!"
if("No")
usr<<"Sorry, [M] didn't want to join your guild!"
Kick_Guild_Member(mob/characters/M in world)
set category = "Guild"
if(M.Guild == usr.Guild)
switch(input("Are you sure you want to kick [M] from your Guild?","Kick [M] from Guild",text) in list ("Yes","No"))
if("Yes")
M <<"Sorry, you have been kicked from [M.Guild]!"
usr<<"You have kicked [M] from the Guild!"
M.Guild = "N/A"
M.verbs -=typesof(/mob/Guild_Basic_Member/verb)
M.verbs -= /mob/Guild_Leader/verb/Invite_New_Member
M.verbs -= /mob/Guild_Leader/verb/Kick_Guild_Member
M.verbs -= /mob/Guild_Leader/verb/Guild_Leader_Say
M.verbs -= /mob/Guild_Leader/verb/Make_a_new_Leader
M.verbs -= /mob/Guild_Leader/verb/Make_a_new_Recruiter
M.verbs -=typesof(/mob/Guild_Recruiter/verb)
for(var/mob/O in world)
if(O.Guild == src.Guild)
O<<"[M] has been kicked from the Guild by [usr]!"
Guild_Leader_Say(msg as text)
set category = "Guild"
for(var/mob/M in world)
if(M.Guild == src.Guild)
M << "<font color = red>{{<font color = silver>Guild-Leader Say<font color = red>}}<font color = green>{{<font color = red>[usr]<font color = green>}}<font color = silver> : [msg]"
Make_a_new_Leader(mob/characters/M in world)
set category = "Guild"
if(M.Guild == usr.Guild)
switch(input(M,"[usr] wants you to be a Guild Leader for [usr.Guild], do you want to be a Guild Leader?","Become a Guild Leader", text) in list ("Yes", "No"))
if("Yes")
M.verbs+=typesof(/mob/Guild_Basic_Member/verb/)
M.verbs += /mob/Guild_Leader/verb/Invite_New_Member
M.verbs += /mob/Guild_Leader/verb/Kick_Guild_Member
M.verbs += /mob/Guild_Leader/verb/Guild_Leader_Say
M.verbs += /mob/Guild_Leader/verb/Make_a_new_Leader
M.verbs += /mob/Guild_Leader/verb/Make_a_new_Recruiter
usr<<"[M] has become a leader in the Guild!"
M<<"You have become a leader in the Guild!"
if("No")
usr<<"Sorry, [M] didn't want to become a leader in the Guild!"
else
usr<<"They are not in your guild!"
Make_a_new_Recruiter(mob/characters/M in world)
set category = "Guild"
if(M.Guild == usr.Guild)
switch(input(M,"[usr] wants you to be a Guild Leader for [usr.Guild], do you want to be a Guild Leader?","Become a Guild Leader", text) in list ("Yes", "No"))
if("Yes")
M.verbs += /mob/Guild_Recruiter/verb/Invite_New_Member
usr<<"[M] has become a leader in the Guild!"
M<<"You have become a leader in the Guild!"
if("No")
usr<<"Sorry, [M] didn't want to become a leader in the Guild!"
else
usr<<"They are not in your guild!"
mob
Guild_Recruiter/verb
Invite_New_Member(mob/characters/M in world)
set category = "Guild"
if(M.Guild == "N/A")
switch(input(M,"[usr] wants you to join their Guild, do you want to join [usr]'s guild?","Join [usr]'s guild", text) in list ("Yes", "No"))
if("Yes")
M.Guild = usr.Guild
M.verbs+=typesof(/mob/Guild_Basic_Member/verb)
usr<<"[M] has joined your guild!"
M<<"You have joined [usr]'s guild!"
if("No")
usr<<"Sorry, [M] didn't want to join your guild!"

mob
Guild_Basic_Member/verb
Leave_Guild()
set category = "Guild"
switch(input("Are you sure you want to leave your Guild?","Leave Guild",text) in list ("Yes","No"))
if("Yes")
world<<"[usr] left [usr.Guild] !"
usr.Guild = "N/A"
usr.verbs -= /mob/Guild_Basic_Member/verb/Leave_Guild
usr.verbs -= /mob/Guild_Basic_Member/verb/Guild_Members
usr.verbs -= /mob/Guild_Basic_Member/verb/Guild_Say
usr.verbs -= /mob/Guild_Recruiter/verb/Invite_New_Member
if("No")
usr<<"Good for you!"
Guild_Members()
set category = "Guild"
src << "The following are in your guild:"
for(var/mob/M in world)
if(M.Guild == src.Guild)
src << "[M]"
Guild_Say(msg as text)
set category = "Guild"
for(var/mob/M in world)
if(M.Guild == src.Guild)
M << "<font color = red>{{<font color = silver>Guild Say<font color = red>}}<font color = green>{{<font color = red>[usr]<font color = green>}}<font color = silver> : [msg]"

How do to Make an enterance for a guild for members to enter?
In response to Govegtos
I'm not even touching that. That code might as well be deleted, it sure as hell would be a lot easier than continualy asking for help, probably more productive too.

Put your code snippets in DM tags, so that gray doesn't blend in with the background, when you do this, I'll see what I can do.
In response to Ter13
What do you mean?
In response to Govegtos
mob/characters
icon='Male.dmi'

world/mob=/mob/characters

world
view = 6
name = "Guild Demo"

turf
grass
icon ='turfs.dmi'
icon_state = ""

mob/Logout()
del(src)

atom/movable
var
Gold = 40000
mob
var
Guild = "N/A" as text

mob
verb
Make_a_guild(var/Guildmaking as text)
set category = "Communication"
if(usr.Guild=="N/A")
if(usr.Gold>= 1000)
alert("This cost 1,000 Gold!","Ok")
alert("Are you sure you want to do this, money is NOT refundable!","Ok")
switch(input("Are you sure you want to make a Guild?","Create Guild",text) in list ("Yes","No"))
if("Yes")
usr<<"Ok!"
usr.Gold -= 20000
usr.Guild = "[Guildmaking]"
usr<<"Your Guild is created!"
usr.verbs+=typesof(/mob/Guild_Basic_Member/verb/)
usr.verbs += /mob/Guild_Leader/verb/Invite_New_Member
usr.verbs += /mob/Guild_Leader/verb/Kick_Guild_Member
usr.verbs += /mob/Guild_Leader/verb/Guild_Leader_Say
usr.verbs += /mob/Guild_Leader/verb/Make_a_new_Leader
world<<"[Guildmaking] Guild has been created by [usr]!"
if("No")
usr.Gold -= 0
usr<<"that is fine"
else
usr<<"Sorry you do not have enough Gold! You need 20,000!"

else
usr<<"Sorry you are already in a Guild!"
mob
Guild_Leader/verb
Invite_New_Member(mob/characters/M in world)
set category = "Guild"
if(M.Guild == "N/A")
switch(input(M,"[usr] wants you to join their Guild, do you want to join [usr]'s guild?","Join [usr]'s guild", text) in list ("Yes", "No"))
if("Yes")
M.Guild = usr.Guild
M.verbs+=typesof(/mob/Guild_Basic_Member/verb)
usr<<"[M] has joined your guild!"
M<<"You have joined [usr]'s guild!"
if("No")
usr<<"Sorry, [M] didn't want to join your guild!"
Kick_Guild_Member(mob/characters/M in world)
set category = "Guild"
if(M.Guild == usr.Guild)
switch(input("Are you sure you want to kick [M] from your Guild?","Kick [M] from Guild",text) in list ("Yes","No"))
if("Yes")
M <<"Sorry, you have been kicked from [M.Guild]!"
usr<<"You have kicked [M] from the Guild!"
M.Guild = "N/A"
M.verbs -=typesof(/mob/Guild_Basic_Member/verb)
M.verbs -= /mob/Guild_Leader/verb/Invite_New_Member
M.verbs -= /mob/Guild_Leader/verb/Kick_Guild_Member
M.verbs -= /mob/Guild_Leader/verb/Guild_Leader_Say
M.verbs -= /mob/Guild_Leader/verb/Make_a_new_Leader
M.verbs -= /mob/Guild_Leader/verb/Make_a_new_Recruiter
M.verbs -=typesof(/mob/Guild_Recruiter/verb)
for(var/mob/O in world)
if(O.Guild == src.Guild)
O<<"[M] has been kicked from the Guild by [usr]!"
Guild_Leader_Say(msg as text)
set category = "Guild"
for(var/mob/M in world)
if(M.Guild == src.Guild)
M << "{{Guild-Leader Say}}{{[usr]}} : [msg]"
Make_a_new_Leader(mob/characters/M in world)
set category = "Guild"
if(M.Guild == usr.Guild)
switch(input(M,"[usr] wants you to be a Guild Leader for [usr.Guild], do you want to be a Guild Leader?","Become a Guild Leader", text) in list ("Yes", "No"))
if("Yes")
M.verbs+=typesof(/mob/Guild_Basic_Member/verb/)
M.verbs += /mob/Guild_Leader/verb/Invite_New_Member
M.verbs += /mob/Guild_Leader/verb/Kick_Guild_Member
M.verbs += /mob/Guild_Leader/verb/Guild_Leader_Say
M.verbs += /mob/Guild_Leader/verb/Make_a_new_Leader
M.verbs += /mob/Guild_Leader/verb/Make_a_new_Recruiter
usr<<"[M] has become a leader in the Guild!"
M<<"You have become a leader in the Guild!"
if("No")
usr<<"Sorry, [M] didn't want to become a leader in the Guild!"
else
usr<<"They are not in your guild!"
Make_a_new_Recruiter(mob/characters/M in world)
set category = "Guild"
if(M.Guild == usr.Guild)
switch(input(M,"[usr] wants you to be a Guild Leader for [usr.Guild], do you want to be a Guild Leader?","Become a Guild Leader", text) in list ("Yes", "No"))
if("Yes")
M.verbs += /mob/Guild_Recruiter/verb/Invite_New_Member
usr<<"[M] has become a leader in the Guild!"
M<<"You have become a leader in the Guild!"
if("No")
usr<<"Sorry, [M] didn't want to become a leader in the Guild!"
else
usr<<"They are not in your guild!"
mob
Guild_Recruiter/verb
Invite_New_Member(mob/characters/M in world)
set category = "Guild"
if(M.Guild == "N/A")
switch(input(M,"[usr] wants you to join their Guild, do you want to join [usr]'s guild?","Join [usr]'s guild", text) in list ("Yes", "No"))
if("Yes")
M.Guild = usr.Guild
M.verbs+=typesof(/mob/Guild_Basic_Member/verb)
usr<<"[M] has joined your guild!"
M<<"You have joined [usr]'s guild!"
if("No")
usr<<"Sorry, [M] didn't want to join your guild!"

mob
Guild_Basic_Member/verb
Leave_Guild()
set category = "Guild"
switch(input("Are you sure you want to leave your Guild?","Leave Guild",text) in list ("Yes","No"))
if("Yes")
world<<"[usr] left [usr.Guild] !"
usr.Guild = "N/A"
usr.verbs -= /mob/Guild_Basic_Member/verb/Leave_Guild
usr.verbs -= /mob/Guild_Basic_Member/verb/Guild_Members
usr.verbs -= /mob/Guild_Basic_Member/verb/Guild_Say
usr.verbs -= /mob/Guild_Recruiter/verb/Invite_New_Member
if("No")
usr<<"Good for you!"
Guild_Members()
set category = "Guild"
src << "The following are in your guild:"
for(var/mob/M in world)
if(M.Guild == src.Guild)
src << "[M]"
Guild_Say(msg as text)
set category = "Guild"
for(var/mob/M in world)
if(M.Guild == src.Guild)
M << "{{Guild Say}}{{[usr]}} : [msg]"
In response to Govegtos
mob
var
gold = 40000 //only mobs need gold.
guild = "N/A" //as text not required.
verb
create_guild()
if(src.guild=="N/A") //NEVER EVER USE USR IN PLACE OF SRC!!!!
if(src.gold>=1000)
if(input("Are you sure you want to create a Guild? /nIt will cost you 1,000 gold.","Create Guild","No") in list("Yes","No")=="Yes")
src.guild = input("Name your guild","Create Guild") as text
world << "the [src.guild] guild has been formed by [src]."
src.gold -= 1000
src.verbs += typesof(/mob/guild/leader/verb/)
src.verbs += typesof(/mob/guild/verb/)
else
src << "You do not have enough gold!"
else
src << "You are already in a guild!"
Logout()
del src
characters
icon='Male.dmi'
guild
verb
guild_say()
if(src.guild!="N/A")
var/message = input("Send a message to your fellow members.","Guild say") as text
for(var/mob/M in world)
if(M.guild==src.guild)
M << "{{Guild}} [src]: [message]"
leave_guild()
if(src.guild!="N/A")
if(alert("Are you sure you want to leave your guild?","Leave Guild?","Yes","No")=="Yes")
src.guild = "N/A"
for(var/mob/M in world)
if(M.guild==src.guild)
M << "[src] Leaves the guild!"
list_members()
if(src.guild!="N/A")
src << "Active guild members:"
for(var/mob/M in world)
if(M.guild==src.guild)
src << "[M]"
leader
verb
make_recruiter()
if(src.guild!="N/A")
var/list/found = list()
for(var/mob/M in world)
if(M.guild==src.guild)
found.Add(M.name = M.ckey)
var/selection = input("Make recruiter?","Make recruiter?") as text|null in found //not sure about this line.
if(selection!=null)
for(var/mob/M in world)
if(M.name==selection)
if(M.ckey==found[selection])
M.verbs += /mob/guild/leader/verb/recruit
for(var/mob/N in world)
if(N.guild==src.guild)
N << "[M] is made a recruiter by [src]!"
return
else
return
src << "[selection] not found!"
recruit()
if(src.guild!="N/A")
var/list/found = list()
for(var/mob/M in world)
if(M.guild=="N/A")
found.Add(M.name = M.ckey)
var/selection = input("Make member?","Make member?") as text|null in found //not sure about this line.
if(selection!=null)
for(var/mob/M in world)
if(M.name==selection)
if(M.ckey==found[selection])
M.guild = src.guild
M.verbs += typesof(/mob/guild/verb/)
for(var/mob/N in world)
if(N.guild==src.guild)
N << "[M] is made a member by [src]!"
return
else
src << "[selection] not found!"
boot_member()
if(src.guild!="N/A")
var/list/found = list()
for(var/mob/M in world)
if(M.guild=="src.guild")
found.Add(M.name = M.ckey)
var/selection = input("Boot member?","Boot member?") as text|null in found //not sure about this line.
if(selection!=null)
for(var/mob/M in world)
if(M.name==selection)
if(M.ckey==found[selection])
M.guild = "N/A"
M.verbs -= typesof(/mob/guild/verb/)
M.verbs -= typesof(/mob/guild/leader/verb/)
for(var/mob/N in world)
if(N.guild==src.guild)
N << "[M] is booted by [src]!"
return
else
src << "[selection] not found!"


This is not complete, but it fixes a ton of bugs already.

Basically, NEVER use USR instead of SRC, I don't know how many times I've said this. In the mob verbs, if it applies to self, it is SRC. NEXT, keep your numbers straight, you say that the guild costs 1,000, and then charge 20,000. NEXT, your guild code is not well planned. If I create a guild called "Angry poodles", and someone else starts a guild called "Angry poodles", we are both in the same guild. MAJOR problem.

You have to work on your own, however, this is all the help I'm going to give you. You can do this if you use mine as an example, and not just copy mine.
In response to Ter13
Ter13 wrote:
> mob
> var
> gold = 40000 //only mobs need gold.
> guild = "N/A" //as text not required.
> verb
> create_guild()
> if(src.guild=="N/A") //NEVER EVER USE USR IN PLACE OF SRC!!!!
> if(src.gold>=1000)
> if(input("Are you sure you want to create a Guild? /nIt will cost you 1,000 gold.","Create Guild","No") in list("Yes","No")=="Yes")
> src.guild = input("Name your guild","Create Guild") as text
> world << "the [src.guild] guild has been formed by [src]."
> src.gold -= 1000
> src.verbs += typesof(/mob/guild/leader/verb/)
> src.verbs += typesof(/mob/guild/verb/)
> else
> src << "You do not have enough gold!"
> else
> src << "You are already in a guild!"
> Logout()
> del src
> characters
> icon='Male.dmi'
> guild
> verb
> guild_say()
> if(src.guild!="N/A")
> var/message = input("Send a message to your fellow members.","Guild say") as text
> for(var/mob/M in world)
> if(M.guild==src.guild)
> M << "{{Guild}} [src]: [message]"
> leave_guild()
> if(src.guild!="N/A")
> if(alert("Are you sure you want to leave your guild?","Leave Guild?","Yes","No")=="Yes")
> src.guild = "N/A"
> for(var/mob/M in world)
> if(M.guild==src.guild)
> M << "[src] Leaves the guild!"
> list_members()
> if(src.guild!="N/A")
> src << "Active guild members:"
> for(var/mob/M in world)
> if(M.guild==src.guild)
> src << "[M]"
> leader
> verb
> make_recruiter()
> if(src.guild!="N/A")
> var/list/found = list()
> for(var/mob/M in world)
> if(M.guild==src.guild)
> found.Add(M.name = M.ckey)
> var/selection = input("Make recruiter?","Make recruiter?") as text|null in found //not sure about this line.
> if(selection!=null)
> for(var/mob/M in world)
> if(M.name==selection)
> if(M.ckey==found[selection])
> M.verbs += /mob/guild/leader/verb/recruit
> for(var/mob/N in world)
> if(N.guild==src.guild)
> N << "[M] is made a recruiter by [src]!"
> return
> else
> return
> src << "[selection] not found!"
> recruit()
> if(src.guild!="N/A")
> var/list/found = list()
> for(var/mob/M in world)
> if(M.guild=="N/A")
> found.Add(M.name = M.ckey)
> var/selection = input("Make member?","Make member?") as text|null in found //not sure about this line.
> if(selection!=null)
> for(var/mob/M in world)
> if(M.name==selection)
> if(M.ckey==found[selection])
> M.guild = src.guild
> M.verbs += typesof(/mob/guild/verb/)
> for(var/mob/N in world)
> if(N.guild==src.guild)
> N << "[M] is made a member by [src]!"
> return
> else
> src << "[selection] not found!"
> boot_member()
> if(src.guild!="N/A")
> var/list/found = list()
> for(var/mob/M in world)
> if(M.guild=="src.guild")
> found.Add(M.name = M.ckey)
> var/selection = input("Boot member?","Boot member?") as text|null in found //not sure about this line.
> if(selection!=null)
> for(var/mob/M in world)
> if(M.name==selection)
> if(M.ckey==found[selection])
> M.guild = "N/A"
> M.verbs -= typesof(/mob/guild/verb/)
> M.verbs -= typesof(/mob/guild/leader/verb/)
> for(var/mob/N in world)
> if(N.guild==src.guild)
> N << "[M] is booted by [src]!"
> return
> else
> src << "[selection] not found!"
>

This is not complete, but it fixes a ton of bugs already.

Basically, NEVER use USR instead of SRC, I don't know how many times I've said this. In the mob verbs, if it applies to self, it is SRC. NEXT, keep your numbers straight, you say that the guild costs 1,000, and then charge 20,000. NEXT, your guild code is not well planned. If I create a guild called "Angry poodles", and someone else starts a guild called "Angry poodles", we are both in the same guild. MAJOR problem.

You have to work on your own, however, this is all the help I'm going to give you. You can do this if you use mine as an example, and not just copy mine.

Can we relate this program to my guild enterances?
In response to Govegtos
look taking code and using copy and paste isn't the methood to use. it is the worst possible way to code. and bye the way you code you don't deserve the code. it is so SIMPLE a foomerian monkey can figure it out. look just read the help files and learn how to do this.
In response to Govegtos
Well, that was ungrateful, you just spit in my face right after I fix your serously bugged code.

Yes, we can relate this to your door code:
obj
Guild_Door
icon = 'door.dmi'
icon_state = "closed"
density = 1
opacity = 1
var
guild = "N/A" //set this in the map editor.
verb
open()
set src in oview(1)
if(usr.guild==src.guild)
src.density = 0
src.opacity = 0
src.icon_state = "open"
src.verbs -= /obj/Guild_Door/verb/open
src.verbs += /obj/Guild_Door/verb/close
spawn(50)
else
usr << "You aren't in that guild!"
close()
set src in oview(1)
src.density = 1
src.opacity = 1
src.icon_state = "closed"
src.verbs -= /obj/Guild_Door/verb/close
src.verbs += /obj/Guild_Door/verb/open
New()
..()
spawn()
src.verbs -= /obj/Guild_Door/verb/close


I did not test this one, I don't think you really deserve help. And I won't be helping you any more.

You don't make a car by bashing other peoples' and taking their parts, then slapping them together into "your own". Especially if you choose the cars at random. Catch my drift?
In response to Ter13
Ter13 wrote:
You don't make a car by bashing other peoples' and taking their parts, then slapping them together into "your own". Especially if you choose the cars at random. Catch my drift?

he has a very good point. if you do that you get a peice of (pardon my french) crap.
In response to Ter13
Ter13 wrote:
Well, that was ungrateful, you just spit in my face right after I fix your serously bugged code.

Yes, we can relate this to your door code:
> obj
> Guild_Door
> icon = 'door.dmi'
> icon_state = "closed"
> density = 1
> opacity = 1
> var
> guild = "N/A" //set this in the map editor.
> verb
> open()
> set src in oview(1)
> if(usr.guild==src.guild)
> src.density = 0
> src.opacity = 0
> src.icon_state = "open"
> src.verbs -= /obj/Guild_Door/verb/open
> src.verbs += /obj/Guild_Door/verb/close
> spawn(50)
> else
> usr << "You aren't in that guild!"
> close()
> set src in oview(1)
> src.density = 1
> src.opacity = 1
> src.icon_state = "closed"
> src.verbs -= /obj/Guild_Door/verb/close
> src.verbs += /obj/Guild_Door/verb/open
> New()
> ..()
> spawn()
> src.verbs -= /obj/Guild_Door/verb/close
>

I did not test this one, I don't think you really deserve help. And I won't be helping you any more.

You don't make a car by bashing other peoples' and taking their parts, then slapping them together into "your own". Especially if you choose the cars at random. Catch my drift?

Im sorry i have been really been depressed all week with this umm with this do i put this in a guild code aswell?
Page: 1 2