Variables not saving nor users can walk
Re: Variables not saving nor users can walk
Re: Variables not saving nor users can walk
Re: Variables not saving nor users can walk
Try adding a else statement before the query where it inserts the information into the database.
Code:
else {
Adapter.SetQuery("INSERT INTO user_rp_stats (user_id) VALUES (@userid)");
Adapter.AddParameter("userid", this.UserId);
Adapter.RunQuery();
}
}
Re: Variables not saving nor users can walk
Quote:
Originally Posted by
Disguised
Try adding a else statement before the query where it inserts the information into the database.
Code:
else {
Adapter.SetQuery("INSERT INTO user_rp_stats (user_id) VALUES (@userid)");
Adapter.AddParameter("userid", this.UserId);
Adapter.RunQuery();
}
}
Thanks for the reply but it did not work
Re: Variables not saving nor users can walk
bump if anyone has ideas please comment :P
Re: Variables not saving nor users can walk
still looking for answers
Re: Variables not saving nor users can walk
bumpppppp
- - - Updated - - -
:| still looking for answers not sure why this is happening when users are being saved upon disconnection!
Re: Variables not saving nor users can walk
Re: Variables not saving nor users can walk
Re: Variables not saving nor users can walk
Re: Variables not saving nor users can walk
Re: Variables not saving nor users can walk
Though why would you want to save a user's id?
I highly assume this is a static value and won't change.
Re: Variables not saving nor users can walk
Quote:
Originally Posted by
Keiz
Though why would you want to save a user's id?
I highly assume this is a static value and won't change.
meh , although user_id is saving im just confused as fuck why hit_points isn't and the rest
- - - Updated - - -
bumpp
Re: Variables not saving nor users can walk
Pretty sure you have to give a value for each parameter in that query?
Have you tried logging the result of the query or catching any exceptions?