Jump to content

Gf Rev 83 Events


Recommended Posts

Maybe I'm bringing owls to Athens, but if it helped anyone...

 

Ignore the [drop] section, it's my custom event drop system (percent, not korea based), just use droptime_... variables OR look down below the settings (if you're experienced)


[coretimeteleport]
eventperiod = 2006/08/15-00:01 ~ 2010/12/31-23:59
coretime = 20:0 ~ 23:59
priceratio = 50
dayoption = 1 ~ 5

[PCCafeCouponEvent]
EventPeriod = 2006/08/15-00:01 ~ 2010/12/31-23:59
EventAddedPeriod = 2006/08/15-00:01 ~ 2010/12/31-23:59
EventOrdinal = 0
coupon_item_info = 0

[XmasSantaEvent]
EventPeriod = 2006/08/14-00:01 ~ 2010/12/31-23:59
;EventPeriod = 2016/05/25-00:00 ~ 2016/06/29-23:59
buff_id_count = 1
buff_id1 = 78905346
delay_time = 30

[YearCatchEvent]
EventPeriod = 2006/08/14-00:01 ~ 2010/12/31-23:59
delay_time = 30

; FIREWORKS

;[event] 
;eventname = fireworks_event 
;eventnpcname = fire_event 
;flagsettingtime = 120000
;event_doing = 1 
;dropitem_count = 0
;droptime_count = 0
;npctime_count = 1
;npctime0= 2016/05/25-00:00 ~ 2016/06/29-23:59
;timevariable_count = 0

;[npcsetting] 
;npcsetting_count = 1
;npceventname0 = fire_event

;[drop]
;maxleveldifference = 8
;count = 3
;item0 = 6403
;chance0 = 5.0
;item1 = 6404
;chance1 = 4.0
;item2 = 6405
;chance2 = 1.0


; CHRISTMASS [trees, agathion]

;[event]
;eventname = christmas
;eventnpcname = christmas
;flagsettingtime = 120000
;event_doing = 1
;dropitem_count = 0
;droptime_count = 0
;npctime_count = 1
;npctime0 = 2016/05/25-00:00 ~ 2016/06/29-23:59
;timevariable_count = 0

;[npcsetting] 
;npcsetting_count = 1
;npceventname0 = christmas

;[drop]
;maxleveldifference = 8
;count = 4
;item0 = 5556
;chance0 = 6.0
;item1 = 5557
;chance1 = 6.0
;item2 = 5558
;chance2 = 15.0
;item3 = 5559
;chance3 = 3.0


; CHRISTMASS [turkey]

;[event]
;eventname = br_xmas_event
;eventnpcname = br_xmas_event
;flagsettingtime = 600000
;event_doing = 1
;dropitem_count = 0
;droptime_count = 1
;droptime0 = 2016/05/25-00:00 ~ 2016/06/29-23:59
;npctime_count = 1
;npctime0 = 2016/05/25-00:00 ~ 2016/06/29-23:59
;timevariable_count = 0



; PIG EVENT

;[event]
;eventname = event_mutant_pig
;eventnpcname = event_mutant_pig
;flagsettingtime = 600000
;event_doing = 1
;dropitem_count = 0
;droptime_count = 0
;npctime_count = 9
;npctime0 = 2016/06/11-20:00 ~ 2016/06/11-23:00
;npctime1 = 2016/06/12-16:00 ~ 2016/06/12-17:00
;npctime2 = 2016/06/12-20:00 ~ 2016/06/12-21:00
;npctime3 = 2016/06/13-16:00 ~ 2016/06/13-17:00
;npctime4 = 2016/06/13-20:00 ~ 2016/06/13-21:00
;npctime5 = 2016/06/14-16:00 ~ 2016/06/14-17:00
;npctime6 = 2016/06/14-20:00 ~ 2016/06/14-21:00
;npctime7 = 2016/06/15-16:00 ~ 2016/06/15-17:00
;npctime8 = 2016/06/15-20:00 ~ 2016/06/15-21:00
;eventperiod = 2016/06/11-00:00 ~ 2016/06/18-23:59
;timevariable_count = 0
; 
;[npcsetting]
;npcsetting_count = 1
;npc_eventname0 = event_mutant_pig_manager



;; RAT EVENT
;
;[event]
;eventname = event_mutant_rat
;eventnpcname = event_mutant_rat
;flagsettingtime = 600000
;event_doing = 1
;dropitem_count = 0
;droptime_count = 0
;npctime_count = 9
;npctime0 = 2016/06/12-12:00 ~ 2016/06/12-17:50
;npctime1 = 2016/06/12-18:00 ~ 2016/06/12-23:50
;npctime2 = 2016/06/13-00:00 ~ 2016/06/13-23:50
;npctime3 = 2016/06/14-00:00 ~ 2016/06/14-22:00
;npctime4 = 2016/06/14-23:30 ~ 2016/06/15-00:30
;npctime5 = 2016/06/15-10:00 ~ 2016/06/15-11:00
;npctime6 = 2016/06/15-12:00 ~ 2016/06/15-13:00
;npctime7 = 2016/06/15-14:00 ~ 2016/06/15-15:00
;npctime8 = 2016/06/15-16:00 ~ 2016/06/15-17:00
;eventperiod = 2016/06/12-00:00 ~ 2016/06/16-23:59
;timevariable_count = 0
; 
;[npcsetting]
;npcsetting_count = 1
;npc_eventname0 = event_mutant_rat_manager


