mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
The feedback database now stores world.internet_address instead of world.address.
world.address is the local world address, which is in many cases your router. internet_address on the other hand is the IP you use to connect, which is what I want. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2468 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -163,8 +163,15 @@ var/obj/machinery/blackbox_recorder/blackbox
|
||||
proc/save_all_data_to_sql()
|
||||
if(!feedback) return
|
||||
|
||||
var/user = sqlfdbklogin
|
||||
var/pass = sqlfdbkpass
|
||||
var/db = sqlfdbkdb
|
||||
var/address = sqladdress
|
||||
var/port = sqlport
|
||||
|
||||
var/DBConnection/dbcon = new()
|
||||
dbcon.Connect("dbi:mysql:test:fornoreason.servehttp.com:3306","erro","3rr0HatesGlov3s")
|
||||
|
||||
dbcon.Connect("dbi:mysql:[db]:[address]:[port]","[user]","[pass]")
|
||||
if(!dbcon.IsConnected()) return
|
||||
var/round_id
|
||||
|
||||
|
||||
Reference in New Issue
Block a user