Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jun 20 11:36

    sirinsidiator on master

    8.0.6 (compare)

  • Jun 06 15:36

    sirinsidiator on master

    8.0.5 (compare)

  • Jun 06 15:32

    sirinsidiator on pts8.0

    8.0.5 (compare)

  • May 16 21:13

    sirinsidiator on pts8.0

    8.0.4 (compare)

  • May 09 20:34

    sirinsidiator on pts8.0

    8.0.3 (compare)

  • May 09 20:09

    sirinsidiator on master

    7.3.9 (compare)

  • May 02 18:08

    sirinsidiator on pts8.0

    8.0.2 (compare)

  • Apr 25 15:46

    sirinsidiator on pts8.0

    8.0.1 (compare)

  • Apr 25 10:57

    sirinsidiator on master

    7.3.8 (compare)

  • Apr 19 20:12

    sirinsidiator on pts8.0

    8.0.0 (compare)

  • Apr 18 15:10

    sirinsidiator on master

    updated ESOUIDocumentation.txt (compare)

  • Apr 11 15:45

    sirinsidiator on master

    7.3.7 (compare)

  • Mar 28 10:48

    sirinsidiator on master

    7.3.6 (compare)

  • Mar 18 11:50

    sirinsidiator on master

    updated ESOUIDocumentation.txt (compare)

  • Mar 14 22:39

    sirinsidiator on master

    7.3.5 (compare)

  • Mar 14 11:56

    sirinsidiator on pts7.3

    7.3.5 (compare)

  • Feb 28 17:57

    sirinsidiator on pts7.3

    7.3.4 (compare)

  • Feb 21 17:30

    sirinsidiator on pts7.3

    7.3.3 (compare)

  • Feb 14 18:23

    sirinsidiator on pts7.3

    7.3.2 (compare)

  • Feb 14 17:41

    sirinsidiator on master

    7.2.10 (compare)

sirinsidiator
@sirinsidiator
that's correct. ZO_Tracker is a class. calling functions on it directly is not the way you are supposed to use them. You need to call it on an instance, like FOCUSED_QUEST_TRACKER
Sharlikran
@Sharlikran

I love how going in steps and thinking out loud, you tell me you should be using something like FOCUSED_QUEST_TRACKER rather then the class, and I find a slightly updated version of the mod with the older function replaced with FOCUSED_QUEST_TRACKER:InitialTrackingUpdate()

Thanks again, that's interesting. I need to learn about this but not sure what it's even called, the nomenclature for it

Sharlikran
@Sharlikran
I still learned something but don't fully understand it all, thanks
sirinsidiator
@sirinsidiator
it's called object oriented programming in case you want to learn more about it. the class is like the templates in xml. you use it to define how stuff looks like, but you cannot do anything with it directly. in order to use it you first need to create an object from it (=controls in xml)
Sharlikran
@Sharlikran
Yeah I really don't know what object oriented programming is other then hearing the words used. I think most of the time if I'm using it, it's because Something:SomeFunction(args) is just the syntax to do what I want. Not that I understand what it is. The way you explained it was helpful. Thanks.
sirinsidiator
@sirinsidiator
it's actually only half the truth since it's Lua we are talking about and Lua doesn't know object oriented programming either, but it should be enough to give you a basic understanding of how it's supposed to be used
Baertram
@Baertram

I'd have linked your original comment if the shitty gitter search would have shown it to me, but alas

I had searched for it as well and cuz I was not able to find it I just repeated it for IsJustAGhost. Sorry, I knew Dan knows ;-)

@Sharlikran About OO programming, maybe this is a "simple" explanation with examples: https://funtech.co.uk/latest/explain-object-oriented-programming-to-kids
Sharlikran
@Sharlikran
I called my local Community College and they said in the spring they will be offering free entry level classes but for iOs with something, I think she called Swif or Swift. I could not hear her well because she was in her car. Now, not what I really wanted but in the end I have been meaning to make something for phones, even though I wanted to do the programming and testing on my Android to avoid any developer environment/testing (to get it onto the phone to see how it worked) kind of fees. So, something interesting anyway.
Baertram
@Baertram
As you say car, car is a good example of a "class" :-)

image.png
image.png

You can then create multiple objects of that class which inherite the attributes and methods, and you can add new ones to each object
Like "normal car" is a standard object of the class car
And a "race car" would have the same attributes and methods, but also a method "pit stop" etc.

Sharlikran
@Sharlikran
Lol
sirinsidiator
@sirinsidiator
it's called "swift". it's the programming language Apple uses for iOS
if you just want to develop for yourself and try stuff, there is no need for any fees
you can use a personal provisioning certificate for deploying apps on your own iphone
and android is free to begin with (you only need to pay a one time fee to get an account for the store in case you plan to release it to the public)
and if you do not want to look into different programming languages for android and ios, you can always look into progressive web applications (pwa) or ionic, which use web technologies to deploy apps on your phone
Baertram
@Baertram
Transfered to ESOUI lua ZO_Smithing e.g. is the class providing the similar basics like variables and functions for the different objects like SMITHING or SMITHNG_GAMEPAD (or similar)
Sharlikran
@Sharlikran

I have dabbled in Pascal/Delphi, Assembly, Basic, Python, Lua. I have seen but don't fully understand Java script for one of my websites to get a small widget to click on for a fold out menu. Someone wrote the fold out menu stuff for me just for fun.

Siri: Yeah and Baertram mentioned that the Delphi Embarcadero version with RAD studio should compile for both Android and iOs which I do have.

Baertram: I have see things like that and what you are explaining makes sense to me. You guys know how I stumble around most of the time. I think just knowing that Vehicle is the basic class and Car, Bus, Truck, Race Car are the different kinds of vehicles is good to know. I'm just not using it in the same way Siri explained with FOCUSED_QUEST_TRACKER

