I Have Dial-Up , So When I Run The Game It Lags For Other Players , i want To Let My Friend , And Only him Host. When i sent him the files though , he Became head Moderator , Im still going to Join the Game , so basically i need the coding to let him host , but me be head moderator
Thanks in advance
Qui.
ID:262802
Dec 3 2005, 11:52 am
|
|
There is no "code" for letting someone host. They just click the Host button and that's it. You're probably making the first person to login the Head Moderator, when you should only make them Head Moderator if they match your key.
|
In response to AZ0123
|
|
i have a nifty little code for this, let me see...
i will give you the codes for keycheck for MOD's and Über MOD's (just in case of annoying MOD's) mob this is for the extra verbs check proc Regular edit beginning MOD MOD editor MOD i hope i helped you a bit with these codes ^^ if you have any questions, do not fear to page or email me just insert the missing vars how you like them |
In response to Meganutter
|
|
1) Don't put usr in those procs. Use src.
2) Don't do if(key==""), do if(ckey==""). 3) Don't do if(var==1) or if(var==0) for Boolean variables (variables that can only ever be 1 or 0). Do if(var) or if(!var). 4) Instead of adding a lot of verbs seperately, use typesof(). |
In response to DeathAwaitsU
|
|
ckey might not work well for administration stuff if the username has spaces in it. Then someone can remove the space and be an admin.
|
In response to Audeuro
|
|
Um, no.
Every key on BYOND has an original ckey. For example, no one can make the key "Death Awaits U" because I have the ckey "deathawaitsu". |
In response to DeathAwaitsU
|
|
DeathAwaitsU wrote:
Um, no. Could've sworn I heard a while ago that if someone had a key named...say..."Iggle Biggle Wiggle," and then someone else could make "IggleBiggleWiggle." |
In response to Meganutter
|
|
Problems(aside from what DAU said);
You didn't call the parent proc in mob/Login() (..()) Don't use |, use || as if() arguments. Edit(mob/edit as mob in online) Uh, what? Why not (mob/edit in world)? |
In response to Artemio
|
|
Well Anyway , Thanks for All The Help :)
|
PS; this should be in Developer How-To