Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Swollow

Pages: 1 ... 26 27 28 29 30 [31] 32 33 34 35 36 ... 617
451
Add-Ons / Re: Set Appearance Events [Revised]
« on: January 25, 2018, 05:28:34 AM »
then for the love of god at least make an event to SAVE the avatar PERMANENTLY
or even a pref that changes the way pop appearance works
I don't understand why you would need to load an appearance more than once
But they can still change it with events - add a second bool to the lockAvatar event that when ticked prevents players from changing it with events - would make the event a bit more 'dynamic' as you say
sounds unnecessarily complicated
I can understand if someone doesn't know the node/face/decal names - but maybe they outta learn them if they are messing around with the players appearance? I can literally type the name of the node I want faster than I can select it from a loving drop down box
good for you, my addon is intended to create the easiest end user experience
Upon further testing I found that if I put on a hat and pack , push the appearance, remove the hat and pack via avatar menu then pop the appearance - nothing happens!
thanks for the bug report, upon close inspection I had accidentally named a variable improperly and the issue is now fixed
They die and want their hat back? idk
this add-on handles things per player not per client, if the player dies the saved avatar is gone
This is where we do things differently - I think avatarLoad and avatarSave are more efficient names - especially in a gui that is alphabetically organized
that is a nicer naming convention I'll give you that, but I prefer my event names


Edit: since you were talking about typing the name of the node faster this addon might also interest you
https://forum.blockland.us/index.php?topic=291624.0

452
Add-Ons / Re: Set Appearance Events [Revised]
« on: January 25, 2018, 05:06:30 AM »
Code: [Select]
%error = ForceRequiredAddOn("Event_Appearance");
if(%error == $Error::AddOn_NotFound)
{
error("ERROR: Event_AppearanceMod - required add-on Event_Appearance not found");
return;
}

registerOutputEvent("player","restoreFace","",1);
registerOutputEvent("player","restoreSkin","",1);
function player::restoreFace(%pl,%cl)
{
if((%db = %pl.getDatablock()).shapeFile !$= "base/data/shapes/player/m.dts" && !%db.cstar fisheSwolNodeEvents)
return;
%pl.setFaceName(%cl.faceName);
%pl.setNodeColor("headskin",%cl.headColor);
}
function player::RestoreSkin(%pl,%cl)
{
    if ((%db = %pl.getDatablock()).shapeFile !$= "base/data/shapes/player/m.dts" && !%db.cstar fisheSwolNodeEvents)
return;
    %pl.unHideNode("headskin");
    if (%cl.hip)
    {
        %pl.unHideNode("skirthip");
        %pl.unHideNode("skirttrimleft");
        %pl.unHideNode("skirttrimright");
    }
    else
    {
        %pl.unHideNode("pants");
    }
    %pl.setFaceName(%cl.faceName);
    %pl.setNodeColor("headskin",%cl.headColor);

    %pl.setNodeColor("rhand",%cl.rhandColor);
    %pl.setNodeColor("lhand",%cl.lhandColor);
    %pl.setNodeColor("rhook",%cl.rhandColor);
    %pl.setNodeColor("lhook",%cl.lhandColor);
}

please revise your mod so that it separate

also you don't have to require my addon for yours to work since it has no relevant code pertaining to my mod so just remove the forceRequiredAddon if you wish either way


probably should have written a "fetchAppearance" so it doesnt have to be popped off, but fair enough i guess
it just never occured to me that someone would have any reason for loading the same appearance multiple times for any reason
and a better name would be saveAppearance and loadAppearance





Also I have updated my addon to have that console error fixed, this addon in its current state will overwrite that fix of course

453
Add-Ons / Re: [Event] Appearance v2.2
« on: January 25, 2018, 05:02:14 AM »
fixed a console error

and a glitch with restore appearance

454
Add-Ons / Re: Set Appearance Events [Revised]
« on: January 25, 2018, 04:48:42 AM »
Seriously? We have been through this, lol. I tried these events on a default install of Blockland.

Before I go into to detail, let me correct myself - when I said they were "broken" I actually meant "oddly working" or "partially functional" imo

Let me explain the issues that Deo and I had with these events a bit more thoroughly:
1. The pushed appearance is deleted after you pop your appearance - WHY?!?!
this is exactly how push and pop are supposed to function
https://www.cs.cmu.edu/~adamchik/15-121/lectures/Stacks%20and%20Queues/Stacks%20and%20Queues.html
2. Even if your avatar is locked, you can still change the appearance via events - not sure if this was intentional or not but it's a bit strange
locking your avatar prevents users from changing it in the avatar gui
3. Bogged up events list - There should not be 5 different output events just to change node colors and visibility / face / decal when you can do it with a single output event
the alternative is a stuffty text box entry? theres no support for dynamic drop down menus, its concise and clear
4. Console errors when restoring appearance as I mentioned here which you never addressed but now the topic is too old.

I never expereienced that, but it would be a single line of code to fix that


my issue is you claim "everything is broken" and the only thing you have presented is a single console error that doesnt actually effect the usability of the mod, everything is functioning as intended

455
Add-Ons / Re: Set Appearance Events [Revised]
« on: January 25, 2018, 01:49:31 AM »
The restore events in that mod are the only things that work, everything else is broken
jesus christ they work fine you probably have some stuffty addon conflicting

456
Off Topic / Re: Blocklander of the Year 2017 [POLL #38]
« on: January 23, 2018, 08:32:47 PM »
I'm okay with losing to pecon
congrats friend

458
Off Topic / Re: forumers, who is your forum crush?
« on: January 22, 2018, 04:12:16 AM »
where is port

459
General Discussion / Re: Celebrating my 100th hour
« on: January 21, 2018, 03:55:42 PM »

460
Off Topic / Re: Blocklander of the Year 2017 [POLL #33]
« on: January 18, 2018, 03:59:02 AM »
i was gonna vote swollow but she didnt release the new sweps update...
hold your damn horses its coming

461
Off Topic / Re: Blocklander of the Year 2017 [POLL #33]
« on: January 18, 2018, 02:23:19 AM »
who? never heard of either of them

462
itll be pretty hard for blockland to die for me since everytime i play blockland I just invite a bunch of people onto my server and we play something random i make

463
Suggestions & Requests / Re: Script for "Show BL_ID on join?"
« on: January 15, 2018, 05:45:37 PM »
their name and ID should show up in the clear bricks menu right?

464
Modification Help / Re: Help: Custom turret aiming
« on: January 15, 2018, 03:39:40 AM »
wtffffff no way

465
never experienced that
try copying the default tank turret variables

Pages: 1 ... 26 27 28 29 30 [31] 32 33 34 35 36 ... 617