Jump to content

Recommended Posts

Posted (edited)

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
Posted (edited)

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
Posted

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?

Posted

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.

Posted (edited)


[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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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.



  • Posts

    • 我们计划在我们的Telegram频道为3000名订阅者举办大型竞赛和抽奖活动。 订阅并获取我们项目的最新消息、更新和变动:竞赛、抽奖、新产品、折扣、优惠码以及更多内容! 在我们的竞赛和抽奖活动中,顶级合作伙伴也可以参与,这一定会引起您的关注! ➡ Telegram频道: https://t.me/accsforyou_shop✅ 链接: 数字商品商店 (网站): 前往 购买Telegram Stars的Telegram机器人: 前往 SMM面板: 前往 – 推广您的社交媒体账户。 商店Telegram机器人: 前往 我们为您呈现在本平台购买产品和服务的最新促销与特别优惠: 1. 使用促销码OCTOBER2025(8%折扣)即可在10月通过我们的网站或机器人购物!您也可以使用促销码SOCNET(15%折扣)完成首次购买。 2. 注册后只需按照以下模板写下您的用户名即可获得1美元账户余额或10–20%的折扣:"SEND ME BONUS, MY USERNAME IS..." – 需要在我们的论坛帖子中发布! 3. 第一次试用SMM面板即可获得1美元:只需在我们的网站(支持)提交主题为“Get Trial Bonus”的工单。 4. 我们的Telegram频道和购买Stars的机器人中每周都有Telegram Stars赠送活动! 新闻: ➡ Telegram频道: https://t.me/accsforyou_shop✅ ➡ WhatsApp频道: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t✅ ➡ Discord服务器: https://discord.gg/y9AStFFsrh✅ 联系方式与支持: ➡ Telegram: https://t.me/socnet_support✅ ➡ WhatsApp: https://wa.me/79051904467✅ ➡ Discord: socnet_support ✅ ➡ ✉ 邮箱: solomonbog@socnet.store ✅
    • 我们计划在我们的Telegram频道为3000名订阅者举办大型竞赛和抽奖活动。 订阅并获取我们项目的最新消息、更新和变动:竞赛、抽奖、新产品、折扣、优惠码以及更多内容! 在我们的竞赛和抽奖活动中,顶级合作伙伴也可以参与,这一定会引起您的关注! ➡ Telegram频道: https://t.me/accsforyou_shop✅ 链接: 数字商品商店 (网站): 前往 购买Telegram Stars的Telegram机器人: 前往 SMM面板: 前往 – 推广您的社交媒体账户。 商店Telegram机器人: 前往 我们为您呈现在本平台购买产品和服务的最新促销与特别优惠: 1. 使用促销码OCTOBER2025(8%折扣)即可在10月通过我们的网站或机器人购物!您也可以使用促销码SOCNET(15%折扣)完成首次购买。 2. 注册后只需按照以下模板写下您的用户名即可获得1美元账户余额或10–20%的折扣:"SEND ME BONUS, MY USERNAME IS..." – 需要在我们的论坛帖子中发布! 3. 第一次试用SMM面板即可获得1美元:只需在我们的网站(支持)提交主题为“Get Trial Bonus”的工单。 4. 我们的Telegram频道和购买Stars的机器人中每周都有Telegram Stars赠送活动! 新闻: ➡ Telegram频道: https://t.me/accsforyou_shop✅ ➡ WhatsApp频道: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t✅ ➡ Discord服务器: https://discord.gg/y9AStFFsrh✅ 联系方式与支持: ➡ Telegram: https://t.me/socnet_support✅ ➡ WhatsApp: https://wa.me/79051904467✅ ➡ Discord: socnet_support ✅ ➡ ✉ 邮箱: solomonbog@socnet.store ✅
    • 我们计划在我们的Telegram频道为3000名订阅者举办大型竞赛和抽奖活动。 订阅并获取我们项目的最新消息、更新和变动:竞赛、抽奖、新产品、折扣、优惠码以及更多内容! 在我们的竞赛和抽奖活动中,顶级合作伙伴也可以参与,这一定会引起您的关注! ➡ Telegram频道: https://t.me/accsforyou_shop✅ 链接: 数字商品商店 (网站): 前往 购买Telegram Stars的Telegram机器人: 前往 SMM面板: 前往 – 推广您的社交媒体账户。 商店Telegram机器人: 前往 我们为您呈现在本平台购买产品和服务的最新促销与特别优惠: 1. 使用促销码OCTOBER2025(8%折扣)即可在10月通过我们的网站或机器人购物!您也可以使用促销码SOCNET(15%折扣)完成首次购买。 2. 注册后只需按照以下模板写下您的用户名即可获得1美元账户余额或10–20%的折扣:"SEND ME BONUS, MY USERNAME IS..." – 需要在我们的论坛帖子中发布! 3. 第一次试用SMM面板即可获得1美元:只需在我们的网站(支持)提交主题为“Get Trial Bonus”的工单。 4. 我们的Telegram频道和购买Stars的机器人中每周都有Telegram Stars赠送活动! 新闻: ➡ Telegram频道: https://t.me/accsforyou_shop✅ ➡ WhatsApp频道: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t✅ ➡ Discord服务器: https://discord.gg/y9AStFFsrh✅ 联系方式与支持: ➡ Telegram: https://t.me/socnet_support✅ ➡ WhatsApp: https://wa.me/79051904467✅ ➡ Discord: socnet_support ✅ ➡ ✉ 邮箱: solomonbog@socnet.store ✅
    • 我们计划在我们的Telegram频道为3000名订阅者举办大型竞赛和抽奖活动。 订阅并获取我们项目的最新消息、更新和变动:竞赛、抽奖、新产品、折扣、优惠码以及更多内容! 在我们的竞赛和抽奖活动中,顶级合作伙伴也可以参与,这一定会引起您的关注! ➡ Telegram频道: https://t.me/accsforyou_shop✅ 链接: 数字商品商店 (网站): 前往 购买Telegram Stars的Telegram机器人: 前往 SMM面板: 前往 – 推广您的社交媒体账户。 商店Telegram机器人: 前往 我们为您呈现在本平台购买产品和服务的最新促销与特别优惠: 1. 使用促销码OCTOBER2025(8%折扣)即可在10月通过我们的网站或机器人购物!您也可以使用促销码SOCNET(15%折扣)完成首次购买。 2. 注册后只需按照以下模板写下您的用户名即可获得1美元账户余额或10–20%的折扣:"SEND ME BONUS, MY USERNAME IS..." – 需要在我们的论坛帖子中发布! 3. 第一次试用SMM面板即可获得1美元:只需在我们的网站(支持)提交主题为“Get Trial Bonus”的工单。 4. 我们的Telegram频道和购买Stars的机器人中每周都有Telegram Stars赠送活动! 新闻: ➡ Telegram频道: https://t.me/accsforyou_shop✅ ➡ WhatsApp频道: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t✅ ➡ Discord服务器: https://discord.gg/y9AStFFsrh✅ 联系方式与支持: ➡ Telegram: https://t.me/socnet_support✅ ➡ WhatsApp: https://wa.me/79051904467✅ ➡ Discord: socnet_support ✅ ➡ ✉ 邮箱: solomonbog@socnet.store ✅
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock