[Development/Test]CQ Action Management Tool

07/26/2014 05:43 InsomniacPro#1
Hello all.

Currently, I am doing some work with cq_action. I'm in the process of creating a Management Tool for this. As of now, updating the database setting the `param` column. I do plan on adding more to it, so its a work in progress. Don't know if this should belong in the release section, but it's not that much of a release, more of a development. I would definitely love some input and feed back. I currently plan on allowing it to also add new actions, and maybe expand it further with the entire cq_action database.

It is compatible with SQL and MySQL so far.
It is very self explanatory when it comes to usage.

Disclaimer: I am not working with TQ Binaries. I am implementing cq action types into my source in order to make the workload a bit lighter. Well here it is! Whenever I make significant updates, I'll release an updated version.

Updated(26 JUL 14)
Version 0.0.2
[Only registered and activated users can see links. Click Here To Register...]


Revision Log:
07/26/2014 15:40 -impulse-#2
You might want to set the encoding of that text box to Chinese simplified or something.
07/26/2014 15:58 InsomniacPro#3
Quote:
Originally Posted by -impulse- View Post
You might want to set the encoding of that text box to Chinese simplified or something.
I wasn't even aware you could do that. I looked all over and didn't find a way to do that.
07/26/2014 17:14 Spirited#4
Quote:
Originally Posted by InsomniacPro View Post
I wasn't even aware you could do that. I looked all over and didn't find a way to do that.
[Only registered and activated users can see links. Click Here To Register...]
"936 - gb2312 - Chinese Simplified (GB2312)"
07/26/2014 18:38 -impulse-#5
You can use System.Text for that.
PHP Code:
string str System.Text.Encoding.GetEncoding(936).GetString(System.Text.Encoding.Default.GetBytes("text")); 
Should do the trick.

You might have to mingle with the encoding that you use to get the bytes from the text in order to have it working correctly.
07/27/2014 03:55 InsomniacPro#6
Quote:
Originally Posted by -impulse- View Post
You can use System.Text for that.
PHP Code:
string str System.Text.Encoding.GetEncoding(936).GetString(System.Text.Encoding.Default.GetBytes("text")); 
Should do the trick.

You might have to mingle with the encoding that you use to get the bytes from the text in order to have it working correctly.
Hey Alex,

you're my hero.
[Only registered and activated users can see links. Click Here To Register...]

Another edit: I incorporated Google translate into the project, so here's the same entry as above, translated simply with a button.
[Only registered and activated users can see links. Click Here To Register...]
I will be releasing an updated version pretty soon here, I'm incorporating google translate into the application so you have the option to translate the text.
07/29/2014 08:03 InsomniacPro#7
Gareth, sorry for the double post but its been a few days and I wanna throw something out there.


Is there anything else you guys would like to see in this management tool? Something you feel would be helpful in managing the actions? I plan on addings tasks to it as well. Please give me your input.
07/29/2014 13:28 CptSky#8
You should have worked on a converter instead of an actual implementation of those tables.
07/29/2014 13:52 InsomniacPro#9
Quote:
Originally Posted by CptSky View Post
You should have worked on a converter instead of an actual implementation of those tables.
And by converter you mean?

Update:
A I reworked the entire application pretty much. Looks a little neater. Also added a TreeView, in which if you load up an Action, the action will be added to the treeview, as well as the monstertype, or npc that associated with it. I do plan on expanding this portion anywho. But you can even translate mob names as well.
Here's the first tab.
[Only registered and activated users can see links. Click Here To Register...]

And the other.
[Only registered and activated users can see links. Click Here To Register...]
07/29/2014 14:39 -impulse-#10
I dislike how the tab panel is so close to the edge, it's actually part of the edge I think.
[Only registered and activated users can see links. Click Here To Register...] looks nicer imho.


Use the Dock property with Fill on the TabControl control.
07/30/2014 01:09 InsomniacPro#11
Quote:
Originally Posted by -impulse- View Post
I dislike how the tab panel is so close to the edge, it's actually part of the edge I think.
[Only registered and activated users can see links. Click Here To Register...] looks nicer imho.


Use the Dock property with Fill on the TabControl control.
Haha I kept telling myself I'll do that at some point, even though its simply the click of a button I kept procrastinating and forgetting about it. I went and finally took care of that.
07/31/2014 09:02 pintinho12#12
Will be useful for me hahah, im working on Exodus :3
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
Actually using TQ Binaries DB, for testing only, soon ill be re-writing that too :D (cq_action, cq_task)
07/31/2014 10:20 Ultimation#13
Ive already started a project for this job, though its not finished the basic engine and principle is coded and working.. The source code is below along with the compiled exe.

[Only registered and activated users can see links. Click Here To Register...]

ill not be giving support for it. But if you decide to finish development please leave my name somewhere on the program.

Each action has its own dynamically generated GUI and autofill system. Like teleport to a map, you can select the map from its name using a list.

Regards

Ulti.
07/31/2014 15:05 tkblackbelt#14
You should combine the features of yours and ultis and make something really awesome [emoji1]

I actually didn't know about this CQ actions stuff until you posted this. Do these tables define all the NPC actions and stuff? If so, I might write an engine to use this for my server to save some script dev time. Would be a really great learning experience as well.
07/31/2014 16:08 turk55#15
:confused:
Quote:
Originally Posted by tkblackbelt View Post
You should combine the features of yours and ultis and make something really awesome [emoji1]

I actually didn't know about this CQ actions stuff until you posted this. Do these tables define all the NPC actions and stuff? If so, I might write an engine to use this for my server to save some script dev time. Would be a really great learning experience as well.
As far as I know you can do npcs, item actions, drop actions and even time based events.