; SEARCH EVENT - rabbits - MAYBE DOESN'T WORK AS EXPECTED, I'M STILL TESTING IT
; you need to go through npcpos.txt and change [EventName]=[event_search]
; to [EventName]=[event_search_manager] everywhere EXCEPT npc event_search_thing

[event]
eventname = event_search
eventnpcname = event_search
flagsettingtime = 600000
event_doing = 1
dropitem_count = 0
droptime_count = 1
droptime0 = 2016/06/14-00:00 ~ 2016/06/19-23:59
npctime_count = 8
npctime0 = 2016/06/15-00:00 ~ 2016/06/15-13:00
npctime1 = 2016/06/15-14:00 ~ 2016/06/15-23:00
npctime2 = 2016/06/16-00:00 ~ 2016/06/16-13:00
npctime3 = 2016/06/16-14:30 ~ 2016/06/16-23:30
npctime4 = 2016/06/17-10:00 ~ 2016/06/17-13:00
npctime5 = 2016/06/17-14:00 ~ 2016/06/17-23:00
npctime6 = 2016/06/18-00:00 ~ 2016/06/18-13:00
npctime7 = 2016/06/18-14:00 ~ 2016/06/18-23:00
eventperiod = 2016/06/14-00:00 ~ 2016/06/19-23:59
timevariable_count = 0
 
[npcsetting]
npcsetting_count = 1
npc_eventname0 = event_search_manager


I'll probably add more when I test it

 

 

Okay, if you want my event drop system (flat probability based):

 

hook bool CNPC::Die(CCreature *killer) at 0x72972C, do some random rolling and if desired, call 0x533E44 (add drop to given NPC) BEFORE proceeding to 0x72972C:

typedef bool(__thiscall *t)(CCreature*, int, UINT64, bool, int, int, int, void*, int, void*);
t f = (t) 0x00533E44;
UINT32 itemOptionKey[2];
itemOptionKey[0] = 0;
itemOptionKey[1] = 0;
UINT16 baseAttribute[8];
baseAttribute[0] = 0xfffe;
for (size_t i = 1 ; i < 8 ; ++i) {
baseAttribute[i] = 0;
}
return f(this, itemId, count, false, 0, 0, 0, reinterpret_cast<void*>(itemOptionKey), 0, reinterpret_cast<void*>(baseAttribute));
Edited by eressea
  • Thanks 1
Link to comment
Share on other sites

I'd have killed for this info in the past when I began playing with it.

 

Your droprate system is good that you dont need to mass-add drops to the npcdata if the server pop is too small or unstable for the korean system to work well. Lovely.

 

edit: rabbits event do work, I used it 2years ago or so

Edited by ericvini
Link to comment
Share on other sites

I'd have killed for this info in the past when I began playing with it.

 

Your droprate system is good that you dont need to mass-add drops to the npcdata if the server pop is too small or unstable for the korean system to work well. Lovely.

 

edit: rabbits event do work, I used it 2years ago or so

 

Just fixed one last problem with rabbit event (added droptime + rename event_search -> event_search_manager)

 

Do you have some tested events you can add?

Link to comment
Share on other sites

Just fixed one last problem with rabbit event (added droptime + rename event_search -> event_search_manager)

 

Do you have some tested events you can add?

I need to check my notes later, but i think u re missing the l2day letters and squash events only.

Link to comment
Share on other sites



[event]
eventname=event_gate_revenge
eventnpcname=event_gate_revenge
event_doing=1
npctime_count=1
npctime0 =2011/11/10-11:00 ~ 2011/11/23-23:59
EventPeriod =2011/11/10-11:00 ~ 2011/11/23-23:59
timevariable_count=1
timevariable0= 0 ~ 24:1

[event]
eventname=bak_event
eventnpcname=event_bak
flagsettingtime=60000
event_doing=1
dropitem_count=1
dropitem0=gourd_nectar1 1
droptime_count=1
droptime0= 2011/9/5-12:00 ~ 2011/9/19-23:00
npctime_count=1
npctime0= 2011/9/5-12:00 ~ 2011/9/26-23:00
timevariable_count=0

[event]
eventname=event_search
eventnpcname=event_search
flagsettingtime=60000
event_doing=1
dropitem_count=1
dropitem0=search_piece 1
droptime_count=1
droptime0=2011/07/07-00:00 ~ 2011/07/21-23:59
npctime_count=1
npctime0=2011/07/07-00:00 ~ 2011/07/28-23:59
EventPeriod=2011/07/07-00:00 ~ 2011/07/28-23:59
timevariable_count=1
timevariable0= 0 ~ 24:1

