Iris2.de
http://iris2.de/forum/

*whips the development team* "WORK!!"
http://iris2.de/forum/viewtopic.php?f=15&t=1135
Page 1 of 3

Author:  Triant [ Fri Nov 23, 2007 7:13 pm ]
Post subject:  *whips the development team* "WORK!!"

just kidding I would never ever ever do that.

Anyways, just saying that me and my shard is still waiting and drooling for the Iris 2.0 client.

Not far left now before its in a fully useable state. Just a journal and a macro list option and it would be useable by the players and our shard.

Anyways, a couple of things..

Tilefree movement = Awesome

this whole project = Awesome

"The development team = Awesome

so :P just do a nice last run to the goal now people and people will be ready to accept this client with open arms.

Thanks a million for your hard work!

And the diffrent between you guys and the others that are saying "nah this is no big deal we could have done this ages ago." is that you guys are actually doing it and getting closer day per day to finishing it.

the shard "Star of Chaos" love you guys and we will support your client 100%.

Author:  ghoulsblade [ Fri Nov 23, 2007 10:20 pm ]
Post subject: 

heya, glad to hear that =)

Author:  ghoulsblade [ Sun Nov 25, 2007 1:39 am ]
Post subject: 

the "journal" dialog is working now, it is like a log/diary for all chat and other messages, toggle with "j". Text-wrapping is still ugly (we'll have to improve some fundamental gui code there someday), text is all black, and you cannot scroll back, but the core functionality is there. So it can still be improved, but better than nothing =)

Image

Author:  SiENcE [ Sun Nov 25, 2007 8:05 pm ]
Post subject: 

:-)

thanks very much.

Author:  ghoulsblade [ Mon Nov 26, 2007 3:41 am ]
Post subject: 

ok, i worked on some macro stuff, but it is a bit different from the uo stuff.

there is no ingame editor dialog for it, you have to edit a textfile : data/mymacros.lua

you can assign macros like this :

Code:
SetMacro("ctrl+s",function() MacroCmd_Open("Status") end)   -- Open Status window
SetMacro("alt+c",function() MacroCmd_ToggleWarmode() end)   -- Toggle between War/Peace modes
SetMacro("alt+p",function() MacroCmd_Open("Paperdoll") end)   -- Open Character Window
SetMacro("alt+k",function() MacroCmd_Open("Skill") end)   -- Open Skills
SetMacro("alt+j",function() MacroCmd_Open("Journal") end)   -- Open Journal
SetMacro("alt+i",function() MacroCmd_Open("Backpack") end)   -- Open Backpack
SetMacro("alt+x",function() MacroCmd_Quit() end)   -- Quit game
SetMacro("alt+b",function() MacroCmd_Say("*bow*") end)   -- Bow
SetMacro("alt+s",function() MacroCmd_Say("*salute*") end)   -- Salute


it can be mapped to all sorts of keys, including numbers and function keys

you can also specify conditionals like
Code:
if (MacroRead_PlayerStat("curHits") < 0.5*MacroRead_PlayerStat("maxHits")) then MacroCmd_Say("i'm half-dead !") end

will trigger if the player health is below 50%

not all commands from uo are implemented yet, please tell us which ones you consider most important of the missing ones.

making "pause" possible during a command like in uo would require a bigger bunch of coding on our part (lua-coroutine stuff i think), so for now if that is needed please use
InvokeLater(timeout_in_milliseconds,function () .... stuff to do later.... end)



more docs about commands and syntax are in the template for that file (gets copyed on first start)
http://zwischenwelt.org/trac/iris/brows ... s.lua.dist

Author:  cougar [ Mon Nov 26, 2007 7:51 pm ]
Post subject: 

The ability to use a skill/cast a spell would be quite nice ;)

Author:  ghoulsblade [ Mon Nov 26, 2007 10:23 pm ]
Post subject: 

ok, skills and spell commands work,
and i moved all the infos about the macro system to a wiki page :
http://www.iris2.de/index.php/Macros

Author:  cougar [ Tue Nov 27, 2007 8:47 am ]
Post subject: 

Sweet! Nice work! The next one ist more challangeing *g*
A Funktion often needed during Gameplay is a "apply
Bandage" macro.

Author:  ghoulsblade [ Tue Nov 27, 2007 9:09 am ]
Post subject: 

how would that work exactly ? i don't have much experience with uo sorry =) doubleclicking a specific item-type in the backpack ?

Author:  SiENcE [ Tue Nov 27, 2007 9:56 am ]
Post subject: 

I think an Hotbar with associated Hotkeys would be the best for this. You put an Item (bandage) into a Slot1 use it, pressing Key1.

Otherwise we can use a Function like in modern RTS games. You Click on an Item and select it and then Press CTRL+1 (2,3,..) to associate the Item with Key 1. You can use this Item afterwards by pressing Key 1.

One thing left to solve: Target yourself.

Author:  ghoulsblade [ Tue Nov 27, 2007 12:33 pm ]
Post subject: 

ok, two new macro commands with which the bandage macro should be possible :

MacroCmd_ItemSlot_Set (slotnumber) -- marks the item under the mouse for later usage
MacroCmd_ItemSlot_Use (slotnumber) -- use item in slot

preset macros using them :
press ctrl-f1 - ctrl-f4 to mark items under the mouse
and f1 - f4 to use them

Author:  cougar [ Tue Nov 27, 2007 4:58 pm ]
Post subject: 

Or (to save an Item slot) just some kind of makro which
looks for bandages inside the Backpack and uses them. I guess every non mage char will need some kind of healing makro. Plus you don't have to target yourself that will give some valuable extra seconds ^^

Author:  ghoulsblade [ Tue Nov 27, 2007 5:52 pm ]
Post subject: 

there are some pitfalls when determining the name of an item afaik, especially if the same artid is used by mutliple different items on the server, i don't know how the real name is sent then, might be some of the special aos-property-messages that we don't know the format of :( .... so i'm not sure how to find out the name of an item without clicking on it.

also currently using the macro results in a target cursor appearing, but i think i can add a WaitForTargetCursorAndSelectSelf() command or so.

Author:  ghoulsblade [ Wed Nov 28, 2007 4:37 pm ]
Post subject: 

MacroCmd_TargetLast () -- wait for target cursor and target the same thing that was targetted last time

example usage :
SetMacro("f5", function() MacroCmd_ItemSlot_Use(1) MacroCmd_TargetLast() end)

hmm, was this possible in the original client ?
should we block it somehow if not ?

Author:  cougar [ Wed Nov 28, 2007 6:51 pm ]
Post subject: 

Target last item/object is in the original client too. That should be no problem i think

Page 1 of 3 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/