Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
SalleeMatthew authored and smile0711 committed Aug 27, 2024
1 parent 7dbce17 commit 3eac054
Showing 1 changed file with 1 addition and 26 deletions.
27 changes: 1 addition & 26 deletions spa/assets/worlds/008/home.wrl
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,7 @@ eventIn SFTime set_pi
eventIn SFString reset_info IS reset_info
eventIn SFBool get_info

field MFString loadURL ["/cgi-bin/cybertown/edit?tpl=common/avatarwardrobe/avatarinfo&mime=.wrl"]
field MFString loadURL [""]
field SFNode self USE LoadScript
field SFInt32 count 0
field SFNode PI IS PI
Expand All @@ -745,12 +745,6 @@ eventOut SFTime getTime_changed

url "vrmlscript:

function set_config(){
u = new MFString('javascript:loadInfo(\"/cgi-bin/cybertown/edit?tpl=common/avatarwardrobe/avatarupdate&T_awname=' + name + '\")');
p = new MFString('target=action');
Browser.loadURL(u,p);
}

function receive(v,t){
avatar = v[0].avatarUrls;
//print(v[0].avatarUrls);
Expand All @@ -769,29 +763,10 @@ function set_backward(v,t){
currentAvatar = new MFString(avatar[count]);
}

function set_avatar(v,t){
u = new MFString('/cgi-bin/cybertown/edit?tpl=common/avatarwardrobe/defaultavatar&AVU='+ currentAvatar +'&fool=b.html');
p = new MFString('target=audio');
Browser.loadURL(u,p);

u2 = new MFString('http://www1.cybertown.com/cgi-bin/cybertown/property?ID=' + PI.ID +'&ac=3D&T_OWNER=' + PI.isOwner + '&T_setAvatar=' + currentAvatar[0] +'&T_refresh=false&IE=x.bxx');
p2 = new MFString();
Browser.loadURL(u2,p2);
}

function reset_info(v,t){
getTime_changed = t;
}

function get_info(){
if(v){return;}

u = new MFString('/cgi-bin/cybertown/edit?tpl=common/avatarwardrobe/avatarinfo&T_placeID='+PI.ID+'&mime=.wrl');
//Browser.createVrmlFromURL(loadURL,self,'receive');
//print(u);
Browser.createVrmlFromURL(u,self,'receive');
}

function set_pi(v,t){
isOwner = PI.isOwner;
enabled_changed = true;
Expand Down

0 comments on commit 3eac054

Please sign in to comment.