Add eps when killing monster when use item

12/04/2011 14:40 Zig[PM]1#1
Hello i need help with this code im trying to make a 20x Exp potion that also adds 500 Eps Each kill this is what i got so far



Quote:
INSERT INTO `cq_action` VALUES ('3459299', '3459300', '0000', '1001', '0', 'e_money += 500');
INSERT INTO `cq_action` VALUES ('3459300', '3459301', '0000', '4001', '0', '43 2000 3600 0');
INSERT INTO `cq_action` VALUES ('3459301', '3459302', '0000', '0498', '749160', '');
INSERT INTO `cq_action` VALUES ('3459302', '3459303', '3459305', '1102', '0', 'count < 1');
INSERT INTO `cq_action` VALUES ('3459303', '3459304', '0000', '1010', '2000', '%user_name~has~used~20X~Exp!');
INSERT INTO `cq_action` VALUES ('3459304', '9140140', '0000', '0126', '0', 'Youve~got~a~20x~Exp~potion.');
INSERT INTO `cq_action` VALUES ('3459305', '3459306', '0000', '1010', '2003', '%user_name~has~used~20x~Exp~Potion!');
INSERT INTO `cq_action` VALUES ('3459306', '3459307', '0000', '1010', '2000', '%user_name~has~used~20x~Exp~Potion!');
INSERT INTO `cq_action` VALUES ('3459307', '9140140', '0000', '0126', '0', 'You~Have~used~a~20X~Exp~Potion~That~adds~500~Eps. ');
This is what what i got so far....

If any one can help with with it would be amazing

When i kill a mob i get the 20X Exp but i do not get any Eps ?
12/04/2011 21:49 magewarior2#2
use this

Code:
	ACTION_USER_TASK =1081, /////////////////////////////////////////////////
													//data: Mission number, if data == -1, then the following operation is aims at findnext to carry on
													//param: 'ope opt data', data (value)
													// ope(phase) opt (>=, ==, +=, =) to duty stage operation										
													// ope(completenum) opt (>=, ==, +=, =) to end of mission number of times operation		
													// ope(begintime) opt (>=, ==, +=, =, reset) to duty beginning time operation, regarding += when take the second as the parameter;Regarding " >=, ==, = " when take " yyyy-mm-dd hh:mm:ss " as the form												
													// reset expression establishes the duty beginning time as the current time
source : ActionDefine.INF (text file on my pc)
12/04/2011 22:25 PraDevil[ELITE]#3
hello mage :)
i guess you might not understand what he want by showing to him an cq_action task type or its just same like me lol(not understand -,-), btw i think he want create an item which is 20xExp Potion..the user which using that 20xExp Potion will get 500eps when killing each monster..

in fact
before use the exp potion = got nothing when killing monster
after use the exp potion = got 500eps when killing a monster
12/04/2011 22:34 magewarior2#4
Quote:
Originally Posted by PraDevil[ELITE] View Post
hello mage :)
i guess you might not understand what he want by showing to him an cq_action task type or its just same like me lol(not understand -,-), btw i think he want create an item which is 20xExp Potion..the user which using that 20xExp Potion will get 500eps when killing each monster..

in fact
before use the exp potion = got nothing when killing monster
after use the exp potion = got 500eps when killing a monster
Yes, add into the 20X exp potion, the 1080 type, so if he uses you got
a new mission number

than add to all monsters they must drop 500 Eps to a user that uses that mission number.

sorry for the bit incomplete/ broken explanation but A.T.M. I am not able to give you a detailed version.

I`m just giving you an idea how to create such thing.

magewarior2
12/04/2011 22:44 PraDevil[ELITE]#5
actually i know what the mission do and i dont really want to know about it, but just now i already know from u hehe, never imagine those type can do such a thing..thanks for your hint/idea mage :D
12/04/2011 23:24 Zig[PM]1#6
Quote:
Originally Posted by magewarior2 View Post
Yes, add into the 20X exp potion, the 1080 type, so if he uses you got
a new mission number

than add to all monsters they must drop 500 Eps to a user that uses that mission number.

sorry for the bit incomplete/ broken explanation but A.T.M. I am not able to give you a detailed version.

I`m just giving you an idea how to create such thing.

magewarior2

So am i adding that 1081 to this

Quote:
INSERT INTO `cq_action` VALUES ('3459299', '3459300', '0000', '1001', '0', 'e_money += 500');
?? thanks
12/04/2011 23:33 PraDevil[ELITE]#7
if you got cronus snipe quest work on your server, i suggest you to learn from that quest and you will know how it work :)
12/04/2011 23:41 Zig[PM]1#8
Urmmm I will have a look :)
Lastly 1 more question You know when you use the Itemtype Editor the application why is it that everytime i add a new item with it, it says under it acmeeo.com

Anyway for it to stop doing this since i dont know how to hex editor items in
Like even if i go into hex editor neo and edit the info on a item then load it back up all the items change back to ACME EO website its so annoying any help here

Also if u could give me a straight answer for the Question above be helpfull im kind of in a rush to get this lol i got to sleep very soon
12/05/2011 00:31 karnyge#9
If you have a Hexeditor, all you would, I hope, need to do is remove the phrase ACME.EO, by deleting it in each file.
I may be wrong but it could be worth looking at. Like you. i dont know hex editing, but I have done something similar.

Try these links for a hex editor
[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...]

I think the last link is the better one, but thats just me.
12/05/2011 00:55 Zig[PM]1#10
Quote:
Originally Posted by PraDevil[ELITE] View Post
hello mage :)
i guess you might not understand what he want by showing to him an cq_action task type or its just same like me lol(not understand -,-), btw i think he want create an item which is 20xExp Potion..the user which using that 20xExp Potion will get 500eps when killing each monster..

in fact
before use the exp potion = got nothing when killing monster
after use the exp potion = got 500eps when killing a monster
Quote:
Originally Posted by karnyge View Post
If you have a Hexeditor, all you would, I hope, need to do is remove the phrase ACME.EO, by deleting it in each file.
I may be wrong but it could be worth looking at. Like you. i dont know hex editing, but I have done something similar.

Try these links for a hex editor
[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...]

I think the last link is the better one, but thats just me.
I have Deleted the acme eo part using hexeditor but evry time i Re edited it inside the application they all pop back to acme eo even if i didnt edit them items, its like they are set to automaticly change to that... i find it exxtremely werid, thanks but it didnt help buddy, but thanks for trying man :/ realy is annoying me this :/