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

Pages: [1]
1
Scripting Chat / Re: How would I make a script to drop an item?
« on: February 21, 2010, 03:29:30 AM »
If I remember correctly, right now on OSI, you cannot drop items at your feet anymore, just a tile away.

2
General Discussion / Re: ScriptUO ?
« on: February 09, 2010, 01:03:40 PM »
guess EasyUO will not work at all with Sallos.

Every bit of EasyUO is studied to work with OSI 2d client (various versions).
It hooks the client in specified memory locations and it does other "advanced" stuff, so it'll definitely not work with Sallos.

3
thank you for the offer...I'll probably take a look at your code, cause I'm kinda interested in those "pathfind" sub.

Right now I'm trying to get a working A* pathfind sub written in lua (yeah, the infamous OpenEUO language...tbh i LOVE lua, it's just simple and straightforward...), but I'll work on some C# code too in the future.

It's just I don't like very much the "movement" subs existing now.

Pathfind alone, would work fine I guess, but it's spammy (and you cannot move more than about 20 tiles), while the Move command isn't so reliable, so for now, while i'm studing those pathfind algorithms, I'm just using a mixed "Move+Pathfind" sub.
It's kinda working for short movements (like those we're using in most rails), but sometimes you just need to say "Move(thereX, thereY)", even if the "spot" is kinda distant...so an A*pathfind would fit well there (without abusing it, cause the calculation "slow" most of the time...even more, when the distance is greater...)


Anyway, you gave me the answer I was looking for about clustered houses zones ;)

4
A* Pathfind is an algorithm to "pre-calculate" a path through a "map", where some tiles are walkable and some not.

references:
http://theory.stanford.edu/~amitp/GameProgramming/
http://www.gamedev.net/reference/articles/article2003.asp
http://www.tanis.dk/Articles/CSharpPathfind/
http://www.policyalmanac.org/games/aStarTutorial.htm

You say that 98% of the world is walkable with your rails, but how can those rails handles different houses placement?
I've to admit I've not tried your script, but as I'm researching on those pathfind algorithms I thought that a A* pathfind sub could help ya alot.

I'll link some easyuo threads on the subject:
http://www.easyuo.com/forum/viewtopic.php?t=6095
http://www.easyuo.com/forum/viewtopic.php?t=8662
http://www.easyuo.com/forum/viewtopic.php?t=31242

EDIT:
It's still unclear to me how I could get informations about houses placement.
We know that it's kinda easy get from maps which tiles are walkable and which are not, but houses are not "statics", so I'd need some kind of map, like the UOAM's. Still not sure if this is doable anyway

5
does this script use an A* tile-based-pathfind to wander around houses?

6
Games & Game Systems / Mortal Online Open Beta
« on: February 03, 2010, 02:42:35 AM »
From the 1st Febrary

http://www.mortalonline.com/content/open-beta

Check it out...not it's the right moment!

7
New member introductions / Re: Hello...another follower from Italy
« on: April 28, 2009, 07:15:22 AM »
Thanks for the intro MrMr.

You're name isn't a reference to an 80's band is it? ;)

Welcome to SUO.

XII
ehm, nope...this was just my first *nix username, back in the 80's :)

8
New member introductions / Re: Hi there
« on: April 28, 2009, 07:11:28 AM »
Wow, you were all over the place.  I do agree 100% with you.  Just about every one of the mentioned games has that level treadmill that I finally just got totally disgusted with.  For me it was Everquest, DAoC and WoW.  I'm currently playing WoW, but these days I'll log in, wander around for 5 minutes and log out.  I probably won't even be reupping the account for next month.
Something already seen :)
My wow account is frozen as well...
Couldn't stand it anymore..way to much easy

9
New member introductions / Hello...another follower from Italy
« on: April 24, 2009, 04:59:50 AM »
Hello to the ScriptUO community!

I'm fairly new to UO, but as soon as I logged in (on a pre-AoS freeshard) I got hooked by Razor macros.
After some times i realized that those macros were kinda limited, so looked forward for something more complex. Well i came up here.
In the meanwhile I found EUO and OpenEUO as well.
Prolly lua will be simpler for me, but who knows? Maybe ScriptUO is just better. Looking forward to try it.
I guess at the start my script will be fairly simple and not so usefull for other people, but we can always improve, isn't?
So far SUO interface looks very nice, the debug feature must be wonderful.
Well, let's see what I can do :)

Ciao

Pages: [1]