|
You last visited: Today at 18:37
Advertisement
[Guide] Make item auto loot on inventory
Discussion on [Guide] Make item auto loot on inventory within the EO PServer Guides & Releases forum part of the EO PServer Hosting category.
04/11/2012, 06:00
|
#1
|
elite*gold: 0
Join Date: Mar 2011
Posts: 142
Received Thanks: 77
|
[Guide] Make item auto loot on inventory
Basicly, people want some item auto loot that mean auto in to the inventory.So here the query template that i want to guide you sorry for my bad english.
Action Side
INSERT INTO `cq_action` VALUES ('58500000', '58500001', '0000', '1001', '0', 'e_money += 50000');
INSERT INTO `cq_action` VALUES ('58500001', '58500002', '0000', ' 0501', ' 1020260', ' 10 10');
INSERT INTO `cq_action` VALUES ('58500002', '58500003', '0000', ' 0501', ' 1020250', ' 10 10');
INSERT INTO `cq_action` VALUES ('58500003', '58500004', '0000', '0801', '0', 'dropitem 1020250');
INSERT INTO `cq_action` VALUES ('58500004', '58500005', '0000', '0801', '0', 'dropitem 1020260');
INSERT INTO `cq_action` VALUES ('58500005', '58500006', '0000', '0801', '0', 'dropitem 1020250');
INSERT INTO `cq_action` VALUES ('58500006', '58500007', '0000', '0801', '0', 'dropitem 1020260');
INSERT INTO `cq_action` VALUES ('58500007', '0000', '0000', '1010', '2005', 'You found 50,000 EudemonPoints from GoldMachine!');
Blue = Item ID's
Red = Ammount of item.example: 10 10 mean it loot 10 item stacked in your inventory and max ammount are 10.
Purple = Type ID's. 501 are auto loot type
Lime = Basic drop on map
Monster Side
After that 1 more thing you need to change,it is Monster Action ID.Where can you change it?
just open your cq_monstertype and for example the picture above are MadBull Action ID just change it into your beginning Autoloot action ID
Screenshot:
Uploaded with
Push thank wont format your PC
|
|
|
04/11/2012, 19:05
|
#2
|
elite*gold: 0
Join Date: Apr 2012
Posts: 63
Received Thanks: 12
|
Isn't the param for type 501 defining the item details like sockets, item bonus number etc?
|
|
|
04/11/2012, 20:40
|
#3
|
elite*gold: 0
Join Date: Oct 2009
Posts: 1,208
Received Thanks: 926
|
Quote:
Originally Posted by ~Zero~
Isn't the param for type 501 defining the item details like sockets, item bonus number etc?
|
I haven' tested this but, usually the tyoe 501's first param is the "amount_limit" from cq_itemtype, while the second one is the "ident" field.
|
|
|
04/12/2012, 00:23
|
#4
|
elite*gold: 0
Join Date: Apr 2012
Posts: 63
Received Thanks: 12
|
I guess the cq_item structure for EO it's mostly the same as the CO one and yes you're right. A random param for the type 501 for CO would be "0 0 0 255 255 0 0 12 7 255". First two 255s standing for the item sock amount, 12 standing for the item bonus value (+n), 7 standing for the damage decrease attribute and the last 255 standing for the enchanted HP. It follows the cq_item structure and I guess for EO would be the same but with minor changes.
Edit: When you just want to auto-loot a specific item with type 501 (like a quest item or something that cannot be worn (non-equipment type)) you can just leave the param field blank. It will get the pre-defined amount set in the cq_itemtype.
|
|
|
04/12/2012, 03:50
|
#5
|
elite*gold: 20
Join Date: Sep 2007
Posts: 1,767
Received Thanks: 1,746
|
Quote:
Originally Posted by Eurion
I haven' tested this but, usually the tyoe 501's first param is the "amount_limit" from cq_itemtype, while the second one is the "ident" field.
|
Depends on how many fields you include in the param.
With the above method however you could just use the amount
Example
501 ItemtypeID "Amount"
The same can be done for deleting multiple amounts.
|
|
|
04/13/2012, 10:43
|
#6
|
elite*gold: 0
Join Date: Aug 2009
Posts: 32
Received Thanks: 2
|
hey, if i want to add this query in my cq_action table , there comes a error and says "[SQL] INSERT INTO `cq_action` VALUES ('58500000', '58500001', '0000', '1001', '0', 'e_money += 50000');
[Err] 1062 - Duplicate entry '58500000' for key 1"
what does this mean?  o
|
|
|
04/13/2012, 11:06
|
#7
|
elite*gold: 0
Join Date: Mar 2011
Posts: 142
Received Thanks: 77
|
Quote:
Originally Posted by deltajunior
hey, if i want to add this query in my cq_action table , there comes a error and says "[SQL] INSERT INTO `cq_action` VALUES ('58500000', '58500001', '0000', '1001', '0', 'e_money += 50000');
[Err] 1062 - Duplicate entry '58500000' for key 1"
what does this mean?  o
|
Mean,you have already the query on your database if you want to add them back,you must run delete query and run the query back
|
|
|
04/13/2012, 15:24
|
#8
|
elite*gold: 0
Join Date: Apr 2012
Posts: 63
Received Thanks: 12
|
Change this id "58500000" to another one.
|
|
|
05/21/2012, 15:48
|
#9
|
elite*gold: 0
Join Date: Feb 2011
Posts: 125
Received Thanks: 13
|
Nice!
|
|
|
05/23/2012, 00:57
|
#10
|
elite*gold: 0
Join Date: Apr 2012
Posts: 152
Received Thanks: 120
|
Good Zombax!
|
|
|
Similar Threads
|
Possible to make auto loot for zero?
05/17/2009 - Zero - 2 Replies
hey i have no idea if this is possible but i was wondering if some1 could make an auto loot program for zero or can direct me to one. program be good even just to loot all the crystals that are farmed without having to pick up each batch.
Thanks, sorry i don't think my post makes much sense XD.
from Jay
Auto-Loot - possible?/Existing?
|
All times are GMT +1. The time now is 18:38.
|
|