Messages
8
Reactions
0
Credits
642
Joined
Jan 2023
Messages
15
Reactions
0
Credits
3,302
Joined
Dec 2023
most
Periphery,
wrote:
Not everyone is doing this to use it on their server, some people like me are doing this to Learn more but I totally understand what you’ve said.
Periphery,
wrote:
Yes because I can code, and I don't believe in handouts to people that can't code. If you can't fix a simple line of code, you have lit...
Not everyone is doing this to use it on their server, some people like me are doing this to Learn more but I totally understand what you’ve said.
Messages
266
Reactions
1
Credits
23
Joined
Sep 2021
bl9z,
wrote:
most
Not everyone is doing this to use it on their server, some people like me are doing this to Learn more but I totally understand what you’...
Not everyone is doing this to use it on their server, some people like me are doing this to Learn more but I totally understand what you’...
Code like this is far too complex to start learning. 0Resmon made the code so convoluted that a novice can't reverse engineer it for it to make sense. They have functions within subfunctions that to someone new makes 0 sense and they have no clue where to begin.
Messages
266
Reactions
1
Credits
23
Joined
Sep 2021
martink7331,
wrote:
Hi again! The problem with me is this function Koci.Client.Craft:AddAttachmentToWeapon(_weapon, newAttachment, cb), i made the function LoadWeaponOnTa...
Did you declare the variables? Because if you don't have createdWeaponObjectOnTable as a global variable, then the literal first line of this function if _weapon.object == createdWeaponObjectOnTable will be nil and it won't do much. Did you replace Koci.Utils:LoadModel(componentModel)? Because that can also be the reason your attachments won't load. You can also simply add a verbose logging by printing each part where it won't work by printing the declared variable you want to check and see if it returns a valid boolean or even get toggled to begin with.
Messages
42
Reactions
1
Credits
2,475
Joined
May 2023
Periphery,
wrote:
Did you declare the variables? Because if you don't have createdWeaponObjectOnTable as a global variable, then the literal first line of this fun...
Yea the loadmodel i replaced with requesrobject too. Same result. I have shown the attachment but the attachment position is in the middle of the weapon not on the actual position where it should be .
Messages
266
Reactions
1
Credits
23
Joined
Sep 2021
martink7331,
wrote:
Yea the loadmodel i replaced with requesrobject too. Same result. I have shown the attachment but the attachment position is in the middle of the weap...
Did you ever get the Uncaught TypeError: Cannot read properties of Undefined (reading '0')? I had that issue before and that caused some whacky shit with the preview placement.
Messages
42
Reactions
1
Credits
2,475
Joined
May 2023
Periphery,
wrote:
Did you ever get the Uncaught TypeError: Cannot read properties of Undefined (reading '0')? I had that issue before and that caused some wha...
I made like 4-5 code edits and in the beggining yes now with the latest edit i made there is no error just the attachment is not in the right position. Do you have discord tho?
Messages
93
Reactions
0
Credits
7
Joined
Oct 2023
Messages
93
Reactions
0
Credits
7
Joined
Oct 2023
Messages
93
Reactions
0
Credits
7
Joined
Oct 2023
Messages
104
Reactions
0
Credits
298
Joined
Jul 2022
Messages
48
Reactions
0
Credits
102
Joined
Aug 2023
icpdk,
wrote:
0r-craft [NoPixel 4.0 Inspired] [open source]
[attachment removed]
-=Stripped Content=-
[attachment removed]
-=Stripped Content=-
Damn crazy script, will definetly try it out! Thanks[/attachment][/open][/nopixel]
Messages
18
Reactions
0
Credits
8
Joined
Oct 2023
Messages
109
Reactions
0
Credits
555
Joined
Oct 2023
Freedom
Admin
Messages
118
Reactions
2
Credits
27,506
Joined
Apr 2022
Periphery,
wrote:
Yes because I can code, and I don't believe in handouts to people that can't code. If you can't fix a simple line of code, you have lit...
Hell yeah. Someone finale things the same way like me.
Messages
143
Reactions
0
Credits
10
Joined
Feb 2024
Messages
266
Reactions
1
Credits
23
Joined
Sep 2021
Freedom,
wrote:
Hell yeah. Someone finale things the same way like me.
Getting sick and tired of these copy-paste kiddies trying to get a server going, but can't fix a single fucking line when shit breaks.