Blockland Welcome, Guest. Please login or register.
Did you miss your activation email?
April 26, 2018, 05:01:39 PM

Home Help Login Register
  Show Posts
Pages: 1 2 [3] 4 5 6 7 8 ... 604
31  Blockland Files / Add-Ons / Re: [Event] Appearance v2.3 on: January 25, 2018, 06:22:13 AM
I already fixed it, you have to redownload
32  Blockland Files / Add-Ons / Re: [Event] Appearance v2.3 on: January 25, 2018, 05:40:55 AM
its all fixed

the thing that was causing the issue all along was the accent, fixed now
headskin will be set properly it wasn't working because when the player is added there is never a call to unhiding the headskin node because by default its already visible
33  Blockland Files / Add-Ons / Re: [Event] Appearance v2.2 on: January 25, 2018, 05:07:08 AM
I spawned without a headskin node - restoring my appearance made it reappear, wtf
christ what is with this code, fixed redownload
34  Blockland Files / Add-Ons / Re: Set Appearance Events [Revised] on: January 25, 2018, 05:01:09 AM
Someone dies with a blue shirt they 'bought' and now they have the default starter avatar (or team uniform) but want their blue shirt back?
this add-on handles things per player not per client, if the player dies the saved avatar is gone

Now I'm just wondering if you are you going to add the "revised" events soldier added to the original mod since this topic is using an outdated version?
as far as I'm concerned these are extended events and theres no point in including them in my addon since they are niche
35  Blockland Files / Add-Ons / Re: Set Appearance Events [Revised] on: January 25, 2018, 04: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 fucking 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
36  Blockland Files / Add-Ons / Re: Set Appearance Events [Revised] on: January 25, 2018, 04:06:30 AM
Code:
%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.canUseSwolNodeEvents)
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.canUseSwolNodeEvents)
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
37  Blockland Files / Add-Ons / Re: [Event] Appearance v2.2 on: January 25, 2018, 04:02:14 AM
fixed a console error

and a glitch with restore appearance
38  Blockland Files / Add-Ons / Re: Set Appearance Events [Revised] on: January 25, 2018, 03: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 shitty 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
39  Blockland Files / Add-Ons / Re: Set Appearance Events [Revised] on: January 25, 2018, 12: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 shitty addon conflicting
40  Off Topic / Off Topic / Re: Blocklander of the Year 2017 [POLL #38] on: January 23, 2018, 07:32:47 PM
I'm okay with losing to pecon
congrats friend
41  Off Topic / Off Topic / Re: psa if you code with the dark theme on your editor then you dont deserve food on: January 23, 2018, 03:16:18 AM
42  Off Topic / Off Topic / Re: forumers, who is your forum crush? on: January 22, 2018, 03:12:16 AM
where is port
43  Blockland Forums / General Discussion / Re: Celebrating my 100th hour on: January 21, 2018, 02:55:42 PM
44  Off Topic / Off Topic / Re: Blocklander of the Year 2017 [POLL #33] on: January 18, 2018, 02:59:02 AM
i was gonna vote swollow but she didnt release the new sweps update...
hold your damn horses its coming
45  Off Topic / Off Topic / Re: Blocklander of the Year 2017 [POLL #33] on: January 18, 2018, 01:23:19 AM
who? never heard of either of them
Pages: 1 2 [3] 4 5 6 7 8 ... 604


Login with username, password and session length

Powered by SMF 1.1.20 | SMF © 2013, Simple Machines
Page created in 0.032 seconds with 18 queries.