Jump to content
  • 0

Referral script problem.


Mistique

Question


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  53
  • Reputation:   0
  • Joined:  09/15/12
  • Last Seen:  

Good day, rAthena.

I've been having a problem with this referral script, and was hoping someone could help me find out what to change in order to fix it.

The problem is that (when a player says he was referred to the server) the NPC says the name he wrote down is already registered in the database, even if he wrote it correct. The referred friend also won't be getting any message like he should be (dispbottom).

I've had one of my GMs test it with his friend, so I'm sure they're being honest about it.

Everything on the installation went successful, the tables are query'd properly. Everything else works properly, and so there is no error on the map server at all.

Help would be extremely appreciated. Thank you in advance. :)

---

Edited by Mistique
Link to comment
Share on other sites

7 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  271
  • Reputation:   7
  • Joined:  01/06/12
  • Last Seen:  

have you check this?

set $@new_aid, 2000000; // To be sure that the player is really new to server. Put the latest registered account id here.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  53
  • Reputation:   0
  • Joined:  09/15/12
  • Last Seen:  

have you check this?

set $@new_aid, 2000000; // To be sure that the player is really new to server. Put the latest registered account id here.

Yes, I have, I've set it to 3000000 but that only made it worse.

It gave the testers a "It doesn't look like you're new" message, even if they were.

Link to comment
Share on other sites


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

Put the latest registered account id here.

your latest registered account id is 3000000 ???

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  53
  • Reputation:   0
  • Joined:  09/15/12
  • Last Seen:  

Put the latest registered account id here.

your latest registered account id is 3000000 ???

No, it is not, but neither is 2000000. I just thought I'd try to put a high number to see if it makes a difference.

I can't update the NPC every few minutes to change that number, right?

Link to comment
Share on other sites


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

you dont have to...that just to ensure the player who using this / referred a player is "NEW Player" and NOT the old players.....

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  53
  • Reputation:   0
  • Joined:  09/15/12
  • Last Seen:  

Yep, got it. Found out what's wrong. Thanks for the help.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  70
  • Reputation:   4
  • Joined:  04/26/12
  • Last Seen:  

Could u pls post ur Script here along with the correction u made????

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...