In response to O-matic
O-matic wrote:
are you sure that you didn't overide the roomid var somewhere else in a login proc?

O-matic

I am positive, I also have a demo statpanel setup and the variable is being saved

LASTROOMID: 2

yet i am being relocated to roomid1 ... This is getting frustrating and annoying.

Also as for the 'Sorry to ruin your day' I apologise, I find it annoying when people reckon i dont know the basics, however that is not a excuse... anyway..
In response to Bunnie
Bunnie wrote:
yet i am being relocated to roomid1 ... This is getting frustrating and annoying.

Also as for the 'Sorry to ruin your day' I apologise, I find it annoying when people reckon i dont know the basics, however that is not a excuse... anyway..

I never said that you don't know the basic, actually I didn't care about your skills in DM I only tried to help, wich I did.
it should locate you to the saved roomid unless you overriding it somewhere else in your code, double check it.


O-matic
In response to O-matic
O-matic wrote:
I never said that you don't know the basic, actually I didn't care about your skills in DM I only tried to help, wich I did.
it should locate you to the saved roomid unless you overriding it somewhere else in your code, double check it.

Double and triple checked it, nothing is cutting into the save proc.
In response to Bunnie
Bunnie wrote:
Double and triple checked it, nothing is cutting into the save proc.

I didn't mean the save proc!!! the roomid, aren't you overing that somehwere? argh
show all your Login() procs, I'll check...

O-matic
In response to O-matic
Mud/Login()
if(!usr.loc)
if(!LoadPlayer(usr))
if(!usr) return //rejected or re-routed to another server
WelcomeNewPlayer()
else WelcomePlayer()
if(!usr.loc) GotoStart(usr)
return 1


mob/Login()
world<<"A spirit enters the world."
usr<<"<font color=#660000>System: <a href=?src=\ref[usr];action=help>Current In-Game Commands are listed here</a>"
return mud.Login()
In response to Bunnie
jp already told me tht
In response to O-matic
what does this hav to do with a download url
In response to Flamemon
o shite wrong thread
In response to Flamemon
Flamemon wrote:
what does this hav to do with a download url

what the hell are you talking about? this is an other thread.

O-matic
In response to Bunnie
show welcomenewplayer() and gotostart()

I think those are the problem.

O-matic
In response to O-matic
O-matic wrote:
show welcomenewplayer() and gotostart()

I think those are the problem.

O-matic

welcomenewplayer() is a long ass verb that gets the player to determain their name etc, that does not get pulled into consideration otherwise i'd be asking myself "Why do i keep having to name myself at each login?!"

however,
Mud/GotoStart(mob/P)
return P.Move(LocateRoom(1))
I know that points to the beggining room, it does simply as it suggests, 'go to start'
In response to Bunnie
Bunnie wrote:
Mud/Login()
> if(!usr.loc)
> if(!LoadPlayer(usr))
> if(!usr) return //rejected or re-routed to another server
> WelcomeNewPlayer()
> else WelcomePlayer()
> if(!usr.loc) GotoStart(usr)
> return 1


Is the player being located somewhere inside WelcomePlayer? From what you show there, it looks like it is probably failing to do so, then GotoStart is catching the null loc.

What does the part that does the actual loading and locating look like?

If all else fails, plaster debug output all over the thing.
Page: 1 2