ID:157045
 
i have guild house code for my DBZ game..
but when i try to enter it it says "Only guild members are allowed in..



thx!! for readin it..
and i hope that i get a good reply soon..
I think you might need to give a little more information. It sounds like you aren't in the guild though.
In response to Ulterior Motives
turf
Passages

MA_Guild_Hall

Enter_Hall
density = 1

Enter(mob/PC/M)
if(M.in_guild)
if(usr.guild_name == {"Mystic"})//put here the name of the guild
for(var/obj/O in M.contents)
if(istype(O,/obj/Dragonballs)||istype(O,/obj/Namek_Dragonballs))
M << "You cannot enter with a dragonball!"
return
if(M.fused)
M << "You cannot enter whilst fused"
M.loc = locate(89,143,11)
M.density = 1
M.it_blocked = 1
M.it_lock = 1
else
M << "You aren't in the Guild \white <u><I>ʣΆʊ</I></u>"
else
M << "You must be in a Guild to enter the Guild Hall"

Exit_Hall
density = 1

Enter(mob/PC/M)
M.loc = locate(211,213,1)
M.density = 1
M.it_blocked = 0
M.it_lock = 0

Here is my GH code and when i enter it doesnt allow me to go in..
In response to Gokussj22
How do you set your in_guild to 1? Can you show the code?

Try

mob/verb/showguild()
set src = usr
usr << "[in_guild]"

What does it show you?
In response to Gokussj22
I would suggest removing your ripped source, a.s.a.p.
It's doing you no good, because you can't comprehend anything in it, and you'll be constantly asking for help.

turf/Passages/MA_Guild_Hall/Enter_Hall
density = 1

Enter(atom/movable/O)
if(istype(O,/mob/PC))
var/mob/M = O
if(M.fused) {M << "You are fused.";return 0}
if(!M.guild_name == {"Mystic"}) {M << "You aren't in the Guild \white <u><I>ʣΆʊ</I></u>";return 0}
if(locate(/obj/Dragonballs) in M.contents||locate(/obj/Namek_Dragonballs) in M.contents) {M << "You have a dragonball.";return 0}
M.loc = locate(89,143,11)
M.it_blocked = 1
M.it_lock = 1
return 1
else {.=..();return .}


P.S.
If you can't understand this, then you really need to delete your pre-made source and start from basic scratch, as well as study the Guide and Reference.
When you do this, you'll become much more independent which allows you to do a lot more advanced and in-depth programming.