Jump to content
  • 0

npc warper script with ip


marcorogeeh

Question


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  71
  • Reputation:   0
  • Joined:  06/27/13
  • Last Seen:  

i want npc that warp you to map with only 1 character and 1 ip

if its character with the same ip in the map the npc refuse to warp the player

sorry for my bad english

Thanks /lv


help please

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

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

you can try apply this to your warper.

https://pastebin.com/JnYju1Jv

 

add in the data into the SQL table.

  • IP Address
  • mapname
  • max user to connect at one time

Just add this line before the npc warp your players.

F_MaxIP( getcharip(),"payon" ) --> check only payon
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  71
  • Reputation:   0
  • Joined:  06/27/13
  • Last Seen:  

can u give me more info about adding data into sql table please

thanks

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  71
  • Reputation:   0
  • Joined:  06/27/13
  • Last Seen:  

help ??  i need more info how to install the script

Link to comment
Share on other sites

  • 0

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

can u give me more info about adding data into sql table please

thanks

help ??  i need more info how to install the script

 

 

there are tons of tutorial on how to adding data into the SQL tables.

http://www.w3schools.com/sql/sql_insert.asp

etc
 
The Search Engine on the internet exist today for solely a reason - allow you to search the info you want.
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...