Jump to content
  • 0

Need help with this?


Jzz

Question


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  45
  • Reputation:   0
  • Joined:  02/29/12
  • Last Seen:  

I have a problem. But i dont know how to fixed this thing...

1. If I login in game and set my stats (ex. dex = 99, str = 99, agi = 25)

and when im going to make character select and login again my stats reset. and back to 1 again.

2. I want to request a script which save status points because im using a rebirth system and its very hard for players if they reconnect and turn their stats back to 0.

please make with ...

OnPCLoginEvent and OnPCLogoutEvent.

I need this asap. Thnx.

When Im going to relog my stats back to normal and rebirth status points didnt add...

set StatusPoint,StatusPoint+(rebirthcount*@rebirthbonus);

That is my rebirth status points, need help please.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  130
  • Reputation:   43
  • Joined:  12/11/11
  • Last Seen:  

Is it the rebirth system or another script you have which resets the stats?

Or is it an unknown "bug"?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  29
  • Topics Per Day:  0.01
  • Content Count:  270
  • Reputation:   20
  • Joined:  12/10/11
  • Last Seen:  

This seems like more a problem with the SQL not your stats. Stats won't change if you log off/login. It should save in the char.sql file.

It seems to me that when you are logging out, the server is not saving your character, therefore the stats aren't saving either

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2350
  • Joined:  10/28/11
  • Last Seen:  

Stats won't change if you log off/login

this problem will occur when the users made a script for it.....with the help of

OnPCLoginEvent + ResetStatus command

and yes it could be problem of SQL is not saving as well

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  130
  • Reputation:   43
  • Joined:  12/11/11
  • Last Seen:  

You can easily tell if it's an issue with SQL write permissions.

Try logging out at a different spot from where you login. If you return to the previous place, it's SQL related.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...