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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


  • Posts

    • I am selling the essence project which includes versions 388 and 439 that have been running for over 2 years or (447 as custom PVP like Pride). I have a test server for you to test them out. If you are really interested in it then contact my seller at discord: kiwi7106. Price: 4000 Euro P/s: This is a project that I have spent a lot of money and time developing, so if you are not interested in it, please get out of this topic, thank you. P/s 2: If you find the price too expensive, it's best to skip this article and find another project and don't comment negatively on my topic, thank you.
    • Someone ask me for this, it should work on any client that has Kamael race, preview:     Installation - there are two ways to install depending on how you want to use it:   Method 1: If you want to completely replace the original, do:   Copy all lines from your armorgrp to Notepad++, press Ctrl+H, check the "match whole word" option and replace:   kamael.Mkamael_m000_w_ad00   by:   AvengersKamaelWings.Avengers_MKamael_m001_w_ad00   Then replace:   MKamael.Mkamael_m000_t00_w   by:   AvengersKamaelWings.MKamael_m001_t00_w   Now repeat the same process with the female, replace:   kamael.Fkamael_m000_w_ad00   by:   AvengersKamaelWings.Avengers_FKamael_m001_w_ad00   Then replace:   FKamael.Fkamael_m000_t00_w   by:   AvengersKamaelWings.FKamael_m001_t00_w   You're done, paste everything back into File Edit and save!   Method 2: If you only want to replace in specific sets, execute the above process only on the armorgrp of those sets.   Repack by: AvengersTeamBr Password: LadrãoDeFrango      
    • 用于解密、加密和编辑 .u 文件的工具。
    • It's always awesome when you find someone who not only delivers great quality but also does it way ahead of schedule. Makes you feel like you hit the jackpot, right? I'm new around here, just stumbled upon this forum, and seeing posts like yours really gives me hope that there are some real pros hanging out in this community.
  • Topics

×
×
  • Create New...