-
Posts
3,374 -
Joined
-
Last visited
Content Type
Forums
Blogs
Knowledge Base
Posts posted by bigmoe Whitfield
-
-
I found this post, but mm maybe what @Whirly Fizzle posted in it might help or not?
- 1
-
I got one working script out of it, that was a bit complex, it likes to use functions it makes up on the fly like llgetzeroline no idea what that is as it's not a function or it tries to use [] for variables, but it's pretty fun to tinker with.
- 3
-
I have fixed my issue and got a bit of help in world with what I was slamming my head against. it works like a charm now, I thank those of you that came by and helped, this is why I love using the forums.
- 1
-
Slammed into another issue with it, Trying to pass the clickers name with the message to our server... I can get it to throw the key in there but it's zeroed out... which is not helpful. but when attempting to make it place the name with the function it's either not defined in scope or syntax error. I need a break right now though lol, beer time!
- 1
-
32 minutes ago, Love Zhaoying said:
How does it work / what does it do? Are you "just" posting the number to a specific Discord channel or..?
yep, they click a prim, it gives them a number, that number is given to them and to a private discord channel, so if they come to claim a prize they say they won and give us the same number and it matches with the name that clicked it and the number given they get the prize.
- 1
-
I love discord and webhooks and integrating them with lsl, just wish there were more examples and test samples out there.
- 1
-
@Wulfie Reanimator I got it working, the mime type was wrong! Thank you!
- 1
-
nvm, more facepaws, because I thought I fixed it, didnt lol.
- 1
-
ugh brain fog. but this compiles
string WEBHOOK_URL = "you cant haz";
default
{
state_entry()
{
llSetTimerEvent(30); // Change the timer interval as needed
}timer()
{
integer number = llFloor(llFrand(100)) + 1; // Generate a random number between 1 and 100
string message = "Your number is: " + (string)number;// Construct the HTTP request body as a JSON string
string json = llList2Json ( JSON_OBJECT , [
"content" , message
]);// Send the HTTP request using llHTTPRequest()
llHTTPRequest ( WEBHOOK_URL , [
HTTP_METHOD, "POST",
HTTP_MIMETYPE, "application/x-www-form-urlencoded",
HTTP_VERIFY_CERT,TRUE,
HTTP_VERBOSE_THROTTLE, TRUE,
HTTP_PRAGMA_NO_CACHE, TRUE
], json );
}
} -
9 minutes ago, Wulfie Reanimator said:
llList2Json's second parameter must be a list. You've given it a string. Do this instead:
That works, it's not posting anything to the discord channel and then threw me this error "[00:50] Too many HTTP requests too fast." hmhmh
-
So I'm setting up a give away with a random number that will be given from this device, but the device must also put this into discord for verification on a private channel that only admins have access too, I know how to get it to give the number to verify, that's not an issue.
string WEBHOOK_URL = "https://discord.com/api/webhooks/<removed rest of url";
default
{
state_entry()
{
llSetTimerEvent(30); // Change the timer interval as needed
}timer()
{
integer number = llFloor(llFrand(100)) + 1; // Generate a random number between 1 and 100
string message = "Your number is: " + (string)number;// Construct the HTTP request body as a JSON string
string json = llDumpList2String([
"content", message
], ",");// Send the HTTP request using llHTTPRequest()
return llHTTPRequest(WEBHOOK_URL, [
HTTP_METHOD, "POST",
HTTP_MIMETYPE, "application/x-www-form-urlencoded",
HTTP_VERIFY_CERT,TRUE,
HTTP_VERBOSE_THROTTLE, TRUE,
HTTP_PRAGMA_NO_CACHE, TRUE
], llList2Json(JSON_OBJECT, json));
}
}I think I'm missing things, but it's almost 3:30am and I've been at this for 2 hours slamming my head into a wall, I've combined a few working discord scripts and have gotten closer, but dumb me is having issues getting this, any ideas?
- 1
-
36 minutes ago, Kavarek said:
Date is irrelevant nor is creating a NEW POST needed (redundant) for posting updated information at the end of existing posts when it is searched (the 2 main post regarding it). Keep that in mind before commenting.
8 years is a dead topic. that's all there is for me to say about that. Have fun.
- 4
- 1
- 2
-
best bet since I'm not sure on it either is to submit a support ticket and ask LL directly.
- 1
-
8 years later, dude watch the dates on topics, make a new thread if you got new information as most information is dated this far back.
- 2
- 4
- 1
- 4
-
I reported it lastnight, they tend to get locked after that, but no go this time
- 1
-
forum only ties into login info from the database using an api (I finally figured out how to do it with opensim and Invision boards), these entries when you first start posting here get filled into the database used by the forum, they are essentially 2 different databases.
- 1
-
On 2/19/2023 at 1:29 AM, ToniaKR said:
On Osgrid I could download the region OAR "Open Simulator archive" with "save oar" and then change my region.ini coordinates to another place on the map and then "load oar." Seems very expensive $150 for this simple operation? Cost of living is effecting a lot of people at the moment so I myself have to think carefully about my spending!
LL is not using opensim software to run regions, so maybe think about that one too.
-
Clothing links like in firestorm or the other viewer? no, can not do that.
- 1
-
1 hour ago, Gavin Hird said:
It you place a client in the iOS store, it immediately becomes available to 1.5 billion active users. Even if 0.1% of those downloaded and tried the client, it represents 1,5 million users, which easily could happen within days if hyped up by media.
we've only had 80k and that hammered the doors shut, years ago, it's not been put the pressure on like that since, I hope with this aws they use now, it scales and handle the demand if 1.5 million come knocking. last time everything went nope and went offline here
- 1
- 1
-
I am watching the superbowl, I noticed "Meta" had an ad for their "virtual world" why is the lab not making ad's like this to promote one of the oldest worlds in the metaverse? I know some of us old timers will have some things to say about it, but SL should be at the top of the list for worlds out there.
- 2
-
I created a video of the real time reflections lastnight, while it needs some tweaking and from what I saw of other builds, and it did not tank my fps any, I'm okay with this.
- 1
-
Another one of these "I must have attention" types? from the quoted message and the replies, I can tell, you must not understand what SL really is for or how to take it as an item many people use as their own life because of maybe a disablity, maybe some social complexe. I'm sorry you can not grasp it.
- 2
-
so I went ahead and did this, plus it has some tail waggles that love will like. I was super excited to make this, didnt edit it, just did it on the fly.
- 2
- 2
-
pbr, the beer or the new materials that are coming?
- 1
- 2
Infrastructure Investment Update: Buy/Sell Fee Change and Land Pricing Effective Mar 6, 2023 DISCUSSION
in General Discussion Forum
Posted
I think what people do forget is that aws is not cheap to host with, nor is having a floor on a datacenter like LL did in the past, the fee's when they go up, LL has to figure out how to handle, best option is to hand them down to the userbase, I'd hate to see what would happen if LL decided to try and eat all of them, betting they would be in the red so fast we'd lose SL.