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.


Messages - Paulonius

Pages: 1 2 3 [4] 5 6 ... 79
46
General UO Chat / Re: Does reforged items always equal crap durability?
« on: December 12, 2012, 05:46:07 AM »
Are you talking about the Brittle characteristic?

47
UO-Related Tutorials / Re: Starting a Script Miner
« on: December 12, 2012, 05:41:36 AM »
Elves get a higher percentage colored ore in addition to an alleged increase in the frequency of the rare gem types.

48
General UO Chat / Re: How did you come by your SUO name?
« on: November 29, 2012, 03:57:19 PM »
Wow, I just googled "Paulonius" and some DBag Super Tweeter comes up the first 20 hits. You did better than me EN. Next time I grab a nik I am going to lock down the twitter and FB property at the same time.

49
Scripting Chat / Re: Looking for a tutorial on creating data files
« on: November 27, 2012, 09:09:34 AM »
I will take a look!!

50
Television/Movies / Re: Walking Dead Series still on AMC
« on: November 27, 2012, 07:29:31 AM »
I noticed that too. Someone at KFC must have a sense of humor.

51
Scripting Chat / Re: Looking for a tutorial on creating data files
« on: November 27, 2012, 06:56:51 AM »
I modified the waypoint recording script to use hashmarks to break up the data points so that I could use TM's string parser to break them up when I pull them into a script.

Then I added a step by step pathfind through the waypoints by modifying the waypoint script, and used that to create a second script that will make files for hatchet/shovel strikes along the waypoint, using a similar naming convention.

I now have a set of scripts that I can use to make rails for mining or lumberjacking. It takes about five minutes to record a decent rail, and another 5-10 to add the shovel/hatchet data points.

52
Manwincs' Script Library / Re: Mwinc. Imbuing Trainer
« on: November 27, 2012, 01:54:55 AM »
My siege gargoyle hit 120 last night.

I didn't keep careful track, but these numbers are very close.

From zero to 120:

About 1500 each for citrine and ruby, maybe 1750 amber.
I think I ended up net positive on residue
about 5,000 dull copper ingots (used these from zero to 55)
150 gold ingots

53
Scripting Chat / Re: Looking for a tutorial on creating data files
« on: November 26, 2012, 04:57:28 AM »
Using EN's data file tool I wrote a simple hotkey script to write a rail data file as follows:

Code: [Select]
Set %Rail_Name SPR1
Set %File_Name %Rail_Name
Set %File_Name_txt %File_Name , .txt
Set %File_Path C:\Users\CRS\Desktop\EUO\
Set %File_Path_And_Name_txt %File_Path , %File_Name_txt
Set %WP_Save WP
GoSub ENs_ClearFile %File_Path_And_Name_txt
Set %X 0
Repeat
      {
      onhotkey f4
      Set %HotKey4 True
      onhotkey f5
      Set %HotKey5 True
      If %HotKey4 = True
         {
         Set %X %X + 1
         Set %WP_Save . %X %WP_Save , %X
         Set %WP . %X X . #CHARPOSX , Y . #CHARPOSY , Z . #CHARPOSZ
         Event exmsg #charid 3 4 %WP . %X
         gosub ENs_SaveData %File_Path_And_Name_txt %WP_Save . %X
         Set %HotKey4 False
         }
      }
Until %HotKey5 = True
Set %WP_Count %X
Gosub ENs_SaveData %File_Path_And_Name_txt WP_Count
Halt


I ran the code, hit F4 four times and then hit F5. The rail file is named SPR1 and looks like this:

Code: [Select]
; ENs Var Save
Set %WP1 X2164Y2169Z7
Set %WP2 X2164Y2169Z7
Set %WP3 X2164Y2169Z7
Set %WP4 X2164Y2169Z7
Set %WP_Count 4

Next I will add in the character count code.

54
Scripting Chat / Re: Looking for a tutorial on creating data files
« on: November 21, 2012, 09:48:25 AM »
A lot of cool stuff we can do with this. 

Could you share what you did to calculate character count?

55
Scripting Chat / Re: Looking for a tutorial on creating data files
« on: November 21, 2012, 06:42:07 AM »
I did a little more testing with this code and confirmed that you can use a variable in the gosub ENs_SaveData call line.

The tool becomes really flexible once you start using string and apend as it will allow you to pair a sequenced variable with a sequenced variable name (See below). If you run a character counter you can use that as a trigger to use the same process to promote the file name -- so yes, I think we do want a counter sub also.

