//In my "Messaging" world
world/Topic(T,Addr,Master,Key)
..()
var/list/href_list = params2list(T)
switch(href_list["action"])
if("regworld")
var/newaddress = href_list["address"]
var/newport = href_list["port"]
for(var/addy in server_list)
if(addy == newaddress && server_list[addy] == newport)
return
server_list += newaddress
server_list[newaddress] = newport
var/global/server_list
proc
WorldsOutput()
for(var/place in server_list)
if(place)
world.Export("byond://[place]:[server_list[place]]?message=message=This+is+a+test+message.")
world/OpenPort()
while(1)
WorldsOutput()
sleep(100)
//In my recieving world, the actual game
world/OpenPort()
..()
world.Export("24.239.185.221:12?action=regworld&address=[world.address]&port=[world.port]")
world/Topic(T)
var/list/href_list = params2list(T)
if(href_list.Find("message"))
world << "SERVER WIDE ANNOUNCEMENT: [href_list["message"]]"
..()
//I know, there's no check to see if it's really me...Aw well, I'll add another param later.
Well, the thing is simply, nothing happens. Can someone please help?
That should take next to no time to export since it's going to the loopback address. However, it seems that reg_world is never being called, as I never see the REGWORLD CALLED output. Since I know Lummox is working directly with the DM source, I was wondering if he could provide some insight.