ID:149987
 
Dantom's Hublib is to confusing! I cant seem to figure out what I need to put in here myself. I read the demo game thing for Hubllib but this is what i got out of it and it doesnt seem to work:

#include


world
hub = "Kunark.Fenris's Apocolypse"



MyGame
var
title = "Fenris's Apocolypse"
player_keys[0]
journal[0]

var/tmp
mob/host

var/MyGame/mygame = new()

ByondHub/LoadHubfile(File,owners[],title)
if(File)
var/savefile/F = new(File)
F >> mygame
mygame.host = usr

mob/proc/check_in()
var/savefile/F = new()
var/owners[0]
F << mygame
for(var/P in mygame.player_keys)
owners[P] = byondhub.USER_ACTIVE
byondhub.CheckinHubfile(F,owners,mygame.title)


I need to know if this is how I would be able to use hublib and if it is then where would I call these two procs? If its not then what do I need to do to make hublib work? Also will I be able to use hublib with char handeling or would I need to totaly change my saving code to get it in? I'm very confused on how to use this thing as you can see
Let me see if i can get this perfect to work.
It works
In response to SSJ4_Gohan_Majin
What do you mean? What works?
Kunark wrote:
Dantom's Hublib is to confusing! I cant seem to figure out what I need to put in here myself. I read the demo game thing for Hubllib but this is what i got out of it and it doesnt seem to work:

#include <dantom/hublib>


world
hub = "Kunark.Fenris's Apocolypse"

Barring all of the other stuff in your file, I'll make you aware that the proper version of that line would be:

hub = "Kunark.FenrissApocolypse"

It takes the case-sensitive punctionation-free version of your hub name. This is also told to you whenever you make a hub entry.