Jump to content
  • 0

Request Daily Rewards NPC


Question

5 answers to this question

Recommended Posts

Posted

Change dr_time$ to #dr_time$ to make it account-based.

Blocking multiple IPs is more complicated. The basic form would be:

  1. Create a new SQL table, ex. `daily_ip`.
  2. Query attached player's `login`.`last_ip` into `daily_ip`.
  3. Check if other players' IPs are in `daily_ip` (more queries!).
  4. Each new day (OnHour00), clear `daily_ip`.

  • Upvote 1
Posted (edited)

Change dr_time$ to #dr_time$ to make it account-based.

Blocking multiple IPs is more complicated. The basic form would be:

  1. Create a new SQL table, ex. `daily_ip`.
  2. Query attached player's `login`.`last_ip` into `daily_ip`.
  3. Check if other players' IPs are in `daily_ip` (more queries!).
  4. Each new day (OnHour00), clear `daily_ip`.

Sir Euphy can you make me a script, ready to insert in sql. Thanks /kis2

Edited by eJay

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...