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

Pages: [1]
1
Script development tools / Re: TrailMyx's Master Rail Engine/Developer
« on: March 31, 2022, 09:11:53 AM »
I'm having issues getting the Rail Engine to work, and would greatly appreciate if anyone can help me understand what Im doing wrong.

To be clear, Im not having any issues with the rail developer. I am able to record, save, and load rails directly through the developer. My issue is getting my recorded rail to load through the engine, so I can loop the rail and get it to run automatically.

If Im understanding this correctly, I need to run a code snippet in conjunction with the rail engine code in order to parse the rail file name and get it to loop? The recorded rail is in c:\test.txt and Im using Windows 10.


This is the snippet that I am currently using:
Code: [Select]
set %railsubs tool_railengine30l.txt
call %railsubs TM_Initialize

set %railfilename test.txt
set %railname RAIL1

call %railsubs TM_LoadRail %railfilename
if #RESULT = #TRUE
{
  display ok Rail file not found
  stop
}

set #LPC 100
loop1:
  call %railsubs TM_RunRail %railname 0 END FW  ; finish running this rail from the present position to the end
  if #RESULT = #TRUE
  {
    display ok Rail error occurred.
  }
  call %railsubs TM_RunRail %railname 0 END BW  ; finish running this rail from the present position to the end
  if #RESULT = #TRUE
  {
    display ok Rail error occurred.
  }
  goto loop1

call %railsubs TM_Close
stop

Nothing happens when I try and run this code, no error code or nothing. Same when I try and run the rail engine, nothing happens, but I do get a blank interface (attached picture).


Sorry if Im a noob but I would greatly appreciate if anyone can help me get this working.

2
Thank you for the suggestions.

I was finally able to solve the problem thanks to Gaderian!

Setting "Jewelry" as the first condition in the complex rule is what fixed it for me. Previously I had been setting it as the last. Order really does matter!

3
General UO Chat / Re: stealther removing my VE without flagging
« on: September 16, 2020, 01:59:55 PM »
My first guess would be purge but that seems unlikely if he isn't flagging you. A second guess could be player discord, lowering your skill thereby taking you out of form, but again, not sure if you can do that without flagging.

Are you always attended when this happens? Maybe you are flagging him first? Or maybe you have a hit area effect on your wep that flags him?

4
First I just want to thank TM for this amazing piece of work.

I've been using this in conjunction with my gold farming scripts and it works great. Still running strong on OSI and is highly compatible with Steam as long as you limit autolooting in UOS and don't have open corpses enabled.


I am having one issue however, that I have not been able to figure out; I cannot get this thing to loot RINGS!

Ive tried using the "Jewelry" preset, and it only works for bracelets. I've tried various user entries for "Ring" ,"Vicious Ring", etc, and that doesnt work either. Even with properties in my active rules, it will not loot any rings that have those properties. This makes me almost certain there's an issue with parsing the itemID. Though the strange thing is, EUO is reading the ring's itemID as LWL, which is listed under the "Jewelry" preset. I cant figure out why the claw isnt picking up on the LWL ID even though EUO is...

Does anyone have any ideas or suggestions for how I might fix this? I've scanned through the thread and there isn't any mention, and not totally sure where I should be looking in the source code.


Thanks!

5
New member introductions / From rags to riches...
« on: August 04, 2020, 06:30:01 PM »
Hello all,

I am Cortes, and I would like to introduce myself, and officially request to join your community!

I've been playing UO off-and-on during the last 20 years, generally over multiple-year intervals, and always on OSI. I fell in love with this game watching my dad and his buddies play when I was young (they started back in '97), and I have never looked back. PVP has always been my true passion in this game, and traditionally Ive always played the red/pker role. Thats how I was taught to play, and its always been the most fun Ive had in UO. Its also what led me towards my first experience with scripting, now many years ago. I used to run simple pot-chuggers on EasyUO for pvp, since it was the only way to keep up with the best players. That and cheat engine lol! Eventually I would discover training scripts, some of which I got from here along time ago. At that time I thought it was a totally game-changing experience, and it really helped me take my game to the next level.

When I first started using EUO, I was young, in highschool, and a complete script-kiddie. I would eventually take some years off from the game as I got older and went to college. By the time I was out of college, I had learned a lot more about computers, had taken a couple coding classes, and had some free-time to start playing UO again. I would say that this was also when I was at my prime in pvp. I was in my early-20s, and I was fast, talented, and extremely cocky lol. I played with and killed some of the best players to ever play the game. During this same time, UOSteam had just come onto the scene, and was starting to gain popularity amongst the better pvpers, which is how I came to find out about it. When I first started using it, and recognized its power, it completely transformed the way I played the game. It was absolutely primo in pvp, and an incredible advantage over anyone not using it. Back when I first started using Steam, I would record most of my macros in the app, which is how I came to learn the syntax. Eventually I became better and better at not just recording, but splicing together and editing scripts in a way that I never had before. I was finally able to read and edit both EUO and UOSteam scripts to handle most of what I needed/was doing back then, which was still mostly pvp, and a little bit of idocing.

Over the last few years I've slowed down in UO, taking extended hiatuses, and branching out into different aspects of the game. While I still enjoy and actively participate in pvp, it is no longer my sole focus in UO. And although I'm not as young, fast, or as good as I used to be at pvp, I have become a much much improved scripter. Scripting has become a real passion of mine, and has been a completely new UO experience for me that continues to surprise me and draw me back to this game. I'm at the point now where I often write my scripts entirely from scratch. And while I am proud of the scripts I wrote, and I get a great sense of accomplishment running them in-game, I realize that there are people way better than me in this community that I would love to learn from. I am eager to share ideas and continue to improve as a player and scripter, to hopefully reach new levels that I would once not think possible in this game. I currently write exclusively in Steam, and most of my scripts are related to gold-farming and pvp. I would love to learn how to write in EUO, and how to handle more advanced scripting techniques in both applications.

Thanks for taking the time to read my intro, and I look forward to joining your great community!

Pages: [1]