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.


Topics - Gemviper

Pages: 1 [2] 3 4 ... 7
16
Scripting Chat / Selling script to restock a vendor?
« on: December 18, 2016, 09:27:10 PM »
I have accumulated a large collection of "pinks" from the many idocs I've looted and it's time I sell them. I was 100% certain a selling script existed but I am having trouble finding it, does one exist that can...

- stock a vendor with scrolls of transcendence, adding whichever scrolls i have loose in my pack(no book control needed)
- price each scroll on the vendor
- optional: position the scrolls so that they are offset a little bit from any other scroll so as not to 100% cover another scroll
??

I will probably just set a base price, example 75k per 0.1, and multiply that by however many pts any given scroll has. I'm not looking to micro manage to the degree of having different prices for all, I have a lot to clear out, and I do mean a lot.

EDIT: I just remembered that there was a recall scroll restocking script that neatly spread out scrolls in the vendors pack, that could work perfectly for my needs after I make a few changes but ack, can't find that one either.

17
Scripting Chat / Event Property multi application questions
« on: December 16, 2016, 07:00:05 PM »
Hi,

I've been modifying and testing my looting script, which is a never ending project, and was wondering if there was any advice on the following. I'll try to describe what I've done and what I'm seeing but if I'm not clear enough just ask.

The script performs a single finditem call to find desired items and places all of the results into an array for processing, ignoring, prioritizing and distance checking before proceeding(sounds complicated but I've worked on this the most and it's now efficient). In the past I noticed that since it iterates quickly to process all items it found it would occasionally miss an event property check on one of the items it found. To solve that I put the event property check into a repeat loop until it found something basic like weight or stone, words common to most items, until every item would be processed correctly.

I tested this extensively at live idocs and didn't find any issue with it until... I had a second account running on the same machine that was watching another idoc to get the fall time. That script was essentially looping to check for a condition change but the event property result of that script was being mixed into the event property of a completely different script running on the same machine. I know this because the repeat loop mentioned above would never finish, because the house sign had neither words in it(weight or stone). To solve this problem I washed the house sign out of the loop by adding the word owner and by slowing down the timer script to only check once per minute instead of continually. I eventually found it good to add the locked down check here as well to save having to do it elsewhere in the script, ie: locked , #spc , down not in yada yada...

Great, that should do it, or so I thought. All it did was move the problem over to the other script. If I am looting while the other is watching the sign check fails and at only 1 check per minute it risked timing out. I fixed the timeout loop to not be in the house sign check loop and solved that but it brought up some more interesting findings.

HOUSE WATCHER: If the house sign watching account is directly under the sign then the looting script(and entirely different script being run on the same machine by another account) considers the house sign to be closest and my looting toon begins to run directly towards the sign, even if it's on the other end of the map! It's fooled into thinking the sign is closest, lol. I fixed this by modifying the iteration to automatically ignore house signs... but it got me thinking some more.

Rails, if you have account logged on in Minoc and you want your character to run directly there from say the Britain pass you can make the minoc account finditem of something like an NPC or table or any item near it and have the other account move/pathfind to it. It actually works, assuming you don't get stuck on private steps or in someone's house etc, of course. The 18 tile range does not mean 18 tiles around the character performing the check, it means 18 tiles around any character that is logged in and has performed an event property. Theoretically it's possible to run rails over the entire map if a script logs in a 2nd account near waypoints.

Anyway, back to my question, has a solution been found that stops the sharing of event property results leaking into the results of other scripts on the same machine? It's not my script intentionally using namespace or globals that's causing the leak, it happens with none of that in the script too. How have others solved this sharing of event property results?

18
Scripting Chat / Pulling the new point value from bods?
« on: December 03, 2016, 11:32:55 PM »
Hello,

I finally have some free time to sort out my bod sorting script but have a question. I know how to move and manipulate items, open and click on gumps, pull values off items etc but I just realized I haven't yet tried to pull a value directly from a gump! Unless there is some other way to find out how many points a bod is worth I need to figure this out before proceeding.

Is there an easy way of pulling the bod point value from any given bod? Obviously getting the property value of the bod itself is no help because the point value is in the gump, not on the bod. Sorting by craft type is easy thanks to each craft being a different color but by point?

