I've been trying for HOURS but nothing worked out. I'm attempting to make 3 specific factions for my game, and they will each have leaders,funds,and members. Problem is, when I add something to one faction and try to do the same to the other, it fails to work. Mainly DM grabs normal pieces of coding from other files that have nothing to do with the faction's coding, and makes up random errors that are only fixed by removing the faction code. What can I do to stop this?
|
![]() Jul 23 2013, 3:22 pm
|
|
We can't do anything if you don't show us the coding........
|
I don't know if this changes anything, but i set it up so that the player's faction is determined at Login
mob/Login() |
var/faction1 |
mob/Login() Instead of faction1 = 1 why don't you do faction = 1, faction = 2, and faction = 3. |
Even if i add people to the list (faction) they can't access the verbs or participate in funding activity.
|
That's pretty much what i did, but i suspect somethings wrong with the factions(lists) themselves , & "fractions" was a typo, i meant to write "factions" in that example.
|
mob/ |
Oh my bad! i forgot to tab the "verb" part... everything seems to work fine now! thanks alot D4RK3Z3R0 =)
|
J-Zed wrote:
mob/ Okay. First of all, why is it mob/proc i said put it under the login Second of all, the verb is wrongly indented. Also 3rd of all did you for got a / next to verb usr.verbs+=typesof(/mob/faction1/verb/) //<--- you see that slash? |
J-Zed wrote:
Wait...the verbs didn't show up. I got happy since DM didn't say anything. Oh Gosh mob/Login() |
The verbs worked, but the problem is, i can't have both a var(number , as in faction = 1) the same time as a list.
|
mob else doesn't do anything. |
Nevermind, i think i can guarentee it got fixed this time...the list has a different name and everything seems to be clear . Thanks again D4RK3Z3R0 =)
|
D4RK3Z3R0 wrote:
> mob else doesn't do anything. mob |
Wissam wrote:
D4RK3Z3R0 wrote: > > mob else doesn't do anything. > mob You did it wrong. The message and the return under the faction message is suppose to be under the if. |