Jump to content
  • 0
Sign in to follow this  
rans

NPC script to access Database

Question

Is it possible to access database from npc script? i know yes if you are going to access the localhost
but i'm talking about other server for example i have vote_points table on other host and i wanted it to be access by server2(this is from different host). what code should i use? or is it even possible?

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

well sure but thats not RO related. you need to go to a linux forum and ask about remote ssh access, shell scripts and stuff. i doubt anyone here can answer your question about it. because what it seems you need is automated script performing SQL funcitons.

Share this post


Link to post
Share on other sites
  • 0

no no no, 
what i aim here is RO related. 
see this is my situation. Server 1 (Login,char,map) and i have Server 2 (char, map) this setup is dual server using 1 login-server
so what i aim to do is make the vote_points table (from database of server 1) be accessible to Server 2 npc script (which is from different host)

I hope you get what i'm trying to do.

Share this post


Link to post
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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.