19
Off Topic / NASA $30,000 Space Challenge
« on: December 01, 2016, 01:28:39 PM »
According to NASA people go potty and in space that's a problem - http://www.ctvnews.ca/sci-tech/nasa-issues-30-000-space-poop-challenge-to-solve-age-old-problem-1.3183232

Just curious as to how a bunch of scripters might approach the problem :)

My feeling is that you have to go with liquid undies! A pair of boxer like undies that "flood" the area with a liquid solution when you need to do your business and when done the fluid is circulated through a membrane until the waste is "flushed" away from the body and then all of the fluid is drained until you need to go again. The physics of water in space would make it ideal for this and pumping fluid would also work because of the elasticity of the undies pressing against the fluid... it would "want" to go wherever a pump let it. Oh, and you don't want to know about some of the other ideas being circulated that include things like actually having a device up in there... eeeks!

Are you happy to see me or is that a bidet in your pants?

20
Scripting Chat / looting EM items and rares
« on: November 26, 2016, 12:01:09 AM »
Scenario: You are at an idoc and you don't know it yet but the house owner was an EM and rare item collector. Not only that but he locked down said collection all around his house for everyone to see.

Problem: Your looting script doesn't look for individual EM items because A)there are so many different ones and B) there is no one itemID to scan for, they borrow the itemID's of a lot of other generic items. How do you handle it?

I don't afk idoc, my script makes a sound when a house falls to alert me, and so I grab these if/when I see them, manually. Using "finditem * G" is problematic because you are literally going to run around like a chicken without a head, into neighbors houses etc, etc. You need to name them within the script but the names are weird, the list is long and... you get the idea.

There has to be a way to include EM items and rares in an efficient way, right?

21
Jokes! / Where's my sammich?
« on: November 22, 2016, 01:33:15 AM »


 8)

22
Scripting Chat / Ghosting Idocs
« on: November 22, 2016, 01:20:42 AM »
- create 1 account with dead characters (manually)
- get 1 ghost to each idoc (manually)
- log ghost in, check sign, record current decay value to a text file and log out (script)
- log in next ghost, without forgetting to account for the "still logged in" timer, repeat previous step (script)

This would be one method to watch multiple idocs with one account, possibly even a trial account, so that you get a "timer" on when it should fall. It would not be very difficult to write since login/logout subs and sign recording subs are already public and most of us have them in various scripts already. It's one of those scripts that I have a hard time believing doesn't exist yet but I'm not finding it if it does. Sometimes a script is hard to find when it begins with a player name and has a fancy title(ie:"WiCkEd's RaD GhOsTy ScRiPt" instead of "ghost idoc monitor" or similar) so figured I'd ask before I write this one too.

Has anyone shared a script similar to this outside the elite section yet?

23
Jokes! / This is brilliant!
« on: November 19, 2016, 06:07:17 PM »
Kid refuses to clean room, wants to play video games instead. Mom's answer...

24
Jokes! / Politics can be funny sometimes...
« on: November 17, 2016, 07:52:20 PM »
In 2016 there was a bipartisan push to legalize weed for arthritic therapy.


Isn't that like joint support for joint support for joint support?


I iz confused.

25
General UO Chat / To pack or not to pack at IDOCs ??
« on: November 16, 2016, 08:30:44 PM »
Pros
- Can hold more items
- Can hold heavier items

Cons
- Require monitoring so a mongbat doesn't ruin your day
- More items doesn't mean better items, most idocs don't have more "good" items than 1 pack can hold
- Hold heavier items, such as full chests, but only a benefit from 500 to 1600 stones
- Not Fel IDOC friendly
- They announce your presence and, occasionally, generate hate(a concern if you plan an idoc career, getting reported etc)



Any other pro's and cons you can think of with using pack horses at an IDOC? I have always preferred being stealthy at idocs but took the plunge and wrote a packhorse control script that works great. 30+ IDOCs later I have picked up hundreds of chests I would only have looked in previously but of the 500 or so chests MAYBE there were 5-6 good items(worth 1M+) and a whole lot of common stuff. People tend to want to display their best stuff or it only works when locked down etc so a packhorse isn't needed for those. I'm considering going back to the stealthy way with a packhorse or two on standby(pet ball) if needed.

