Discussion list for Unity developers.
unity-dev at moock.org
Mon Sep 17 14:09:40 CDT 2007
hi drew, sounds like you have two options: 1) store all the information in a single attribute with a delimited value. e.g., vote = "voterID|voteeID|value" 2) write a little bit of server-side java in a custom room that receives the information via a custom UPC and sets fields accordingly in the db. hope that helps, colin Discussion list for Unity developers. wrote: > Hi all, > > I was trying to figure out a way to add additional fields to the MySQL > database used with attribute persistence. After looking through the > archives, I understand that this isn't possible with the built in > functionality of Unity? (Unity 2) > > I'm wondering if any of you have had some success with accomplishing an > equivalent of this, or if anyone has developed a workaround to get more than > one value stored and retrieved to/from MySQL/Unity through other means? I > need to figure out how to get information to/from a database with a > different structure (2 extra fields). I've tried putting together a PHP > solution, but it doesn't work with Unity very nicely (refresh problems), and > I want to have seamless/synchronous attribute persistence like the rest of > the chat I've put together. > > What I'm trying to do (if some context helps at all.) is create a vote-based > reputation system for my avatar chat. This means that I need to store the > id of the voter, the votee, and the value of the vote (so that a user can be > made aware of and change the vote given to another user). > > Thanks, > > drew > > -- > you're a unity-dev subscriber. to unsubscribe, visit www.moock.org/mailman/listinfo/unity-dev/ > > superb hosting for this list and moock.org is generously provided by Rackspace. See: http://www.rackspace.com/?supbid=moock >