Baertram
@Baertram
Both would have e.g. the refinement, create, deconstruction, improvement and research panels and functions, but the actually used ways to fill it with data and controls would be different and thus in different objects
Sharlikran
@Sharlikran
In about 14 minutes there will be an advisor available for my local community college so I'm going to see what my options are
Baertram
@Baertram
:+1:
I'm off to the kitchen now, else I'll be eaten alive later on if I do not provide something else ;-)
sirinsidiator
@sirinsidiator
I don't know about delphi for app development, but the same should hold true. you do not need to pay any fees to deploy applications for yourself on android or ios (but you will need a mac os device to compile apps for ios in any case)
13 replies
Sharlikran
@Sharlikran

Baertram: Because I took Spanish classes and I had two different experiences. The first one time I tried to take classes the teacher talked to the dean of the department and literally kicked me out of the class. The second attempt years later the teacher was more helpful but I got an F because I didn't know how to use accents above the vowels and some other basics. With Spanish I speak it so well because I have been doing it for 25 years you can barely tell I'm American when I speak it because I have such a good accent. Anyone can tell but nobody ever says to me to stop speaking because my accent is so "White" that they can't listen to me speak without hurting their ears. In fact they ask me about my parents and try to determine where in Mexico I might be from and the most common reference is "Are you from the Beach"

So I feel like programming is about the same for me. I can do it and have done it for a long time, since I was about 12. However, I can not dot the I's and cross the T's properly and don't know some things that I should have learned along the way. I'm hoping the advisor understands what I am getting at if I can find a better way to explain it to them.

Sharlikran
@Sharlikran
I like to joke I was born before Object Oriented Programmined was invented so I struggle with it.
Sharlikran
@Sharlikran
Wow because of Covid you can't go to the College or really call them on the phone at a.. It's all email and maybe a zoom call. Interesting. That's just an interesting change due to covid. I didn't expect that.
wjtk4444
@wjtk4444
/script EVENT_MANAGER:RegisterForEvent("test123", EVENT_JUMP_FAILED, function (_, reason) d(reason) end)
Could someone take a quick peek and tell me what I'm doing wrong? :)
Expected to get a JumpResult code in chat after failing teleportation, but nothing happens.
sirinsidiator
@sirinsidiator
completely easy and logical. the reason is of course because jump errors are sent via EVENT_SOCIAL_ERROR and not via EVENT_JUMP_FAILED. ;)
but keep in mind that there are also some errors that arrive via EVENT_COMBAT_EVENT as expected
aside of that a jump can also fail silently when you change weapons, move the character or do anything obvious like opening a menu
sirinsidiator
@sirinsidiator
and I believe EVENT_JUMP_FAILED fires when you successfully started jumping and already see a loadingscreen, but the player you jump to moved to some other zone where you cannot go in the meantime
Baertram
@Baertram

completely easy and logical. the reason is of course because jump errors are sent via EVENT_SOCIAL_ERROR and not via EVENT_JUMP_FAILED. ;)

Made my day :laughing:

Solinur
@Solinur
Don't assume :D
wjtk4444
@wjtk4444
EVENT_SOCIAL_ERROR works like a charm :)
IsJustaGhost
@IsJustaGhost

If I do the following while in one of my homes,

/script ZO_COLLECTIBLE_DATA_MANAGER:RebuildCollection()

I get this error. This is even with all addons disabled.

/EsoUI/PublicAllIngames/Globals/Globals.lua:12: Attempt to access a private function 'IsMarketProductPurchased' from insecure code. The callstack became untrusted 8 stack frame(s) from the top.

How is this attempt to access a private function when I tell it to refresh it's self?
I've also tried to do this in a round about way by calling ZO_COLLECTIBLE_DATA_MANAGER:CleanCollection() and other functions that call CleanCollection

Never mind. It's not just inside my house. it's now anywhere.
IsJustaGhost
@IsJustaGhost
Hmm, I restarted the game and now it works. What gives, lingering code?
IsJustaGhost
@IsJustaGhost
I'm digging more into it.
Ok, understanding a little more now. If the housing editor is opened at all during a session, then ZO_COLLECTIBLE_DATA_MANAGER:RebuildCollection() cannot be used, no matter what path is used to get to it thru using the object ZO_COLLECTIBLE_DATA_MANAGER
votan
@votan73
ZO_COLLECTIBLE_DATA_MANAGER uses private functions to get store items. You can not call it from an addon.
IsJustaGhost
@IsJustaGhost
I figured since the object itself is doing all the work ,without modifications, then it would be fine.
I'll see if I can apply my modifications to the collectibles system prior to addonload
IsJustaGhost
@IsJustaGhost
Solution: create an internal "RebuildCollection" without the
self:FinalizeCollectionUpdates(ZO_COLLECTION_UPDATE_TYPE.REBUILD, collectiblesByNewUnlockState)
IsJustaGhost
@IsJustaGhost
I would greatly appreciate any and all feedback, including bugs and conflicts, for https://www.esoui.com/downloads/info3119-IsJustaFavoriteCollectibles.html
11 replies
Sharlikran
@Sharlikran
I'm going to go insane. I removed all the unnecessary code from MailR and I'm usimg LibDebugLogger to output messages. Prior to saving the mail the table contains a sub-table named attachments. I see it in the debug viewer but it doesn't end up in the save variables.
19 replies
SavedVariablesThing[mailId] = tableName
And intelij doesn't seem to know how to mark a missing function with red or grey out anything
Sharlikran
@Sharlikran
image.png
Baertram
@Baertram

And intelij doesn't seem to know how to mark a missing function with red or grey out anything

Correct, depends on if the function is a direct local, a global one or a function of a table: