NPC script to access Database

rans

New member
Messages
358
Points
0
Location
Somewhere down the road
Emulator
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?

 
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.

 
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.

 
Back
Top