Iris2.de

Iris2-Forum
It is currently Fri Apr 19, 2024 10:00 pm

All times are UTC




Post new topic Reply to topic  [ 33 posts ]  Go to page 1, 2, 3  Next
Author Message
PostPosted: Fri Nov 23, 2007 7:13 pm 
Offline

Joined: Mon Jun 11, 2007 7:40 am
Posts: 23
Location: Norway, Jessheim
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%.

_________________
Star of Chaos - RP Race/Class Runuo Server.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 23, 2007 10:20 pm 
Offline
iris2-developer
User avatar

Joined: Tue Apr 18, 2006 10:28 pm
Posts: 823
Location: Munich, Bavaria, Germany
heya, glad to hear that =)


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 25, 2007 1:39 am 
Offline
iris2-developer
User avatar

Joined: Tue Apr 18, 2006 10:28 pm
Posts: 823
Location: Munich, Bavaria, Germany
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


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 25, 2007 8:05 pm 
Offline
iris2-developer
User avatar

Joined: Mon Aug 09, 2004 12:20 pm
Posts: 1431
:-)

thanks very much.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 26, 2007 3:41 am 
Offline
iris2-developer
User avatar

Joined: Tue Apr 18, 2006 10:28 pm
Posts: 823
Location: Munich, Bavaria, Germany
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


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 26, 2007 7:51 pm 
Offline

Joined: Sun Apr 08, 2007 5:49 pm
Posts: 49
The ability to use a skill/cast a spell would be quite nice ;)


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 26, 2007 10:23 pm 
Offline
iris2-developer
User avatar

Joined: Tue Apr 18, 2006 10:28 pm
Posts: 823
Location: Munich, Bavaria, Germany
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


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 27, 2007 8:47 am 
Offline

Joined: Sun Apr 08, 2007 5:49 pm
Posts: 49
Sweet! Nice work! The next one ist more challangeing *g*
A Funktion often needed during Gameplay is a "apply
Bandage" macro.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 27, 2007 9:09 am 
Offline
iris2-developer
User avatar

Joined: Tue Apr 18, 2006 10:28 pm
Posts: 823
Location: Munich, Bavaria, Germany
how would that work exactly ? i don't have much experience with uo sorry =) doubleclicking a specific item-type in the backpack ?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 27, 2007 9:56 am 
Offline
iris2-developer
User avatar

Joined: Mon Aug 09, 2004 12:20 pm
Posts: 1431
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.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 27, 2007 12:33 pm 
Offline
iris2-developer
User avatar

Joined: Tue Apr 18, 2006 10:28 pm
Posts: 823
Location: Munich, Bavaria, Germany
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


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 27, 2007 4:58 pm 
Offline

Joined: Sun Apr 08, 2007 5:49 pm
Posts: 49
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 ^^


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 27, 2007 5:52 pm 
Offline
iris2-developer
User avatar

Joined: Tue Apr 18, 2006 10:28 pm
Posts: 823
Location: Munich, Bavaria, Germany
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.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 28, 2007 4:37 pm 
Offline
iris2-developer
User avatar

Joined: Tue Apr 18, 2006 10:28 pm
Posts: 823
Location: Munich, Bavaria, Germany
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 ?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 28, 2007 6:51 pm 
Offline

Joined: Sun Apr 08, 2007 5:49 pm
Posts: 49
Target last item/object is in the original client too. That should be no problem i think


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 33 posts ]  Go to page 1, 2, 3  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group