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 - Kryz

Pages: [1]
1
General UO Chat / Interested in Packets
« on: October 30, 2016, 12:40:39 AM »
What would be the best way for me to dive into the world of UO packets, and what can be achieved by doing so?

I have some interesting ideas on if we can edit outgoing packets in any way...

2
Scripting Chat / It Worked then...
« on: August 23, 2015, 11:13:00 AM »
So I have been doing a TON with my script over the past couple of days. Editing, Testing, Fixing, Editing, Testing, Etc.

I ran it successfully up to turning in the quest. It threw an error, wasn't a big deal. Located the error, didn't change anything as it made sense the way it was. Decided it was worth trying to run again and see if it did the same thing.

Without changing anything now my script has gone all screwy. Its showing the event sysmessages properly I put in each sub i'm using, but it is not actually performing the subs...

Any idea what I may have done? Any simple thing that has caused something similar in the past? Im looking for stray ;'s atm but with it breaking most of my subs hard to imagine that is it. Maybe ill look into open { }'s


OK I fixed it. I am sooo confused as to how it broke. I added a event sysmessage to every sub like I said before. It broke when I added one to TM's Sub TM_TravelFromObject. By commenting out my line
Code: [Select]
;event sysmessage TM_TravelFromObject The script started working as intended again.

3
Scripting Chat / Issue finding NPC
« on: August 22, 2015, 11:48:57 PM »
I must be doing something wrong here... I cannot seem to find these mongers, am I making some simple mistake?


Code: [Select]
Sub FindMonger
   MongerLoop:
   finditem HS_IS_OCB_NCB G_15
   if #FindKind <> - 1
      {
       event property #FindId
       if monger in #Property
          {
           display it works!
           goto MongerEnd
          }
       }
       goto MongerLoop
MongerEnd:
ingoreitem reset people
wait 5s
return

4
Scripting Chat / Plus or Minus...
« on: August 22, 2015, 09:17:46 PM »
Im looking for a quick way to use a range in an expression.

IE if A = B +-1
 
If A is equal to B, B+1, B-1

Am I stuck with If A = B || A = B + 1 || A = B - 1 Or is there a quicker way to do it?

5
Script Debug / Effective Ship Movement
« on: August 11, 2015, 08:57:07 PM »
Hey So I am working on my monger script, decided it was time to start diving into actual ship movement. I am looking for advice on how to effectively move the ship to a set of coordinates with little to no issues and no multiple commands, IE don't yell forward three times etc. This is what I have at the moment. Its a bit wonky at the end coordinates. Let me know what y'all think and if you know of a better way to go about this let me know i'm open to anything. I seem to always miss the target by 1 or 2 tiles and then the end mess happens.

Code: [Select]
Sub ShipGoToLocation
Set %GoalX #CHARPOSX + 10 ;change these values to set destination
Set %GoalY #CHARPOSY - 20 ; change these values to set destination

NavStart:
if #CHARPOSY > %GoalY
   {
   ;;;
   if #CHARPOSX = %GoalX
      {
      event Macro 3 0 Forward
   while #CHARPOSY > %GoalY + 1
         {

         }
   event Macro 3 0 stop
   GOTO NavStart
      }
   ;;;
   if #CHARPOSX > %GoalX
      {
      event Macro 3 0 forward left
   while #CHARPOSX > %GoalX +1 && #CHARPOSY > %GoalY + 1
         {

         }
   event Macro 3 0 stop
   GOTO NavStart
      }
   ;;;
   if #CHARPOSX < %GoalX
      {
      event Macro 3 0 forward right
   while #CHARPOSX < %GoalX +1 && #CHARPOSY > %GoalY + 1
         {

         }
   event Macro 3 0 stop
   GOTO NavStart
      }
   }
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
if #CHARPOSY = %GoalY
   {
   if #CHARPOSX = %GoalX
      {
      event Macro 3 0 stop
      halt
      }
   ;;;
   if #CHARPOSX > %GoalX
      {
      event Macro 3 0 left
   while #CHARPOSX > %GoalX +1 && #CHARPOSY = %GoalY
         {

         }
   event Macro 3 0 stop
   GOTO NavStart
      
      }
   ;;;
   if #CHARPOSX < %GoalX
      {
      event Macro 3 0 right
   while #CHARPOSX < %GoalX && #CHARPOSY = %GoalY
         {

         }
   event Macro 3 0 stop
   GOTO NavStart
      }
   }
