[FEATURE REQUEST] Working macros
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
[FEATURE REQUEST] Working macros
Not more important than most things, but for in-game development, Macros are a must. The shift/alt arrow buffer in chat doesn't work most of the time, and re-typing /move_spawn or other spawn fixup commands gets tedious after 200 or so.
How intense is hooking these macros up, and is anyone savvy enough to help LE with this? I can take a look, but I definitely am a novice at C++.
Thanks,
-J
How intense is hooking these macros up, and is anyone savvy enough to help LE with this? I can take a look, but I definitely am a novice at C++.
Thanks,
-J
-
Andrew
- Retired
- Posts: 71
- Joined: Fri Dec 14, 2007 8:33 am
- Location: England
- Contact:
-
LethalEncounter
- Team: Zombie
- Posts: 2717
- Joined: Wed Jul 25, 2007 10:10 pm
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
Ok, I'll see if we can come up with a Macros table. I guess it's just a simple title / text and some ID?
I hadn't thought of that part, thinking macro text is stored at the client. But that might have been EQ1.
I hadn't thought of that part, thinking macro text is stored at the client. But that might have been EQ1.
John Adams
EQ2Emulator - Project Ghost
"Everything should work now, except the stuff that doesn't" ~Xinux
EQ2Emulator - Project Ghost
"Everything should work now, except the stuff that doesn't" ~Xinux
-
LethalEncounter
- Team: Zombie
- Posts: 2717
- Joined: Wed Jul 25, 2007 10:10 pm
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
Actually, looking at Alfa's proposed structure, it looks like he already made some considerations for Macros.
How does that look? Any other fields we might need for macros? Slot ID maybe?
Code: Select all
CREATE TABLE `character_macros` (
`id` int(10) unsigned NOT NULL auto_increment,
`macro_id` int(11) unsigned NOT NULL default '0',
`name` varchar(64) NOT NULL default 'macro',
`char_id` int(10) unsigned NOT NULL default '0',
`type` enum('COMMAND','ABILITY','EQUIP ITEM','USE ITEM') NOT NULL default 'COMMAND',
`text` text,
`order` smallint(5) NOT NULL default '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;John Adams
EQ2Emulator - Project Ghost
"Everything should work now, except the stuff that doesn't" ~Xinux
EQ2Emulator - Project Ghost
"Everything should work now, except the stuff that doesn't" ~Xinux
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
Btw, I just had an excited panic attack thinking macros already worked - cuz I made a few, macros in-game, ran around using them and they worked!
(I love the new macro building functionality - hadn't seen that before. RoK client?)
However, sadly, when I log and come back, they are gone. So yes, we'll need a way to store them.
(I love the new macro building functionality - hadn't seen that before. RoK client?)
However, sadly, when I log and come back, they are gone. So yes, we'll need a way to store them.
John Adams
EQ2Emulator - Project Ghost
"Everything should work now, except the stuff that doesn't" ~Xinux
EQ2Emulator - Project Ghost
"Everything should work now, except the stuff that doesn't" ~Xinux
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
Who is online
Users browsing this forum: No registered users and 0 guests