Blockland Forums > Modification Help

Getting names of bricks client side.

Pages: (1/1)

DrenDran:

Like the events menu does, for my events menu.
I can't seem to figure this out, as the data structures in the serverconnection class don't work with most of the functions they have, including "getName()"
I also exported all global variables, and none of them store any names, and I traced the origional event menu's function, but I didn't get anything specific.

M:

Clientside you only know what names you have, nothing about them as the entire events system is handled serverside.

DrenDran:


--- Quote from: M on November 24, 2011, 11:05:43 AM ---Clientside you only know what names you have, nothing about them as the entire events system is handled serverside.

--- End quote ---
What do you mean?
You only know the names of what bricks you have?
Oh, that gives me an idea.
What if I could find the client sided version of my own brickgroup.

self note:
http://www.gamefront.com/files/21020772/Client_NewEvents.zip
(don't download this)

Chrono:

I'm pretty sure when you click the "events" button the server sends you a list.

DrenDran:


--- Quote from: Chrono on November 24, 2011, 11:21:27 AM ---I'm pretty sure when you click the "events" button the server sends you a list.

--- End quote ---
nope, serverconnection has variables right in it
ServerConnection.NTName[x] and ServerConnection.NTNameCount
I figured it out by my self, obviously, locking.

Pages: (1/1)

Go to full version