Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Eudemons Online > EO PServer Hosting > EO PServer Guides & Releases
You last visited: Today at 14:07

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Guide] Basic understandings of CQ_ACTION.

Discussion on [Guide] Basic understandings of CQ_ACTION. within the EO PServer Guides & Releases forum part of the EO PServer Hosting category.

Reply
 
Old   #1
 
Seraphium's Avatar
 
elite*gold: 0
Join Date: Oct 2010
Posts: 25
Received Thanks: 31
Smile [Guide] Basic understandings of CQ_ACTION.

cq_action table, is where majority of things on the server happen. From this guide you can start to learn and have a better understanding of actions. What they are, how they work, how to change them, etc.

This table basically contains all the actions for the game. Such as, what happens when a monster dies, what to do when a player clicks an NPC, broadcast messages, almost everything that happens on the server is an individual action. And the cq_action table is a record of all of them. On this table there are 6 columns which all mean different things. There is the ID, ID_NEXT, ID_NEXTFAIL, TYPE, DATA and PARAM. These will be explained below.

Quote:
ID: This is the unique identification number for an action used in the game. It cant be a repeated number and will execute when it is attached to things people access in the game. Examples of actions being attached to things are when using an item, speaking to an NPC or even automatically at a certain time.

ID_NEXT: In this column you put the action to execute after the current action has executed successfully. So, say this action is to come up with a message saying "You have obtained a Saint dragon". Then the next action would be to give the player the Saint Dragon egg, so the ID of the action that awards the egg would be put into this columns box.

ID_NEXTFAIL: In this column you write the ID of the action to execute next, if the current action is unsuccessful. Its commonly used if the current action is to determine wether a certain person has enough money. So the action would tell the server, PLAYER1 HAS 100 GOLD. If PLAYER1 really does have 100 gold, then it would pass to IDNEXT because the action was successful. But its unsuccessful if PLAYER1 does not have 100 gold. This is just thinking in theory, its more complex but thats the basic understanding of it.

TYPE: Well logically, by the name of this column, it means the type of action to execute. The action types are simple code numbers. An example is, 126 means to show a message box pop up. So if you wanted a message box pop up, then the number code to put in this column would be 126. Like all of these columns, they interact with each other. So the type, interacts with the PARAM column. For the example, TYPE tells the server that it wants to show a pop a message, PARAM tells the server what to put in the message box.

DATA: The DATA column is simply another variable that plays a part in the action being executed. Its not used alot, but when it is, its most commonly used in awarding items to the executer of the action. The TYPE column tells the server to award the player with an item. The DATA column tells the server what item to award the player with. This is just an example of where the DATA column is used commonly.

PARAM: The PARAM column is, like every previous column, a variable to the executing action. Its mostly used in cooperation with the TYPE column. The text variables mostly go into this column. An example of where PARAM is used: TYPE column tells the server to broadcast a message to the server. DATA column tells the server to broadcast the message on the whisper chat channel. PARAM tells the server what message to broadcast.
With limitations, the combinations of the variables can do practically anything. With this understanding you can analyze the actions table and determine what actions are actually processing. This whole study all came from logical thinking so if its a bit hard to understand or if you have any questions feel free to ask. I tried my best to make it simple, like by using examples and stuff. Good luck guys.

by study.
Seraphium is offline  
Thanks
15 Users
Old 11/01/2010, 12:22   #2
 
elite*gold: 0
Join Date: Mar 2010
Posts: 399
Received Thanks: 514
nice lol .thanks
AziQ is offline  
Old 11/02/2010, 09:46   #3

 
DuaSelipar's Avatar
 
elite*gold: 480
Join Date: Nov 2009
Posts: 235
Received Thanks: 333
nice guide..thx alot :P
DuaSelipar is offline  
Reply


Similar Threads Similar Threads
[Guide] How to use the random types in cq_action
01/18/2011 - EO PServer Guides & Releases - 9 Replies
Now forcer really did all the work by translating some old server sources long ago:handsdown:, but it seems that not everyone jumped in found all the cool things you can do in cq_action. :rtfm: This is an explanation of one of those cool things: Lets take a look at the candy db for some cq_action with type 121 or 122: id | id_next | id_nextfail | type | data | param 660000 | 660001 | 660018 | 121 | 0 | 1 5 660001 | 0 | 0 | 122 | 0 | 660039 660039 660040 660040 660041 660041 660042 660042...
[GUIDE]Making Quest LOTF. Hey Look is Me, Yea. Good Guide,Basic, SO PRO!
12/23/2009 - CO2 PServer Guides & Releases - 13 Replies
Hello again Elite Pvpers. This is for LOTF. I want to show you how to creat your own basic quest. Lets look on the steps we are going through: 1. Making the steps for the quests 2. Making it save to database everytime go to next step 3. Making the npc's for the quest PLEASE READ EVERYTHING I HAVE WRITTEN CAUSE IS IMPORTANT IF YOU DONT WANT ERROR Well there is those 3 steps.
C# Visual Basic Guide
09/22/2009 - CO2 Programming - 15 Replies
I HAD MAKE THE ULTIMATE GUIDE!!! REMOVED CAUSE OF FLAMING!!!
Basic Guide to Exploiting
08/21/2007 - RO Guides & Templates - 13 Replies
Chapters 1.) Understanding the Server <--> Client Communication 2.) Mastering WPE 2.1) * ~Packet Creation 2.2) * ~Filter Creation 3.)Observing 4.)Exploiting itself



All times are GMT +2. The time now is 14:07.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.