What are your thoughts, to pack or not to pack? I'll add a poll if you want to remain anonymous but share your preference(polls are anonymous right?). I'm posting this because I'm going to be developing my script even further to see what it can do but kinda need to decide on pack/no pack first :) What's your preference and why?

26
Scripting Chat / Sharing info between accounts FAST, possible?
« on: November 13, 2016, 04:19:39 PM »
I've modified my idoc script so many times since first writing it years ago, It's actually quite fun to look back at each set of changes and see the progression from OK script to one I am happy with. Constantly using the script and tweaking it based on actual idoc outcomes has made it better than I had originally set out to make it but I still want to take the next step and make it work even better in combination with a second account. I think it could be even faster if things processed in one script were not processed redundantly in the second.

Is there any documentation about how to share data from multiple scripts as the scripts run? ie: shared ignore list, shared finditem results etc? so two scripts(or more) can avoid evaluating the same things redundantly? I've seen mention of it in a couple of existing public scripts but would like to fully understand the limits and nuances before I tackle it live. Any reading suggestions? Search wasn't much help unfortunately.

P.S. I am a webmaster and running scripts with a desktop or even a server based SQL database would be trivial to set up, has anyone "gone there" and mind sharing their findings? My goal is to get multiple already fast scripts to work together to make them even more effective.

Stuff that can be eliminated if scripts work together, example:
1 account is on N side of house, other on S side. The 2 accounts are aware of their distance from each other. Account 1 spots an item a G_12 directly in front of it and instantly knows that that location is only G_6 from account 2. The item is "handed off" to account 2 as the top priority and account 1 ignores it and scans again. Account two redirects from an item it spotted at G_6 because this item is better.

The above is one thing I'd test, sort of like a hive mind. Another I'd like to test is perhaps an account that doesn't try to pick things up at all, it simply stands by the sign and does nothing but scan the area to itemize and prioritize targets for the other account(s). No time spent evaluating with the item grabbers or time spent running with the evaluating account. Again, how fast the item evaluation could be made and shared would be critical.

MAYBE, if other idocers welcome the idea, scripts from multiple accounts could tap into the same data and  share in the evaluation/priority item processing so that if an item is high on one person's list and is near them the other users would not all make a mad dash for it and would instead find good items near them so that they aren't gone by the time the mad dash is over. Fraps videos show me people running right past things like secret chests, for example, to try and grab a porter tile only for the chest to be gone after they dash back.

I\m gettign ahead of myself maybe, not sure if this is being discussed in the elite section or not, but there seems to be a lot of ways of making things more efficient that would benefit everyone who's on board with it. I hope that wasn't all too confusing.


27
General UO Chat / Question about RAZOR scripts
« on: November 13, 2016, 08:59:55 AM »
Heya,

Is there a way to have Razor log each character on, run a sript, and log off and onto the next character to run said script again?

I have a small script I'd like it to run for each character with RAZOR.

Thanks

28
Public Bugs / Neon Beard bug
« on: November 10, 2016, 10:21:17 PM »
Can't script tonight so I got to doing little things like stocking vendors and finishing odds and ends, including dying my hair on one character.

If your character has a beard you know that using a neon hair dye only dyes the hair, not the beard. To get a matching neon beard go to the hairdresser after applying the neon hair dye and remove your beard. Next put it back on and it will default to whatever your hair color is, or neon in this case.

This isn't a huge bug or game breaking in any way, most probably already know about it, but if you're going neon why not go fully neon?

Gnight!

29
Jokes! / Instant Skillz
« on: November 09, 2016, 09:47:41 PM »

30
Jokes! / Sometimes it's OK not to like a friend you love...
« on: November 05, 2016, 07:14:04 PM »
When you're not really liking that friend you'll still love the next day...


Tip: if stuff is coming out of a friends mouth... keep yours closed! Eeewwww.

I found the reactions of the other 3 priceless, I can't even imagine...

Pages: 1 [2] 3 4 ... 7