/delhome and /sethome are overwriting the wrong home. | Support | Forum

A A A

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 4 characters - maximum search word length is 84 characters

sp_Feed Topic RSS dirt
/delhome and /sethome are overwriting the wrong home.
Topic Rating: 0 (0 votes) 
February 22, 2014
8:16 am
LordEboshi
Member
Members
Forum Posts: 23
Member Since:
October 6, 2012
sp_UserOfflineSmall Offline

While exploring the new SR, I typed /delhome 2 (I only have 2 homes). This deleted my previous /home 2 which was a warp to the End Portal in the OR. I then typed /sethome sev to make a new home 2, right?

 

The problem is that when I went to /home 1 which should have been unaffected by my commands, it turns out my /home 2 warp point was instead shifted down to /home 1, effectively overwriting my old /home 1 (which sucks because that was the only way to get to my town).

 

Was I using the commands wrong? Or is there some sort of error in an array handling segment somewhere?

"Your effort to remain what you are is what limits you." - Puppet Master
February 22, 2014
9:46 am
frelling
Senior Tech
Forum Posts: 3264
Member Since:
August 18, 2011
sp_UserOfflineSmall Offline

You should always reference homes by their name rather than their index value. New homes are added to the beginning of the list, pushing existing homes up a notch - as in your case, the new home became #1 and the old #1 become #2. Likewise, if you had three homes using /delhome 2 would make your old #3 the new #2.

Human beings, who are almost unique in having the ability to learn from the experiences of others, are also remarkable for their disinclination to do so. - D. Adams
Forum Timezone: America/New_York

Most Users Ever Online: 442

Currently Online:
27 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Emulated: 3206

ryanpitts: 1300

Dalferes: 746

Pherian: 660

Okarim: 594

Member Stats:

Guest Posters: 10

Members: 12646

Moderators: 3

Admins: 2

Forum Stats:

Groups: 8

Forums: 45

Topics: 6229

Posts: 27407

Newest Members: Dolgostinov934, Lowsoncluch, StevenUnlal, ItkomiScuth, Darelcluch, Alofautt, opvisualspro, irenamikina, Krivousov741, Linelcluch, mikemiler021, OknoJug, Cheljustkin942, Davidcoino, Shinkarev486, Georgcluch, Suprunec951, Pavelcluch, Klepachev046, edudipro

Moderators: terrorisly: 424, mudwog: 127, LightWarriorK: 2153

Administrators: meatbawllz: 2475, frelling: 3264