[event]
eventname=br_valentine_event
eventnpcname=br_valentine_event
flagsettingtime=60000
event_doing=1
dropitem_count=3
dropitem0=br_valen_dark_chocolate 2
dropitem1=br_valen_white_chocolate 2
dropitem2=br_valen_whipped_cream 1
droptime_count=1
droptime0=2010/02/08-08:00 ~ 2010/02/17-20:00
npctime_count=1
npctime0=2010/02/08-08:00 ~ 2010/02/20-08:00
EventPeriod=2010/02/08-08:00 ~ 2010/02/20-08:00
timevariable_count=1
timevariable0= 0 ~ 24:1

[event]
eventname=event_best_enchanter
eventnpcname=event_best_enchanter
flagsettingtime=30000
event_doing=1
dropitem_count=1
dropitem0=yogi_scroll_of_enchant 1
droptime_count=1
droptime0=2011/06/14-00:00 ~ 2011/06/28-23:59
npctime_count=1
npctime0=2011/06/14-00:00 ~ 2011/07/15-23:59
EventPeriod=2011/06/14-00:00 ~ 2011/07/15-23:59
timevariable_count=1
timevariable0= 0 ~ 24:1

[event]
eventname=l2day
eventnpcname=letter_collector
flagsettingtime=60000
event_doing=1
dropitem_count=12
dropitem0=alphabet_a 1
dropitem1=alphabet_e 1
dropitem2=alphabet_g 1
dropitem3=alphabet_c 1
dropitem4=alphabet_i 1
dropitem5=alphabet_l 1
dropitem6=alphabet_n 1
dropitem7=alphabet_r 1
dropitem8=alphabet_ii 1
dropitem9=alphabet_y 1
dropitem8=alphabet_s 1
dropitem8=alphabet_5 1
droptime_count=1
droptime0=2011/5/5-00:00 ~ 2011/5/19-23:59
npctime_count=1
npctime0=2011/5/5-00:00 ~ 2011/6/01-23:59
EventPeriod=2011/5/5-00:00 ~ 2011/5/19-23:59
timevariable_count=1
timevariable0= 0 ~ 24:1

[event]
eventname=event_heart
eventnpcname=heart_event
flagsettingtime=3000
event_doing=1
dropitem_count=9
dropitem0=heart_1 5
dropitem1=heart_2 5
dropitem2=heart_3 5
dropitem3=heart_4 5
dropitem4=heart_5 5
dropitem5=heart_6 5
dropitem6=heart_7 5
dropitem7=heart_8 5
dropitem8=heart_9 5
droptime_count=1
droptime0= 2006/9/14-4:00 ~ 2006/9/21-23:59
npctime_count=1
npctime0= 2006/9/14-4:00 ~ 2006/9/22-23:59
timevariable_count=0

[event]
eventname=collector
eventnpcname=medal
flagsettingtime=3000
event_doing=1
dropitem_count=2
dropitem0=event_medal 5
dropitem1=event_glitter_medal 1
droptime_count=1
droptime0= 2006/8/20-11:00 ~ 2006/9/10-23:59
npctime_count=1
npctime0= 2006/8/20-11:00 ~ 2006/9/11-23:59
timevariable_count=0

[event]
eventname=fireworks
eventnpcname=fire_event
flagsettingtime=3000
event_doing=1
dropitem_count=3
dropitem0=fairy_fire 1
dropitem1=powder 1
dropitem2=magnesium 1
droptime_count=7
droptime0= 2006/9/11-16:00 ~ 2006/9/11-23:00
droptime1= 2006/9/12-16:00 ~ 2006/9/12-23:00
droptime2= 2006/9/13-16:00 ~ 2006/9/13-23:00
droptime3= 2006/9/14-16:00 ~ 2006/9/14-23:00
droptime4= 2006/9/15-16:00 ~ 2006/9/15-23:00
droptime5= 2006/9/16-16:00 ~ 2006/9/16-23:00
droptime6= 2006/9/17-16:00 ~ 2006/9/17-23:00
npctime_count=1
npctime0= 2006/9/11-12:00 ~ 2006/9/17-23:00
timevariable_count=0

[event]
eventname=christmas
eventnpcname=christmas
flagsettingtime=36000
event_doing=1
dropitem_count=4
dropitem0=fir_spring 5
dropitem1=deco_bead 2
dropitem2=deco_star 2
dropitem3=flowerpot 1
droptime_count=1
droptime0= 2007/12/1-01:00 ~ 2007/12/30-23:59
npctime_count=1
npctime0= 2007/12/1-01:00 ~ 2007/12/30-11:00
timevariable_count=0

[event]
eventname=event_mutant_rat
eventnpcname=event_mutant_rat
event_doing=1
dropitem_count=1
dropitem0=mouse_coin 20
droptime_count=1
droptime0=2011/08/04-00:00 ~ 2011/08/26-23:59
npctime_count=1
npctime0=2011/08/04-00:00 ~ 2011/09/04-23:59
EventPeriod=2011/08/04-00:00 ~ 2011/09/04-23:59
timevariable_count=1
timevariable0= 0 ~ 24:1
[npcsetting]
npcsetting_count=1
npc_eventname0=event_rat_manager


Edited by ericvini
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...