I broke apart the file path from the file name so that the name could easily be promoted with a trigger from a character count sub.  While is not used in this example, I wanted to show that I had it working to demonstrate that automatically promoting the file name is possible.

My test script looked like this:

Code: [Select]
Set %Test_Variable Blah
Set %Test_Variable_Save Test_Variable
Set %File_Name Data_test
Set %File_Path C:\Users\CRS\Desktop\EUO\
Set %File_Name_txt Data_test . .txt
Set %File_Path_And_Name_txt %File_Path , %File_Name_txt
goSub ENs_ClearFile %File_Path_And_Name_txt
For %X 1 10
    {
    Set %Test_Variable_Save . %X %Test_Variable_Save , %X
    Set %Test_Variable . %X %Test_Variable , %X
    gosub ENs_SaveData %File_Path_And_Name_txt %Test_Variable_Save . %X
    }
Halt

The data file it created, appeared in my UO file named Data_test.txt  and it looks like this:

Code: [Select]
Set %Test_Variable1 Blah1
Set %Test_Variable2 Blah2
Set %Test_Variable3 Blah3
Set %Test_Variable4 Blah4
Set %Test_Variable5 Blah5
Set %Test_Variable6 Blah6
Set %Test_Variable7 Blah7
Set %Test_Variable8 Blah8
Set %Test_Variable9 Blah9
Set %Test_Variable10 Blah10

Pretty much exactly what I was looking for EN!!


 

56
Scripting Chat / Re: Looking for a tutorial on creating data files
« on: November 20, 2012, 02:20:41 PM »
I am liking this. Digging in and I have a few questions.

Is there a limit on the number of parameters I can send with this system?

I have not looked at parsing the percentage sign from the front of a variable before, but that seems like something that would be good to be able to do so that the save data sub could accept dynamic variables. Is that even possible?

Code: [Select]
gosub ENs_SaveData %File_Path_And_Name_txt TestVar TestVar2

I took your test code and played about a bit pulling the file path off of the file name and I got that working so that I can have a dynamic file name for use in building sets of data.  

Code: [Select]
Event Macro 1 0 STARTING TEST
wAIT 5
SET %TestVar 1
set %testvar2 test
set %File_Name Data_test
Set %File_Path C:\Users\CRS\Desktop\EUO\
set %File_Name_txt Data_test . .txt
;Event exmsg #charid 3 4 TEST MESSAGE The file is now named %File_Name_txt
Set %File_Path_And_Name_txt %File_Path , %File_Name_txt
;Event exmsg #charid 3 4 TEST MESSAGE  The File path with the file name %File_Path_And_Name_txt is saveing a test value of %testvar - %testvar2
goSub ENs_ClearFile %File_Path_And_Name_txt
gosub ENs_SaveData %File_Path_And_Name_txt TestVar TestVar2
; ~~~~~~~~~~~~~~~~~~~
set %testvar 2
set %testvar2 boo
;Event exmsg #charid 3 4 TEST MESSAGE  reseting testvalue to %testvar : %testvar2
; ~~~~~~~~~~~~~~~~~~~
gosub ENs_LoadData %File_Path_And_Name_txt
;Event exmsg #charid 3 4 TEST MESSAGE TestValue = %testvar : %testvar2 $ (should be 1 : test what was saved in file)
halt

57
Questing / Re: neo's cleanup residue quester 10/06/2011
« on: November 20, 2012, 07:11:25 AM »
225 quests Yeilded (10,350 residue)

100 110 Scrolls (44%) | combining for 120 imbue scroll
125 105 scrolls (56%) | 6250 cleanup points

4 Chisels: 1 each: Shadow, Copper, Gold, Verite



58
Questing / Re: neo's cleanup residue quester 10/06/2011
« on: November 20, 2012, 06:33:10 AM »
I modded this script to:

Save 110s and pitch 105s

Walk out of my house on siege before recalling to Ter Mur

Use Gate instead of recall. I dropped TM's travel sub in rather than rework yours Neo.

Its running well and I should have enough 110s for a 120 imbue scroll every 7000 residue. With the changes that make it harder to make essence, I don't see the value in churning essense and plan to stick to residue.

59
Scripting Chat / Re: Looking for a tutorial on creating data files
« on: November 20, 2012, 03:35:28 AM »
Your tool kit got me thinking, so figured I would ask!

60
Scripting Chat / Re: Looking for a tutorial on creating data files
« on: November 19, 2012, 07:13:23 PM »
I knew you had something handy EN, thanks a ton!! I have been looking at subs trying to figure it out, but wanted something clean to learn from.

Pages: 1 2 3 [4] 5 6 ... 79