[RP] Split Figures [SLEDMORE]

Status
Not open for further replies.

Sledmore

Chaturbate Livestreamer
Staff member
FindRetros Moderator
Jul 24, 2010
5,195
3,907
THIS HAS NOW BEEN UPDATED.


Hey guys,

Thought I'd release some split figures as the other ones look SOMEWHAT messy, So here we go. (This is a tutorial too).


1) Go to virtualUsers.cs.
2) Find: using System.Timers;

3) Find the personal region.
4) add this: internal string _Uni;

5) Under that add this: using System.Text.RegularExpressions;
6) Find: _isLoggedIn = true;

7) Under that add this:
Code:
                                string FigurePartHair = _Figure;
                                string GetHairPart;

                                GetHairPart = Regex.Split(_Figure, "hr")[1];
                                FigurePartHair = GetHairPart.Split('.')[0];
                                string FigurePartBody = _Figure;
                                string GetBodyPart;

                                GetBodyPart = Regex.Split(_Figure, "hd")[1];
                                FigurePartBody = GetBodyPart.Split('.')[0];

                                _Uni = Convert.ToString("hr" + FigurePartHair + "." + "hd" + FigurePartBody + ".");

8) Complete!

WAIT WHAT? THAT DON'T WORK!?!?​

1) Oh yeah, When you do a figure for the split you need to do it in the formats like this: _Figure = _Uni + "ch-220-94.lg-280-94.sh-290-62";

2) I'd change your case "startwork": to something like this: _Figure = _Uni + jobs_ranks_figure_data;

Also, Because the hair + skin is the splits in this release, Your figure codes in the database wont need certain bits, Base them like this: ch-220-94.lg-280-94.sh-290-62

But, Yeah, You may want to do some coding on startwork and the figures in the corporation creation. I've done this on Obbo and had it work ;).

If you like this please click the thank/like button x]

- Thanks.


500 POSTS - POSTING FREAK ;).
 

Sledmore

Chaturbate Livestreamer
Staff member
FindRetros Moderator
Jul 24, 2010
5,195
3,907
Thanks ;) - That's cause I'm pro ;).
 

Sledmore

Chaturbate Livestreamer
Staff member
FindRetros Moderator
Jul 24, 2010
5,195
3,907
Thanks, Glad you like it.
 

Sledmore

Chaturbate Livestreamer
Staff member
FindRetros Moderator
Jul 24, 2010
5,195
3,907
Thank you, The fixe has been added in step 3 ;).
 

Roper

Ancient Member
Jul 4, 2010
569
216
I'm a "newbie" when it comes to Roleplaying stuff, so can you elaborate on this as im clueless to what it is for/does???
 

Sledmore

Chaturbate Livestreamer
Staff member
FindRetros Moderator
Jul 24, 2010
5,195
3,907
Well, In RastaLulz's first release, We all looked the same when working / arrested, Didn't have our own hair or skin. Now you don't lol.
 

Kieren

The OGz
Aug 4, 2010
2,957
751
Thank for the tutorial and release; It's horrible not having split figures on a RP with identicle users lmfao.

Thanked
 

Sledmore

Chaturbate Livestreamer
Staff member
FindRetros Moderator
Jul 24, 2010
5,195
3,907
Thank you for the comments x].
 

Roper

Ancient Member
Jul 4, 2010
569
216
I was just looking at the code, and i thought there must be a quicker/cleaner way of coding the same thing...
 

Sledmore

Chaturbate Livestreamer
Staff member
FindRetros Moderator
Jul 24, 2010
5,195
3,907
I don't see how it's dirty? But yeah, If you want to add 10-12 columns, And over 90+ Lines of code be my guest. Where as on this all you do is a figure edit :).
 
Status
Not open for further replies.

Users who are viewing this thread

Top