petar113507
Full Member
Damn Straight. I Am the king of waffelagia.
Posts: 166
|
Post by petar113507 on Oct 30, 2005 20:49:41 GMT -5
this is not a feature request, however it is a request. With lunar, I was wondering if you/anyone could post working scripts. I get the syntax of lua for the most part.... but I think it would save many questions if I could just see script.
|
|
|
Post by TinyTerror on Oct 30, 2005 21:19:11 GMT -5
Check the lunar/scripts directory for 3 or 4 examples. Its included with the Lunar.zip file I put up for download. Its mostly the scripts I used to test various features, and they should give you a basic idea of how things work. I will be posting some more complex scripts when I have time to work on them.
|
|
psyic
New Member
Posts: 20
|
Post by psyic on Oct 30, 2005 22:31:32 GMT -5
Oh, as far as the text editor thing... A good text editor to code basicly anything in is SciTE. My friend turned me on to it a little while ago. www.scintilla.org/SciTE.html take a look at it for yourself, but it comes with the ability to format code to the standards of like 30 different languages. Very smexy.
|
|
petar113507
Full Member
Damn Straight. I Am the king of waffelagia.
Posts: 166
|
Post by petar113507 on Oct 31, 2005 1:36:25 GMT -5
Oww. I looked at the lunar scripts, the syntax looks fairly easy to remember, but I don't see how I'm going to memorise the keywords without mindnuming ammounts of time.
Well, at least now CoreTech Class isn't a TOTal waste of time... I'd like to see some more advanced scripts for sure though.
|
|
|
Post by TinyTerror on Oct 31, 2005 8:23:27 GMT -5
Thats what the documentation is for. It lists all of the Lunar commands, and has notes about the behavior of each function. I will be updating it today to match the current state of the code.
|
|
petar113507
Full Member
Damn Straight. I Am the king of waffelagia.
Posts: 166
|
Post by petar113507 on Oct 31, 2005 15:04:22 GMT -5
I don't quite understand. I saw your links, but updated or not I saw the same thing I did last time. (Please post them stating current: ETC)
Thanks tiny!
Edit: I saw the links, But they dont all make sense like they should to me. It's probally cause I haven't seen any syntax of lua working in action.
|
|
|
Post by TinyTerror on Oct 31, 2005 15:46:45 GMT -5
Its the same document with updates. It is not ment to cover lua syntax, just the custom functions offered by Lunar.
|
|
petar113507
Full Member
Damn Straight. I Am the king of waffelagia.
Posts: 166
|
Post by petar113507 on Oct 31, 2005 15:51:20 GMT -5
Oh si si. Thanks for that clairifacation.
|
|
dev
New Member
Posts: 20
|
Post by dev on Nov 1, 2005 16:49:10 GMT -5
hello
I just found your project today and it looks really great!
I was wondering if there is a way to get the recast timer of specific spells or abillitys, the bloodpeace plugin is using this to display recasttime of summoner bloodpact abillty so I guess there must be a way.
|
|
|
Post by TinyTerror on Nov 1, 2005 18:37:13 GMT -5
I have the memeory addresses for recast timers, I just haven't messed with it yet. I'm trying to get everything stable before new features are added.
|
|
dev
New Member
Posts: 20
|
Post by dev on Nov 4, 2005 13:34:11 GMT -5
tiny what about the player position? I'm not talking about the worldposition which we allready have but about the string which gives Map position, like "(H-8)".
Any chance we will see this in a future release?
|
|
|
Post by TinyTerror on Nov 4, 2005 13:47:59 GMT -5
Thats an interesting question. Getting the map position might be slightly more tricky than it sounds. Nobody is really sure if the relationship between the exact position and the map position is constant between zones. Also, even if the relationship is constant, the game provides no point of refrence to map an exact coordinate to a map position. I'm quite sure that this problem could be solved if someone simply ran around finding the exact positions of the map grid intersections for a bunch of zones. If you can provide some data on this, I'll write some code and have it in the next release. Its really not a question of if this can be done, and more of a lack of data thing.
|
|
dev
New Member
Posts: 20
|
Post by dev on Nov 4, 2005 13:52:26 GMT -5
so you dont think the string which you get from the chatcommand <pos> is somewhere in memory?
Whatever, I will go out and test this now. Will post first results in a few min.
|
|
|
Post by TinyTerror on Nov 4, 2005 14:02:05 GMT -5
Im pretty sure its just a formula that uses the exact position to calculate the map position. Figuring out what the forumula is is the problem.
|
|
dev
New Member
Posts: 20
|
Post by dev on Nov 4, 2005 14:31:28 GMT -5
hm I just tried in la thaine and in sauromugue to get the position of the corners of J-8
got interrupted by PT invite now but as far as I got I can say there is NO interaction between world position and map position :/
|
|