if #CHARPOSY < %GoalY
   {
   if #CHARPOSX = %GoalX
      {
      event Macro 3 0 back
   while #CHARPOSX < %GoalX && #CHARPOSY < %GoalY
         {

         }
   event Macro 3 0 stop
   GOTO NavStart
      }
   if #CHARPOSX > %GoalX
      {
      event Macro 3 0 back left
   while #CHARPOSX > %GoalX && #CHARPOSY < %GoalY
         {

         }
   event Macro 3 0 stop
   GOTO NavStart
      }
   if #CHARPOSX < %GoalX
      {
      event Macro 3 0 forward right
   while #CHARPOSX < %GoalX && #CHARPOSY < %GoalY
         {

         }
   event Macro 3 0 stop
   GOTO NavStart
      }
   }

   halt

6
Submit your Script / KRYZ's Monger Farmer
« on: August 09, 2015, 05:11:52 PM »
Code: [Select]
;===========================Header============================
;Script Name:KRYZ's Monger Farmer.
;Author:KRYZ
;Version:1.0d
;Shard OSI / FS: OSI
;Client Tested: 7.0.49.2
;EUO Client 1.5.1.297
;Revision Date: 4/30/16
;Purpose: Farm for low level monger rewards like baits and books.

Special Thanks:
       -HiTech for his script, which I turned into 3 edited subs for this script.
       -Orngrimm for his beak string apart sub  
       -Trailmyx for his amazing runebook subs


Requirements:
       -A container of HighSeas Fish easily accessible from a recall point.
       -Runes to each Monger.
       -A Classic Boat (No high sea's or row boats) For now.
       -Your Time

Ver 1.0a Initial Release

To Do: Clean up some of the code, adjust the wait times to work on slower internet connections, maybe put some checks in to tell when recall has worked or not.

Future Updates: Hopefully I will be working on this long enough to make a fully automated FishMonger Quest system.

1.0b Will include a menu system with a lot of functionality missing. A work in progress is included below.
;1.0c added basic boat movement, cleaned up the code a bit.
1.0d Been a hot minute, this is largely automated now, still designed for small boat runs. Buggy and has its quirks but I have not looked at it in a LONG time, forgot to update here.

NOTE: Been a hot minute since I messed with this script. It will take a little bit of configuration to run out of the box.

7
Scripting Chat / Question over authorship
« on: August 09, 2015, 01:32:16 PM »
When making a new script if I used pieces already written from previous scripts what is the proper way of giving credit?

Do I just include it in the header? Document each line that I used? or and I would like to avoid this one ignore it altogether?

Post Merge: August 09, 2015, 02:13:25 PM
I think i'm going to move the subs I modified/used to the bottom of my script and include the header from the scripts they are from as well as include some information about what I changed. If that is ok.

8
New member introductions / Hello!
« on: August 09, 2015, 10:46:00 AM »
Hello, I deleted my old account and made a new one here. The old account was linked to my uoemail, and some of my characters on osi, so I decided it was in my best interest to remake my account here.

I am 28, I have been playing uo since release date after learning about it from my uncle who was in the beta. (So Ive been playing since I was 10) I have a degree in database admin, and I am interested in working on projects relating to quests and fishing.

I play OSI servers, used to pvp but now I mostly pvm. I just got my first castle recently and so now I am starting to collect things I used to sell for gear. I prefer to play builds I can solo with like Sampires.

My name is Chris IRL, but I will answer to Kryz, or Chris.

Pages: [1]