can someone give some example how to kick player from map event after this time
Code:
171200000 171200001 171200003 123 4 00:01 23:00
, i had ask for help from other server onwer how to edit but they mad at me because they dont want to teach me how to fix this problem..problem is player can still inside the map until server restart again....so they can hunt for pp for hours using autobot..
So your problem with this even appears to be forcing players to leave the map after 1 hour event is done.
Check at this like you have there:
171100000 171100001 171100003 123 4 23:01 00:00
thats the first action that will happen when player will kill monster on this map to get the PPs (basing on cq_monster table info...).
So lets analyze it:
171100001 - happens when event is ongoing - this will first check if player is at proper map
and if will move back to Cronus - Little messed up part
now what if event time is not proper it appears will do this:
171100003
wich seems to be doing the rain even action ...
now between 23:00-00:00 monster killed on this event map will provide PPs basing on VIPS
IF time is not between 23:00-00:00 (its not yet started or over) - when player kill monster on this map - will automatically be moved back to cronus map.
You must precise what is wrong for you there still exactly
but I can guess you mean entry to this map...
THIS line for NPC:
171200000 171200001 171200003 123 4 00:01 23:00
this setup tells:
If its any hour besides the event time (23:00 - 00:00) you can enter the map :P
So just switch the codes like this:
171200000 171200003 171200001 123 4 00:01 23:00
this way you can enter map only when event is running...
at least this I understand from this and code right
I dont know who build this simple "event?" or maybe you jusr edit it this way ? :P Just always scan code step by step (what is on true and on fail) ....
You must precise what is wrong for you there still exactly
but I can guess you mean entry to this map...
THIS line for NPC:
171200000 171200001 171200003 123 4 00:01 23:00
this setup tells:
If its any hour besides the event time (23:00 - 00:00) you can enter the map :P
So just switch the codes like this:
171200000 171200003 171200001 123 4 00:01 23:00
this way you can enter map only when event is running...
at least this I understand from this and code right
I dont know who build this simple "event?" or maybe you jusr edit it this way ? :P Just always scan code step by step (what is on true and on fail) ....
Cheers
i hve try 171200001,171200002 and 171200003 but dont work and still same like on video..may i need to check all cq_action query again
you need to give more details... whats your aim here and what exactly is your issue. Till now I was just shooting on what I believed was your problem...
Quote:
i hve try 171200001,171200002 and 171200003 but dont work..may i need to check all cq_action query again
what do you mean by that ? Exactly what is not working and what you want to achieve here?
From my view this whole event is more then trivial in execution :/
NPC part of cq_action (remember that at NPC is attached action: 171200000 as first and the same action has relevant place at cq_task in order to use it - if you change action at NPC you must update cq_task)
/* ACTIONS FOR MONSTERS that will be slayed on event map */
Code:
delete from cq_action where id >= 171100000 and id <= 171100023;
INSERT INTO `cq_action` VALUES
(171100000, 171100001, 171100002, 123, 4, '23:00 23:59'), /* checkig if monster were slayed at proper event time */
(171100001, 171100003, 171100002, 2003, 4, '%user_map_id == 1712'), /* checking if player that killed this monster is at Event map */
(171100002, 0, 0, 1003, 0, '1000 295 425'), /* If time is not between event time OR if player is not on event map - will be teleported to Cronus */
(171100003, 171100010, 171100004, 5001, 0, '== 1'), /* checking VIP levels here */
(171100004, 171100011, 171100005, 5001, 0, '== 2'), /* checking VIP levels here */
(171100005, 171100012, 171100006, 5001, 0, '== 3'), /* checking VIP levels here */
(171100006, 171100013, 171100007, 5001, 0, '== 4'), /* checking VIP levels here */
(171100007, 171100014, 171100008, 5001, 0, '== 5'), /* checking VIP levels here */
(171100008, 171100015, 171100009, 5001, 0, '== 6'), /* checking VIP levels here */
(171100009, 171100016, 0, 5001, 0, '== 7'), /* checking VIP levels here */
(171100010, 171100017, 0, 1001, 0, 'token_emoney += 15'), /* Basing on VIP level provide proper amount of PPs */
(171100011, 171100018, 0, 1001, 0, 'token_emoney += 20'), /* Basing on VIP level provide proper amount of PPs */
(171100012, 171100019, 0, 1001, 0, 'token_emoney += 35'), /* Basing on VIP level provide proper amount of PPs */
(171100013, 171100020, 0, 1001, 0, 'token_emoney += 50'), /* Basing on VIP level provide proper amount of PPs */
(171100014, 171100021, 0, 1001, 0, 'token_emoney += 70'), /* Basing on VIP level provide proper amount of PPs */
(171100015, 171100022, 0, 1001, 0, 'token_emoney += 80'), /* Basing on VIP level provide proper amount of PPs */
(171100016, 171100023, 0, 1001, 0, 'token_emoney += 100'), /* Basing on VIP level provide proper amount of PPs */
(171100017, 0, 0, 1010, 2005, 'You found 15 PaladinPoints from Downpour!'), /* message for player to show up */
(171100018, 0, 0, 1010, 2005, 'You found 20 PaladinPoints from Downpour!'),
(171100019, 0, 0, 1010, 2005, 'You found 35 PaladinPoints from Downpour!'),
(171100020, 0, 0, 1010, 2005, 'You found 50 PaladinPoints from Downpour!'),
(171100021, 0, 0, 1010, 2005, 'You found 70 PaladinPoints from Downpour!'),
(171100022, 0, 0, 1010, 2005, 'You found 80 PaladinPoints from Downpour!'),
(171100023, 0, 0, 1010, 2005, 'You found 100 PaladinPoints from Downpour!');
This way all should work Properly (as long monster at cq_monster will have attached proper action: 171100000 and at NPC will be proper action: 171200000
Now ... the code I wrote on fast from hand here so didnt check it (but on first glance of eye looks proper )... So just test this as here.
And if something will be wrong - Please clarify exactly what you have on mind - meaning what exactly is not working for you ... as honestly not sure all time what is the issue you suffering there (movie give much clues there...)
worse event -Ester event 05/06/2009 - Silkroad Online - 45 Replies omg only ...str/int scrool ,skill scrool and that card ?
epvp 750k event winners / epvp 750k event gewinner 03/19/2009 - Main - 67 Replies Hier werden nach und nach alle gewinner unseres events veröffentlicht.
--
All winners of the epvp 750k event will be announced here.
dualChoc:
Paddy10
dueben